From 9cc86b2d4ceaadaa2e03158b0751124130e0a5cc Mon Sep 17 00:00:00 2001 From: saubyk <39208279+saubyk@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:10:02 -0700 Subject: [PATCH 1/4] Add rtl-docker-fixture Claude Code skill MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moves the docker/ regtest fixture instructions out of the always-loaded CLAUDE.md into an on-demand skill, so they load only when someone is actually working with the fixture. Keeps the details docker/README.md does not cover: `docker compose up -d rtl` silently restarts stopped dependencies (reconnecting a peer you stopped mid-test), and the API handshake for verification scripts — base href /rtl, CSRF token echoed as x-xsrf-token, SHA256-hashed password, and cln/getinfo before any CLN channel endpoint. --- .claude/skills/rtl-docker-fixture/SKILL.md | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 .claude/skills/rtl-docker-fixture/SKILL.md diff --git a/.claude/skills/rtl-docker-fixture/SKILL.md b/.claude/skills/rtl-docker-fixture/SKILL.md new file mode 100644 index 00000000..a715d8db --- /dev/null +++ b/.claude/skills/rtl-docker-fixture/SKILL.md @@ -0,0 +1,83 @@ +--- +name: rtl-docker-fixture +description: Bring up and use the docker/ regtest fixture (bitcoind + LND alice/bob/carol + Core Lightning + Eclair + RTL) to test RTL end-to-end. Use when testing a branch against real Lightning nodes, seeding channels and payments, driving RTL's API for verification, taking screenshots of live data, or reproducing disconnected-peer states. +--- + +# Testing against a live network — `docker/` regtest fixture + +`docker/` is a self-contained regtest network for developing and testing RTL end-to-end: +`bitcoind` + three LND nodes (**alice → bob → carol**) + a **Core Lightning node** (`cln`, +with a channel to alice) + RTL wired to all four. bob sits in the middle so it accrues +forwarding history and RTL's routing screens have data; the CLN node gives RTL's Core +Lightning screens a real backend (it talks to RTL over clnrest with rune auth). LND/bitcoind +images come from [Polar](https://lightningpolar.com), CLN from `elementsproject/lightningd` +(all multi-arch, so it works on Apple Silicon). **Dev only; every credential is throwaway.** +Full details in `docker/README.md`. + +Bring it up (from `docker/`, needs Compose v2 — `docker compose`, not `docker-compose`): + +```bash +docker compose up -d # bitcoind, alice, bob, carol, cln, rtl +./scripts/seed.sh # fund, connect, open channels, make payments +``` + +Then open , password `rtldev`; all four nodes show in the switcher. +Reset to a clean slate: `docker compose down -v && docker compose up -d && ./scripts/seed.sh`. + +Helpers and logs: + +```bash +bin/b-cli getblockcount # bitcoin-cli +bin/ln-cli alice getinfo # lncli (node name required; handles --lnddir) +bin/ln-cli bob fwdinghistory +docker compose logs -f rtl +``` + +Key facts when working with the fixture: + +- **`scripts/seed.sh` is deterministic but not idempotent.** Every amount is fixed, so a + fresh run always produces identical state (screenshots differ only by your change) — so + **do not introduce randomness**. It refuses to run twice against an already-seeded + network; use the `down -v` reset above to start over. +- Seed creates: 10M sat on-chain per node; channels alice→bob (5M), bob→carol (3M), + cln→alice (4M) and eclair→bob (3.5M); 5 routed alice→carol payments + 2 direct + alice→bob + 2 direct eclair→bob; 2 unpaid invoices on carol + 1 on eclair; + carol as MERCHANT, everyone else OPERATOR. +- **`rtl/RTL-Config.regtest.json`** is the tracked config template. RTL rewrites its config + on startup, so an init container copies it into a volume rather than bind-mounting it + (a read-only mount → `EROFS`; a writable one would edit a tracked file). It's not named + `RTL-Config.json` because `.gitignore` matches that bare name at any depth. +- **Payments right after a channel opens fail** until the graph propagates to the sender; + the seed waits for this and so should anything you script. +- **Eclair node** (`eclair`, `polarlightning/eclair` — the official `acinq/eclair` image is + amd64-only and stale): RTL talks to its HTTP API with basic auth (`lnApiPassword`). Eclair + has no wallet of its own — `eclair-wallet-init` creates a dedicated `eclair` bitcoind + wallet before it starts, else it grabs the mining wallet. Its channels confirm at 8 blocks + (`channel.min-depth-blocks`), not 6. Helper: `bin/e-cli `. +- **Not included:** the Boltz swap service. + +## Testing an unreleased branch against the fixture + +The `rtl` service defaults to a published image but is overridable — build your branch and +point the fixture at it: + +```bash +docker build -t rtl:pr . # from repo root (RTL/) +cd docker && RTL_IMAGE=rtl:pr docker compose up -d +``` + +To confirm your change is actually running, grep inside the container: compiled backend at +`/RTL/backend/...`, built frontend bundle at `/RTL/frontend/*.js`. + +- **Reproduce a disconnected CLN channel** (to exercise `peer_connected` states): the `cln` + node has a channel to alice, so `docker compose stop alice` flips it to disconnected within + ~1s. Gotcha: **`docker compose up -d rtl` restarts stopped dependencies** (rtl `depends_on` + them), silently reconnecting the peer — don't re-run `up` on rtl mid-test. Restore with + `docker compose start alice`. +- **Driving RTL's API for verification** (host→container network is often blocked; run a Node + script via `docker compose exec -T rtl node < script.js`): the base href is `/rtl`, so all + API paths are `/rtl/api/...`; auth needs the CSRF handshake (`GET /` for the `XSRF-TOKEN`, + echoed as an `x-xsrf-token` header) and a **SHA256-hashed** password; and you must call + `/rtl/api/cln/getinfo` before CLN channel endpoints (it initializes the session's rune auth, + else `listPeerChannels` 401s). Prefer verifying the data layer (API) separately from frontend + rendering — a template can crash mid-render while the API returns correct data. From f48a647272952f5ea7d07e88afdab57ed5c5d26a Mon Sep 17 00:00:00 2001 From: saubyk <39208279+saubyk@users.noreply.github.com> Date: Tue, 28 Jul 2026 20:59:58 -0700 Subject: [PATCH 2/4] Add CLAUDE.md with agent-facing notes on the codebase Covers the things that are easy to get wrong and are not obvious from the tree: that frontend/ and backend/ are committed build output that must be regenerated rather than hand-edited, the parallel lnd/cln/eclair/shared layout, the install and dev-server flags that differ from the defaults, and the release-branch flow including how to recover a PR left open across a release cut. Process itself stays in CONTRIBUTING.md; this file points at it rather than restating it. --- CLAUDE.md | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..609fd810 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,106 @@ +# RTL — notes for AI coding agents + +RTL (Ride The Lightning) is a device-agnostic web UI for Lightning node operations: +an Angular single-page frontend plus a Node/Express backend, both TypeScript. + +`CONTRIBUTING.md` is the process document — how to install, run the dev servers, package a +build, open a PR, add a library, and handle Dependabot. **Read it first.** This file covers +only the things that are easy to get wrong and aren't obvious from the tree. + +## Source vs. generated — read this before editing anything + +| Directory | What it is | Edit it? | +|-------------|-----------------------------------|----------| +| `src/` | Angular frontend source | yes | +| `server/` | Express backend source | yes | +| `frontend/` | Built AOT bundle, **committed** | never by hand | +| `backend/` | Compiled `server/` output, **committed** | never by hand | + +`frontend/` and `backend/` look like ignorable build artifacts, but they are tracked in git +and are expected to stay in sync with the sources. So a code change is a two-step edit: +change `src/`/`server/`, then rebuild and commit the regenerated output in the same PR. + +```bash +npm run buildbackend # tsc: server/ -> backend/ +npm run buildfrontend # ng build --configuration production: src/ -> frontend/ +``` + +`backend/` is a plain `tsc` transpile of `server/`, so it changes only when `server/` does — +a dependency bump alone won't move it. `frontend/` is a bundle, so it also carries the app +version and any bundled dependency. + +## The three-implementation pattern + +RTL supports three Lightning implementations, and the layout mirrors that everywhere: + +``` +src/app/{lnd,cln,eclair,shared}/ +server/controllers/{lnd,cln,eclair,shared}/ +server/routes/{lnd,cln,eclair,shared}/ +``` + +A feature or fix usually touches the matching folder in **each layer** for the +implementations it affects; genuinely cross-cutting logic belongs in `shared/`. When fixing a +bug in one implementation, check whether the same shape exists in the other two — they +frequently do, since the controllers were written in parallel. + +## Commands, and where they bite + +- **Install with `npm ci --legacy-peer-deps`**, not `npm install`. Plain `npm ci` fails on an + `ERESOLVE` conflict from `@fortawesome/angular-fontawesome`. +- **`npm run server` only works on Windows** — it sets `NODE_ENV` with `set X=Y&&` syntax. On + macOS/Linux use `npm run serverUbuntu`. +- **`npm run lint` and `npm run test` must both be green before a PR.** +- If lint reports hundreds of template "Parsing error" failures, look for a stale + **`coverage/`** directory (git-ignored Karma output). The template linter walks its HTML + report. Delete it and re-run. +- The repo README is at **`.github/README.md`** — there is none at the root. + +## Branches and releases + +- **PRs target the current `Release-x.y.z` branch, not `master`.** Because release branches + merge into `master` by *rebase*, a `Fixes #N` reference never auto-closes its issue (GitHub + only does that for the default branch) — close it manually after the merge. +- **Every PR adds its own release-note entry**, in the same PR as the change: + `release-notes/Release-notes-.md`, under `## Bug Fixes`, `## Enhancements`, + `## Code Health` or `## Developer Tooling`. Create the file if it doesn't exist yet. + Link the PR and any issue, and state the root cause briefly. Because the PR number isn't + known until the PR exists, commit the entry with `#TBD` and follow up with a + `Fill in PR number in release note (#N)` commit. + +### If a release ships while your PR is open + +The rebase-merge rewrites every commit of the release branch to a new hash, and the next +release branch is cut from `master` — so a branch based on the old release branch shares no +recent ancestor with the new one. Retargeting it makes the merge base collapse to before the +release cycle, and GitHub replays the entire cycle into your PR: hundreds of files, and a +`CONFLICTING` state. Replay just your own commits instead: + +```bash +git rebase --onto Release- Release- +``` + +Then confirm `git diff Release-..` is identical to +`git diff Release-..` before force-pushing. Retargeting *before* the release +branch is merged avoids the problem entirely. + +## Testing against real nodes + +`docker/` is a self-contained regtest fixture — bitcoind, three LND nodes, Core Lightning and +Eclair, wired to RTL — for end-to-end testing across all three implementations. See +`docker/README.md`, or the `rtl-docker-fixture` skill in `.claude/skills/`. It is dev-only; +every credential in it is throwaway. + +Backend code has no unit-test harness; `npm run test` runs the frontend Karma/Jasmine specs. +For backend changes, verify against the fixture and say so in the PR. + +## Conventions + +- **Be conservative about dependencies.** This is security-sensitive software. Prefer what's + already there, and raise an issue before adding anything. Never run `npm audit fix` — it + reaches for breaking major bumps. Dependabot PRs are batched, not merged individually; see + `CONTRIBUTING.md`. +- Match the surrounding code's style, naming and structure. Only fix style in code you're + already changing. +- `RTL-Config.json` is local runtime config and git-ignored; `Sample-RTL-Config.json` is the + template, and `RTL.conf` is an alternate config format. From a005b687a76ccc779451cc8757e7574aa1d25c4f Mon Sep 17 00:00:00 2001 From: Suheb <39208279+saubyk@users.noreply.github.com> Date: Mon, 3 Aug 2026 22:49:14 -0700 Subject: [PATCH 3/4] Release 0.15.10 (#1665) * Update version 0.15.10 * Update project dependencies to resolve Dependabot security alerts Applies the fixes from the open Dependabot PRs (#1648, #1649, #1650) in a single pass on the release branch, regenerating the lockfile from scratch. axios 1.16.0 -> 1.18.1 was the only production exposure (10 advisories). Transitive deps moved to their fixed in-range versions (fast-uri 3.1.4, form-data, qs, tough-cookie, tar, del, globby); dev toolchain took safe bumps (nodemon 3.1.14, eslint 9.39.5, @typescript-eslint 8.65.0). Drops the unused protractor devDependency: no e2e directory, no config and no e2e target in angular.json, but 100 packages and the deprecated request stack behind it. That clears both critical advisories. npm audit: 50 (2 critical) -> 29 (0 critical); production deps 1 -> 0. Remaining findings are dev-only tooling needing an Angular 21 migration rather than a version bump. Verified: lint, 204 frontend specs, backend + frontend production builds, and 19 API checks against the docker regtest fixture covering LND, Core Lightning and Eclair (getinfo, channels, peers, invoices, payments and forwarding history). * Fill in PR number in release note (#1653) * Harden login request validation (#1654) Tightens server-side validation of authentication requests, guards the password-reset route behind an authenticated session, and wires the backend regression suite (test/backend/) into npm run test. Users with two-factor authentication enabled are encouraged to update promptly. Verified: backend specs 12/12, lint green, frontend specs 204/204, and the full authentication matrix end-to-end on the docker regtest fixture. * Reduce exposure of authentication secrets in logs and config responses (#1659) * Reduce exposure of authentication secrets in logs and config responses * Fill in PR number in release note (#1659) * Harden redaction helpers and secret restore paths * Pin deployment auth switches server-side and harden settings persistence * Contain backup file reads and harden config persistence * Pin backup containment root and preserve config file mode on save * Update Angular framework packages to 20.3.27 (#1661) * Update Angular framework packages to 20.3.27 Batches the three Dependabot PRs open against master for the Angular framework (@angular/core #1658, @angular/compiler #1657, @angular/common #1655) into one update on the release branch. The framework packages are pinned to exact versions and their peer ranges require them to move together, so all nine 20.3.26 packages go to 20.3.27: animations, common, compiler, compiler-cli, core, forms, platform-browser, platform-browser-dynamic and router. Patch-level upstream fixes only, no advisories. The update stays inside Angular 20 - @angular/build and @angular/cli (20.3.32) and @angular/cdk/@angular/material (20.2.14) are already at the top of their v20 lines - so it does not pull in the Angular 21 migration tracked by #1650. Rebuilt frontend/ for the new framework code. backend/ is unchanged, as no server/ source moved. * Fill in PR number in release note (#1661) * Bound remaining unbounded alias-resolution fan-outs in LND graph.ts and channels.ts Fixes #1630 (#1651) * Bound remaining unbounded alias-resolution fan-outs in LND graph.ts and channels.ts Fixes #1630 * Address review feedback: fix options race, error handling, release notes * Improve release notes entry to cover full PR scope * Address review feedback: per-task options copy, exclude qs from alias requests * Stop logging the eclair auth header at DEBUG level (#1664) * Stop logging the eclair auth header at DEBUG level getChannels in the eclair channels controller logged its whole request options object. Eclair authenticates with HTTP basic auth, so those options carry the configured lnApiPassword in an authorization header - raising an eclair node's logLevel to DEBUG wrote "authorization":"Basic " into the node log file, which is a recoverable form of the credential and is routinely shared when debugging. The log now carries only the request url and form, matching every other DEBUG log in the controllers. This was the only site in server/ passing a whole options object to the logger; the rest log options.form, .url, .body or .qs, none of which hold credentials. Present since 0.12.0 and only reachable by opting in to DEBUG (the default log level is ERROR), but it contradicted the logging guarantee stated for #1659. Found by scanning node logs at DEBUG while verifying the 0.15.10 branch against the regtest fixture. Regression test added in test/backend/eclair-channels.test.mjs; it fails on the previous code with "auth header key must not reach the node log". * Fill in PR number in release note (#1664) --------- Co-authored-by: Osuji --- CLAUDE.md | 6 +- backend/controllers/eclair/channels.js | 5 +- backend/controllers/lnd/channels.js | 84 +- backend/controllers/lnd/graph.js | 61 +- backend/controllers/shared/RTLConf.js | 64 +- backend/controllers/shared/authenticate.js | 29 +- backend/routes/shared/authenticate.js | 5 +- backend/utils/common.js | 106 +- backend/utils/config.js | 4 +- frontend/index.html | 2 +- frontend/main.483124dd4b12e339.js | 1 - frontend/main.87c60b2108713046.js | 1 + package-lock.json | 1712 ++++------------- package.json | 34 +- release-notes/Release-notes-0.15.10.md | 102 + server/controllers/eclair/channels.ts | 5 +- server/controllers/lnd/channels.ts | 91 +- server/controllers/lnd/graph.ts | 47 +- server/controllers/shared/RTLConf.ts | 60 +- server/controllers/shared/authenticate.ts | 29 +- server/routes/shared/authenticate.ts | 5 +- server/utils/common.ts | 104 +- server/utils/config.ts | 4 +- .../shared/services/consts-enums-functions.ts | 2 +- test/backend/authenticate.test.mjs | 171 ++ test/backend/common.test.mjs | 209 ++ test/backend/eclair-channels.test.mjs | 62 + test/backend/rtlconf.test.mjs | 469 ++++- 28 files changed, 1878 insertions(+), 1596 deletions(-) delete mode 100644 frontend/main.483124dd4b12e339.js create mode 100644 frontend/main.87c60b2108713046.js create mode 100644 release-notes/Release-notes-0.15.10.md create mode 100644 test/backend/authenticate.test.mjs create mode 100644 test/backend/common.test.mjs create mode 100644 test/backend/eclair-channels.test.mjs diff --git a/CLAUDE.md b/CLAUDE.md index 609fd810..2b869343 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -91,8 +91,10 @@ Eclair, wired to RTL — for end-to-end testing across all three implementations `docker/README.md`, or the `rtl-docker-fixture` skill in `.claude/skills/`. It is dev-only; every credential in it is throwaway. -Backend code has no unit-test harness; `npm run test` runs the frontend Karma/Jasmine specs. -For backend changes, verify against the fixture and say so in the PR. +Backend regression tests live in `test/backend/` (plain `node:test`, run against the +compiled `backend/`). `npm run test` compiles the backend, then runs them +(`npm run testbackend`) before the frontend Karma/Jasmine specs, so they never test stale +code. For backend changes, also verify against the fixture and say so in the PR. ## Conventions diff --git a/backend/controllers/eclair/channels.js b/backend/controllers/eclair/channels.js index ea433bc8..b2a0a26b 100644 --- a/backend/controllers/eclair/channels.js +++ b/backend/controllers/eclair/channels.js @@ -53,7 +53,10 @@ export const getChannels = (req, res, next) => { options.form = req.query; logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channels Node Id', data: options.form }); } - logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Options', data: options }); + // Log the call's shape only. Eclair authenticates with HTTP basic auth, so the options + // object carries the node's lnApiPassword in its authorization header, and node logs are + // routinely shared when debugging. + logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Options', data: { url: options.url, form: options.form } }); if (common.read_dummy_data) { common.getDummyData('Channels', req.session.selectedNode.lnImplementation).then((data) => { res.status(200).json(data); }); } diff --git a/backend/controllers/lnd/channels.js b/backend/controllers/lnd/channels.js index fdcdd8d9..ac9e9daf 100644 --- a/backend/controllers/lnd/channels.js +++ b/backend/controllers/lnd/channels.js @@ -4,10 +4,10 @@ import { Common } from '../../utils/common.js'; let options = null; const logger = Logger; const common = Common; -export const getAliasForChannel = (selNode, channel) => { +export const getAliasForChannel = (selNode, channel, requestOptions) => { const pubkey = (channel.remote_pubkey) ? channel.remote_pubkey : (channel.remote_node_pub) ? channel.remote_node_pub : ''; - options.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; - return request(options).then((aliasBody) => { + requestOptions.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; + return request(requestOptions).then((aliasBody) => { logger.log({ selectedNode: selNode, level: 'DEBUG', fileName: 'Channels', msg: 'Alias Received', data: aliasBody.node.alias }); channel.remote_alias = aliasBody.node.alias && aliasBody.node.alias !== '' ? aliasBody.node.alias : aliasBody.node.pub_key.slice(0, 20); return channel; @@ -30,18 +30,26 @@ export const getAllChannels = (req, res, next) => { request(options).then((body) => { logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channels List Received', data: body }); if (body.channels) { - return Promise.all(body.channels?.map((channel) => { + body.channels.forEach((channel) => { local = (channel.local_balance) ? +channel.local_balance : 0; remote = (channel.remote_balance) ? +channel.remote_balance : 0; total = local + remote; channel.balancedness = (total === 0) ? 1 : (1 - Math.abs((local - remote) / total)).toFixed(3); - return getAliasForChannel(req.session.selectedNode, channel); - })).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Sorted Channels List Received', data: body }); - return res.status(200).json(body); - }).catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get All Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getChannelAliasesTasks = body.channels.map((channel) => () => getAliasForChannel(selNode, channel, { ...requestOptions })); + common.runWithConcurrencyLimit(getChannelAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Sorted Channels List Received', data: body }); + return res.status(200).json(body); + } + catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get All Channel Aliases Error', error: e.message }); + if (!res.headersSent) { + res.status(500).json({ message: 'Get All Channel Aliases Error', error: e.message }); + } + } }); } else { @@ -66,26 +74,32 @@ export const getPendingChannels = (req, res, next) => { if (!body.total_limbo_balance) { body.total_limbo_balance = 0; } - const promises = []; + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getPendingAliasesTasks = []; if (body.pending_open_channels && body.pending_open_channels.length > 0) { - body.pending_open_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_open_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.pending_force_closing_channels && body.pending_force_closing_channels.length > 0) { - body.pending_force_closing_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_force_closing_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.pending_closing_channels && body.pending_closing_channels.length > 0) { - body.pending_closing_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_closing_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.waiting_close_channels && body.waiting_close_channels.length > 0) { - body.waiting_close_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.waiting_close_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } - return Promise.all(promises).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Pending Channels List Received', data: body }); - return res.status(200).json(body); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get Pending Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + common.runWithConcurrencyLimit(getPendingAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Pending Channels List Received', data: body }); + return res.status(200).json(body); + } + catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get Pending Channel Aliases Error', error: e.message }); + if (!res.headersSent) { + res.status(500).json({ message: 'Get Pending Channel Aliases Error', error: e.message }); + } + } }); }).catch((errRes) => { const err = common.handleError(errRes, 'Channels', 'List Pending Channels Error', req.session.selectedNode); @@ -102,15 +116,23 @@ export const getClosedChannels = (req, res, next) => { options.qs = req.query; request(options).then((body) => { if (body.channels && body.channels.length > 0) { - return Promise.all(body.channels?.map((channel) => { + body.channels.forEach((channel) => { channel.close_type = (!channel.close_type) ? 'COOPERATIVE_CLOSE' : channel.close_type; - return getAliasForChannel(req.session.selectedNode, channel); - })).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Closed Channels List Received', data: body }); - return res.status(200).json(body); - }).catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get Closed Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getClosedAliasesTasks = body.channels.map((channel) => () => getAliasForChannel(selNode, channel, { ...requestOptions })); + common.runWithConcurrencyLimit(getClosedAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Closed Channels List Received', data: body }); + return res.status(200).json(body); + } + catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get Closed Channel Aliases Error', error: e.message }); + if (!res.headersSent) { + res.status(500).json({ message: 'Get Closed Channel Aliases Error', error: e.message }); + } + } }); } else { diff --git a/backend/controllers/lnd/graph.js b/backend/controllers/lnd/graph.js index 353cb1ae..49146f12 100644 --- a/backend/controllers/lnd/graph.js +++ b/backend/controllers/lnd/graph.js @@ -4,9 +4,9 @@ import { Common } from '../../utils/common.js'; let options = null; const logger = Logger; const common = Common; -export const getAliasFromPubkey = (selNode, pubkey) => { - options.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; - return request(options).then((res) => { +export const getAliasFromPubkey = (selNode, pubkey, requestOptions) => { + requestOptions.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; + return request(requestOptions).then((res) => { logger.log({ selectedNode: selNode, level: 'DEBUG', fileName: 'Graph', msg: 'Alias Received', data: res.node.alias }); return res.node.alias; }). @@ -83,19 +83,25 @@ export const getQueryRoutes = (req, res, next) => { request(options).then((body) => { logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Graph', msg: 'Query Routes Received', data: body }); if (body.routes && body.routes.length && body.routes.length > 0 && body.routes[0].hops && body.routes[0].hops.length && body.routes[0].hops.length > 0) { - return Promise.all(body.routes[0].hops?.map((hop) => getAliasFromPubkey(req.session.selectedNode, hop.pub_key))). - then((values) => { - body.routes[0].hops?.map((hop, i) => { - hop.hop_sequence = i + 1; - hop.pubkey_alias = values[i]; - return hop; - }); - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Graph Routes with Alias Received', data: body }); - res.status(200).json(body); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Graph', 'Get Query Routes Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getRouteAliasesTasks = body.routes[0].hops.map((hop) => () => getAliasFromPubkey(selNode, hop.pub_key, { ...requestOptions })); + common.runWithConcurrencyLimit(getRouteAliasesTasks, 20, (values) => { + try { + body.routes[0].hops?.map((hop, i) => { + hop.hop_sequence = i + 1; + hop.pubkey_alias = typeof values[i] === 'string' ? values[i] : 'Unknown'; + return hop; + }); + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Graph Routes with Alias Received', data: body }); + res.status(200).json(body); + } + catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Graph', msg: 'Get Query Routes Error', error: e.message }); + if (!res.headersSent) { + res.status(500).json({ message: 'Get Query Routes Error', error: e.message }); + } + } }); } else { @@ -145,14 +151,21 @@ export const getAliasesForPubkeys = (req, res, next) => { } if (req.query.pubkeys) { const pubkeyArr = req.query.pubkeys.split(','); - return Promise.all(pubkeyArr?.map((pubkey) => getAliasFromPubkey(req.session.selectedNode, pubkey))). - then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Node Alias', data: values }); - res.status(200).json(values); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Graph', 'Get Aliases for Pubkeys Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getAliasesTasks = pubkeyArr.map((pubkey) => () => getAliasFromPubkey(selNode, pubkey, { ...requestOptions })); + common.runWithConcurrencyLimit(getAliasesTasks, 20, (values) => { + try { + const safeValues = values.map((v) => (typeof v === 'string' ? v : 'Unknown')); + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Node Alias', data: safeValues }); + res.status(200).json(safeValues); + } + catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Graph', msg: 'Get Aliases for Pubkeys Error', error: e.message }); + if (!res.headersSent) { + res.status(500).json({ message: 'Get Aliases for Pubkeys Error', error: e.message }); + } + } }); } else { diff --git a/backend/controllers/shared/RTLConf.js b/backend/controllers/shared/RTLConf.js index 35270a0a..60f35764 100644 --- a/backend/controllers/shared/RTLConf.js +++ b/backend/controllers/shared/RTLConf.js @@ -1,6 +1,6 @@ import jwt from 'jsonwebtoken'; import * as fs from 'fs'; -import { sep } from 'path'; +import { resolve, sep } from 'path'; import ini from 'ini'; import parseHocon from 'hocon-parser'; import request from '../../utils/request.js'; @@ -76,7 +76,23 @@ export const getCurrencyRates = (req, res, next) => { }; export const getFile = (req, res, next) => { logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Getting File..' }); - const file = req.query.path ? req.query.path : (req.session.selectedNode.settings.channelBackupPath + sep + 'channel-' + req.query.channel?.replace(':', '-') + '.bak'); + const channelBackupPath = req.session.selectedNode.settings.channelBackupPath; + let file = ''; + if (req.query.path) { + // The UI only ever requests channel backup files; contain caller paths to the node's + // backup directory so this endpoint cannot read the config, macaroons or the SSO + // cookie (getConfig serves the config file masked; this must not bypass that). + const resolved = resolve(req.query.path); + if (resolved !== resolve(channelBackupPath) && !resolved.startsWith(resolve(channelBackupPath) + sep)) { + logger.log({ selectedNode: req.session.selectedNode, level: 'WARN', fileName: 'RTLConf', msg: 'Blocked file read outside the channel backup directory', data: req.query.path }); + const err = common.handleError({ statusCode: 403, message: 'Reading File Error', error: 'File path is outside the channel backup directory' }, 'RTLConf', 'Reading File Error', req.session.selectedNode); + return res.status(err.statusCode).json({ message: err.message, error: err.error }); + } + file = resolved; + } + else { + file = channelBackupPath + sep + 'channel-' + req.query.channel?.replace(':', '-') + '.bak'; + } logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'RTLConf', msg: 'Channel Point', data: req.query.channel }); logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'RTLConf', msg: 'File Path', data: file }); fs.readFile(file, 'utf8', (errRes, data) => { @@ -89,7 +105,8 @@ export const getFile = (req, res, next) => { return res.status(err.statusCode).json({ message: err.error, error: err.error }); } else { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'File Data Received', data: data }); + // File contents can carry node credentials; never write them to the log. + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'File Data Received' }); res.status(200).json(data); } }); @@ -109,7 +126,6 @@ export const getApplicationSettings = (req, res, next) => { delete appConfData.SSO.rtlCookiePath; delete appConfData.SSO.cookieValue; delete appConfData.SSO.logoutRedirectLink; - appConfData.secret2FA = ''; appConfData.dbDirectoryPath = ''; appConfData.nodes[selNodeIdx].authentication = new Authentication(); delete appConfData.nodes[selNodeIdx].settings.bitcoindConfigPath; @@ -201,7 +217,12 @@ export const updateNodeSettings = (req, res, next) => { const config = JSON.parse(fs.readFileSync(RTLConfFile, 'utf-8')); const node = config.nodes.find((node) => (node.index === req.session.selectedNode.index)); if (node && node.settings) { + // channelBackupPath anchors getFile's containment root and is documented as a + // config-file-only setting; accepting it from the API would let the caller being + // contained choose the containment base. Pin it to the server-held value. + const serverChannelBackupPath = node.settings.channelBackupPath; node.settings = { ...node.settings, ...req.body.settings }; + node.settings.channelBackupPath = serverChannelBackupPath; if (node.authentication && req.body.authentication) { if (req.body.authentication.boltzMacaroonPath) { node.authentication.boltzMacaroonPath = req.body.authentication.boltzMacaroonPath; @@ -220,7 +241,9 @@ export const updateNodeSettings = (req, res, next) => { fs.writeFileSync(RTLConfFile, JSON.stringify(config, null, 2), 'utf-8'); const selectedNode = common.findNode(req.session.selectedNode.index); if (selectedNode && selectedNode.settings) { + const serverChannelBackupPath = selectedNode.settings.channelBackupPath; selectedNode.settings = { ...selectedNode.settings, ...req.body.settings }; + selectedNode.settings.channelBackupPath = serverChannelBackupPath; if (selectedNode.authentication && req.body.authentication) { if (req.body.authentication.boltzMacaroonPath) { selectedNode.authentication.boltzMacaroonPath = req.body.authentication.boltzMacaroonPath; @@ -281,7 +304,7 @@ export const updateApplicationSettings = (req, res, next) => { const newOnlyNodes = [...newNodesMap.values()].map((newNode) => JSON.parse(JSON.stringify(newNode))); runtimeConfig.nodes = [...updatedAndExistingNodes, ...newOnlyNodes]; } - common.appConfig = JSON.parse(JSON.stringify({ + const newAppConfig = JSON.parse(JSON.stringify({ ...runtimeConfig, selectedNodeIndex: config.selectedNodeIndex !== undefined ? config.selectedNodeIndex : common.appConfig.selectedNodeIndex, @@ -292,21 +315,42 @@ export const updateApplicationSettings = (req, res, next) => { rtlConfFilePath: common.appConfig.rtlConfFilePath, rtlPass: common.appConfig.rtlPass })); - const fileConfig = JSON.parse(JSON.stringify(common.appConfig)); + const fileConfig = JSON.parse(JSON.stringify(newAppConfig)); delete fileConfig.selectedNodeIndex; delete fileConfig.enable2FA; delete fileConfig.allowPasswordUpdate; delete fileConfig.rtlConfFilePath; delete fileConfig.rtlPass; delete fileConfig.multiPass; + // Runtime-only SSO bearer; must not be persisted with the config. + if (fileConfig.SSO) { + delete fileConfig.SSO.cookieValue; + } fileConfig.nodes?.forEach((node) => { delete node.authentication?.options; delete node.authentication?.runeValue; }); - fs.writeFileSync(RTLConfFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); - const newConfig = JSON.parse(JSON.stringify(common.appConfig)); - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Application Settings Updated', data: common.maskPasswords(newConfig) }); - res.status(201).json(common.removeSecureData(newConfig)); + // Persist atomically (temp file + rename, so a mid-write failure cannot truncate the + // config) and only then adopt the new runtime config, so a failed write leaves the + // process on the old one. The temp file inherits the existing file's mode so a + // hardened 0600 is not silently downgraded; a fresh file gets 0600. Symlinks and + // single-file bind mounts cannot be renamed over — fall back to an in-place write, + // which preserves inode and mode. + const tempConfigFile = RTLConfFile + '.tmp'; + try { + fs.writeFileSync(tempConfigFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); + fs.chmodSync(tempConfigFile, fs.existsSync(RTLConfFile) ? (fs.statSync(RTLConfFile).mode & 0o777) : 0o600); + fs.renameSync(tempConfigFile, RTLConfFile); + } + catch { + fs.rmSync(tempConfigFile, { force: true, recursive: true }); + fs.writeFileSync(RTLConfFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); + } + common.appConfig = newAppConfig; + // removeSecureData clones, so the runtime config is untouched; it strips rtlPass, + // the TOTP seed, the SSO cookie and all per-node credentials symmetrically. + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Application Settings Updated', data: common.removeSecureData(newAppConfig) }); + res.status(201).json(common.removeSecureData(newAppConfig)); } catch (errRes) { const errMsg = 'Update Default Node Error'; diff --git a/backend/controllers/shared/authenticate.js b/backend/controllers/shared/authenticate.js index 62b96ec3..13b64988 100644 --- a/backend/controllers/shared/authenticate.js +++ b/backend/controllers/shared/authenticate.js @@ -19,6 +19,9 @@ const loginInterval = setInterval(() => { } } }, LOCKING_PERIOD); +// The sweeper must not hold the event loop open on its own (it would keep +// `node --test` or a CLI invocation alive for the full 30-minute period). +loginInterval.unref(); export const getFailedInfo = (reqIP, currentTime) => { let failed = { count: 0, lastTried: currentTime }; if ((!failedLoginAttempts[reqIP]) || (currentTime > (failed.lastTried + LOCKING_PERIOD))) { @@ -45,6 +48,21 @@ const handleMultipleFailedAttemptsError = (failed, currentTime, errMsg) => { } }; export const verifyToken = (twoFAToken) => !!(common.appConfig.secret2FA && common.appConfig.secret2FA !== '' && otplib.authenticator.check(twoFAToken, common.appConfig.secret2FA)); +// Mirrors isAuthenticated: a request carrying a valid session JWT has already +// completed 2FA at login, since tokens are only minted after verification when +// 2FA is enabled. Used to exempt in-app re-authorization (e.g. the password +// prompt before on-chain sends) from the TOTP requirement without opening a +// password-only path. +const hasValidAuthToken = (req) => { + try { + const token = req.headers.authorization.split(' ')[1]; + jwt.verify(token, common.secret_key); + return true; + } + catch (error) { + return false; + } +}; export const authenticateUser = (req, res, next) => { const { authenticateWith, authenticationValue, twoFAToken } = req.body; logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Authenticate', msg: 'Authenticating User..' }); @@ -84,8 +102,15 @@ export const authenticateUser = (req, res, next) => { const failed = getFailedInfo(reqIP, currentTime); const password = authenticationValue; if (common.appConfig.rtlPass === password && failed.count < ALLOWED_LOGIN_ATTEMPTS) { - if (twoFAToken && twoFAToken !== '') { - if (!verifyToken(twoFAToken)) { + // Gate on the server-side 2FA configuration, not on the request: when 2FA is + // enabled a token is mandatory, so a request omitting twoFAToken is rejected + // instead of silently skipping verification. The login UI keys its token prompt + // on enable2FA, so both fields are consulted — a stale secret with 2FA disabled + // must not lock the operator out of a UI that never prompts for a token. + // Requests with a valid session token (in-app re-authorization, e.g. the + // password prompt before on-chain sends) are exempt from the TOTP requirement. + if (common.appConfig.enable2FA && common.appConfig.secret2FA && common.appConfig.secret2FA !== '' && !hasValidAuthToken(req)) { + if (typeof twoFAToken !== 'string' || twoFAToken === '' || !verifyToken(twoFAToken)) { logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Authenticate', msg: 'Invalid Token! Failed IP ' + reqIP, error: { error: 'Invalid token.' } }); failed.count = failed.count + 1; failed.lastTried = currentTime; diff --git a/backend/routes/shared/authenticate.js b/backend/routes/shared/authenticate.js index 0cbdbbe4..7e1559a2 100644 --- a/backend/routes/shared/authenticate.js +++ b/backend/routes/shared/authenticate.js @@ -1,9 +1,12 @@ import exprs from 'express'; const { Router } = exprs; import { authenticateUser, verifyToken, resetPassword, logoutUser } from '../../controllers/shared/authenticate.js'; +import { isAuthenticated } from '../../utils/authCheck.js'; const router = Router(); router.post('/', authenticateUser); router.post('/token', verifyToken); -router.post('/reset', resetPassword); +// Password changes mint a fresh session token, so the route requires an existing +// authenticated session; the frontend interceptor attaches it for the settings UI. +router.post('/reset', isAuthenticated, resetPassword); router.get('/logout', logoutUser); export default router; diff --git a/backend/utils/common.js b/backend/utils/common.js index 9de430f9..5ffd6a11 100644 --- a/backend/utils/common.js +++ b/backend/utils/common.js @@ -22,22 +22,37 @@ export class CommonService { { name: 'JUL', days: 31 }, { name: 'AUG', days: 31 }, { name: 'SEP', days: 30 }, { name: 'OCT', days: 31 }, { name: 'NOV', days: 30 }, { name: 'DEC', days: 31 } ]; this.maskPasswords = (obj) => { - const keys = Object.keys(obj); - const length = keys.length; - if (length !== 0) { - for (let i = 0; i < length; i++) { - if (typeof obj[keys[i]] === 'object') { - keys[keys[i]] = this.maskPasswords(obj[keys[i]]); - } - if (typeof keys[i] === 'string' && - ((keys[i].toLowerCase().includes('password') && keys[i] !== 'allowPasswordUpdate') || keys[i].toLowerCase().includes('multipass') || - keys[i].toLowerCase().includes('rpcpass') || keys[i].toLowerCase().includes('rpcpassword') || - keys[i].toLowerCase().includes('rpcuser'))) { - obj[keys[i]] = '*'.repeat(20); + // Clone up front: masking a live config object must not blank the credentials LN + // requests authenticate with (mirrors removeSecureData). + const masked = JSON.parse(JSON.stringify(obj)); + const maskRecursive = (current) => { + const keys = Object.keys(current); + const length = keys.length; + if (length !== 0) { + for (let i = 0; i < length; i++) { + // Header maps always carry credentials in this codebase (macaroon, rune, basic + // auth). Key-substring matching cannot catch them without also hiding the *Path + // fields the settings UI legitimately shows, so mask the whole map. + if (keys[i] === 'headers' && current[keys[i]] && typeof current[keys[i]] === 'object') { + Object.keys(current[keys[i]]).forEach((headerKey) => { current[keys[i]][headerKey] = '*'.repeat(20); }); + } + else if (current[keys[i]] && typeof current[keys[i]] === 'object') { + // Truthiness guard: null is 'object' too and must not reach Object.keys. + maskRecursive(current[keys[i]]); + } + if (typeof keys[i] === 'string' && + ((keys[i].toLowerCase().includes('password') && keys[i] !== 'allowPasswordUpdate') || keys[i].toLowerCase().includes('multipass') || + keys[i].toLowerCase().includes('rpcpass') || keys[i].toLowerCase().includes('rpcpassword') || + keys[i].toLowerCase().includes('rpcuser') || keys[i].toLowerCase().includes('rpcauth') || + keys[i].toLowerCase().includes('secret2fa') || keys[i].toLowerCase().includes('cookievalue') || + keys[i].toLowerCase().includes('rtlpass') || keys[i].toLowerCase().includes('runevalue'))) { + current[keys[i]] = '*'.repeat(20); + } } } - } - return obj; + return current; + }; + return maskRecursive(masked); }; this.removeAuthSecureData = (node) => { if (node.authentication) { @@ -50,25 +65,55 @@ export class CommonService { return node; }; this.removeSecureData = (config) => { - delete config.rtlConfFilePath; - delete config.rtlPass; - delete config.multiPass; - delete config.multiPassHashed; - delete config.secret2FA; - config.nodes?.forEach((node) => this.removeAuthSecureData(node)); - return config; + // Clone before deleting: cookieValue is runtime-only, so mutating a caller's live + // appConfig would destroy SSO state with no way to restore it. + const sanitized = JSON.parse(JSON.stringify(config)); + delete sanitized.rtlConfFilePath; + delete sanitized.rtlPass; + delete sanitized.multiPass; + delete sanitized.multiPassHashed; + delete sanitized.secret2FA; + // The SSO cookie is a live bearer credential; it must never leave the server. + if (sanitized.SSO) { + delete sanitized.SSO.cookieValue; + } + sanitized.nodes?.forEach((node) => this.removeAuthSecureData(node)); + return sanitized; }; this.addSecureData = (config) => { config.rtlConfFilePath = this.appConfig.rtlConfFilePath; config.rtlPass = this.appConfig.rtlPass; - config.multiPassHashed = this.appConfig.multiPassHashed; - config.SSO.rtlCookiePath = this.appConfig.SSO.rtlCookiePath; + // Pin the hash only when the server holds one: on a default install's first boot the + // file already has multiPassHashed but the in-memory config does not, and pinning + // undefined would erase the only password from the file on save, bricking the boot. + if (this.appConfig.multiPassHashed) { + config.multiPassHashed = this.appConfig.multiPassHashed; + } + else { + delete config.multiPassHashed; + } + // Deployment-level switches are pinned to server-held values: the settings API must + // not flip the authentication mode (disableAuth, SSO) or move SSO fields, the + // password policy, or the database location; no UI flow writes them. Pinning the + // whole SSO object also means a trimmed or missing SSO object can never wipe server + // state. + config.disableAuth = this.appConfig.disableAuth; + config.allowPasswordUpdate = this.appConfig.allowPasswordUpdate; + config.dbDirectoryPath = this.appConfig.dbDirectoryPath; + config.SSO = JSON.parse(JSON.stringify(this.appConfig.SSO || {})); if (this.appConfig.multiPass) { config.multiPass = this.appConfig.multiPass; } - if (config.secret2FA === this.appConfig.secret2FA) { + // Restore the TOTP seed when the client omits it — and when it sends an empty seed + // while still claiming 2FA is on (an inconsistent pair no honest flow produces). + // The settings UI's enable flow sends a non-empty seed; its disable flow sends an + // empty seed with enable2FA false. Both are honored. + if (config.secret2FA === undefined || (config.secret2FA === '' && config.enable2FA)) { config.secret2FA = this.appConfig.secret2FA; } + // enable2FA derives from the seed, matching the boot-time derivation in config.ts, + // so the two fields can never diverge after a save. + config.enable2FA = !!config.secret2FA; const appConfigNodes = new Map(this.appConfig.nodes?.map((node) => [node.index, node]) || []); config.nodes?.forEach((node) => { const appConfigNode = appConfigNodes.get(node.index); @@ -103,7 +148,7 @@ export class CommonService { this.logger.log({ selectedNode: this.selectedNode, level: 'ERROR', fileName: 'Common', msg: 'Loop macaroon Error', error: err }); } } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Swap Options', data: swapOptions }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Swap Options Set' }); return swapOptions; }; this.getBoltzServerOptions = (req) => { @@ -121,7 +166,7 @@ export class CommonService { this.logger.log({ selectedNode: this.selectedNode, level: 'ERROR', fileName: 'Common', msg: 'Boltz macaroon Error', error: err }); } } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Boltz Options', data: boltzOptions }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Boltz Options Set' }); return boltzOptions; }; this.getOptions = (req) => { @@ -167,7 +212,7 @@ export class CommonService { } } if (req.session.selectedNode) { - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Updated Node Options for ' + req.session.selectedNode.lnNode, data: req.session.selectedNode.authentication.options }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Updated Node Options for ' + req.session.selectedNode.lnNode }); } return { status: 200, message: 'Updated Successfully' }; } @@ -237,7 +282,7 @@ export class CommonService { form: '' }; } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Set Node Options for ' + node.lnNode, data: node.authentication.options }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Set Node Options for ' + node.lnNode }); }); this.updateSelectedNodeOptions(req); } @@ -345,10 +390,11 @@ export class CommonService { this.logger.log({ selectedNode: selectedNode, level: 'ERROR', fileName: fileName, msg: errMsg, error: (typeof err === 'object' ? JSON.stringify(err) : err) }); let newErrorObj = { statusCode: 500, message: '', error: '' }; if (err.code && err.code === 'ENOENT') { + // The absolute path stays in the server log above but is not echoed to clients. newErrorObj = { statusCode: 500, - message: 'No such file or directory ' + (err.path ? err.path : ''), - error: 'No such file or directory ' + (err.path ? err.path : '') + message: 'No such file or directory', + error: 'No such file or directory' }; } else { diff --git a/backend/utils/config.js b/backend/utils/config.js index b001d38f..36ecca30 100644 --- a/backend/utils/config.js +++ b/backend/utils/config.js @@ -302,7 +302,9 @@ export class ConfigService { this.logger.log({ selectedNode: this.common.selectedNode, level: 'ERROR', fileName: 'Config', msg: 'Something went wrong while creating the backup directory: \n' + err }); } this.common.nodes[idx].settings.logFile = config.rtlConfFilePath + '/logs/RTL-Node-' + node.index + '.log'; - this.logger.log({ selectedNode: this.common.selectedNode, level: 'INFO', fileName: 'Config', msg: 'Node Config: ' + JSON.stringify(this.common.nodes[idx]) }); + // maskPasswords keeps paths visible for debugging while redacting credential + // fields such as lnApiPassword before they reach the log file. + this.logger.log({ selectedNode: this.common.selectedNode, level: 'INFO', fileName: 'Config', msg: 'Node Config: ' + JSON.stringify(this.common.maskPasswords(this.common.nodes[idx])) }); const log_file = this.common.nodes[idx].settings.logFile; if (fs.existsSync(log_file || '')) { fs.writeFile((log_file || ''), '', () => { }); diff --git a/frontend/index.html b/frontend/index.html index 7222bb90..693e03dd 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -15,5 +15,5 @@ - + diff --git a/frontend/main.483124dd4b12e339.js b/frontend/main.483124dd4b12e339.js deleted file mode 100644 index 86483ce4..00000000 --- a/frontend/main.483124dd4b12e339.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430(Zt,pe,l){"use strict";l.d(pe,{$6:()=>F,$J:()=>Le,$Q:()=>ne,Aw:()=>f,C2:()=>C,CK:()=>re,Db:()=>Sn,Do:()=>P,Dq:()=>$,ED:()=>Qn,EM:()=>nt,Eb:()=>Ye,Ew:()=>ht,Fd:()=>Ee,GZ:()=>oe,Gy:()=>Pe,Gz:()=>rt,Hm:()=>be,Jx:()=>H,Ml:()=>cn,N4:()=>V,NS:()=>e,NU:()=>h,Qj:()=>le,Qv:()=>Ft,Sn:()=>O,T4:()=>ce,Uj:()=>xe,VK:()=>ve,We:()=>j,XT:()=>B,Yi:()=>lt,Zi:()=>G,a5:()=>Ke,aB:()=>Vt,cR:()=>_e,dv:()=>J,ed:()=>W,fy:()=>De,g6:()=>ot,gf:()=>T,ij:()=>Dt,jQ:()=>Gt,kQ:()=>gt,kX:()=>L,kv:()=>ie,lg:()=>w,no:()=>v,qw:()=>fe,sq:()=>Ce,uK:()=>te,vL:()=>Re,w0:()=>Xe,x1:()=>u,y0:()=>Qe,zU:()=>he});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.TC.UPDATE_API_CALL_STATUS_CLN,(0,i.xk)()),T=(0,i.VP)(d.TC.RESET_CLN_STORE),w=(0,i.VP)(d.TC.FETCH_PAGE_SETTINGS_CLN),e=(0,i.VP)(d.TC.SET_PAGE_SETTINGS_CLN,(0,i.xk)()),O=(0,i.VP)(d.TC.SAVE_PAGE_SETTINGS_CLN,(0,i.xk)()),f=(0,i.VP)(d.TC.FETCH_INFO_CLN,(0,i.xk)()),u=(0,i.VP)(d.TC.SET_INFO_CLN,(0,i.xk)()),L=(0,i.VP)(d.TC.FETCH_FEE_RATES_CLN,(0,i.xk)()),C=(0,i.VP)(d.TC.SET_FEE_RATES_CLN,(0,i.xk)()),B=(0,i.VP)(d.TC.GET_NEW_ADDRESS_CLN,(0,i.xk)()),Pe=((0,i.VP)(d.TC.SET_NEW_ADDRESS_CLN,(0,i.xk)()),(0,i.VP)(d.TC.FETCH_PEERS_CLN)),le=(0,i.VP)(d.TC.SET_PEERS_CLN,(0,i.xk)()),Ce=(0,i.VP)(d.TC.SAVE_NEW_PEER_CLN,(0,i.xk)()),j=((0,i.VP)(d.TC.NEWLY_ADDED_PEER_CLN,(0,i.xk)()),(0,i.VP)(d.TC.ADD_PEER_CLN,(0,i.xk)())),W=(0,i.VP)(d.TC.DETACH_PEER_CLN,(0,i.xk)()),G=(0,i.VP)(d.TC.REMOVE_PEER_CLN,(0,i.xk)()),re=(0,i.VP)(d.TC.FETCH_PAYMENTS_CLN),xe=(0,i.VP)(d.TC.SET_PAYMENTS_CLN,(0,i.xk)()),Ee=(0,i.VP)(d.TC.SEND_PAYMENT_CLN,(0,i.xk)()),V=(0,i.VP)(d.TC.SEND_PAYMENT_STATUS_CLN,(0,i.xk)()),ce=(0,i.VP)(d.TC.GET_QUERY_ROUTES_CLN,(0,i.xk)()),be=(0,i.VP)(d.TC.SET_QUERY_ROUTES_CLN,(0,i.xk)()),ne=(0,i.VP)(d.TC.FETCH_CHANNELS_CLN),J=(0,i.VP)(d.TC.SET_CHANNELS_CLN,(0,i.xk)()),De=(0,i.VP)(d.TC.UPDATE_CHANNEL_CLN,(0,i.xk)()),Re=(0,i.VP)(d.TC.SAVE_NEW_CHANNEL_CLN,(0,i.xk)()),Xe=(0,i.VP)(d.TC.CLOSE_CHANNEL_CLN,(0,i.xk)()),_e=(0,i.VP)(d.TC.REMOVE_CHANNEL_CLN,(0,i.xk)()),he=(0,i.VP)(d.TC.PEER_LOOKUP_CLN,(0,i.xk)()),Dt=(0,i.VP)(d.TC.CHANNEL_LOOKUP_CLN,(0,i.xk)()),lt=(0,i.VP)(d.TC.INVOICE_LOOKUP_CLN,(0,i.xk)()),Le=(0,i.VP)(d.TC.SET_LOOKUP_CLN,(0,i.xk)()),te=(0,i.VP)(d.TC.GET_FORWARDING_HISTORY_CLN,(0,i.xk)()),ie=(0,i.VP)(d.TC.SET_FORWARDING_HISTORY_CLN,(0,i.xk)()),P=(0,i.VP)(d.TC.FETCH_INVOICES_CLN),F=(0,i.VP)(d.TC.SET_INVOICES_CLN,(0,i.xk)()),ve=(0,i.VP)(d.TC.SAVE_NEW_INVOICE_CLN,(0,i.xk)()),H=(0,i.VP)(d.TC.ADD_INVOICE_CLN,(0,i.xk)()),$=(0,i.VP)(d.TC.UPDATE_INVOICE_CLN,(0,i.xk)()),Ke=(0,i.VP)(d.TC.DELETE_EXPIRED_INVOICE_CLN,(0,i.xk)()),Vt=(0,i.VP)(d.TC.SET_CHANNEL_TRANSACTION_CLN,(0,i.xk)()),ot=((0,i.VP)(d.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,i.xk)()),(0,i.VP)(d.TC.FETCH_UTXO_BALANCES_CLN)),nt=(0,i.VP)(d.TC.SET_UTXO_BALANCES_CLN,(0,i.xk)()),ht=(0,i.VP)(d.TC.FETCH_OFFER_INVOICE_CLN,(0,i.xk)()),oe=(0,i.VP)(d.TC.SET_OFFER_INVOICE_CLN,(0,i.xk)()),Ye=(0,i.VP)(d.TC.FETCH_OFFERS_CLN),fe=(0,i.VP)(d.TC.SET_OFFERS_CLN,(0,i.xk)()),Qe=(0,i.VP)(d.TC.SAVE_NEW_OFFER_CLN,(0,i.xk)()),gt=(0,i.VP)(d.TC.ADD_OFFER_CLN,(0,i.xk)()),Gt=(0,i.VP)(d.TC.DISABLE_OFFER_CLN,(0,i.xk)()),rt=(0,i.VP)(d.TC.UPDATE_OFFER_CLN,(0,i.xk)()),cn=(0,i.VP)(d.TC.FETCH_OFFER_BOOKMARKS_CLN),Ft=(0,i.VP)(d.TC.SET_OFFER_BOOKMARKS_CLN,(0,i.xk)()),Sn=(0,i.VP)(d.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,i.xk)()),Qn=(0,i.VP)(d.TC.DELETE_OFFER_BOOKMARK_CLN,(0,i.xk)()),h=(0,i.VP)(d.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,i.xk)())},283(Zt,pe,l){"use strict";l.d(pe,{i:()=>V});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(2462),u=l(8321),L=l(4416),C=l(1771),B=l(8430),A=l(9584),Pe=l(2142),le=l(2615),Ce=l(9330),Ae=l(9640),j=l(3202),W=l(2571),G=l(8570),re=l(3694),xe=l(7879),Ee=l(7303);let V=(()=>{var ce;class be{constructor(J,De,Re,Xe,_e,he,Dt,lt,Le){this.actions=J,this.httpClient=De,this.store=Re,this.sessionService=Xe,this.commonService=_e,this.logger=he,this.router=Dt,this.wsService=lt,this.location=Le,this.CHILD_API_URL=L.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new d.B,new d.B,new d.B],this.infoFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_INFO_CLN),(0,e.Z)(te=>(this.flgInitialized=!1,this.store.dispatch((0,C.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.INITIATED}})),this.store.dispatch((0,C.mt)({payload:L.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+L.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(L.aU.SET_SELECTED_NODE))),(0,w.T)(ie=>(this.logger.info(ie),this.CLN_VERISON=ie.version||"",ie.chains&&ie.chains.length&&ie.chains[0]&&"object"==typeof ie.chains[0]&&ie.chains[0].hasOwnProperty("chain")&&ie?.chains[0].chain&&ie?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&ie?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.GET_NODE_INFO})),this.store.dispatch((0,C.Jh)()),setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:L.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:L.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(ie,te.payload.loadPage),this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.GET_NODE_INFO})),{type:L.TC.SET_INFO_CLN,payload:ie||{}}))),(0,T.W)(ie=>{const P=this.commonService.extractErrorCode(ie),F=503===P?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(ie);return this.router.navigate(["/error"],{state:{errorCode:P,errorMessage:F}}),this.handleErrorWithoutAlert("FetchInfo",L.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:P,error:F}),(0,v.of)({type:L.aU.VOID})})))))),this.fetchFeeRatesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_FEE_RATES_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchFeeRates"+te.payload,status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/feeRates",{style:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchFeeRates"+te.payload,status:L.wn.COMPLETED}})),{type:L.TC.SET_FEE_RATES_CLN,payload:ie||{}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchFeeRates"+te.payload,L.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.getNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_NEW_ADDRESS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+L.rl.ON_CHAIN_API+"/newaddr",{addresstype:te.payload.addressCode}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.GENERATE_NEW_ADDRESS})),{type:L.TC.SET_NEW_ADDRESS_CLN,payload:ie&&ie[te.payload.addressCode]?ie[te.payload.addressCode]:{}})),(0,T.W)(ie=>(this.handleErrorWithAlert("GenerateNewAddress",L.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+L.rl.ON_CHAIN_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.setNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_NEW_ADDRESS_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.peersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PEERS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPeers",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.PEERS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPeers",status:L.wn.COMPLETED}})),{type:L.TC.SET_PEERS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPeers",L.MZ.NO_SPINNER,"Fetching Peers Failed.",te),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_PEER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.CONNECT_PEER})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewPeer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.PEERS_API,{id:te.payload.id}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewPeer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.CONNECT_PEER})),this.store.dispatch((0,B.Qj)({payload:ie||[]})),{type:L.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:ie.find(P=>0===te.payload.id.indexOf(P.id?P.id:""))}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewPeer",L.MZ.CONNECT_PEER,"Peer Connection Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.detachPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DETACH_PEER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+L.rl.PEERS_API+"/disconnect",{id:te.payload.id,force:te.payload.force}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.DISCONNECT_PEER})),this.store.dispatch((0,C.UI)({payload:"Peer Disconnected Successfully!"})),{type:L.TC.REMOVE_PEER_CLN,payload:{id:te.payload.id}})),(0,T.W)(ie=>(this.handleErrorWithAlert("PeerDisconnect",L.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+L.rl.PEERS_API+"/"+te.payload.id,ie),(0,v.of)({type:L.aU.VOID})))))))),this.channelsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_CHANNELS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchChannels",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.CHANNELS_API+"/listPeerChannels"))),(0,w.T)(te=>{this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchChannels",status:L.wn.COMPLETED}}));const ie={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return te.forEach(P=>{"CHANNELD_NORMAL"===P.state?P.peer_connected?ie.activeChannels.push(P):ie.inactiveChannels.push(P):ie.pendingChannels.push(P)}),{type:L.TC.SET_CHANNELS_CLN,payload:ie}}),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchChannels",L.MZ.NO_SPINNER,"Fetching Channels Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.openNewChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_CHANNEL_CLN),(0,e.Z)(te=>{this.store.dispatch((0,C.mt)({payload:L.MZ.OPEN_CHANNEL})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewChannel",status:L.wn.INITIATED}}));const ie={id:te.payload.peerId,amount:te.payload.amount,feerate:te.payload.feeRate,announce:te.payload.announce};return te.payload.minconf&&(ie.minconf=te.payload.minconf),te.payload.utxos&&(ie.utxos=te.payload.utxos),te.payload.requestAmount&&(ie.request_amt=te.payload.requestAmount),te.payload.compactLease&&(ie.compact_lease=te.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API,ie).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,B.no)({payload:{action:"SaveNewChannel",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.OPEN_CHANNEL})),this.store.dispatch((0,C.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,B.g6)()),{type:L.TC.FETCH_CHANNELS_CLN})),(0,T.W)(P=>(this.handleErrorWithoutAlert("SaveNewChannel",L.MZ.OPEN_CHANNEL,"Opening Channel Failed.",P),(0,v.of)({type:L.aU.VOID}))))}))),this.updateChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.UPDATE_CHANNEL_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/setChannelFee",te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,C.UI)("all"===te.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:L.TC.FETCH_CHANNELS_CLN})),(0,T.W)(ie=>(this.handleErrorWithAlert("UpdateChannel",L.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+L.rl.CHANNELS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.closeChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.CLOSE_CHANNEL_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/close",{id:te.payload.channelId,unilateraltimeout:te.payload.force?1:null}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,C.UI)({payload:"Channel Closed Successfully!"})),{type:L.TC.REMOVE_CHANNEL_CLN,payload:te.payload})),(0,T.W)(ie=>(this.handleErrorWithAlert("CloseChannel",te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+L.rl.CHANNELS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.paymentsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PAYMENTS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPayments",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.PAYMENTS_API))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPayments",status:L.wn.COMPLETED}})),{type:L.TC.SET_PAYMENTS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPayments",L.MZ.NO_SPINNER,"Fetching Payments Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFER_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.FETCH_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"FetchOfferInvoice",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/fetchOfferInvoice",te.payload).pipe((0,w.T)(ie=>{this.logger.info(ie),setTimeout(()=>{this.store.dispatch((0,B.no)({payload:{action:"FetchOfferInvoice",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.FETCH_INVOICE})),this.store.dispatch((0,B.GZ)({payload:ie||{}}))},500)}),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOfferInvoice",L.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",ie),(0,v.of)({type:L.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_OFFER_INVOICE_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.sendPaymentCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SEND_PAYMENT_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.no)({payload:{action:"SendPayment",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.PAYMENTS_API,te.payload).pipe((0,w.T)(ie=>{this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SendPayment",status:L.wn.COMPLETED}}));let P="Payment Sent Successfully!";ie.saveToDBError&&(P="Payment Sent Successfully but Offer Saving to Database Failed."),ie.saveToDBResponse&&"NA"!==ie.saveToDBResponse&&(this.store.dispatch((0,B.Db)({payload:ie.saveToDBResponse})),P="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,B.CK)()),this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),this.store.dispatch((0,C.UI)({payload:P})),this.store.dispatch((0,B.N4)({payload:ie.paymentResponse}))},1e3)}),(0,T.W)(ie=>(this.logger.error("Error: "+JSON.stringify(ie)),te.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",te.payload.uiMessage,"Send Payment Failed.",ie):this.handleErrorWithAlert("SendPayment",te.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+L.rl.PAYMENTS_API,ie),(0,v.of)({type:L.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_QUERY_ROUTES_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"GetQueryRoutes",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/getRoute",{id:te.payload.destPubkey,amount_msat:te.payload.amount,riskfactor:0}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"GetQueryRoutes",status:L.wn.COMPLETED}})),{type:L.TC.SET_QUERY_ROUTES_CLN,payload:ie})),(0,T.W)(ie=>(this.store.dispatch((0,B.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",L.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/getRoute",ie),(0,v.of)({type:L.aU.VOID})))))))),this.setQueryRoutesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_QUERY_ROUTES_CLN),(0,w.T)(te=>te.payload)),{dispatch:!1}),this.peerLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.PEER_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEARCHING_NODE})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/listNodes",{id:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEARCHING_NODE})),{type:L.TC.SET_LOOKUP_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithAlert("Lookup",L.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/listNodes/"+te.payload,ie),(0,v.of)({type:L.aU.VOID})))))))),this.channelLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.CHANNEL_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/listChannels",{short_channel_id:te.payload.shortChannelID}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),{type:L.TC.SET_LOOKUP_CLN,payload:ie})),(0,T.W)(ie=>(te.payload.showError?this.handleErrorWithAlert("Lookup",te.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/listChannels/"+te.payload.shortChannelID,ie):this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.$J)({payload:[]})),(0,v.of)({type:L.aU.VOID})))))))),this.invoiceLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.INVOICE_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/lookup",{label:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEARCHING_INVOICE})),ie.invoices&&ie.invoices.length&&ie.invoices.length>0&&this.store.dispatch((0,B.Dq)({payload:ie.invoices[0]})),{type:L.TC.SET_LOOKUP_CLN,payload:ie.invoices&&ie.invoices.length&&ie.invoices.length>0?ie.invoices[0]:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("Lookup",L.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ie),this.store.dispatch((0,C.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:L.aU.VOID})))))))),this.setLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_LOOKUP_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_FORWARDING_HISTORY_CLN),(0,e.Z)(te=>{const ie=te.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,B.no)({payload:{action:"FetchForwardingHistory"+ie,status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/listForwards",te.payload).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,B.no)({payload:{action:"FetchForwardingHistory"+ie,status:L.wn.COMPLETED}})),te.payload.status===L.xk.FAILED?this.store.dispatch((0,B.kv)({payload:{status:L.xk.FAILED,totalForwards:P.length,listForwards:P}})):te.payload.status===L.xk.LOCAL_FAILED?this.store.dispatch((0,B.kv)({payload:{status:L.xk.LOCAL_FAILED,totalForwards:P.length,listForwards:P}})):te.payload.status===L.xk.SETTLED&&this.store.dispatch((0,B.kv)({payload:{status:L.xk.SETTLED,totalForwards:P.length,listForwards:P}})),{type:L.aU.VOID})),(0,T.W)(P=>(this.handleErrorWithAlert("FetchForwardingHistory"+ie,L.MZ.NO_SPINNER,"Get "+te.payload.status+" Forwarding History Failed",this.CHILD_API_URL+L.rl.CHANNELS_API+"/listForwards",P),(0,v.of)({type:L.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DELETE_EXPIRED_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:L.NG}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.DELETE_INVOICE})),this.store.dispatch((0,C.UI)({payload:ie.status})),{type:L.TC.FETCH_INVOICES_CLN})),(0,T.W)(ie=>(this.handleErrorWithAlert("DeleteInvoices",L.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+L.rl.INVOICES_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.ADD_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewInvoice",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewInvoice",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.ADD_INVOICE})),ie.amount_msat=te.payload.amount_msat,ie.label=te.payload.label,ie.expires_at=Math.round((new Date).getTime()/1e3+te.payload.expiry),ie.description=te.payload.description,ie.status="unpaid",setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{invoice:ie,newlyAdded:!0,component:u.y}}}))},200),{type:L.TC.ADD_INVOICE_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewInvoice",L.MZ.ADD_INVOICE,"Add Invoice Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewOfferCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_OFFER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.CREATE_OFFER})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewOffer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewOffer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{offer:ie,newlyAdded:!0,component:Pe.f}}}))},100),{type:L.TC.ADD_OFFER_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewOffer",L.MZ.CREATE_OFFER,"Create Offer Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.invoicesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_INVOICES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchInvoices",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/lookup",null))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchInvoices",status:L.wn.COMPLETED}})),{type:L.TC.SET_INVOICES_CLN,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchInvoices",L.MZ.NO_SPINNER,"Fetching Invoices Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.offersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFERS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchOffers",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.OFFERS_API).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchOffers",status:L.wn.COMPLETED}})),{type:L.TC.SET_OFFERS_CLN,payload:ie.offers?ie.offers:[]})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOffers",L.MZ.NO_SPINNER,"Fetching Offers Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.offersDisableCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DISABLE_OFFER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DISABLE_OFFER})),this.store.dispatch((0,B.no)({payload:{action:"DisableOffer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/disableOffer",{offer_id:te.payload.offer_id}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"DisableOffer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.DISABLE_OFFER})),this.store.dispatch((0,C.UI)({payload:"Offer Disabled Successfully!"})),{type:L.TC.UPDATE_OFFER_CLN,payload:{offer:ie}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("DisableOffer",L.MZ.DISABLE_OFFER,"Disabling Offer Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchOfferBookmarks",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmarks").pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchOfferBookmarks",status:L.wn.COMPLETED}})),{type:L.TC.SET_OFFER_BOOKMARKS_CLN,payload:ie||[]})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",L.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.peidOffersDeleteCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DELETE_OFFER_BOOKMARK_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,B.no)({payload:{action:"DeleteOfferBookmark",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:te.payload.bolt12}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"DeleteOfferBookmark",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,C.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:L.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:te.payload.bolt12}})),(0,T.W)(ie=>(this.handleErrorWithAlert("DeleteOfferBookmark",L.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmark/"+te.payload.bolt12,ie),(0,v.of)({type:L.aU.VOID})))))))),this.SetChannelTransactionCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_CHANNEL_TRANSACTION_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEND_FUNDS})),this.store.dispatch((0,B.no)({payload:{action:"SetChannelTransaction",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.ON_CHAIN_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SetChannelTransaction",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEND_FUNDS})),this.store.dispatch((0,B.g6)()),{type:L.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SetChannelTransaction",L.MZ.SEND_FUNDS,"Sending Fund Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.utxoBalancesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_UTXO_BALANCES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchUTXOBalances",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.ON_CHAIN_API+"/utxos"))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchUTXOBalances",status:L.wn.COMPLETED}})),{type:L.TC.SET_UTXO_BALANCES_CLN,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchUTXOBalances",L.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PAGE_SETTINGS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPageSettings",status:L.wn.INITIATED}})),this.httpClient.get(L.rl.PAGE_SETTINGS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPageSettings",status:L.wn.COMPLETED}})),{type:L.TC.SET_PAGE_SETTINGS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPageSettings",L.MZ.NO_SPINNER,"Fetching Page Settings Failed.",te),(0,v.of)({type:L.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_PAGE_SETTINGS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.no)({payload:{action:"SavePageSettings",status:L.wn.INITIATED}})),this.httpClient.post(L.rl.PAGE_SETTINGS_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SavePageSettings",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,C.UI)({payload:"Page Layout Updated Successfully!"})),{type:L.TC.SET_PAGE_SETTINGS_CLN,payload:ie||[]})),(0,T.W)(ie=>(this.handleErrorWithAlert("SavePageSettings",L.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",L.rl.PAGE_SETTINGS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.store.select(A.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(te=>{te.FetchInfo.status!==L.wn.COMPLETED&&te.FetchInfo.status!==L.wn.ERROR||te.FetchChannels.status!==L.wn.COMPLETED&&te.FetchChannels.status!==L.wn.ERROR||te.FetchUTXOBalances.status!==L.wn.COMPLETED&&te.FetchUTXOBalances.status!==L.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,C.y0)({payload:L.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(te=>{this.logger.info("Received new message from the service: "+JSON.stringify(te)),te&&te.data&&te.data[L.Jr.INVOICE_PAYMENT]&&te.data[L.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,B.Dq)({payload:te.data[L.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(J,De){this.sessionService.setItem("clnUnlocked","true");const Re={identity_pubkey:J.id,alias:J.alias,testnet:"testnet"===J.network.toLowerCase(),chains:J.chains,uris:J.uris,version:J.version,api_version:J.api_version,numberOfPendingChannels:J.num_pending_channels};this.store.dispatch((0,C.mt)({payload:L.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,C.Fl)({payload:Re}));let Xe=this.location.path();Xe.includes("/lnd/")?Xe=Xe?.replace("/lnd/","/cln/"):Xe.includes("/ecl/")&&(Xe=Xe?.replace("/ecl/","/cln/")),(Xe.includes("/login")||Xe.includes("/error")||""===Xe||"HOME"===De||Xe.includes("?access-key="))&&(Xe="/cln/home"),this.router.navigate([Xe]),this.store.dispatch((0,B.Do)()),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,B.kX)({payload:"perkw"})),this.store.dispatch((0,B.kX)({payload:"perkb"})),this.store.dispatch((0,B.Gy)()),this.store.dispatch((0,B.CK)())}handleErrorWithoutAlert(J,De,Re,Xe){if(this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(Xe)),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.Jh)()),this.store.dispatch((0,C.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,C.y0)({payload:De}));const _e=this.commonService.extractErrorMessage(Xe,Re);this.store.dispatch((0,B.no)({payload:{action:J,status:L.wn.ERROR,statusCode:Xe.status.toString(),message:_e}}))}}handleErrorWithAlert(J,De,Re,Xe,_e){if(this.logger.error(_e),401===_e.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.Jh)()),this.store.dispatch((0,C.ri)({payload:"Authentication Failed: "+JSON.stringify(_e.error)})),this.store.dispatch((0,C.UI)({payload:"Authentication Failed: "+_e.error}));else{this.store.dispatch((0,C.y0)({payload:De}));const he=this.commonService.extractErrorMessage(_e);this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:Re,message:{code:_e.status,message:he,URL:Xe},component:f.f}}})),this.store.dispatch((0,B.no)({payload:{action:J,status:L.wn.ERROR,statusCode:_e.status.toString(),message:he,URL:Xe}}))}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static#e=ce=()=>(this.\u0275fac=function(De){return new(De||be)(le.KVO(i.En),le.KVO(Ce.Qq),le.KVO(Ae.il),le.KVO(j.Q),le.KVO(W.h),le.KVO(G.gP),le.KVO(re.Ix),le.KVO(xe.I),le.KVO(Ee.aZ))},this.\u0275prov=le.jDH({token:be,factory:be.\u0275fac}))}return ce(),be})()},9584(Zt,pe,l){"use strict";l.d(pe,{Al:()=>A,BM:()=>Pe,Dv:()=>Ce,GX:()=>j,Ie:()=>le,KT:()=>f,O5:()=>re,Pj:()=>B,RB:()=>C,RQ:()=>G,aJ:()=>Ae,av:()=>T,ip:()=>xe,kQ:()=>W,kr:()=>L,mH:()=>w,os:()=>u,ru:()=>O});var d=l(9640);const v=(0,d.UX)("cln"),T=(0,d.Mz)(v,V=>({pageSettings:V.pageSettings,apiCallStatus:V.apisCallStatus.FetchPageSettings})),w=(0,d.Mz)(v,V=>V.information),O=((0,d.Mz)(v,V=>V.apisCallStatus.FetchInfo),(0,d.Mz)(v,V=>V.apisCallStatus)),f=(0,d.Mz)(v,V=>({payments:V.payments,apiCallStatus:V.apisCallStatus.FetchPayments})),u=(0,d.Mz)(v,V=>({peers:V.peers,apiCallStatus:V.apisCallStatus.FetchPeers})),L=(0,d.Mz)(v,V=>({feeRatesPerKB:V.feeRatesPerKB,apiCallStatus:V.apisCallStatus.FetchFeeRatesperkb})),C=(0,d.Mz)(v,V=>({feeRatesPerKW:V.feeRatesPerKW,apiCallStatus:V.apisCallStatus.FetchFeeRatesperkw})),B=(0,d.Mz)(v,V=>({listInvoices:V.invoices,apiCallStatus:V.apisCallStatus.FetchInvoices})),A=(0,d.Mz)(v,V=>({utxos:V.utxos,balance:V.balance,localRemoteBalance:V.localRemoteBalance,apiCallStatus:V.apisCallStatus.FetchUTXOBalances})),Pe=(0,d.Mz)(v,V=>({activeChannels:V.activeChannels,pendingChannels:V.pendingChannels,inactiveChannels:V.inactiveChannels,apiCallStatus:V.apisCallStatus.FetchChannels})),le=(0,d.Mz)(v,V=>({forwardingHistory:V.forwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryS})),Ce=(0,d.Mz)(v,V=>({failedForwardingHistory:V.failedForwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryF})),Ae=(0,d.Mz)(v,V=>({localFailedForwardingHistory:V.localFailedForwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryL})),j=(0,d.Mz)(v,V=>({information:V.information,balance:V.balance,numPeers:V.peers.length})),W=(0,d.Mz)(v,V=>({information:V.information,balance:V.balance})),G=(0,d.Mz)(v,V=>({information:V.information,fees:V.fees,apisCallStatus:[V.apisCallStatus.FetchInfo,V.apisCallStatus.FetchForwardingHistoryS]})),re=(0,d.Mz)(v,V=>({offers:V.offers,apiCallStatus:V.apisCallStatus.FetchOffers})),xe=(0,d.Mz)(v,V=>({offersBookmarks:V.offersBookmarks,apiCallStatus:V.apisCallStatus.FetchOfferBookmarks}))},8321(Zt,pe,l){"use strict";l.d(pe,{y:()=>fe});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(9584),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(1997),j=l(9183),W=l(2920),G=l(6038),re=l(455),xe=l(8288),Ee=l(9157),V=l(9587);const ce=Qe=>({"display-none":Qe}),be=Qe=>({"xs-scroll-y":Qe}),ne=(Qe,gt)=>({"mt-2":Qe,"mt-1":gt}),J=Qe=>({"mr-0":Qe}),De=()=>[];function Re(Qe,gt){if(1&Qe&&f.nrm(0,"qr-code",33),2&Qe){const Gt=f.XpG();f.Y8G("value",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))("size",Gt.qrWidth)}}function Xe(Qe,gt){1&Qe&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function _e(Qe,gt){if(1&Qe&&f.nrm(0,"span",35),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function he(Qe,gt){if(1&Qe&&f.nrm(0,"span",36),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function Dt(Qe,gt){if(1&Qe&&f.nrm(0,"span",37),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function lt(Qe,gt){if(1&Qe&&f.nrm(0,"qr-code",33),2&Qe){const Gt=f.XpG();f.Y8G("value",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))("size",Gt.qrWidth)}}function Le(Qe,gt){1&Qe&&(f.j41(0,"span",38),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function te(Qe,gt){1&Qe&&f.nrm(0,"mat-divider",39)}function ie(Qe,gt){if(1&Qe&&(f.j41(0,"div",20)(1,"div",40),f.nrm(2,"fa-icon",41),f.j41(3,"span"),f.EFF(4),f.k0s()()()),2&Qe){const Gt=f.XpG();f.R7$(2),f.Y8G("icon",Gt.faExclamationTriangle),f.R7$(2),f.JRh(null==Gt.invoice?null:Gt.invoice.warning_capacity)}}function P(Qe,gt){1&Qe&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function F(Qe,gt){1&Qe&&f.nrm(0,"span",47)}function ve(Qe,gt){if(1&Qe&&(f.j41(0,"div",43)(1,"div",44)(2,"span",45),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,F,1,0,"span",46),f.k0s()()),2&Qe){const Gt=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,(null==Gt.invoice?null:Gt.invoice.amount_received_msat)/1e3)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,De).constructor(35))}}function H(Qe,gt){if(1&Qe&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&Qe){const Gt=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,(null==Gt.invoice?null:Gt.invoice.amount_received_msat)/1e3)," Sats")}}function $(Qe,gt){if(1&Qe&&(f.qex(0),f.DNE(1,ve,6,5,"div",42)(2,H,3,3,"div",24),f.bVm()),2&Qe){const Gt=f.XpG();f.R7$(),f.Y8G("ngIf",Gt.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!Gt.flgInvoicePaid)}}function Ke(Qe,gt){1&Qe&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Vt(Qe,gt){1&Qe&&f.nrm(0,"mat-spinner",49),2&Qe&&f.Y8G("diameter",20)}function St(Qe,gt){if(1&Qe&&(f.qex(0),f.DNE(1,Ke,2,0,"span",24)(2,Vt,1,1,"mat-spinner",48),f.bVm()),2&Qe){const Gt=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==Gt.invoice?null:Gt.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Gt.invoice?null:Gt.invoice.status))}}function ot(Qe,gt){if(1&Qe&&(f.j41(0,"div"),f.nrm(1,"mat-divider",26),f.j41(2,"div",20)(3,"div",27)(4,"h4",22),f.EFF(5,"Payment Hash"),f.k0s(),f.j41(6,"span",25),f.EFF(7),f.k0s()()(),f.nrm(8,"mat-divider",26),f.j41(9,"div",20)(10,"div",27)(11,"h4",22),f.EFF(12,"Label"),f.k0s(),f.j41(13,"span",25),f.EFF(14),f.k0s()()(),f.nrm(15,"mat-divider",26),f.k0s()),2&Qe){const Gt=f.XpG();f.R7$(7),f.JRh(null==Gt.invoice?null:Gt.invoice.payment_hash),f.R7$(7),f.JRh(null==Gt.invoice?null:Gt.invoice.label)}}function nt(Qe,gt){1&Qe&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ht(Qe,gt){1&Qe&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function oe(Qe,gt){if(1&Qe){const Gt=f.RV6();f.j41(0,"button",50),f.bIt("copied",function(cn){O.eBV(Gt);const Ft=f.XpG();return O.Njj(Ft.onCopyPayment(cn))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&Qe){const Gt=f.XpG();f.Y8G("payload",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))}}function Ye(Qe,gt){if(1&Qe){const Gt=f.RV6();f.j41(0,"button",51),f.bIt("click",function(){O.eBV(Gt);const cn=f.XpG();return O.Njj(cn.onClose())}),f.EFF(1,"OK"),f.k0s()}}let fe=(()=>{var Qe;class gt{constructor(rt,cn,Ft,Sn,Qn,h){this.dialogRef=rt,this.data=cn,this.logger=Ft,this.commonService=Sn,this.snackBar=Qn,this.store=h,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgInvoicePaid=!1,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.Pj).pipe((0,T.Q)(this.unSubs[1])).subscribe(rt=>{const Ft=(rt.listInvoices.invoices||[])?.find(Sn=>Sn.payment_hash===this.invoice.payment_hash)||null;Ft&&(this.invoice=Ft),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(Ft),this.logger.info(rt)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(rt){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+rt)}ngOnDestroy(){this.unSubs.forEach(rt=>{rt.next(null),rt.complete()})}static#e=Qe=()=>(this.\u0275fac=function(cn){return new(cn||gt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:gt,selectors:[["rtl-cln-invoice-information"]],standalone:!1,decls:72,vars:49,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(cn,Ft){if(1&cn){const Sn=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,Re,1,2,"qr-code",3)(3,Xe,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.DNE(10,_e,1,3,"span",10)(11,he,1,3,"span",11)(12,Dt,1,3,"span",12),f.k0s()(),f.j41(13,"button",13),f.bIt("click",function(){return O.eBV(Sn),O.Njj(Ft.onClose())}),f.EFF(14,"X"),f.k0s()(),f.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),f.DNE(18,lt,1,2,"qr-code",3)(19,Le,2,0,"span",17),f.k0s(),f.DNE(20,te,1,0,"mat-divider",18)(21,ie,5,2,"div",19),f.j41(22,"div",20)(23,"div",21)(24,"h4",22),f.EFF(25),f.k0s(),f.j41(26,"span",23),f.EFF(27),f.nI1(28,"number"),f.DNE(29,P,2,0,"ng-container",24),f.k0s()(),f.j41(30,"div",21)(31,"h4",22),f.EFF(32,"Amount Received"),f.k0s(),f.j41(33,"span",25),f.DNE(34,$,3,2,"ng-container",24)(35,St,3,2,"ng-container",24),f.k0s()()(),f.nrm(36,"mat-divider",26),f.j41(37,"div",20)(38,"div",21)(39,"h4",22),f.EFF(40,"Date Expiry"),f.k0s(),f.j41(41,"span",23),f.EFF(42),f.nI1(43,"date"),f.k0s()(),f.j41(44,"div",21)(45,"h4",22),f.EFF(46,"Date Settled"),f.k0s(),f.j41(47,"span",23),f.EFF(48),f.nI1(49,"date"),f.k0s()()(),f.nrm(50,"mat-divider",26),f.j41(51,"div",20)(52,"div",27)(53,"h4",22),f.EFF(54,"Description"),f.k0s(),f.j41(55,"span",23),f.EFF(56),f.k0s()()(),f.nrm(57,"mat-divider",26),f.j41(58,"div",20)(59,"div",27)(60,"h4",22),f.EFF(61),f.k0s(),f.j41(62,"span",25),f.EFF(63),f.k0s()()(),f.DNE(64,ot,16,2,"div",24),f.j41(65,"div",28)(66,"button",29),f.bIt("click",function(){return O.eBV(Sn),O.Njj(Ft.onShowAdvanced())}),f.DNE(67,nt,2,0,"p",30)(68,ht,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(70,oe,2,1,"button",31)(71,Ye,2,0,"button",32),f.k0s()()()()()}if(2&cn){const Sn=f.sdS(69);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ft.invoice&&Ft.invoice.bolt11&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||null!=Ft.invoice&&Ft.invoice.bolt12&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(40,ce,Ft.screenSize===Ft.screenSizeEnum.XS||Ft.screenSize===Ft.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12)),f.R7$(4),f.Y8G("icon",Ft.faReceipt),f.R7$(2),f.SpI(" ",Ft.screenSize===Ft.screenSizeEnum.XS?Ft.newlyAdded?"Created":"Invoice":Ft.newlyAdded?"Invoice Created":"Invoice Information"," "),f.R7$(),f.Y8G("ngIf","paid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","expired"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(3),f.Y8G("ngClass",f.eq3(42,be,Ft.screenSize===Ft.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ft.invoice&&Ft.invoice.bolt11&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||null!=Ft.invoice&&Ft.invoice.bolt12&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(44,ce,Ft.screenSize!==Ft.screenSizeEnum.XS&&Ft.screenSize!==Ft.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ft.screenSize===Ft.screenSizeEnum.XS||Ft.screenSize===Ft.screenSizeEnum.SM),f.R7$(),f.Y8G("ngIf",null==Ft.invoice?null:Ft.invoice.warning_capacity),f.R7$(4),f.JRh(Ft.screenSize===Ft.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI(" ",f.bMT(28,32,(null==Ft.invoice?null:Ft.invoice.amount_msat)/1e3||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.amount_msat)||"0"===(null==Ft.invoice?null:Ft.invoice.amount_msat)||"any"===(null==Ft.invoice?null:Ft.invoice.amount_msat)),f.R7$(5),f.Y8G("ngIf","paid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","paid"!==(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(7),f.JRh(f.i5U(43,34,1e3*(null==Ft.invoice?null:Ft.invoice.expires_at),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(49,37,1e3*(null==Ft.invoice?null:Ft.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),f.R7$(8),f.JRh((null==Ft.invoice?null:Ft.invoice.description)||"-"),f.R7$(5),f.SpI("",null!=Ft.invoice&&Ft.invoice.bolt12?"Bolt12":null!=Ft.invoice&&Ft.invoice.bolt11&&!Ft.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),f.R7$(2),f.JRh((null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ft.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(46,ne,!Ft.showAdvanced,Ft.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ft.showAdvanced)("ngIfElse",Sn),f.R7$(3),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12))}},dependencies:[A.YU,A.Sq,A.bT,Pe.aY,le.$z,Ce.m2,Ce.MM,Ae.q,j.LG,W.DJ,W.sA,W.UI,G.PW,re.oV,xe.Um,Ee.U,V.N,A.QX,A.vh],encapsulation:2}))}return Qe(),gt})()},2142(Zt,pe,l){"use strict";l.d(pe,{f:()=>ve});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(2615),O=l(3664),f=l(8570),u=l(2571),L=l(5416),C=l(1534),B=l(2200),A=l(60),Pe=l(8834),le=l(5596),Ce=l(1997),Ae=l(2920),j=l(6038),W=l(8288),G=l(9157),re=l(9587);const xe=H=>({"display-none":H}),Ee=H=>({"xs-scroll-y":H}),V=(H,$)=>({"mt-2":H,"mt-1":$});function ce(H,$){if(1&H&&O.nrm(0,"qr-code",28),2&H){const Ke=O.XpG();O.Y8G("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)}}function be(H,$){1&H&&(O.j41(0,"span",29),O.EFF(1,"N/A"),O.k0s())}function ne(H,$){if(1&H&&O.nrm(0,"qr-code",28),2&H){const Ke=O.XpG();O.Y8G("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)}}function J(H,$){1&H&&(O.j41(0,"span",30),O.EFF(1,"QR Code Not Applicable"),O.k0s())}function De(H,$){1&H&&O.nrm(0,"mat-divider",31),2&H&&O.Y8G("inset",!0)}function Re(H,$){1&H&&O.nrm(0,"mat-divider",20)}function Xe(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",17)(2,"h4",18),O.EFF(3,"Used"),O.k0s(),O.j41(4,"span",19),O.EFF(5),O.k0s()(),O.j41(6,"div",17)(7,"h4",18),O.EFF(8,"Single Use"),O.k0s(),O.j41(9,"span",19),O.EFF(10),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.SpI(" ",null!=Ke.offer&&Ke.offer.used?null!=Ke.offer&&Ke.offer.used?"Yes":"No":"N/K"," "),O.R7$(5),O.SpI(" ",null!=Ke.offer&&Ke.offer.single_use?null!=Ke.offer&&Ke.offer.single_use?"Yes":"No":"N/K"," ")}}function _e(H,$){1&H&&O.nrm(0,"mat-divider",20)}function he(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",21)(2,"h4",18),O.EFF(3,"Issuer"),O.k0s(),O.j41(4,"span",34),O.EFF(5),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.JRh(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_issuer)}}function Dt(H,$){1&H&&O.nrm(0,"mat-divider",20)}function lt(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",21)(2,"h4",18),O.EFF(3,"Label"),O.k0s(),O.j41(4,"span",19),O.EFF(5),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.JRh(Ke.offer.label)}}function Le(H,$){if(1&H&&(O.j41(0,"div"),O.DNE(1,Re,1,0,"mat-divider",32)(2,Xe,11,2,"div",33)(3,_e,1,0,"mat-divider",32)(4,he,6,1,"div",33)(5,Dt,1,0,"mat-divider",32)(6,lt,6,1,"div",33),O.nrm(7,"mat-divider",20),O.j41(8,"div",16)(9,"div",21)(10,"h4",18),O.EFF(11,"Offer ID"),O.k0s(),O.j41(12,"span",19),O.EFF(13),O.k0s()()(),O.nrm(14,"mat-divider",20),O.j41(15,"div",16)(16,"div",21)(17,"h4",18),O.EFF(18,"Offer Node ID"),O.k0s(),O.j41(19,"span",19),O.EFF(20),O.k0s()()(),O.nrm(21,"mat-divider",20),O.k0s()),2&H){const Ke=O.XpG();O.R7$(),O.Y8G("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),O.R7$(),O.Y8G("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),O.R7$(),O.Y8G("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),O.R7$(),O.Y8G("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),O.R7$(),O.Y8G("ngIf",Ke.offer.label),O.R7$(),O.Y8G("ngIf",Ke.offer.label),O.R7$(7),O.JRh(Ke.offerDecoded.offer_id),O.R7$(7),O.JRh(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_node_id)}}function te(H,$){1&H&&(O.j41(0,"p"),O.EFF(1,"Show Advanced"),O.k0s())}function ie(H,$){1&H&&(O.j41(0,"p"),O.EFF(1,"Hide Advanced"),O.k0s())}function P(H,$){if(1&H){const Ke=O.RV6();O.j41(0,"button",35),O.bIt("copied",function(St){e.eBV(Ke);const ot=O.XpG();return e.Njj(ot.onCopyOffer(St))}),O.EFF(1,"Copy Offer"),O.k0s()}if(2&H){const Ke=O.XpG();O.Y8G("payload",null==Ke.offer?null:Ke.offer.bolt12)}}function F(H,$){if(1&H){const Ke=O.RV6();O.j41(0,"button",36),O.bIt("click",function(){e.eBV(Ke);const St=O.XpG();return e.Njj(St.onClose())}),O.EFF(1,"OK"),O.k0s()}}let ve=(()=>{var H;class ${constructor(Vt,St,ot,nt,ht,oe){this.dialogRef=Vt,this.data=St,this.logger=ot,this.commonService=nt,this.snackBar=ht,this.dataService=oe,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgOfferPaid=!1,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,T.Q)(this.unSubs[1])).subscribe(Vt=>{this.offerDecoded=Vt,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Vt){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Vt)}ngOnDestroy(){this.unSubs.forEach(Vt=>{Vt.next(null),Vt.complete()})}static#e=H=()=>(this.\u0275fac=function(St){return new(St||$)(O.rXU(i.CP),O.rXU(i.Vh),O.rXU(f.gP),O.rXU(u.h),O.rXU(L.UG),O.rXU(C.u))},this.\u0275cmp=O.VBU({type:$,selectors:[["rtl-cln-offer-information"]],standalone:!1,decls:52,vars:33,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(St,ot){if(1&St){const nt=O.RV6();O.j41(0,"div",1)(1,"div",2),O.DNE(2,ce,1,2,"qr-code",3)(3,be,2,0,"span",4),O.k0s(),O.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),O.nrm(7,"fa-icon",8),O.j41(8,"span",9),O.EFF(9),O.k0s()(),O.j41(10,"button",10),O.bIt("click",function(){return e.eBV(nt),e.Njj(ot.onClose())}),O.EFF(11,"X"),O.k0s()(),O.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),O.DNE(15,ne,1,2,"qr-code",3)(16,J,2,0,"span",14),O.k0s(),O.DNE(17,De,1,1,"mat-divider",15),O.j41(18,"div",16)(19,"div",17)(20,"h4",18),O.EFF(21,"Amount Requested (Sats)"),O.k0s(),O.j41(22,"span",19),O.EFF(23),O.nI1(24,"number"),O.k0s()(),O.j41(25,"div",17)(26,"h4",18),O.EFF(27,"Valid"),O.k0s(),O.j41(28,"span",19),O.EFF(29),O.k0s()()(),O.nrm(30,"mat-divider",20),O.j41(31,"div",16)(32,"div",21)(33,"h4",18),O.EFF(34,"Description"),O.k0s(),O.j41(35,"span",19),O.EFF(36),O.k0s()()(),O.nrm(37,"mat-divider",20),O.j41(38,"div",16)(39,"div",21)(40,"h4",18),O.EFF(41,"Offer"),O.k0s(),O.j41(42,"span",19),O.EFF(43),O.k0s()()(),O.DNE(44,Le,22,8,"div",22),O.j41(45,"div",23)(46,"button",24),O.bIt("click",function(){return e.eBV(nt),e.Njj(ot.onShowAdvanced())}),O.DNE(47,te,2,0,"p",25)(48,ie,2,0,"ng-template",null,0,O.C5r),O.k0s(),O.DNE(50,P,2,1,"button",26)(51,F,2,0,"button",27),O.k0s()()()()()}if(2&St){const nt=O.sdS(49);O.R7$(),O.Y8G("fxLayoutAlign",null!=ot.offer&&ot.offer.bolt12&&""!==(null==ot.offer?null:ot.offer.bolt12)?"center start":"center center")("ngClass",O.eq3(24,xe,ot.screenSize===ot.screenSizeEnum.XS||ot.screenSize===ot.screenSizeEnum.SM)),O.R7$(),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12)),O.R7$(4),O.Y8G("icon",ot.faReceipt),O.R7$(2),O.JRh(ot.screenSize===ot.screenSizeEnum.XS?ot.newlyAdded?"Created":"Offer":ot.newlyAdded?"Offer Created":"Offer Information"),O.R7$(3),O.Y8G("ngClass",O.eq3(26,Ee,ot.screenSize===ot.screenSizeEnum.XS)),O.R7$(2),O.Y8G("fxLayoutAlign",null!=ot.offer&&ot.offer.bolt12&&""!==(null==ot.offer?null:ot.offer.bolt12)?"center start":"center center")("ngClass",O.eq3(28,xe,ot.screenSize!==ot.screenSizeEnum.XS&&ot.screenSize!==ot.screenSizeEnum.SM)),O.R7$(),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",ot.screenSize===ot.screenSizeEnum.XS||ot.screenSize===ot.screenSizeEnum.SM),O.R7$(6),O.SpI(" ",null!=ot.offerDecoded&&ot.offerDecoded.offer_amount_msat&&0!==(null==ot.offerDecoded?null:ot.offerDecoded.offer_amount_msat)?O.bMT(24,22,(null==ot.offerDecoded?null:ot.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),O.R7$(6),O.SpI(" ",null!=ot.offerDecoded&&ot.offerDecoded.valid?null!=ot.offerDecoded&&ot.offerDecoded.valid?"Yes":"No":"N/K"," "),O.R7$(7),O.SpI(" ",null==ot.offerDecoded?null:ot.offerDecoded.offer_description," "),O.R7$(7),O.JRh(null==ot.offer?null:ot.offer.bolt12),O.R7$(),O.Y8G("ngIf",ot.showAdvanced),O.R7$(),O.Y8G("ngClass",O.l_i(30,V,!ot.showAdvanced,ot.showAdvanced)),O.R7$(2),O.Y8G("ngIf",!ot.showAdvanced)("ngIfElse",nt),O.R7$(3),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12))}},dependencies:[B.YU,B.bT,A.aY,Pe.$z,le.m2,le.MM,Ce.q,Ae.DJ,Ae.sA,Ae.UI,j.PW,W.Um,G.U,re.N,B.QX],encapsulation:2}))}return H(),$})()},5428(Zt,pe,l){"use strict";l.d(pe,{$6:()=>Ke,$Q:()=>B,As:()=>F,CK:()=>he,Do:()=>$,Dq:()=>ot,Fd:()=>te,Gy:()=>G,Hh:()=>T,Hm:()=>Le,I6:()=>le,Jx:()=>St,Lc:()=>ce,Lz:()=>ve,N4:()=>ie,N8:()=>j,NS:()=>e,Qj:()=>re,Sn:()=>O,T4:()=>lt,Tp:()=>A,Uj:()=>Dt,Uo:()=>C,XT:()=>ne,Xx:()=>Ae,Yi:()=>ht,ZE:()=>W,Zi:()=>be,cR:()=>_e,cU:()=>Pe,fy:()=>Re,gZ:()=>Ye,iO:()=>Vt,jJ:()=>Ce,lg:()=>w,mh:()=>P,sq:()=>xe,uL:()=>v,vL:()=>De,w0:()=>Xe,x1:()=>u,yn:()=>fe,yp:()=>L,zR:()=>f,zU:()=>nt});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.Uu.UPDATE_API_CALL_STATUS_ECL,(0,i.xk)()),T=(0,i.VP)(d.Uu.RESET_ECL_STORE),w=(0,i.VP)(d.Uu.FETCH_PAGE_SETTINGS_ECL),e=(0,i.VP)(d.Uu.SET_PAGE_SETTINGS_ECL,(0,i.xk)()),O=(0,i.VP)(d.Uu.SAVE_PAGE_SETTINGS_ECL,(0,i.xk)()),f=(0,i.VP)(d.Uu.FETCH_INFO_ECL,(0,i.xk)()),u=(0,i.VP)(d.Uu.SET_INFO_ECL,(0,i.xk)()),L=(0,i.VP)(d.Uu.FETCH_FEES_ECL),C=(0,i.VP)(d.Uu.SET_FEES_ECL,(0,i.xk)()),B=(0,i.VP)(d.Uu.FETCH_CHANNELS_ECL),A=(0,i.VP)(d.Uu.SET_ACTIVE_CHANNELS_ECL,(0,i.xk)()),Pe=(0,i.VP)(d.Uu.SET_PENDING_CHANNELS_ECL,(0,i.xk)()),le=(0,i.VP)(d.Uu.SET_INACTIVE_CHANNELS_ECL,(0,i.xk)()),Ce=(0,i.VP)(d.Uu.FETCH_ONCHAIN_BALANCE_ECL),Ae=(0,i.VP)(d.Uu.SET_ONCHAIN_BALANCE_ECL,(0,i.xk)()),j=(0,i.VP)(d.Uu.SET_LIGHTNING_BALANCE_ECL,(0,i.xk)()),W=(0,i.VP)(d.Uu.SET_CHANNELS_STATUS_ECL,(0,i.xk)()),G=(0,i.VP)(d.Uu.FETCH_PEERS_ECL),re=(0,i.VP)(d.Uu.SET_PEERS_ECL,(0,i.xk)()),xe=(0,i.VP)(d.Uu.SAVE_NEW_PEER_ECL,(0,i.xk)()),ce=((0,i.VP)(d.Uu.NEWLY_ADDED_PEER_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.ADD_PEER_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.DETACH_PEER_ECL,(0,i.xk)())),be=(0,i.VP)(d.Uu.REMOVE_PEER_ECL,(0,i.xk)()),ne=(0,i.VP)(d.Uu.GET_NEW_ADDRESS_ECL),De=((0,i.VP)(d.Uu.SET_NEW_ADDRESS_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.SAVE_NEW_CHANNEL_ECL,(0,i.xk)())),Re=(0,i.VP)(d.Uu.UPDATE_CHANNEL_ECL,(0,i.xk)()),Xe=(0,i.VP)(d.Uu.CLOSE_CHANNEL_ECL,(0,i.xk)()),_e=(0,i.VP)(d.Uu.REMOVE_CHANNEL_ECL,(0,i.xk)()),he=(0,i.VP)(d.Uu.FETCH_PAYMENTS_ECL,(0,i.xk)()),Dt=(0,i.VP)(d.Uu.SET_PAYMENTS_ECL,(0,i.xk)()),lt=(0,i.VP)(d.Uu.GET_QUERY_ROUTES_ECL,(0,i.xk)()),Le=(0,i.VP)(d.Uu.SET_QUERY_ROUTES_ECL,(0,i.xk)()),te=(0,i.VP)(d.Uu.SEND_PAYMENT_ECL,(0,i.xk)()),ie=(0,i.VP)(d.Uu.SEND_PAYMENT_STATUS_ECL,(0,i.xk)()),P=(0,i.VP)(d.Uu.FETCH_TRANSACTIONS_ECL,(0,i.xk)()),F=(0,i.VP)(d.Uu.SET_TRANSACTIONS_ECL,(0,i.xk)()),ve=(0,i.VP)(d.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,i.xk)()),$=((0,i.VP)(d.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.FETCH_INVOICES_ECL,(0,i.xk)())),Ke=(0,i.VP)(d.Uu.SET_INVOICES_ECL,(0,i.xk)()),Vt=(0,i.VP)(d.Uu.CREATE_INVOICE_ECL,(0,i.xk)()),St=(0,i.VP)(d.Uu.ADD_INVOICE_ECL,(0,i.xk)()),ot=(0,i.VP)(d.Uu.UPDATE_INVOICE_ECL,(0,i.xk)()),nt=(0,i.VP)(d.Uu.PEER_LOOKUP_ECL,(0,i.xk)()),ht=(0,i.VP)(d.Uu.INVOICE_LOOKUP_ECL,(0,i.xk)()),Ye=((0,i.VP)(d.Uu.SET_LOOKUP_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.UPDATE_CHANNEL_STATE_ECL,(0,i.xk)())),fe=(0,i.VP)(d.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,i.xk)())},3017(Zt,pe,l){"use strict";l.d(pe,{B:()=>Ee});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(2462),u=l(4416),L=l(1771),C=l(6439),B=l(5428),A=l(2730),Pe=l(2615),le=l(9330),Ce=l(9640),Ae=l(3202),j=l(2571),W=l(8570),G=l(3694),re=l(7879),xe=l(7303);let Ee=(()=>{var V;class ce{constructor(ne,J,De,Re,Xe,_e,he,Dt,lt){this.actions=ne,this.httpClient=J,this.store=De,this.sessionService=Re,this.commonService=Xe,this.logger=_e,this.router=he,this.wsService=Dt,this.location=lt,this.CHILD_API_URL=u.H$+"/ecl",this.invoicesPageSettings=u.X8.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"invoices"===Le.tableId),this.paymentsPageSettings=u.X8.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"payments"===Le.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new d.B,new d.B,new d.B],this.infoFetchECL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_INFO_ECL),(0,e.Z)(Le=>(this.flgInitialized=!1,this.store.dispatch((0,L.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,L.mt)({payload:u.MZ.GET_NODE_INFO})),this.store.dispatch((0,B.uL)({payload:{action:"FetchInfo",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(u.aU.SET_SELECTED_NODE))),(0,w.T)(te=>(this.logger.info(te),this.initializeRemainingData(te,Le.payload.loadPage),this.store.dispatch((0,B.uL)({payload:{action:"FetchInfo",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.GET_NODE_INFO})),{type:u.Uu.SET_INFO_ECL,payload:te||{}})),(0,T.W)(te=>{const ie=this.commonService.extractErrorCode(te),P=503===ie?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(te);return this.router.navigate(["/error"],{state:{errorCode:ie,errorMessage:P}}),this.handleErrorWithoutAlert("FetchInfo",u.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ie,error:P}),(0,v.of)({type:u.aU.VOID})})))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_FEES_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchFees",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.FEES_API+"/fees").pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchFees",status:u.wn.COMPLETED}})),{type:u.Uu.SET_FEES_ECL,payload:Le||{}})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchFees",u.MZ.NO_SPINNER,"Fetching Fees Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.fetchPayments=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PAYMENTS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPayments",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.FEES_API+"/payments?count="+Le.payload.count+"&skip="+Le.payload.skip).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"FetchPayments",status:u.wn.COMPLETED}})),{type:u.Uu.SET_PAYMENTS_ECL,payload:te||{}})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPayments",u.MZ.NO_SPINNER,"Fetching Payments Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_CHANNELS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchChannels",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.CHANNELS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.rawChannelsList=te,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,B.uL)({payload:{action:"FetchChannels",status:u.wn.COMPLETED}})),{type:u.aU.VOID})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchChannels",u.MZ.NO_SPINNER,"Fetching Channels Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.fetchOnchainBalance=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchOnchainBalance",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API+"/balance"))),(0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchOnchainBalance",status:u.wn.COMPLETED}})),{type:u.Uu.SET_ONCHAIN_BALANCE_ECL,payload:Le||{}})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchOnchainBalance",u.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",Le),(0,v.of)({type:u.aU.VOID}))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PEERS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPeers",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.PEERS_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchPeers",status:u.wn.COMPLETED}})),{type:u.Uu.SET_PEERS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchPeers",u.MZ.NO_SPINNER,"Fetching Peers Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.GET_NEW_ADDRESS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,L.mt)({payload:u.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,L.y0)({payload:u.MZ.GENERATE_NEW_ADDRESS})),{type:u.Uu.SET_NEW_ADDRESS_ECL,payload:Le})),(0,T.W)(Le=>(this.handleErrorWithAlert("GetNewAddress",u.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+u.rl.ON_CHAIN_API,Le),(0,v.of)({type:u.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_NEW_ADDRESS_ECL),(0,w.T)(Le=>(this.logger.info(Le.payload),Le.payload))),{dispatch:!1}),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_NEW_PEER_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.CONNECT_PEER})),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewPeer",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.PEERS_API+(Le.payload.id.includes("@")?"?uri=":"?nodeId=")+Le.payload.id,{}).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewPeer",status:u.wn.COMPLETED}})),te=te||[],this.store.dispatch((0,L.y0)({payload:u.MZ.CONNECT_PEER})),this.store.dispatch((0,B.Qj)({payload:te})),{type:u.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:te.find(ie=>ie.nodeId===(Le.payload.id.includes("@")?Le.payload.id.substring(0,Le.payload.id.indexOf("@")):Le.payload.id))}})),(0,T.W)(te=>(this.handleErrorWithoutAlert("SaveNewPeer",u.MZ.CONNECT_PEER,"Peer Connection Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.DETACH_PEER_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+u.rl.PEERS_API+"/"+Le.payload.nodeId).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,L.y0)({payload:u.MZ.DISCONNECT_PEER})),this.store.dispatch((0,L.UI)({payload:"Disconnecting Peer!"})),{type:u.Uu.REMOVE_PEER_ECL,payload:{nodeId:Le.payload.nodeId}})),(0,T.W)(te=>(this.handleErrorWithAlert("DisconnectPeer",u.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+u.rl.PEERS_API+"/"+Le.payload.nodeId,te),(0,v.of)({type:u.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_NEW_CHANNEL_ECL),(0,e.Z)(Le=>{this.store.dispatch((0,L.mt)({payload:u.MZ.OPEN_CHANNEL})),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewChannel",status:u.wn.INITIATED}}));const te={nodeId:Le.payload.nodeId,fundingSatoshis:Le.payload.amount,announceChannel:!Le.payload.private};return Le.payload.feeRate&&Le.payload.feeRate>0&&(te.fundingFeerateSatByte=Le.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+u.rl.CHANNELS_API,te).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewChannel",status:u.wn.COMPLETED}})),this.store.dispatch((0,B.Gy)()),this.store.dispatch((0,B.jJ)()),this.store.dispatch((0,L.y0)({payload:u.MZ.OPEN_CHANNEL})),this.store.dispatch((0,L.UI)({payload:"Channel Added Successfully!"})),{type:u.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewChannel",u.MZ.OPEN_CHANNEL,"Opening Channel Failed.",ie),(0,v.of)({type:u.aU.VOID}))))}))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.UPDATE_CHANNEL_ECL),(0,e.Z)(Le=>{this.store.dispatch((0,L.mt)({payload:u.MZ.UPDATE_CHAN_POLICY}));let te="?feeBaseMsat="+Le.payload.baseFeeMsat+"&feeProportionalMillionths="+Le.payload.feeRate;return te=Le.payload.nodeIds?te+"&nodeIds="+Le.payload.nodeIds:Le.payload.nodeId?te+"&nodeId="+Le.payload.nodeId:Le.payload.channelIds?te+"&channelIds="+Le.payload.channelIds:te+"&channelId="+Le.payload.channelId,this.httpClient.post(this.CHILD_API_URL+u.rl.CHANNELS_API+"/updateRelayFee"+te,{}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,L.y0)({payload:u.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,L.UI)(Le.payload.nodeIds||Le.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:u.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,T.W)(ie=>(this.handleErrorWithAlert("UpdateChannels",u.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+u.rl.CHANNELS_API,ie),(0,v.of)({type:u.aU.VOID}))))}))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.CLOSE_CHANNEL_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+u.rl.CHANNELS_API+"?channelId="+Le.payload.channelId+"&force="+Le.payload.force).pipe((0,w.T)(te=>(this.logger.info(te),setTimeout(()=>{this.store.dispatch((0,L.y0)({payload:Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,L.UI)({payload:Le.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:u.aU.VOID})),(0,T.W)(te=>(this.handleErrorWithAlert("CloseChannel",Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+u.rl.CHANNELS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.GET_QUERY_ROUTES_ECL),(0,e.Z)(Le=>this.httpClient.get(this.CHILD_API_URL+u.rl.PAYMENTS_API+"/route?nodeId="+Le.payload.nodeId+"&amountMsat="+Le.payload.amount).pipe((0,w.T)(te=>(this.logger.info(te),{type:u.Uu.SET_QUERY_ROUTES_ECL,payload:te})),(0,T.W)(te=>(this.store.dispatch((0,B.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",u.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+u.rl.PAYMENTS_API+"/route?nodeId="+Le.payload.nodeId+"&amountMsat="+Le.payload.amount,te),(0,v.of)({type:u.aU.VOID}))))))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_QUERY_ROUTES_ECL),(0,w.T)(Le=>Le.payload)),{dispatch:!1}),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SEND_PAYMENT_ECL),(0,e.Z)(Le=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,L.mt)({payload:u.MZ.SEND_PAYMENT})),this.store.dispatch((0,B.uL)({payload:{action:"SendPayment",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.PAYMENTS_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.latestPaymentRes=te,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:u.aU.VOID})),(0,T.W)(te=>(this.logger.error("Error: "+JSON.stringify(te)),Le.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",u.MZ.SEND_PAYMENT,"Send Payment Failed.",te):this.handleErrorWithAlert("SendPayment",u.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+u.rl.PAYMENTS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_TRANSACTIONS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchTransactions",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API+"/transactions?count="+Le.payload.count+"&skip="+Le.payload.skip))),(0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchTransactions",status:u.wn.COMPLETED}})),{type:u.Uu.SET_TRANSACTIONS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchTransactions",u.MZ.NO_SPINNER,"Fetching Transactions Failed.",Le),(0,v.of)({type:u.aU.VOID}))))),this.SendOnchainFunds=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEND_FUNDS})),this.store.dispatch((0,B.uL)({payload:{action:"SendOnchainFunds",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.ON_CHAIN_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SendOnchainFunds",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEND_FUNDS})),this.store.dispatch((0,B.jJ)()),{type:u.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("SendOnchainFunds",u.MZ.SEND_FUNDS,"Sending Fund Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.createInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.CREATE_INVOICE_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.CREATE_INVOICE})),this.store.dispatch((0,B.uL)({payload:{action:"CreateInvoice",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.INVOICES_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"CreateInvoice",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.CREATE_INVOICE})),te.timestamp=Math.round((new Date).getTime()/1e3),te.expiresAt=Math.round(te.timestamp+Le.payload.expireIn),te.description=Le.payload.description,te.status="unpaid",setTimeout(()=>{this.store.dispatch((0,L.xO)({payload:{data:{invoice:te,newlyAdded:!0,component:C.Z}}}))},200),{type:u.Uu.ADD_INVOICE_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("CreateInvoice",u.MZ.CREATE_INVOICE,"Create Invoice Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_INVOICES_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchInvoices",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.INVOICES_API+"?count="+Le.payload.count+"&skip="+Le.payload.skip).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"FetchInvoices",status:u.wn.COMPLETED}})),{type:u.Uu.SET_INVOICES_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchInvoices",u.MZ.NO_SPINNER,"Fetching Invoices Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.PEER_LOOKUP_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEARCHING_NODE})),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.NETWORK_API+"/nodes/"+Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEARCHING_NODE})),{type:u.Uu.SET_LOOKUP_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithAlert("Lookup",u.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+u.rl.NETWORK_API+"/nodes/"+Le.payload,te),(0,v.of)({type:u.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.INVOICE_LOOKUP_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.INVOICES_API+"/"+Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.Dq)({payload:te})),{type:u.Uu.SET_LOOKUP_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("Lookup",u.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",te),this.store.dispatch((0,L.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:u.aU.VOID})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_LOOKUP_ECL),(0,w.T)(Le=>(this.logger.info(Le.payload),Le.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PAGE_SETTINGS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPageSettings",status:u.wn.INITIATED}})),this.httpClient.get(u.rl.PAGE_SETTINGS_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchPageSettings",status:u.wn.COMPLETED}})),this.invoicesPageSettings=Le&&Object.keys(Le).length>0?Le.find(te=>"transactions"===te.pageId)?.tables.find(te=>"invoices"===te.tableId):u.X8.find(te=>"transactions"===te.pageId)?.tables.find(te=>"invoices"===te.tableId),this.paymentsPageSettings=Le&&Object.keys(Le).length>0?Le.find(te=>"transactions"===te.pageId)?.tables.find(te=>"payments"===te.tableId):u.X8.find(te=>"transactions"===te.pageId)?.tables.find(te=>"payments"===te.tableId),{type:u.Uu.SET_PAGE_SETTINGS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchPageSettings",u.MZ.NO_SPINNER,"Fetching Page Settings Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_PAGE_SETTINGS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.uL)({payload:{action:"SavePageSettings",status:u.wn.INITIATED}})),this.httpClient.post(u.rl.PAGE_SETTINGS_API,Le.payload).pipe((0,w.T)(te=>{this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SavePageSettings",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,L.UI)({payload:"Page Layout Updated Successfully!"}));const ie=(te.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId)||u.X8.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId))?.recordsPerPage,P=(te.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId)||u.X8.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId))?.recordsPerPage;return this.invoicesPageSettings&&ie!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ie),this.paymentsPageSettings&&P!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=P),{type:u.Uu.SET_PAGE_SETTINGS_ECL,payload:te||[]}}),(0,T.W)(te=>(this.handleErrorWithAlert("SavePageSettings",u.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",u.rl.PAGE_SETTINGS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.handleSendPaymentStatus=Le=>{this.store.dispatch((0,B.uL)({payload:{action:"SendPayment",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEND_PAYMENT})),this.store.dispatch((0,B.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,L.UI)({payload:Le}))},this.store.select(A.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(Le=>{Le.FetchInfo.status!==u.wn.COMPLETED&&Le.FetchInfo.status!==u.wn.ERROR||Le.FetchFees.status!==u.wn.COMPLETED&&Le.FetchFees.status!==u.wn.ERROR||Le.FetchOnchainBalance.status!==u.wn.COMPLETED&&Le.FetchOnchainBalance.status!==u.wn.ERROR||Le.FetchChannels.status!==u.wn.COMPLETED&&Le.FetchChannels.status!==u.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,L.y0)({payload:u.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(Le=>{this.logger.info("Received new message from the service: "+JSON.stringify(Le));let te="";if(Le)switch(Le.type){case u.ck.PAYMENT_SENT:Le&&Le.id&&this.latestPaymentRes===Le.id&&(this.flgReceivedPaymentUpdateFromWS=!0,te="Payment Sent: "+(Le.paymentHash?"with payment hash "+Le.paymentHash:JSON.stringify(Le)),this.handleSendPaymentStatus(te));break;case u.ck.PAYMENT_FAILED:Le&&Le.id&&this.latestPaymentRes===Le.id&&(this.flgReceivedPaymentUpdateFromWS=!0,te="Payment Failed: "+(Le.failures&&Le.failures.length&&Le.failures.length>0&&Le.failures[0].t?Le.failures[0].t:Le.failures&&Le.failures.length&&Le.failures.length>0&&Le.failures[0].e&&Le.failures[0].e.failureMessage?Le.failures[0].e.failureMessage:JSON.stringify(Le)),this.handleSendPaymentStatus(te));break;case u.ck.PAYMENT_RECEIVED:this.store.dispatch((0,B.Dq)({payload:Le}));break;case u.ck.PAYMENT_RELAYED:delete Le.source,Le.amountIn=Math.round((Le.amountIn||0)/1e3),Le.amountOut=Math.round((Le.amountOut||0)/1e3),Le.timestamp.unix&&(Le.timestamp=1e3*Le.timestamp.unix),this.store.dispatch((0,B.yn)({payload:Le}));break;case u.ck.CHANNEL_STATE_CHANGED:"NORMAL"===Le.currentState||"CLOSED"===Le.currentState?(this.rawChannelsList=this.rawChannelsList?.map(ie=>(ie.channelId===Le.channelId&&ie.nodeId===Le.remoteNodeId&&(ie.state=Le.currentState),ie)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,B.gZ)({payload:Le}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(Le))}})}setChannelsAndStatusAndBalances(){let ne=0,J=0,De=0,Re={localBalance:0,remoteBalance:0},Xe=[];const _e=[],he=[],Dt={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((lt,Le)=>{lt&&("NORMAL"===lt.state?(ne=(lt.toLocal||0)+(lt.toRemote||0),J+=lt.toLocal||0,De+=lt.toRemote||0,lt.balancedness=0===ne?1:+(1-Math.abs(((lt.toLocal||0)-(lt.toRemote||0))/ne)).toFixed(3),Xe.push(lt),Dt.active.channels=Dt.active.channels+1,Dt.active.capacity=Dt.active.capacity+(lt.toLocal||0)):lt.state?.includes("WAIT")||lt.state?.includes("CLOSING")||lt.state?.includes("SYNCING")?(lt.state=lt.state?.replace(/_/g," "),_e.push(lt),Dt.pending.channels=Dt.pending.channels+1,Dt.pending.capacity=Dt.pending.capacity+(lt.toLocal||0)):(lt.state=lt.state?.replace(/_/g," "),he.push(lt),Dt.inactive.channels=Dt.inactive.channels+1,Dt.inactive.capacity=Dt.inactive.capacity+(lt.toLocal||0)))}),Re={localBalance:J,remoteBalance:De},Xe=this.commonService.sortDescByKey(Xe,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(Xe)),this.logger.info("Pending Channels: "+JSON.stringify(_e)),this.logger.info("Inactive Channels: "+JSON.stringify(he)),this.logger.info("Lightning Balances: "+JSON.stringify(Re)),this.logger.info("Channels Status: "+JSON.stringify(Dt)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:Xe,pending:_e,inactive:he,balances:Re,status:Dt})),this.store.dispatch((0,B.Tp)({payload:Xe})),this.store.dispatch((0,B.cU)({payload:_e})),this.store.dispatch((0,B.I6)({payload:he})),this.store.dispatch((0,B.N8)({payload:Re})),this.store.dispatch((0,B.ZE)({payload:Dt}))}initializeRemainingData(ne,J){this.sessionService.setItem("eclUnlocked","true");const De={identity_pubkey:ne.nodeId,alias:ne.alias,testnet:"testnet"===ne.network,chains:ne.publicAddresses,uris:ne.uris,version:ne.version,numberOfPendingChannels:0};this.store.dispatch((0,L.mt)({payload:u.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,L.Fl)({payload:De}));let Re=this.location.path();Re.includes("/lnd/")?Re=Re?.replace("/lnd/","/ecl/"):Re.includes("/cln/")&&(Re=Re?.replace("/cln/","/ecl/")),(Re.includes("/login")||Re.includes("/error")||""===Re||"HOME"===J||Re.includes("?access-key="))&&(Re="/ecl/home"),this.router.navigate([Re]),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.yp)()),this.store.dispatch((0,B.jJ)()),this.store.dispatch((0,B.Gy)())}handleErrorWithoutAlert(ne,J,De,Re){this.logger.error("ERROR IN: "+ne+"\n"+JSON.stringify(Re)),401===Re.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.Jh)()),this.store.dispatch((0,L.ri)({payload:"Authentication Failed: "+JSON.stringify(Re.error)}))):(this.store.dispatch((0,L.y0)({payload:J})),this.store.dispatch((0,B.uL)({payload:{action:ne,status:u.wn.ERROR,statusCode:Re.status.toString(),message:this.commonService.extractErrorMessage(Re,De)}})))}handleErrorWithAlert(ne,J,De,Re,Xe){if(this.logger.error(Xe),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.Jh)()),this.store.dispatch((0,L.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,L.y0)({payload:J}));const _e=this.commonService.extractErrorMessage(Xe);this.store.dispatch((0,L.xO)({payload:{data:{type:"ERROR",alertTitle:De,message:{code:Xe.status,message:_e,URL:Re},component:f.f}}})),this.store.dispatch((0,B.uL)({payload:{action:ne,status:u.wn.ERROR,statusCode:Xe.status.toString(),message:_e,URL:Re}}))}}ngOnDestroy(){this.unSubs.forEach(ne=>{ne.next(null),ne.complete()})}static#e=V=()=>(this.\u0275fac=function(J){return new(J||ce)(Pe.KVO(i.En),Pe.KVO(le.Qq),Pe.KVO(Ce.il),Pe.KVO(Ae.Q),Pe.KVO(j.h),Pe.KVO(W.gP),Pe.KVO(G.Ix),Pe.KVO(re.I),Pe.KVO(xe.aZ))},this.\u0275prov=Pe.jDH({token:ce,factory:ce.\u0275fac}))}return V(),ce})()},2730(Zt,pe,l){"use strict";l.d(pe,{DW:()=>Ae,KT:()=>f,Ou:()=>A,b_:()=>w,gN:()=>Pe,jZ:()=>v,oR:()=>u,os:()=>Ce,p3:()=>T,rN:()=>le,ru:()=>O});var i=l(9640);const d=(0,i.UX)("ecl"),v=(0,i.Mz)(d,j=>({pageSettings:j.pageSettings,apiCallStatus:j.apisCallStatus.FetchPageSettings})),T=(0,i.Mz)(d,j=>j.information),w=(0,i.Mz)(d,j=>({information:j.information,apiCallStatus:j.apisCallStatus.FetchInfo})),O=((0,i.Mz)(d,j=>j.apisCallStatus.FetchInfo),(0,i.Mz)(d,j=>j.apisCallStatus)),f=(0,i.Mz)(d,j=>({payments:j.payments,apiCallStatus:j.apisCallStatus.FetchPayments})),u=(0,i.Mz)(d,j=>({fees:j.fees,apiCallStatus:j.apisCallStatus.FetchFees})),A=((0,i.Mz)(d,j=>({activeChannels:j.activeChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({pendingChannels:j.pendingChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({inactiveChannels:j.inactiveChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({activeChannels:j.activeChannels,pendingChannels:j.pendingChannels,inactiveChannels:j.inactiveChannels,lightningBalance:j.lightningBalance,channelsStatus:j.channelsStatus,apiCallStatus:j.apisCallStatus.FetchChannels}))),Pe=(0,i.Mz)(d,j=>({transactions:j.transactions,apiCallStatus:j.apisCallStatus.FetchTransactions})),le=(0,i.Mz)(d,j=>({invoices:j.invoices,apiCallStatus:j.apisCallStatus.FetchInvoices})),Ce=(0,i.Mz)(d,j=>({peers:j.peers,apiCallStatus:j.apisCallStatus.FetchPeers})),Ae=(0,i.Mz)(d,j=>({onchainBalance:j.onchainBalance,apiCallStatus:j.apisCallStatus.FetchOnchainBalance}))},6439(Zt,pe,l){"use strict";l.d(pe,{Z:()=>St});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(2730),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(1997),j=l(9183),W=l(2920),G=l(6038),re=l(8288),xe=l(9157),Ee=l(9587);const V=ot=>({"display-none":ot}),ce=ot=>({"xs-scroll-y":ot}),be=(ot,nt)=>({"mt-2":ot,"mt-1":nt}),ne=()=>[];function J(ot,nt){if(1&ot&&f.nrm(0,"qr-code",29),2&ot){const ht=f.XpG();f.Y8G("value",null==ht.invoice?null:ht.invoice.serialized)("size",ht.qrWidth)}}function De(ot,nt){1&ot&&(f.j41(0,"span",30),f.EFF(1,"N/A"),f.k0s())}function Re(ot,nt){if(1&ot&&f.nrm(0,"qr-code",29),2&ot){const ht=f.XpG();f.Y8G("value",null==ht.invoice?null:ht.invoice.serialized)("size",ht.qrWidth)}}function Xe(ot,nt){1&ot&&(f.j41(0,"span",31),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function _e(ot,nt){1&ot&&f.nrm(0,"mat-divider",32),2&ot&&f.Y8G("inset",!0)}function he(ot,nt){1&ot&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function Dt(ot,nt){1&ot&&f.nrm(0,"span",38)}function lt(ot,nt){if(1&ot&&(f.j41(0,"div",34)(1,"div",35)(2,"span",36),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,Dt,1,0,"span",37),f.k0s()()),2&ot){const ht=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==ht.invoice?null:ht.invoice.amountSettled)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,ne).constructor(35))}}function Le(ot,nt){if(1&ot&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&ot){const ht=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==ht.invoice?null:ht.invoice.amountSettled)," Sats")}}function te(ot,nt){if(1&ot&&(f.qex(0),f.DNE(1,lt,6,5,"div",33)(2,Le,3,3,"div",20),f.bVm()),2&ot){const ht=f.XpG();f.R7$(),f.Y8G("ngIf",ht.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ht.flgInvoicePaid)}}function ie(ot,nt){1&ot&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function P(ot,nt){1&ot&&f.nrm(0,"mat-spinner",40),2&ot&&f.Y8G("diameter",20)}function F(ot,nt){if(1&ot&&(f.qex(0),f.DNE(1,ie,2,0,"span",20)(2,P,1,1,"mat-spinner",39),f.bVm()),2&ot){const ht=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ht.invoice?null:ht.invoice.status)||!ht.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ht.invoice?null:ht.invoice.status)&&ht.flgVersionCompatible)}}function ve(ot,nt){if(1&ot&&(f.j41(0,"div"),f.nrm(1,"mat-divider",21),f.j41(2,"div",16)(3,"div",41)(4,"h4",18),f.EFF(5,"Date Expiry"),f.k0s(),f.j41(6,"span",19),f.EFF(7),f.nI1(8,"date"),f.k0s()(),f.j41(9,"div",42)(10,"h4",18),f.EFF(11,"Date Settled"),f.k0s(),f.j41(12,"span",22),f.EFF(13),f.nI1(14,"date"),f.k0s()()(),f.nrm(15,"mat-divider",21),f.j41(16,"div",16)(17,"div",23)(18,"h4",18),f.EFF(19,"Payment Hash"),f.k0s(),f.j41(20,"span",22),f.EFF(21),f.k0s()()(),f.nrm(22,"mat-divider",21),f.j41(23,"div",16)(24,"div",23)(25,"h4",18),f.EFF(26,"Node ID"),f.k0s(),f.j41(27,"span",22),f.EFF(28),f.k0s()()(),f.nrm(29,"mat-divider",21),f.k0s()),2&ot){const ht=f.XpG();f.R7$(7),f.JRh(f.i5U(8,4,1e3*(null==ht.invoice?null:ht.invoice.expiresAt),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(14,7,1e3*(null==ht.invoice?null:ht.invoice.receivedAt),"dd/MMM/y HH:mm")),f.R7$(8),f.JRh(null==ht.invoice?null:ht.invoice.paymentHash),f.R7$(7),f.JRh(null==ht.invoice?null:ht.invoice.nodeId)}}function H(ot,nt){1&ot&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function $(ot,nt){1&ot&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ke(ot,nt){if(1&ot){const ht=f.RV6();f.j41(0,"button",43),f.bIt("copied",function(Ye){O.eBV(ht);const fe=f.XpG();return O.Njj(fe.onCopyPayment(Ye))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&ot){const ht=f.XpG();f.Y8G("payload",null==ht.invoice?null:ht.invoice.serialized)}}function Vt(ot,nt){if(1&ot){const ht=f.RV6();f.j41(0,"button",44),f.bIt("click",function(){O.eBV(ht);const Ye=f.XpG();return O.Njj(Ye.onClose())}),f.EFF(1,"OK"),f.k0s()}}let St=(()=>{var ot;class nt{constructor(oe,Ye,fe,Qe,gt,Gt){this.dialogRef=oe,this.data=Ye,this.logger=fe,this.commonService=Qe,this.snackBar=gt,this.store=Gt,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.p3).pipe((0,T.Q)(this.unSubs[0])).subscribe(oe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(oe.version,"0.5.0")}),this.store.select(e.rN).pipe((0,T.Q)(this.unSubs[1])).subscribe(oe=>{const Ye=this.invoice.status,Qe=(oe.invoices&&oe.invoices.length>0?oe.invoices:[])?.find(gt=>gt.paymentHash===this.invoice.paymentHash)||null;Qe&&(this.invoice=Qe),Ye!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(oe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(oe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+oe)}ngOnDestroy(){this.unSubs.forEach(oe=>{oe.next(null),oe.complete()})}static#e=ot=()=>(this.\u0275fac=function(Ye){return new(Ye||nt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:nt,selectors:[["rtl-ecl-invoice-information"]],standalone:!1,decls:68,vars:42,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["fxFlex","40"],["fxFlex","60"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ye,fe){if(1&Ye){const Qe=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,J,1,2,"qr-code",3)(3,De,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.k0s()(),f.j41(10,"button",10),f.bIt("click",function(){return O.eBV(Qe),O.Njj(fe.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),f.DNE(15,Re,1,2,"qr-code",3)(16,Xe,2,0,"span",14),f.k0s(),f.DNE(17,_e,1,1,"mat-divider",15),f.j41(18,"div",16)(19,"div",17)(20,"h4",18),f.EFF(21,"Amount Requested"),f.k0s(),f.j41(22,"span",19),f.EFF(23),f.nI1(24,"number"),f.DNE(25,he,2,0,"ng-container",20),f.k0s()(),f.j41(26,"div",17)(27,"h4",18),f.EFF(28,"Amount Settled"),f.k0s(),f.j41(29,"span",19),f.DNE(30,te,3,2,"ng-container",20)(31,F,3,2,"ng-container",20),f.k0s()()(),f.nrm(32,"mat-divider",21),f.j41(33,"div",16)(34,"div",17)(35,"h4",18),f.EFF(36,"Date Created"),f.k0s(),f.j41(37,"span",22),f.EFF(38),f.nI1(39,"date"),f.k0s()(),f.j41(40,"div",17)(41,"h4",18),f.EFF(42,"Status"),f.k0s(),f.j41(43,"span",22),f.EFF(44),f.nI1(45,"titlecase"),f.k0s()()(),f.nrm(46,"mat-divider",21),f.j41(47,"div",16)(48,"div",23)(49,"h4",18),f.EFF(50,"Description"),f.k0s(),f.j41(51,"span",19),f.EFF(52),f.k0s()()(),f.nrm(53,"mat-divider",21),f.j41(54,"div",16)(55,"div",23)(56,"h4",18),f.EFF(57,"Invoice"),f.k0s(),f.j41(58,"span",22),f.EFF(59),f.k0s()()(),f.DNE(60,ve,30,10,"div",20),f.j41(61,"div",24)(62,"button",25),f.bIt("click",function(){return O.eBV(Qe),O.Njj(fe.onShowAdvanced())}),f.DNE(63,H,2,0,"p",26)(64,$,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(66,Ke,2,1,"button",27)(67,Vt,2,0,"button",28),f.k0s()()()()()}if(2&Ye){const Qe=f.sdS(65);f.R7$(),f.Y8G("fxLayoutAlign",null!=fe.invoice&&fe.invoice.serialized&&""!==(null==fe.invoice?null:fe.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(33,V,fe.screenSize===fe.screenSizeEnum.XS||fe.screenSize===fe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(4),f.Y8G("icon",fe.faReceipt),f.R7$(2),f.JRh(fe.screenSize===fe.screenSizeEnum.XS?fe.newlyAdded?"Created":"Invoice":fe.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(35,ce,fe.screenSize===fe.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=fe.invoice&&fe.invoice.serialized&&""!==(null==fe.invoice?null:fe.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(37,V,fe.screenSize!==fe.screenSizeEnum.XS&&fe.screenSize!==fe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",fe.screenSize===fe.screenSizeEnum.XS||fe.screenSize===fe.screenSizeEnum.SM),f.R7$(6),f.SpI("",f.bMT(24,26,(null==fe.invoice?null:fe.invoice.amount)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.amount)||"0"===(null==fe.invoice?null:fe.invoice.amount)),f.R7$(5),f.Y8G("ngIf",null==fe.invoice?null:fe.invoice.amountSettled),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.amountSettled)),f.R7$(7),f.JRh(f.i5U(39,28,1e3*(null==fe.invoice?null:fe.invoice.timestamp),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.bMT(45,31,null==fe.invoice?null:fe.invoice.status)),f.R7$(8),f.JRh((null==fe.invoice?null:fe.invoice.description)||"-"),f.R7$(7),f.JRh((null==fe.invoice?null:fe.invoice.serialized)||"N/A"),f.R7$(),f.Y8G("ngIf",fe.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(39,be,!fe.showAdvanced,fe.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!fe.showAdvanced)("ngIfElse",Qe),f.R7$(3),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized))}},dependencies:[A.YU,A.Sq,A.bT,Pe.aY,le.$z,Ce.m2,Ce.MM,Ae.q,j.LG,W.DJ,W.sA,W.UI,G.PW,re.Um,xe.U,Ee.N,A.QX,A.PV,A.vh],encapsulation:2}))}return ot(),nt})()},190(Zt,pe,l){"use strict";l.d(pe,{$6:()=>Vt,$J:()=>F,$Q:()=>be,As:()=>ht,Br:()=>u,CK:()=>fe,DI:()=>Ee,DY:()=>xe,Do:()=>Ke,Dq:()=>St,Fd:()=>gt,GZ:()=>wt,Gy:()=>C,H2:()=>Le,Hm:()=>ye,J9:()=>ce,Jx:()=>W,L:()=>te,Lf:()=>H,NS:()=>O,O8:()=>Ye,Qj:()=>B,SM:()=>oe,Sn:()=>f,T4:()=>ee,Uj:()=>Qe,Uo:()=>re,VK:()=>Ae,WE:()=>Pt,X9:()=>e,XT:()=>Ft,Yi:()=>vi,Zi:()=>Ce,_$:()=>ot,aB:()=>Qn,ar:()=>J,b1:()=>Se,cR:()=>lt,cU:()=>De,dv:()=>ne,e8:()=>v,ed:()=>le,fy:()=>_e,ij:()=>ei,jk:()=>Ni,kv:()=>vt,lg:()=>w,mh:()=>nt,oX:()=>jt,p1:()=>T,pL:()=>Re,sq:()=>A,t0:()=>rt,t5:()=>ve,tG:()=>ke,tf:()=>V,uK:()=>Ri,vL:()=>he,w0:()=>Dt,x1:()=>L,yp:()=>G,z2:()=>Xe,zU:()=>gn});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.QP.UPDATE_API_CALL_STATUS_LND,(0,i.xk)()),T=(0,i.VP)(d.QP.RESET_LND_STORE),w=(0,i.VP)(d.QP.FETCH_PAGE_SETTINGS_LND),e=(0,i.VP)(d.QP.UPDATE_SELECTED_NODE_OPTIONS),O=(0,i.VP)(d.QP.SET_PAGE_SETTINGS_LND,(0,i.xk)()),f=(0,i.VP)(d.QP.SAVE_PAGE_SETTINGS_LND,(0,i.xk)()),u=(0,i.VP)(d.QP.FETCH_INFO_LND,(0,i.xk)()),L=(0,i.VP)(d.QP.SET_INFO_LND,(0,i.xk)()),C=(0,i.VP)(d.QP.FETCH_PEERS_LND),B=(0,i.VP)(d.QP.SET_PEERS_LND,(0,i.xk)()),A=(0,i.VP)(d.QP.SAVE_NEW_PEER_LND,(0,i.xk)()),le=((0,i.VP)(d.QP.NEWLY_ADDED_PEER_LND,(0,i.xk)()),(0,i.VP)(d.QP.DETACH_PEER_LND,(0,i.xk)())),Ce=(0,i.VP)(d.QP.REMOVE_PEER_LND,(0,i.xk)()),Ae=(0,i.VP)(d.QP.SAVE_NEW_INVOICE_LND,(0,i.xk)()),W=((0,i.VP)(d.QP.NEWLY_SAVED_INVOICE_LND,(0,i.xk)()),(0,i.VP)(d.QP.ADD_INVOICE_LND,(0,i.xk)())),G=(0,i.VP)(d.QP.FETCH_FEES_LND),re=(0,i.VP)(d.QP.SET_FEES_LND,(0,i.xk)()),xe=(0,i.VP)(d.QP.FETCH_BLOCKCHAIN_BALANCE_LND),Ee=(0,i.VP)(d.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,i.xk)()),V=(0,i.VP)(d.QP.FETCH_NETWORK_LND),ce=(0,i.VP)(d.QP.SET_NETWORK_LND,(0,i.xk)()),be=(0,i.VP)(d.QP.FETCH_CHANNELS_LND),ne=(0,i.VP)(d.QP.SET_CHANNELS_LND,(0,i.xk)()),J=(0,i.VP)(d.QP.FETCH_PENDING_CHANNELS_LND),De=(0,i.VP)(d.QP.SET_PENDING_CHANNELS_LND,(0,i.xk)()),Re=(0,i.VP)(d.QP.FETCH_CLOSED_CHANNELS_LND),Xe=(0,i.VP)(d.QP.SET_CLOSED_CHANNELS_LND,(0,i.xk)()),_e=(0,i.VP)(d.QP.UPDATE_CHANNEL_LND,(0,i.xk)()),he=(0,i.VP)(d.QP.SAVE_NEW_CHANNEL_LND,(0,i.xk)()),Dt=(0,i.VP)(d.QP.CLOSE_CHANNEL_LND,(0,i.xk)()),lt=(0,i.VP)(d.QP.REMOVE_CHANNEL_LND,(0,i.xk)()),Le=(0,i.VP)(d.QP.BACKUP_CHANNELS_LND,(0,i.xk)()),te=(0,i.VP)(d.QP.VERIFY_CHANNEL_LND,(0,i.xk)()),F=((0,i.VP)(d.QP.BACKUP_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.VERIFY_CHANNEL_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.RESTORE_CHANNELS_LIST_LND)),ve=(0,i.VP)(d.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,i.xk)()),H=(0,i.VP)(d.QP.RESTORE_CHANNELS_LND,(0,i.xk)()),Ke=((0,i.VP)(d.QP.RESTORE_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.FETCH_INVOICES_LND,(0,i.xk)())),Vt=(0,i.VP)(d.QP.SET_INVOICES_LND,(0,i.xk)()),St=(0,i.VP)(d.QP.UPDATE_INVOICE_LND,(0,i.xk)()),ot=(0,i.VP)(d.QP.UPDATE_PAYMENT_LND,(0,i.xk)()),nt=(0,i.VP)(d.QP.FETCH_TRANSACTIONS_LND),ht=(0,i.VP)(d.QP.SET_TRANSACTIONS_LND,(0,i.xk)()),oe=(0,i.VP)(d.QP.FETCH_UTXOS_LND),Ye=(0,i.VP)(d.QP.SET_UTXOS_LND,(0,i.xk)()),fe=(0,i.VP)(d.QP.FETCH_PAYMENTS_LND,(0,i.xk)()),Qe=(0,i.VP)(d.QP.SET_PAYMENTS_LND,(0,i.xk)()),gt=(0,i.VP)(d.QP.SEND_PAYMENT_LND,(0,i.xk)()),rt=((0,i.VP)(d.QP.SEND_PAYMENT_STATUS_LND,(0,i.xk)()),(0,i.VP)(d.QP.FETCH_GRAPH_NODE_LND,(0,i.xk)())),Ft=((0,i.VP)(d.QP.SET_GRAPH_NODE_LND,(0,i.xk)()),(0,i.VP)(d.QP.GET_NEW_ADDRESS_LND,(0,i.xk)())),Qn=((0,i.VP)(d.QP.SET_NEW_ADDRESS_LND,(0,i.xk)()),(0,i.VP)(d.QP.SET_CHANNEL_TRANSACTION_LND,(0,i.xk)())),jt=((0,i.VP)(d.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.GEN_SEED_LND,(0,i.xk)())),wt=((0,i.VP)(d.QP.GEN_SEED_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(d.QP.INIT_WALLET_LND,(0,i.xk)())),Pt=((0,i.VP)(d.QP.INIT_WALLET_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(d.QP.UNLOCK_WALLET_LND,(0,i.xk)())),gn=(0,i.VP)(d.QP.PEER_LOOKUP_LND,(0,i.xk)()),ei=(0,i.VP)(d.QP.CHANNEL_LOOKUP_LND,(0,i.xk)()),vi=(0,i.VP)(d.QP.INVOICE_LOOKUP_LND,(0,i.xk)()),Ni=(0,i.VP)(d.QP.PAYMENT_LOOKUP_LND,(0,i.xk)()),Ri=((0,i.VP)(d.QP.SET_LOOKUP_LND,(0,i.xk)()),(0,i.VP)(d.QP.GET_FORWARDING_HISTORY_LND,(0,i.xk)())),vt=(0,i.VP)(d.QP.SET_FORWARDING_HISTORY_LND,(0,i.xk)()),ee=(0,i.VP)(d.QP.GET_QUERY_ROUTES_LND,(0,i.xk)()),ye=(0,i.VP)(d.QP.SET_QUERY_ROUTES_LND,(0,i.xk)()),ke=(0,i.VP)(d.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),Se=(0,i.VP)(d.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,i.xk)())},9579(Zt,pe,l){"use strict";l.d(pe,{L:()=>ce});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(3993),u=l(6391),L=l(2462),C=l(4416),B=l(1771),A=l(190),Pe=l(3536),le=l(2615),Ce=l(9330),Ae=l(9640),j=l(8570),W=l(2571),G=l(3202),re=l(1585),xe=l(3694),Ee=l(7879),V=l(7303);let ce=(()=>{var be;class ne{constructor(De,Re,Xe,_e,he,Dt,lt,Le,te,ie){this.actions=De,this.httpClient=Re,this.store=Xe,this.logger=_e,this.commonService=he,this.sessionService=Dt,this.dialog=lt,this.router=Le,this.wsService=te,this.location=ie,this.CHILD_API_URL=C.H$+"/lnd",this.invoicesPageSettings=C.ZC.find(P=>"transactions"===P.pageId)?.tables.find(P=>"invoices"===P.tableId),this.paymentsPageSettings=C.ZC.find(P=>"transactions"===P.pageId)?.tables.find(P=>"payments"===P.tableId),this.flgInitialized=!1,this.unSubs=[new d.B,new d.B],this.infoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_INFO_LND),(0,e.Z)(P=>(this.flgInitialized=!1,this.store.dispatch((0,B.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.mt)({payload:C.MZ.GET_NODE_INFO})),this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(C.aU.SET_SELECTED_NODE))),(0,w.T)(F=>(this.logger.info(F),F.chains&&F.chains.length&&F.chains[0]&&("string"==typeof F.chains[0]&&F.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof F.chains[0]&&F.chains[0].hasOwnProperty("chain")&&F.chains[0].chain&&F.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.xO)({payload:{data:{type:C.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:C.aU.LOGOUT}):F.identity_pubkey?(F.lnImplementation="LND",this.initializeRemainingData(F,P.payload.loadPage),this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),{type:C.QP.SET_INFO_LND,payload:F||{}}):(this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:C.QP.SET_INFO_LND,payload:{}}))),(0,T.W)(F=>{if("string"==typeof F.error.error&&F.error.error.includes("Not Found")||"string"==typeof F.error.error&&F.error.error.includes("wallet locked")||502===F.status&&!F.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",C.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",F);else if("string"==typeof F.error.error&&F.error.error.includes("starting up")&&500===F.status)setTimeout(()=>{this.store.dispatch((0,A.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const ve=this.commonService.extractErrorCode(F),H=503===ve?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(F);this.router.navigate(["/error"],{state:{errorCode:ve,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",C.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ve,error:H})}return(0,v.of)({type:C.aU.VOID})})))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PEERS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPeers",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PEERS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPeers",status:C.wn.COMPLETED}})),{type:C.QP.SET_PEERS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPeers",C.MZ.NO_SPINNER,"Fetching Peers Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_PEER_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.CONNECT_PEER})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewPeer",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.PEERS_API,{pubkey:P.payload.pubkey,host:P.payload.host,perm:P.payload.perm}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewPeer",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.CONNECT_PEER})),this.store.dispatch((0,A.Qj)({payload:F||[]})),{type:C.QP.NEWLY_ADDED_PEER_LND,payload:{peer:F[0]}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewPeer",C.MZ.CONNECT_PEER,"Peer Connection Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.DETACH_PEER_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+C.rl.PEERS_API+"/"+P.payload.pubkey).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.DISCONNECT_PEER})),this.store.dispatch((0,B.UI)({payload:"Peer Disconnected Successfully."})),{type:C.QP.REMOVE_PEER_LND,payload:{pubkey:P.payload.pubkey}})),(0,T.W)(F=>(this.handleErrorWithAlert("DetachPeer",C.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+C.rl.PEERS_API+"/"+P.payload.pubkey,F),(0,v.of)({type:C.aU.VOID})))))))),this.saveNewInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_INVOICE_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewInvoice",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.INVOICES_API,{memo:P.payload.memo,value:P.payload.value,private:P.payload.private,expiry:P.payload.expiry,is_amp:P.payload.is_amp}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewInvoice",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:P.payload.pageSize,reversed:!0}})),P.payload.openModal?(F.memo=P.payload.memo,F.value=P.payload.value,F.expiry=P.payload.expiry,F.private=P.payload.private,F.is_amp=P.payload.is_amp,F.cltv_expiry="144",F.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,B.xO)({payload:{data:{invoice:F,newlyAdded:!0,component:u.H}}}))},200),{type:C.aU.CLOSE_SPINNER,payload:P.payload.uiMessage}):{type:C.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:F.payment_request}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewInvoice",P.payload.uiMessage,"Add Invoice Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.OPEN_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewChannel",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_API,{node_pubkey:P.payload.selectedPeerPubkey,local_funding_amount:P.payload.fundingAmount,private:P.payload.private,trans_type:P.payload.transType,trans_type_value:P.payload.transTypeValue,spend_unconfirmed:P.payload.spendUnconfirmed,commitment_type:P.payload.commitmentType}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewChannel",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.OPEN_CHANNEL})),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.H2)({payload:{uiMessage:C.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:C.QP.FETCH_PENDING_CHANNELS_LND})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewChannel",C.MZ.OPEN_CHANNEL,"Opening Channel Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UPDATE_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_API+"/chanPolicy",{baseFeeMsat:P.payload.baseFeeMsat,feeRate:P.payload.feeRate,timeLockDelta:P.payload.timeLockDelta,max_htlc_msat:P.payload.maxHtlcMsat,min_htlc_msat:P.payload.minHtlcMsat,chanPoint:P.payload.chanPoint}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,B.UI)("all"===P.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:C.QP.FETCH_CHANNELS_LND})),(0,T.W)(F=>(this.handleErrorWithAlert("UpdateChannels",C.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/chanPolicy",F),(0,v.of)({type:C.aU.VOID})))))))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.CLOSE_CHANNEL_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL}));let F=this.CHILD_API_URL+C.rl.CHANNELS_API+"/"+P.payload.channelPoint+"?force="+P.payload.forcibly;return P.payload.targetConf&&(F=F+"&target_conf="+P.payload.targetConf),P.payload.satPerVByte&&(F=F+"&sat_per_vbyte="+P.payload.satPerVByte),this.httpClient.delete(F).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.ar)()),this.store.dispatch((0,A.H2)({payload:{uiMessage:C.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:ve.message}})),{type:C.aU.VOID})),(0,T.W)(ve=>(this.handleErrorWithAlert("CloseChannel",P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_API+"/"+P.payload.channelPoint+"?force="+P.payload.forcibly,ve),(0,v.of)({type:C.aU.VOID}))))}))),this.backupChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.BACKUP_CHANNELS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"BackupChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/"+P.payload.channelPoint).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"BackupChannels",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,B.UI)({payload:P.payload.showMessage+" "+F.message})),{type:C.QP.BACKUP_CHANNELS_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("BackupChannels",P.payload.uiMessage,P.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.verifyChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.VERIFY_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"VerifyChannel",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/verify/"+P.payload.channelPoint,{}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"VerifyChannel",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,B.UI)({payload:F.message})),{type:C.QP.VERIFY_CHANNEL_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("VerifyChannel",C.MZ.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/verify/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.restoreChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.RESTORE_CHANNELS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannels",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/"+P.payload.channelPoint,{}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannels",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,B.UI)({payload:F.message})),this.store.dispatch((0,A.t5)({payload:F.list})),{type:C.QP.RESTORE_CHANNELS_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("RestoreChannels",C.MZ.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_FEES_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchFees",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.FEES_API))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchFees",status:C.wn.COMPLETED}})),P.forwarding_events_history&&(this.store.dispatch((0,A.kv)({payload:P.forwarding_events_history})),delete P.forwarding_events_history),{type:C.QP.SET_FEES_LND,payload:P||{}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchFees",C.MZ.NO_SPINNER,"Fetching Fees Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.balanceBlockchainFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchBalance",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.BALANCE_API))),(0,w.T)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchBalance",status:C.wn.COMPLETED}})),this.logger.info(P),{type:C.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:P||{total_balance:""}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchBalance",C.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.networkInfoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_NETWORK_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchNetwork",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/info"))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchNetwork",status:C.wn.COMPLETED}})),{type:C.QP.SET_NETWORK_LND,payload:P||{}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchNetwork",C.MZ.NO_SPINNER,"Fetching Network Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchChannels",status:C.wn.COMPLETED}})),{type:C.QP.SET_CHANNELS_LND,payload:P.channels||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchChannels",C.MZ.NO_SPINNER,"Fetching Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.channelsPendingFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PENDING_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPendingChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API+"/pending").pipe((0,w.T)(P=>{this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPendingChannels",status:C.wn.COMPLETED}}));const F={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return P&&(F.total_limbo_balance=P.total_limbo_balance,P.pending_closing_channels&&(F.closing.num_channels=P.pending_closing_channels.length,F.total_channels=F.total_channels+P.pending_closing_channels.length,P.pending_closing_channels.forEach(ve=>{F.closing.limbo_balance=+F.closing.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.pending_force_closing_channels&&(F.force_closing.num_channels=P.pending_force_closing_channels.length,F.total_channels=F.total_channels+P.pending_force_closing_channels.length,P.pending_force_closing_channels.forEach(ve=>{F.force_closing.limbo_balance=+F.force_closing.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.pending_open_channels&&(F.open.num_channels=P.pending_open_channels.length,F.total_channels=F.total_channels+P.pending_open_channels.length,P.pending_open_channels.forEach(ve=>{F.open.limbo_balance=+F.open.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.waiting_close_channels&&(F.waiting_close.num_channels=P.waiting_close_channels.length,F.total_channels=F.total_channels+P.waiting_close_channels.length,P.waiting_close_channels.forEach(ve=>{F.waiting_close.limbo_balance=+F.waiting_close.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)}))),{type:C.QP.SET_PENDING_CHANNELS_LND,payload:P?{pendingChannels:P,pendingChannelsSummary:F}:{pendingChannels:{},pendingChannelsSummary:F}}}),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPendingChannels",C.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.channelsClosedFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_CLOSED_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchClosedChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API+"/closed").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchClosedChannels",status:C.wn.COMPLETED}})),{type:C.QP.SET_CLOSED_CHANNELS_LND,payload:P.channels||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchClosedChannels",C.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_INVOICES_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchInvoices",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.INVOICES_API+"?num_max_invoices="+(P.payload.num_max_invoices?P.payload.num_max_invoices:100)+"&index_offset="+(P.payload.index_offset?P.payload.index_offset:0)+"&reversed="+(!!P.payload.reversed&&P.payload.reversed)).pipe((0,w.T)($=>(this.logger.info($),this.store.dispatch((0,A.e8)({payload:{action:"FetchInvoices",status:C.wn.COMPLETED}})),P.payload.reversed&&!P.payload.index_offset&&($.total_invoices=+($.last_index_offset||0)),{type:C.QP.SET_INVOICES_LND,payload:$})),(0,T.W)($=>(this.handleErrorWithoutAlert("FetchInvoices",C.MZ.NO_SPINNER,"Fetching Invoices Failed.",$),(0,v.of)({type:C.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_TRANSACTIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchTransactions",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.TRANSACTIONS_API))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchTransactions",status:C.wn.COMPLETED}})),{type:C.QP.SET_TRANSACTIONS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchTransactions",C.MZ.NO_SPINNER,"Fetching Transactions Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.utxosFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_UTXOS_LND),(0,f.E)(this.store.select(Pe.pI)),(0,e.Z)(([P,F])=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchUTXOs",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/getUTXOs?max_confs="+(F&&F.block_height?F.block_height:1e9)))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchUTXOs",status:C.wn.COMPLETED}})),{type:C.QP.SET_UTXOS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchUTXOs",C.MZ.NO_SPINNER,"Fetching UTXOs Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.paymentsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PAYMENTS_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPayments",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"?max_payments="+(P.payload.max_payments?P.payload.max_payments:100)+"&index_offset="+(P.payload.index_offset?P.payload.index_offset:0)+"&reversed="+(!!P.payload.reversed&&P.payload.reversed)).pipe((0,w.T)($=>(this.logger.info($),this.store.dispatch((0,A.e8)({payload:{action:"FetchPayments",status:C.wn.COMPLETED}})),this.commonService.sortByKey($.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:C.QP.SET_PAYMENTS_LND,payload:$})),(0,T.W)($=>(this.handleErrorWithoutAlert("FetchPayments",C.MZ.NO_SPINNER,"Fetching Payments Failed.",$),(0,v.of)({type:C.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SEND_PAYMENT_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.INITIATED}}));const F=JSON.parse(JSON.stringify(P.payload));return delete F.uiMessage,delete F.fromDialog,this.httpClient.post(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/send",F).pipe((0,w.T)(ve=>{if(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.COMPLETED}})),ve.payment_error)return P.payload.allow_self_payment?(this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:C.QP.SEND_PAYMENT_STATUS_LND,payload:ve}):(P.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve.payment_error):this.handleErrorWithAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/transactions",ve.payment_error),{type:C.aU.VOID});if(this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),P.payload.allow_self_payment)this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let H="Payment Sent Successfully.";ve.payment_route&&ve.payment_route.total_fees_msat&&(H="Payment sent successfully with the total fee "+ve.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,B.UI)({payload:H}))}return{type:C.QP.SEND_PAYMENT_STATUS_LND,payload:ve}}),(0,T.W)(ve=>(this.logger.error("Error: "+JSON.stringify(ve)),P.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,v.of)({type:C.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ve)}})):(P.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve):this.handleErrorWithAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/transactions",ve),(0,v.of)({type:C.aU.VOID})))))}))),this.graphNodeFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_GRAPH_NODE_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,A.e8)({payload:{action:"FetchGraphNode",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload.pubkey).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,A.e8)({payload:{action:"FetchGraphNode",status:C.wn.COMPLETED}})),{type:C.QP.SET_GRAPH_NODE_LND,payload:F&&F.node?{node:F.node}:{node:null}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("FetchGraphNode",C.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.setGraphNode=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_GRAPH_NODE_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_NEW_ADDRESS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+C.rl.NEW_ADDRESS_API+"?type="+P.payload.addressId).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GENERATE_NEW_ADDRESS})),{type:C.QP.SET_NEW_ADDRESS_LND,payload:F&&F.address?F.address:{}})),(0,T.W)(F=>(this.handleErrorWithAlert("GetNewAddress",C.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+C.rl.NEW_ADDRESS_API+"?type="+P.payload.addressId,F),(0,v.of)({type:C.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_NEW_ADDRESS_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_CHANNEL_TRANSACTION_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEND_FUNDS})),this.store.dispatch((0,A.e8)({payload:{action:"SetChannelTransaction",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.TRANSACTIONS_API,{amount:P.payload.amount,address:P.payload.address,sendAll:P.payload.sendAll,fees:P.payload.fees,blocks:P.payload.blocks}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SetChannelTransaction",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.SEND_FUNDS})),this.store.dispatch((0,A.mh)()),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),{type:C.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SetChannelTransaction",C.MZ.SEND_FUNDS,"Sending Fund Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.fetchForwardingHistory=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_FORWARDING_HISTORY_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchForwardingHistory",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.SWITCH_API,{num_max_events:P.payload.num_max_events,index_offset:P.payload.index_offset,end_time:P.payload.end_time,start_time:P.payload.start_time}).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,A.e8)({payload:{action:"FetchForwardingHistory",status:C.wn.COMPLETED}})),{type:C.QP.SET_FORWARDING_HISTORY_LND,payload:ve})),(0,T.W)(ve=>(this.handleErrorWithAlert("FetchForwardingHistory",C.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+C.rl.SWITCH_API,ve),(0,v.of)({type:C.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_QUERY_ROUTES_LND),(0,e.Z)(P=>{let F=this.CHILD_API_URL+C.rl.NETWORK_API+"/routes/"+P.payload.destPubkey+"/"+P.payload.amount;return P.payload.outgoingChanId&&(F=F+"?outgoing_chan_id="+P.payload.outgoingChanId),this.httpClient.get(F).pipe((0,w.T)(ve=>(this.logger.info(ve),{type:C.QP.SET_QUERY_ROUTES_LND,payload:ve})),(0,T.W)(ve=>(this.store.dispatch((0,A.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",C.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+C.rl.NETWORK_API,ve),(0,v.of)({type:C.aU.VOID}))))}))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_QUERY_ROUTES_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.genSeed=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GEN_SEED_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/genseed/"+P.payload).pipe((0,w.T)(F=>(this.logger.info("Generated GenSeed!"),this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GEN_SEED})),{type:C.QP.GEN_SEED_RESPONSE_LND,payload:F.cipher_seed_mnemonic})),(0,T.W)(F=>(this.handleErrorWithAlert("GenSeed",C.MZ.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/genseed/"+P.payload,F),(0,v.of)({type:C.aU.VOID})))))))),this.updateSelNodeOptions=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,e.Z)(()=>this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,w.T)(P=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(P),{type:C.aU.VOID})),(0,T.W)(P=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",C.MZ.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",P),(0,v.of)({type:C.aU.VOID}))))))),this.genSeedResponse=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GEN_SEED_RESPONSE_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.initWalletRes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INIT_WALLET_RESPONSE_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.initWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INIT_WALLET_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+C.rl.WALLET_API+"/wallet/initwallet",{wallet_password:P.payload.pwd,cipher_seed_mnemonic:P.payload.cipher?P.payload.cipher:"",aezeed_passphrase:P.payload.passphrase?P.payload.passphrase:""}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.INITIALIZE_WALLET})),{type:C.QP.INIT_WALLET_RESPONSE_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("InitWallet",C.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/initwallet",F),(0,v.of)({type:C.aU.VOID})))))))),this.unlockWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UNLOCK_WALLET_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+C.rl.WALLET_API+"/wallet/unlockwallet",{wallet_password:P.payload.pwd}).pipe((0,w.T)(F=>(this.logger.info(F),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,B.y0)({payload:C.MZ.UNLOCK_WALLET})),this.store.dispatch((0,B.mt)({payload:C.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,B.y0)({payload:C.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,A.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:C.aU.VOID})),(0,T.W)(F=>(this.handleErrorWithAlert("UnlockWallet",C.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/unlockwallet",F),(0,v.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.PEER_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_NODE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_NODE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("Lookup",C.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload,F),(0,v.of)({type:C.aU.VOID})))))))),this.channelLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.CHANNEL_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/edge/"+P.payload.channelID).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("Lookup",P.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+C.rl.NETWORK_API+"/edge/"+P.payload.channelID,F),(0,v.of)({type:C.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INVOICE_LOOKUP_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}}));let F=this.CHILD_API_URL+C.rl.INVOICES_API+"/lookup";return F=P.payload.paymentAddress&&""!==P.payload.paymentAddress?F+"?payment_addr="+P.payload.paymentAddress:F+"?payment_hash="+P.payload.paymentHash,this.httpClient.get(F).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.Dq)({payload:ve})),{type:C.QP.SET_LOOKUP_LND,payload:ve})),(0,T.W)(ve=>(this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",C.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ve),P.payload.openSnackBar&&this.store.dispatch((0,B.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:C.QP.SET_LOOKUP_LND,payload:{error:ve}}))))}))),this.paymentLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.PAYMENT_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/lookup/"+P.payload).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),this.store.dispatch((0,A._$)({payload:F})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",C.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",F),(0,v.of)({type:C.QP.SET_LOOKUP_LND,payload:{error:F}})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_LOOKUP_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.RESTORE_CHANNELS_LIST_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannelsList",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannelsList",status:C.wn.COMPLETED}})),{type:C.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:P||{all_restore_exists:!1,files:[]}})),(0,T.W)(P=>(this.handleErrorWithAlert("RestoreChannelsList",C.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API,P),(0,v.of)({type:C.aU.VOID})))))))),this.setRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchLightningTransactions",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/alltransactions").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchLightningTransactions",status:C.wn.COMPLETED}})),{type:C.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:P})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchLightningTransactions",C.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.pageSettingsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PAGE_SETTINGS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPageSettings",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.PAGE_SETTINGS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPageSettings",status:C.wn.COMPLETED}})),this.invoicesPageSettings=P&&Object.keys(P).length>0?P.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId):C.ZC.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId),this.paymentsPageSettings=P&&Object.keys(P).length>0?P.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId):C.ZC.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId),{type:C.QP.SET_PAGE_SETTINGS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPageSettings",C.MZ.NO_SPINNER,"Fetching Page Settings Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.savePageSettings=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_PAGE_SETTINGS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,A.e8)({payload:{action:"SavePageSettings",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.PAGE_SETTINGS_API,P.payload).pipe((0,w.T)(F=>{this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SavePageSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.UI)({payload:"Page Layout Updated Successfully!"}));const ve=(F.find($=>"transactions"===$.pageId)?.tables.find($=>"invoices"===$.tableId)||C.ZC.find($=>"transactions"===$.pageId)?.tables.find($=>"invoices"===$.tableId)).recordsPerPage,H=(F.find($=>"transactions"===$.pageId)?.tables.find($=>"payments"===$.tableId)||C.ZC.find($=>"transactions"===$.pageId)?.tables.find($=>"payments"===$.tableId)).recordsPerPage;return this.invoicesPageSettings&&ve!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ve,this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&H!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=H),{type:C.QP.SET_PAGE_SETTINGS_LND,payload:F||[]}}),(0,T.W)(F=>(this.handleErrorWithAlert("SavePageSettings",C.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",C.rl.PAGE_SETTINGS_API,F),(0,v.of)({type:C.aU.VOID})))))))),this.store.select(Pe.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(P=>{P.FetchInfo.status!==C.wn.COMPLETED&&P.FetchInfo.status!==C.wn.ERROR||P.FetchFees.status!==C.wn.COMPLETED&&P.FetchFees.status!==C.wn.ERROR||P.FetchBalanceBlockchain.status!==C.wn.COMPLETED&&P.FetchBalanceBlockchain.status!==C.wn.ERROR||P.FetchAllChannels.status!==C.wn.COMPLETED&&P.FetchAllChannels.status!==C.wn.ERROR||P.FetchPendingChannels.status!==C.wn.COMPLETED&&P.FetchPendingChannels.status!==C.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,B.y0)({payload:C.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(P=>{this.logger.info("Received new message from the service: "+JSON.stringify(P)),P&&(P.type===C.o1.INVOICE?(this.logger.info(P),P&&P.result&&P.result.payment_request&&this.store.dispatch((0,A.Dq)({payload:P.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(P)))})}initializeRemainingData(De,Re){this.sessionService.setItem("lndUnlocked","true");const Xe={identity_pubkey:De.identity_pubkey,alias:De.alias,testnet:De.testnet,chains:De.chains,uris:De.uris,version:De.version?De.version.split(" ")[0]:""};this.store.dispatch((0,B.mt)({payload:C.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,B.Fl)({payload:Xe}));let _e=this.location.path();_e.includes("/cln/")?_e=_e?.replace("/cln/","/lnd/"):_e.includes("/ecl/")&&(_e=_e?.replace("/ecl/","/lnd/")),(_e.includes("/unlock")||_e.includes("/login")||_e.includes("/error")||""===_e||"HOME"===Re||_e.includes("?access-key="))&&(_e="/lnd/home"),this.router.navigate([_e]),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.ar)()),this.store.dispatch((0,A.pL)()),this.store.dispatch((0,A.Gy)()),this.store.dispatch((0,A.tf)()),this.store.dispatch((0,A.yp)()),this.store.dispatch((0,A.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(De,Re,Xe,_e){this.logger.error("ERROR IN: "+De+"\n"+JSON.stringify(_e)),401===_e.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.ri)({payload:"Authentication Failed: "+JSON.stringify(_e.error)}))):(this.store.dispatch((0,B.y0)({payload:Re})),this.store.dispatch((0,A.e8)({payload:{action:De,status:C.wn.ERROR,statusCode:_e.status.toString(),message:this.commonService.extractErrorMessage(_e,Xe)}})))}handleErrorWithAlert(De,Re,Xe,_e,he){if(this.logger.error(he),401===he.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.ri)({payload:"Authentication Failed: "+JSON.stringify(he.error)}));else{this.store.dispatch((0,B.y0)({payload:Re}));const Dt=this.commonService.extractErrorMessage(he);this.store.dispatch((0,B.xO)({payload:{data:{type:"ERROR",alertTitle:Xe,message:{code:he.status,message:Dt,URL:_e},component:L.f}}})),this.store.dispatch((0,A.e8)({payload:{action:De,status:C.wn.ERROR,statusCode:he.status.toString(),message:Dt,URL:_e}}))}}ngOnDestroy(){this.unSubs.forEach(De=>{De.next(null),De.complete()})}static#e=be=()=>(this.\u0275fac=function(Re){return new(Re||ne)(le.KVO(i.En),le.KVO(Ce.Qq),le.KVO(Ae.il),le.KVO(j.gP),le.KVO(W.h),le.KVO(G.Q),le.KVO(re.bZ),le.KVO(xe.Ix),le.KVO(Ee.I),le.KVO(V.aZ))},this.\u0275prov=le.jDH({token:ne,factory:ne.\u0275fac}))}return be(),ne})()},3536(Zt,pe,l){"use strict";l.d(pe,{$7:()=>Ae,$G:()=>v,BM:()=>A,Bw:()=>Ce,Ie:()=>O,KT:()=>f,Uv:()=>le,ah:()=>W,eO:()=>xe,gN:()=>C,gj:()=>Ee,n_:()=>re,oR:()=>u,os:()=>L,pI:()=>T,rN:()=>B,ru:()=>e,tA:()=>G});var i=l(9640);const d=(0,i.UX)("lnd"),v=(0,i.Mz)(d,V=>({pageSettings:V.pageSettings,apiCallStatus:V.apisCallStatus.FetchPageSettings})),T=(0,i.Mz)(d,V=>V.information),e=((0,i.Mz)(d,V=>({information:V.information,apiCallStatus:V.apisCallStatus.FetchInfo})),(0,i.Mz)(d,V=>V.apisCallStatus)),O=(0,i.Mz)(d,V=>({forwardingHistory:V.forwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistory})),f=(0,i.Mz)(d,V=>({listPayments:V.listPayments,apiCallStatus:V.apisCallStatus.FetchPayments})),u=(0,i.Mz)(d,V=>({fees:V.fees,apiCallStatus:V.apisCallStatus.FetchFees})),L=(0,i.Mz)(d,V=>({peers:V.peers,apiCallStatus:V.apisCallStatus.FetchPeers})),C=(0,i.Mz)(d,V=>({transactions:V.transactions,apiCallStatus:V.apisCallStatus.FetchTransactions})),B=(0,i.Mz)(d,V=>({listInvoices:V.listInvoices,apiCallStatus:V.apisCallStatus.FetchInvoices})),A=(0,i.Mz)(d,V=>({channels:V.channels,channelsSummary:V.channelsSummary,lightningBalance:V.lightningBalance,apiCallStatus:V.apisCallStatus.FetchAllChannels})),le=((0,i.Mz)(d,V=>({channelsSummary:V.channelsSummary,pendingChannels:V.pendingChannels,closedChannels:V.closedChannels,apiCallStatus:V.apisCallStatus.FetchAllChannels})),(0,i.Mz)(d,V=>({pendingChannels:V.pendingChannels,pendingChannelsSummary:V.pendingChannelsSummary,apiCallStatus:V.apisCallStatus.FetchPendingChannels}))),Ce=(0,i.Mz)(d,V=>({closedChannels:V.closedChannels,apiCallStatus:V.apisCallStatus.FetchClosedChannels})),Ae=(0,i.Mz)(d,V=>({blockchainBalance:V.blockchainBalance,apiCallStatus:V.apisCallStatus.FetchBalanceBlockchain})),W=((0,i.Mz)(d,V=>({lightningBalance:V.lightningBalance,apiCallStatus:V.apisCallStatus.FetchAllChannels})),(0,i.Mz)(d,V=>({utxos:V.utxos,apiCallStatus:V.apisCallStatus.FetchUTXOs}))),G=(0,i.Mz)(d,V=>({networkInfo:V.networkInfo,apiCallStatus:V.apisCallStatus.FetchNetwork})),re=(0,i.Mz)(d,V=>({allLightningTransactions:V.allLightningTransactions,apiCallStatus:V.apisCallStatus.FetchLightningTransactions})),xe=(0,i.Mz)(d,V=>({channels:V.channels,pendingChannels:V.pendingChannels,closedChannels:V.closedChannels})),Ee=(0,i.Mz)(d,V=>({information:V.information,apiCallStatus:V.apisCallStatus.FetchInfo}))},6391(Zt,pe,l){"use strict";l.d(pe,{H:()=>Qn});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(3536),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(9454),j=l(2629),W=l(1997),G=l(9183),re=l(2920),xe=l(6038),Ee=l(455),V=l(8288),ce=l(9157),be=l(9587);const ne=["scrollContainer"],J=h=>({"display-none":h}),De=h=>({"xs-scroll-y":h}),Re=h=>({"h-50":h}),Xe=()=>[],_e=h=>({"mr-0":h});function he(h,jt){if(1&h&&f.nrm(0,"qr-code",33),2&h){const Ue=f.XpG();f.Y8G("value",null==Ue.invoice?null:Ue.invoice.payment_request)("size",Ue.qrWidth)}}function Dt(h,jt){1&h&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function lt(h,jt){if(1&h&&f.nrm(0,"qr-code",33),2&h){const Ue=f.XpG();f.Y8G("value",null==Ue.invoice?null:Ue.invoice.payment_request)("size",Ue.qrWidth)}}function Le(h,jt){1&h&&(f.j41(0,"span",35),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function te(h,jt){1&h&&f.nrm(0,"mat-divider",24),2&h&&f.Y8G("inset",!0)}function ie(h,jt){1&h&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function P(h,jt){1&h&&f.nrm(0,"span",41)}function F(h,jt){if(1&h&&(f.j41(0,"div",37)(1,"div",38)(2,"span",39),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,P,1,0,"span",40),f.k0s()()),2&h){const Ue=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==Ue.invoice?null:Ue.invoice.amt_paid_sat)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,Xe).constructor(35))}}function ve(h,jt){if(1&h&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&h){const Ue=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==Ue.invoice?null:Ue.invoice.amt_paid_sat)," Sats")}}function H(h,jt){if(1&h&&(f.qex(0),f.DNE(1,F,6,5,"div",36)(2,ve,3,3,"div",23),f.bVm()),2&h){const Ue=f.XpG();f.R7$(),f.Y8G("ngIf",Ue.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!Ue.flgInvoicePaid)}}function $(h,jt){1&h&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Ke(h,jt){1&h&&f.nrm(0,"mat-spinner",43),2&h&&f.Y8G("diameter",20)}function Vt(h,jt){if(1&h&&(f.qex(0),f.DNE(1,$,2,0,"span",23)(2,Ke,1,1,"mat-spinner",42),f.bVm()),2&h){const Ue=f.XpG();f.R7$(),f.Y8G("ngIf","OPEN"!==(null==Ue.invoice?null:Ue.invoice.state)||!Ue.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","OPEN"===(null==Ue.invoice?null:Ue.invoice.state)&&Ue.flgVersionCompatible)}}function St(h,jt){1&h&&f.eu8(0)}function ot(h,jt){if(1&h&&(f.j41(0,"div"),f.DNE(1,St,1,0,"ng-container",44),f.k0s()),2&h){f.XpG();const Ue=f.sdS(79);f.R7$(),f.Y8G("ngTemplateOutlet",Ue)}}function nt(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"div",45)(1,"button",46),f.bIt("click",function(){O.eBV(Ue);const pt=f.XpG();return O.Njj(pt.onScrollDown())}),f.j41(2,"mat-icon",47),f.EFF(3,"arrow_downward"),f.k0s()()()}}function ht(h,jt){1&h&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function oe(h,jt){1&h&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ye(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"button",48),f.bIt("copied",function(pt){O.eBV(Ue);const Pt=f.XpG();return O.Njj(Pt.onCopyPayment(pt))}),f.EFF(1),f.k0s()}if(2&h){const Ue=f.XpG();f.Y8G("payload",null==Ue.invoice?null:Ue.invoice.payment_request),f.R7$(),f.JRh(Ue.screenSize===Ue.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function fe(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"button",49),f.bIt("click",function(){O.eBV(Ue);const pt=f.XpG();return O.Njj(pt.onClose())}),f.EFF(1,"OK"),f.k0s()}}function Qe(h,jt){if(1&h&&f.nrm(0,"span",64),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function gt(h,jt){if(1&h&&f.nrm(0,"span",65),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function Gt(h,jt){if(1&h&&f.nrm(0,"span",66),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function rt(h,jt){if(1&h&&(f.j41(0,"div",53)(1,"div",58)(2,"span",59),f.DNE(3,Qe,1,3,"span",60)(4,gt,1,3,"span",61)(5,Gt,1,3,"span",62),f.EFF(6),f.k0s(),f.j41(7,"span",63),f.EFF(8),f.nI1(9,"number"),f.k0s()(),f.nrm(10,"mat-divider",24),f.k0s()),2&h){const Ue=jt.$implicit,wt=f.XpG(3);f.R7$(3),f.Y8G("ngIf","SETTLED"===Ue.state),f.R7$(),f.Y8G("ngIf","ACCEPTED"===Ue.state),f.R7$(),f.Y8G("ngIf","CANCELED"===Ue.state),f.R7$(),f.SpI(" ",Ue.chan_id," "),f.R7$(2),f.JRh(f.i5U(9,6,+Ue.amt_msat/1e3||0,wt.getDecimalFormat(Ue))),f.R7$(2),f.Y8G("inset",!0)}}function cn(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"div",19)(1,"mat-expansion-panel",51),f.bIt("opened",function(){O.eBV(Ue);const pt=f.XpG(2);return O.Njj(pt.flgOpened=!0)})("closed",function(){O.eBV(Ue);const pt=f.XpG(2);return O.Njj(pt.onExpansionClosed())}),f.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),f.EFF(5,"HTLCs"),f.k0s()()(),f.j41(6,"div",53)(7,"div",54)(8,"span",55),f.EFF(9,"Channel ID"),f.k0s(),f.j41(10,"span",56),f.EFF(11,"Amount (Sats)"),f.k0s()(),f.nrm(12,"mat-divider",24),f.DNE(13,rt,11,9,"div",57),f.k0s()()()}if(2&h){const Ue=f.XpG(2);f.R7$(12),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngForOf",null==Ue.invoice?null:Ue.invoice.htlcs)}}function Ft(h,jt){1&h&&f.nrm(0,"mat-divider",24),2&h&&f.Y8G("inset",!0)}function Sn(h,jt){if(1&h&&(f.nrm(0,"mat-divider",24),f.j41(1,"div",19)(2,"div",25)(3,"h4",21),f.EFF(4,"Preimage"),f.k0s(),f.j41(5,"span",26),f.EFF(6),f.k0s()()(),f.nrm(7,"mat-divider",24),f.j41(8,"div",19)(9,"div",20)(10,"h4",21),f.EFF(11,"State"),f.k0s(),f.j41(12,"span",26),f.EFF(13),f.k0s()(),f.j41(14,"div",20)(15,"h4",21),f.EFF(16,"Expiry"),f.k0s(),f.j41(17,"span",26),f.EFF(18),f.nI1(19,"date"),f.k0s()()(),f.nrm(20,"mat-divider",24),f.j41(21,"div",19)(22,"div",20)(23,"h4",21),f.EFF(24,"Private Routing Hints"),f.k0s(),f.j41(25,"span",26),f.EFF(26),f.k0s()(),f.j41(27,"div",20)(28,"h4",21),f.EFF(29,"AMP Invoice"),f.k0s(),f.j41(30,"span",26),f.EFF(31),f.k0s()()(),f.nrm(32,"mat-divider",24),f.DNE(33,cn,14,2,"div",50)(34,Ft,1,1,"mat-divider",17)),2&h){const Ue=f.XpG();f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Ue.invoice?null:Ue.invoice.r_preimage)||"-"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Ue.invoice?null:Ue.invoice.state),f.R7$(5),f.JRh(f.i5U(19,11,1e3*(+(null==Ue.invoice?null:Ue.invoice.creation_date)+ +(null==Ue.invoice?null:Ue.invoice.expiry)),"dd/MMM/y HH:mm")),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null!=Ue.invoice&&Ue.invoice.private?"Yes":"No"),f.R7$(5),f.JRh(null!=Ue.invoice&&Ue.invoice.is_amp?"Yes":"No"),f.R7$(),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0),f.R7$(),f.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0)}}let Qn=(()=>{var h;class jt{set container(wt){wt&&(this.scrollContainer=wt)}constructor(wt,pt,Pt,gn,ei,vi){this.dialogRef=wt,this.data=pt,this.logger=Pt,this.commonService=gn,this.snackBar=ei,this.store=vi,this.faReceipt=d.Mf0,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.pI).pipe((0,T.Q)(this.unSubs[0])).subscribe(pt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(pt.version,"0.11.0")});const wt=JSON.parse(JSON.stringify(this.invoice));this.store.select(e.rN).pipe((0,T.Q)(this.unSubs[1])).subscribe(pt=>{const Pt=this.invoice?.state,ei=(pt.listInvoices.invoices||[]).find(vi=>vi.r_hash===wt.r_hash)||null;ei&&(this.invoice=ei),Pt!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(pt)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(wt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+wt)}getDecimalFormat(wt){return wt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(wt=>{wt.next(null),wt.complete()})}static#e=h=()=>(this.\u0275fac=function(pt){return new(pt||jt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:jt,selectors:[["rtl-invoice-information"]],viewQuery:function(pt,Pt){if(1&pt&&f.GBs(ne,5),2&pt){let gn;f.mGM(gn=f.lsd())&&(Pt.container=gn.first)}},standalone:!1,decls:80,vars:49,consts:[["scrollContainer",""],["hideAdvancedText",""],["advancedBlock",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxLayout","column","fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],[3,"ngClass"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],[4,"ngTemplateOutlet"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function(pt,Pt){if(1&pt){const gn=f.RV6();f.j41(0,"div",3)(1,"div",4),f.DNE(2,he,1,2,"qr-code",5)(3,Dt,2,0,"span",6),f.k0s(),f.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),f.nrm(7,"fa-icon",10),f.j41(8,"span",11),f.EFF(9),f.k0s()(),f.j41(10,"button",12),f.bIt("click",function(){return O.eBV(gn),O.Njj(Pt.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),f.DNE(15,lt,1,2,"qr-code",5)(16,Le,2,0,"span",16),f.k0s(),f.DNE(17,te,1,1,"mat-divider",17),f.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),f.EFF(23),f.k0s(),f.j41(24,"span",22),f.EFF(25),f.nI1(26,"number"),f.DNE(27,ie,2,0,"ng-container",23),f.k0s()(),f.j41(28,"div",20)(29,"h4",21),f.EFF(30,"Amount Settled"),f.k0s(),f.j41(31,"span",22),f.DNE(32,H,3,2,"ng-container",23)(33,Vt,3,2,"ng-container",23),f.k0s()()(),f.nrm(34,"mat-divider",24),f.j41(35,"div",19)(36,"div",20)(37,"h4",21),f.EFF(38,"Date Created"),f.k0s(),f.j41(39,"span",22),f.EFF(40),f.nI1(41,"date"),f.k0s()(),f.j41(42,"div",20)(43,"h4",21),f.EFF(44,"Date Settled"),f.k0s(),f.j41(45,"span",22),f.EFF(46),f.nI1(47,"date"),f.k0s()()(),f.nrm(48,"mat-divider",24),f.j41(49,"div",19)(50,"div",25)(51,"h4",21),f.EFF(52,"Memo"),f.k0s(),f.j41(53,"span",22),f.EFF(54),f.k0s()()(),f.nrm(55,"mat-divider",24),f.j41(56,"div",19)(57,"div",25)(58,"h4",21),f.EFF(59,"Payment Request"),f.k0s(),f.j41(60,"span",26),f.EFF(61),f.k0s()()(),f.nrm(62,"mat-divider",24),f.j41(63,"div",19)(64,"div",25)(65,"h4",21),f.EFF(66,"Payment Hash"),f.k0s(),f.j41(67,"span",26),f.EFF(68),f.k0s()()(),f.DNE(69,ot,2,1,"div",23),f.k0s()()(),f.DNE(70,nt,4,0,"div",27),f.j41(71,"div",28)(72,"button",29),f.bIt("click",function(){return O.eBV(gn),O.Njj(Pt.onShowAdvanced())}),f.DNE(73,ht,2,0,"p",30)(74,oe,2,0,"ng-template",null,1,f.C5r),f.k0s(),f.DNE(76,Ye,2,2,"button",31)(77,fe,2,0,"button",32),f.k0s()()(),f.DNE(78,Sn,35,14,"ng-template",null,2,f.C5r)}if(2&pt){const gn=f.sdS(75);f.R7$(),f.Y8G("fxLayoutAlign",null!=Pt.invoice&&Pt.invoice.payment_request&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(41,J,Pt.screenSize===Pt.screenSizeEnum.XS||Pt.screenSize===Pt.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(4),f.Y8G("icon",Pt.faReceipt),f.R7$(2),f.JRh(Pt.screenSize===Pt.screenSizeEnum.XS?Pt.newlyAdded?"Created":"Invoice":Pt.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(43,De,Pt.screenSize===Pt.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Pt.invoice&&Pt.invoice.payment_request&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(45,J,Pt.screenSize!==Pt.screenSizeEnum.XS&&Pt.screenSize!==Pt.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",Pt.screenSize===Pt.screenSizeEnum.XS||Pt.screenSize===Pt.screenSizeEnum.SM),f.R7$(),f.Y8G("ngClass",f.eq3(47,Re,(null==Pt.invoice?null:Pt.invoice.htlcs)&&(null==Pt.invoice?null:Pt.invoice.htlcs.length)>0&&Pt.showAdvanced)),f.R7$(5),f.JRh(Pt.screenSize===Pt.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI("",f.bMT(26,33,(null==Pt.invoice?null:Pt.invoice.value)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.value)||"0"===(null==Pt.invoice?null:Pt.invoice.value)),f.R7$(5),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.amt_paid_sat)&&"OPEN"!==(null==Pt.invoice?null:Pt.invoice.state)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.amt_paid_sat)||"0"===(null==Pt.invoice?null:Pt.invoice.amt_paid_sat)),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(f.i5U(41,35,1e3*(null==Pt.invoice?null:Pt.invoice.creation_date),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(0!=+(null==Pt.invoice?null:Pt.invoice.settle_date)?f.i5U(47,38,1e3*+(null==Pt.invoice?null:Pt.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Pt.invoice?null:Pt.invoice.memo),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Pt.invoice?null:Pt.invoice.payment_request)||"N/A"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Pt.invoice?null:Pt.invoice.r_hash)||""),f.R7$(),f.Y8G("ngIf",Pt.showAdvanced),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.htlcs)&&(null==Pt.invoice?null:Pt.invoice.htlcs.length)>0&&Pt.showAdvanced&&Pt.flgOpened),f.R7$(3),f.Y8G("ngIf",!Pt.showAdvanced)("ngIfElse",gn),f.R7$(3),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request))}},dependencies:[A.YU,A.Sq,A.bT,A.T3,Pe.aY,le.$z,le.$0,Ce.m2,Ce.MM,Ae.GK,Ae.Z2,Ae.WN,j.An,W.q,G.LG,re.DJ,re.sA,re.UI,xe.PW,Ee.oV,V.Um,ce.U,be.N,A.QX,A.vh],encapsulation:2}))}return h(),jt})()},1001(Zt,pe,l){"use strict";l.d(pe,{C:()=>d,q:()=>v});var i=l(1514);const d=[(0,i.hZ)("opacityAnimation",[(0,i.kY)(":enter",[(0,i.iF)({opacity:0}),(0,i.i0)("1000ms ease-in",(0,i.iF)({opacity:1}))]),(0,i.kY)(":leave",[(0,i.i0)("0ms",(0,i.iF)({opacity:0}))])])],v=[(0,i.hZ)("fadeIn",[(0,i.kY)("void => *",[]),(0,i.kY)("* => void",[]),(0,i.kY)("* => *",[(0,i.i0)(800,(0,i.i7)([(0,i.iF)({opacity:0,transform:"translateY(100%)"}),(0,i.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881(Zt,pe,l){"use strict";l.d(pe,{E:()=>d});var i=l(1514);const d=(0,i.hZ)("routeAnimation",[(0,i.kY)("* => *",[(0,i.P)(":enter, :leave",(0,i.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,i.Os)([(0,i.P)(":enter",[(0,i.iF)({transform:"translateX(100%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,i.P)(":leave",[(0,i.iF)({transform:"translateX(0%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949(Zt,pe,l){"use strict";l.d(pe,{k:()=>d});var i=l(1514);const d=[(0,i.hZ)("sliderAnimation",[(0,i.wk)("*",(0,i.iF)({transform:"translateX(0)"})),(0,i.kY)("void => backward",[(0,i.iF)({transform:"translateX(-100%"}),(0,i.i0)("800ms")]),(0,i.kY)("backward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(100%)"}))]),(0,i.kY)("void => forward",[(0,i.iF)({transform:"translateX(100%"}),(0,i.i0)("800ms")]),(0,i.kY)("forward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(-100%)"}))])])]},2462(Zt,pe,l){"use strict";l.d(pe,{f:()=>C});var i=l(1585),d=l(3664),v=l(8570),T=l(2200),w=l(8834),e=l(5596),O=l(1997),f=l(2920),u=l(9587);function L(B,A){if(1&B&&(d.j41(0,"p",14),d.EFF(1),d.k0s()),2&B){const Pe=d.XpG();d.R7$(),d.JRh(Pe.data.titleMessage)}}let C=(()=>{var B;class A{constructor(le,Ce,Ae){this.dialogRef=le,this.data=Ce,this.logger=Ae,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=B=()=>(this.\u0275fac=function(Ce){return new(Ce||A)(d.rXU(i.CP),d.rXU(i.Vh),d.rXU(v.gP))},this.\u0275cmp=d.VBU({type:A,selectors:[["rtl-error-message"]],standalone:!1,decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(Ce,Ae){1&Ce&&(d.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),d.EFF(5),d.k0s()(),d.j41(6,"button",5),d.bIt("click",function(){return Ae.onClose()}),d.EFF(7,"X"),d.k0s()(),d.j41(8,"mat-card-content",6)(9,"div",7),d.DNE(10,L,2,1,"p",8),d.j41(11,"h4",9),d.EFF(12,"Error Code"),d.k0s(),d.j41(13,"span"),d.EFF(14),d.k0s(),d.nrm(15,"mat-divider",10),d.j41(16,"h4",9),d.EFF(17,"Error Message"),d.k0s(),d.j41(18,"span",11),d.EFF(19),d.k0s(),d.nrm(20,"mat-divider",10),d.j41(21,"h4",9),d.EFF(22,"API URL"),d.k0s(),d.j41(23,"span",11),d.EFF(24),d.k0s(),d.nrm(25,"mat-divider",10),d.j41(26,"div",12)(27,"button",13),d.EFF(28,"OK"),d.k0s()()()()()()),2&Ce&&(d.R7$(5),d.JRh(Ae.data.alertTitle||"ERROR"),d.R7$(5),d.Y8G("ngIf",Ae.data.titleMessage),d.R7$(4),d.JRh(Ae.data.message.code),d.R7$(5),d.JRh(Ae.errorMessage),d.R7$(5),d.JRh(Ae.data.message.URL),d.R7$(3),d.Y8G("mat-dialog-close",!1))},dependencies:[T.bT,i.tx,w.$z,e.m2,e.MM,O.q,f.DJ,f.sA,f.UI,u.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return B(),A})()},1092(Zt,pe,l){"use strict";l.d(pe,{D:()=>Tt});var i=l(9417),d=l(1413),v=l(6977),T=l(1585),w=l(5383),e=l(1001),O=l(4416),f=l(3536),u=l(3664),L=l(2615),C=l(9640),B=l(4104),A=l(2200),Pe=l(8570),le=l(3694),Ce=l(2571),Ae=l(8834),j=l(5596),W=l(9454),G=l(2629),re=l(3746),xe=l(9588),Ee=l(7575),V=l(5951),ce=l(2920),be=l(6038),ne=l(450),J=l(455),De=l(6013),Re=l(9587),Xe=l(1997);const _e=At=>({"h-5":At});function he(At,we){1&At&&u.eu8(0)}function Dt(At,we){1&At&&u.eu8(0)}function lt(At,we){if(1&At&&(u.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),u.EFF(4),u.nI1(5,"number"),u.k0s()()(),u.DNE(6,Dt,1,0,"ng-container",2),u.k0s()),2&At){const ae=u.XpG(),Lt=u.sdS(4);u.Y8G("expanded",ae.panelExpanded)("ngClass",u.eq3(7,_e,!ae.flgShowPanel)),u.R7$(4),u.Lme("Quote for ",ae.termCaption," amount (",u.bMT(5,5,ae.quote.amount)," Sats)"),u.R7$(2),u.Y8G("ngTemplateOutlet",Lt)}}function Le(At,we){if(1&At&&(u.j41(0,"div",19)(1,"h4",8),u.EFF(2," Prepay Amount (Sats) "),u.j41(3,"mat-icon",20),u.EFF(4,"info_outline"),u.k0s()(),u.j41(5,"span",10),u.EFF(6),u.nI1(7,"number"),u.k0s()()),2&At){const ae=u.XpG(2);u.R7$(6),u.JRh(u.bMT(7,1,null==ae.quote?null:ae.quote.prepay_amt_sat))}}function te(At,we){1&At&&u.nrm(0,"mat-divider",13)}function ie(At,we){if(1&At&&(u.j41(0,"div",6)(1,"div",21)(2,"h4",8),u.EFF(3," Swap Server Node Pubkey "),u.j41(4,"mat-icon",22),u.EFF(5,"info_outline"),u.k0s()(),u.j41(6,"span",10),u.EFF(7),u.k0s()()()),2&At){const ae=u.XpG(2);u.R7$(7),u.JRh(null==ae.quote?null:ae.quote.swap_payment_dest)}}function P(At,we){if(1&At&&(u.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),u.EFF(4," Swap Fee (Sats) "),u.j41(5,"mat-icon",9),u.EFF(6,"info_outline"),u.k0s()(),u.j41(7,"span",10),u.EFF(8),u.nI1(9,"number"),u.k0s()(),u.j41(10,"div",7)(11,"h4",8),u.EFF(12),u.j41(13,"mat-icon",11),u.EFF(14,"info_outline"),u.k0s()(),u.j41(15,"span",10),u.EFF(16),u.nI1(17,"number"),u.k0s()(),u.DNE(18,Le,8,3,"div",12),u.k0s(),u.nrm(19,"mat-divider",13),u.j41(20,"div",6)(21,"div",14)(22,"h4",8),u.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),u.j41(24,"mat-icon",15),u.EFF(25,"info_outline"),u.k0s()(),u.j41(26,"span",10),u.EFF(27),u.nI1(28,"number"),u.k0s()(),u.j41(29,"div",14)(30,"h4",8),u.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),u.j41(32,"mat-icon",16),u.EFF(33,"info_outline"),u.k0s()(),u.j41(34,"span",10),u.EFF(35,"36"),u.k0s()()(),u.DNE(36,te,1,0,"mat-divider",17)(37,ie,8,1,"div",18),u.k0s()),2&At){const ae=u.XpG();u.R7$(2),u.Y8G("ngClass",null!=ae.quote&&ae.quote.prepay_amt_sat?"flex-30":"flex-50"),u.R7$(6),u.JRh(u.bMT(9,9,null==ae.quote?null:ae.quote.swap_fee_sat)),u.R7$(2),u.Y8G("ngClass",null!=ae.quote&&ae.quote.prepay_amt_sat?"flex-35":"flex-50"),u.R7$(2),u.SpI(" ",null!=ae.quote&&ae.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=ae.quote&&ae.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),u.R7$(4),u.JRh(u.bMT(17,11,null!=ae.quote&&ae.quote.htlc_sweep_fee_sat?ae.quote.htlc_sweep_fee_sat:null!=ae.quote&&ae.quote.htlc_publish_fee_sat?ae.quote.htlc_publish_fee_sat:0)),u.R7$(2),u.Y8G("ngIf",null==ae.quote?null:ae.quote.prepay_amt_sat),u.R7$(9),u.JRh(u.bMT(28,13,(null==ae.quote?null:ae.quote.amount)*((null!=ae.quote&&ae.quote.off_chain_swap_routing_fee_percentage?null==ae.quote?null:ae.quote.off_chain_swap_routing_fee_percentage:2)/100))),u.R7$(9),u.Y8G("ngIf",""!==(null==ae.quote?null:ae.quote.swap_payment_dest)),u.R7$(),u.Y8G("ngIf",""!==(null==ae.quote?null:ae.quote.swap_payment_dest))}}let F=(()=>{var At;class we{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},standalone:!1,decls:5,vars:1,consts:[["informationBlock",""],["quoteDetailsBlock",""],[4,"ngTemplateOutlet"],["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded","ngClass"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],[3,"ngClass"],["fxLayoutAlign","start center",1,"font-bold-500"],["matTooltip","Estimated fee charged by the loop server for the swap",1,"info-icon","info-icon-text"],[1,"foreground-secondary-text"],["matTooltip","An estimate of the on-chain fee that needs to be paid to sweep the HTLC",1,"info-icon","info-icon-text"],["fxFlex","35",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","50"],["matTooltip","Maximum off-chain fee that may be paid for routing the payment amount to the server",1,"info-icon","info-icon-text"],["matTooltip","Maximum off-chain fee that may be paid for routing the pre-payment amount to the server","matTooltipPosition","before",1,"info-icon","info-icon-text"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxFlex","35"],["matTooltip","The part of the swap fee that is requested as a prepayment","matTooltipPosition","before",1,"info-icon","info-icon-text"],["fxFlex","100"],["matTooltip","The node pubkey, where the swap payments will be sent",1,"info-icon","info-icon-text"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,he,1,0,"ng-container",2)(1,lt,7,9,"ng-template",null,0,u.C5r)(3,P,38,15,"ng-template",null,1,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4);u.Y8G("ngTemplateOutlet",_n.showPanel?fi:bi)}},dependencies:[A.YU,A.bT,A.T3,W.GK,W.Z2,W.WN,G.An,Xe.q,ce.DJ,ce.sA,ce.UI,be.PW,J.oV,A.QX],encapsulation:2}))}return At(),we})();function ve(At,we){1&At&&u.eu8(0)}function H(At,we){if(1&At&&(u.j41(0,"div",3)(1,"span",4),u.EFF(2),u.k0s()()),2&At){const ae=u.XpG();u.R7$(2),u.JRh(null!=ae.loopStatus&&ae.loopStatus.error?null==ae.loopStatus?null:ae.loopStatus.error:"Unknown Error.")}}function $(At,we){if(1&At&&(u.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),u.EFF(4,"ID"),u.k0s(),u.j41(5,"span",4),u.EFF(6),u.k0s()()(),u.nrm(7,"mat-divider",8),u.j41(8,"div",5)(9,"div",6)(10,"h4",7),u.EFF(11,"HTLC Address"),u.k0s(),u.j41(12,"span",4),u.EFF(13),u.k0s()()()()),2&At){const ae=u.XpG();u.R7$(6),u.JRh(null==ae.loopStatus?null:ae.loopStatus.id_bytes),u.R7$(7),u.JRh(null==ae.loopStatus?null:ae.loopStatus.htlc_address)}}let Ke=(()=>{var At;class we{constructor(){}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},standalone:!1,decls:5,vars:1,consts:[["loopFailedBlock",""],["loopSuccessfulBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,ve,1,0,"ng-container",2)(1,H,3,1,"ng-template",null,0,u.C5r)(3,$,14,2,"ng-template",null,1,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4);u.Y8G("ngTemplateOutlet",null!=_n.loopStatus&&_n.loopStatus.error?fi:bi)}},dependencies:[A.T3,Xe.q,ce.DJ,ce.sA,ce.UI],encapsulation:2}))}return At(),we})();var Vt=l(6949);const St=(At,we)=>({"small-svg":At,"large-svg":we});function ot(At,we){1&At&&u.eu8(0)}function nt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",7)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u.nrm(8,"circle",12)(9,"path",13),u.k0s(),u.j41(10,"g",14),u.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),u.k0s()()()()(),L.joV(),u.j41(26,"div",30)(27,"mat-card-title"),u.EFF(28,"Loop In explained."),u.k0s()(),u.j41(29,"div",31)(30,"mat-card-subtitle",32),u.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function ht(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",33)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),u.nrm(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),u.k0s(),u.j41(28,"g",56)(29,"g",57)(30,"g",58),u.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),u.j41(34,"g",62),u.nrm(35,"path",63),u.k0s(),u.nrm(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),u.k0s(),u.j41(45,"g",73),u.nrm(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),u.k0s(),u.nrm(59,"path",87),u.k0s()()()()()(),L.joV(),u.j41(60,"div",30)(61,"mat-card-title"),u.EFF(62,"Step 1: Deciding to Loop In"),u.k0s()(),u.j41(63,"div",31)(64,"mat-card-subtitle",32),u.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function oe(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",88)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",89),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),u.nrm(14,"circle",95)(15,"path",96),u.j41(16,"g",97),u.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),u.k0s(),u.j41(20,"g",101),u.nrm(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),u.j41(31,"g",112)(32,"g",113),u.nrm(33,"g",114),u.k0s(),u.nrm(34,"g",115),u.k0s()()(),u.j41(35,"g",116)(36,"g",40),u.nrm(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),u.k0s(),u.j41(53,"g",56)(54,"g",57)(55,"g",58),u.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),u.j41(59,"g",122),u.nrm(60,"path",63),u.k0s(),u.nrm(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),u.k0s(),u.j41(70,"g",73),u.nrm(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),u.k0s(),u.nrm(84,"path",139),u.k0s()()()(),u.nrm(85,"path",140)(86,"path",141),u.k0s()()()(),L.joV(),u.j41(87,"div",30)(88,"mat-card-title"),u.EFF(89,"Step 2: Send payment out"),u.k0s()(),u.j41(90,"div",31)(91,"mat-card-subtitle",32),u.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Ye(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",142)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),u.nrm(10,"circle",12)(11,"path",147),u.k0s(),u.j41(12,"g",14),u.nrm(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),u.k0s()(),u.j41(28,"g",149),u.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),u.k0s(),u.j41(32,"g",152),u.nrm(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),u.j41(43,"g",112)(44,"g",113),u.nrm(45,"g",114),u.k0s(),u.nrm(46,"g",115),u.k0s()()(),u.nrm(47,"path",153),u.k0s()()()(),L.joV(),u.j41(48,"div",30)(49,"mat-card-title"),u.EFF(50,"Step 3: Recieve Funds Off-chain"),u.k0s()(),u.j41(51,"div",31)(52,"mat-card-subtitle",32),u.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function fe(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",154)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),u.nrm(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),u.k0s(),u.j41(28,"g",172),u.nrm(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),u.k0s(),u.nrm(43,"path",187),u.k0s()(),u.nrm(44,"circle",188),u.k0s()()()(),L.joV(),u.j41(45,"div",30)(46,"mat-card-title"),u.EFF(47,"Done!"),u.k0s()(),u.j41(48,"div",31)(49,"mat-card-subtitle",32),u.EFF(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}let Qe=(()=>{var At;class we{constructor(Lt){this.commonService=Lt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.bkB,this.screenSize="",this.screenSizeEnum=O.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Lt){2===Lt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Lt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopIn_Step02","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(542.000000, 210.000000)"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"],["fxFlex","30","viewBox","0 0 364 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","Loopv0.3","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step03","transform","translate(-1127.000000, -164.000000)"],["id","LoopIn_Step03","transform","translate(1127.000000, 164.000000)"],["id","Group-21"],["id","Group-35","transform","translate(107.000000, 10.000000)"],["id","Oval","fill-rule","nonzero","cx","214.487742","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M232.082742,28.5000036 C236.446821,28.5000036 239.999928,25.1343958 239.999928,21.0000215 C239.999928,16.8656472 236.446821,13.5000393 232.082742,13.5000393 C228.98433,13.5000393 226.560889,15.4359631 224.999964,17.1843872 C223.43904,15.4359631 221.015599,13.5000393 217.917187,13.5000393 C213.553107,13.5000393 210,16.8656472 210,21.0000215 C210,25.1343958 213.553107,28.5000036 217.917187,28.5000036 C221.015599,28.5000036 223.43904,26.5640798 224.999964,24.8156557 C226.560889,26.5640798 228.98433,28.5000036 232.082742,28.5000036 Z M217.917187,24.0000143 C216.032807,24.0000143 214.499989,22.6546959 214.499989,21.0000286 C214.499989,19.3453471 216.032807,18.0000286 217.917187,18.0000286 C219.707771,18.0000286 221.357776,19.6921938 222.323426,21.0000286 C221.36716,22.2937501 219.703102,24.0000143 217.917187,24.0000143 Z M232.082742,24.0000143 C230.292157,24.0000143 228.642152,22.3078492 227.676502,21.0000286 C228.632768,19.7062929 230.296827,18.0000286 232.082742,18.0000286 C233.967121,18.0000286 235.499939,19.3453471 235.499939,21.0000286 C235.499939,22.6546959 233.967121,24.0000143 232.082742,24.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(0.000000, 64.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-20"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-20"],["id","Group-43","transform","translate(152.000000, 35.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["id","LoopIn_Step03","fill-rule","nonzero"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-10"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","15.8607624","r","7.93434243"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.35996418",1,"fill-color-31"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-4"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-20"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-20"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-16"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-9"],["d","M93.2292414,91.9116485 L93.2292414,89.7922708 C93.647506,89.8022089 94.0558324,89.8022089 94.4442517,89.8022089 L94.4442517,91.9116485 L95.9779294,91.9116485 L95.9779294,89.7623948 C98.5473303,89.6229527 100.264986,88.975618 100.494057,86.5555973 C100.673282,84.6136241 99.757032,83.7471573 98.3030443,83.3986138 C99.1794183,82.9504733 99.7371558,82.1537275 99.6076827,80.8291821 C99.4383337,79.0166511 97.9497787,78.4091306 95.9778985,78.2398742 L95.9778985,75.7301945 L94.4442208,75.7301945 L94.4442208,78.1701531 C94.0458325,78.1701531 93.6375061,78.1800912 93.2292106,78.1900602 L93.2292106,75.7301945 L91.695502,75.7301945 L91.695502,78.2398742 C91.1316227,78.2569109 90.4748746,78.2485777 88.6181777,78.2398742 L88.6181777,79.8731181 C89.8290831,79.8516987 90.4644118,79.7738914 90.6099957,80.5502979 L90.6099957,87.4220333 C90.517559,88.0380413 90.0245427,87.9493391 88.926907,87.9299259 L88.6181777,89.7524258 L89.5798445,89.7528809 C91.4824304,89.7548325 91.6955329,89.7623948 91.6955329,89.7623948 L91.6955329,91.9116485 L93.2292414,91.9116485 Z M93.2591175,83.0400705 L93.2591175,79.9826533 C94.1255534,79.9826533 96.8343964,79.7137998 96.8343964,81.5163618 C96.8343964,83.2392647 94.1255843,83.0400705 93.2591175,83.0400705 Z M93.2591175,87.9398948 L93.2591175,84.5737791 C94.2948407,84.5737791 97.4665153,84.2849568 97.4665153,86.2568678 C97.4665153,88.1589961 94.2948407,87.9398948 93.2591175,87.9398948 Z","id","b","fill-rule","nonzero","transform","translate(94.567271, 83.820921) rotate(14.000000) translate(-94.567271, -83.820921) ",1,"fill-color-9"],["d","M305.611064,96.181454 L305.611064,94.0620763 C306.029328,94.0720144 306.437655,94.0720144 306.826074,94.0720144 L306.826074,96.181454 L308.359752,96.181454 L308.359752,94.0322003 C310.929153,93.8927582 312.646809,93.2454235 312.875879,90.8254028 C313.055104,88.8834296 312.138854,88.0169628 310.684867,87.6684193 C311.561241,87.2202788 312.118978,86.423533 311.989505,85.0989876 C311.820156,83.2864566 310.331601,82.678936 308.359721,82.5096797 L308.359721,80 L306.826043,80 L306.826043,82.4399586 C306.427655,82.4399586 306.019328,82.4498967 305.611033,82.4598657 L305.611033,80 L304.077324,80 L304.077324,82.5096797 C303.513445,82.5267164 302.856697,82.5183832 301,82.5096797 L301,84.1429236 C302.210905,84.1215042 302.846234,84.0436969 302.991818,84.8201034 L302.991818,91.6918387 C302.899381,92.3078468 302.406365,92.2191446 301.308729,92.1997314 L301,94.0222313 L301.961667,94.0226864 C303.864253,94.024638 304.077355,94.0322003 304.077355,94.0322003 L304.077355,96.181454 L305.611064,96.181454 Z M305.64094,87.309876 L305.64094,84.2524587 C306.507376,84.2524587 309.216219,83.9836053 309.216219,85.7861673 C309.216219,87.5090702 306.507407,87.309876 305.64094,87.309876 Z M305.64094,92.2097003 L305.64094,88.8435846 C306.676663,88.8435846 309.848338,88.5547623 309.848338,90.5266733 C309.848338,92.4288016 306.676663,92.2097003 305.64094,92.2097003 Z","id","b","fill-rule","nonzero","transform","translate(306.949093, 88.090727) rotate(14.000000) translate(-306.949093, -88.090727) ",1,"fill-color-26"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step04","transform","translate(-1799.000000, -756.000000)"],["id","LoopIn_Step04","transform","translate(1799.000000, 756.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["d","M225.805162,92.2474279 C226.071703,92.2474279 226.325569,92.1077892 226.465207,91.8666288 L232.050261,82.2197185 C232.345374,81.7151473 231.980441,81.0773212 231.393376,81.0773212 L227.731346,81.0773212 L229.083201,76.9583506 C229.210134,76.4759989 228.845202,76 228.346983,76 L223.777394,76 C223.396595,76 223.07291,76.2824384 223.022149,76.6600456 L222.006685,84.2760274 C221.946379,84.7329987 222.301798,85.1391782 222.76193,85.1391782 L226.528674,85.1391782 L225.065752,91.3112968 C224.951525,91.7936485 225.319618,92.2474279 225.805162,92.2474279 Z","id","b","fill-rule","nonzero","transform","translate(227.077378, 84.123714) rotate(14.000000) translate(-227.077378, -84.123714) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step05","transform","translate(-2386.000000, -764.000000)","fill-rule","nonzero"],["id","LoopIn_Step05","transform","translate(2386.000000, 764.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,ot,1,0,"ng-container",5)(1,nt,32,5,"ng-template",null,0,u.C5r)(3,ht,66,5,"ng-template",null,1,u.C5r)(5,oe,93,5,"ng-template",null,2,u.C5r)(7,Ye,54,5,"ng-template",null,3,u.C5r)(9,fe,51,5,"ng-template",null,4,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4),Qi=u.sdS(6),zi=u.sdS(8),It=u.sdS(10);u.Y8G("ngTemplateOutlet",1===_n.stepNumber?fi:2===_n.stepNumber?bi:3===_n.stepNumber?Qi:4===_n.stepNumber?zi:It)}},dependencies:[A.YU,A.T3,j.Lc,j.dh,ce.DJ,ce.sA,ce.UI,be.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Vt.k]}}))}return At(),we})();const gt=(At,we)=>({"small-svg":At,"large-svg":we});function Gt(At,we){1&At&&u.eu8(0)}function rt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",7)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u.nrm(8,"circle",12)(9,"path",13),u.k0s(),u.j41(10,"g",14),u.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),u.k0s()()()()(),L.joV(),u.j41(26,"div",30)(27,"mat-card-title"),u.EFF(28,"Loop Out explained."),u.k0s()(),u.j41(29,"div",31)(30,"mat-card-subtitle",32),u.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function cn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",33)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),u.nrm(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),u.k0s(),u.j41(28,"g",56),u.nrm(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),u.k0s(),u.nrm(43,"path",71),u.k0s()(),u.nrm(44,"circle",72),u.k0s()()()(),L.joV(),u.j41(45,"div",30)(46,"mat-card-title"),u.EFF(47,"Step 1: Deciding to Loop Out"),u.k0s()(),u.j41(48,"div",31)(49,"mat-card-subtitle",32),u.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Ft(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",73)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",74),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",75)(11,"g",76),u.nrm(12,"circle",77)(13,"path",78),u.j41(14,"g",79),u.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),u.k0s(),u.j41(18,"g",83),u.nrm(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),u.j41(29,"g",94)(30,"g",95),u.nrm(31,"g",96),u.k0s(),u.nrm(32,"g",97),u.k0s(),u.nrm(33,"path",98),u.k0s(),u.j41(34,"g",99)(35,"g",41)(36,"g",42),u.nrm(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),u.k0s(),u.j41(52,"g",56),u.nrm(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),u.k0s(),u.nrm(67,"path",111),u.k0s()()()()()(),L.joV(),u.j41(68,"div",30)(69,"mat-card-title"),u.EFF(70,"Step 2: Send lightning payment"),u.k0s()(),u.j41(71,"div",31)(72,"mat-card-subtitle",32),u.EFF(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Sn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",112)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),u.nrm(9,"circle",12)(10,"path",117),u.k0s(),u.j41(11,"g",14),u.nrm(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),u.k0s()(),u.j41(27,"g",119),u.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),u.k0s(),u.j41(31,"g",121),u.nrm(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),u.j41(42,"g",94)(43,"g",95),u.nrm(44,"g",96),u.k0s(),u.nrm(45,"g",97),u.k0s(),u.nrm(46,"path",123),u.k0s()()()()(),L.joV(),u.j41(47,"div",30)(48,"mat-card-title"),u.EFF(49,"Step 3: Receive funds back"),u.k0s()(),u.j41(50,"div",31)(51,"mat-card-subtitle",32),u.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Qn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",124)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),u.nrm(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),u.k0s(),u.j41(28,"g",142)(29,"g",143)(30,"g",144),u.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),u.j41(34,"g",148),u.nrm(35,"path",149),u.k0s(),u.nrm(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),u.k0s(),u.j41(45,"g",159),u.nrm(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),u.k0s(),u.nrm(59,"path",173),u.k0s()()()()()(),L.joV(),u.j41(60,"div",30)(61,"mat-card-title"),u.EFF(62,"Done!"),u.k0s()(),u.j41(63,"div",31)(64,"mat-card-subtitle",32),u.EFF(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}let h=(()=>{var At;class we{constructor(Lt){this.commonService=Lt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.bkB,this.screenSize="",this.screenSizeEnum=O.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Lt){2===Lt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Lt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopOut_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopOut_Step02","transform","translate(-540.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(540.000000, 210.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["fxFlex","30","viewBox","0 0 373 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","LoopOut_Step03","transform","translate(-460.000000, -210.000000)"],["id","Loop_Step03","transform","translate(460.000000, 210.000000)"],["id","Oval","fill-rule","nonzero","cx","330.487742","cy","57.4877419","r","42.4877419",1,"fill-color-2"],["d","M345.082742,43.5000036 C349.446821,43.5000036 352.999928,40.1343958 352.999928,36.0000215 C352.999928,31.8656472 349.446821,28.5000393 345.082742,28.5000393 C341.98433,28.5000393 339.560889,30.4359631 337.999964,32.1843872 C336.43904,30.4359631 334.015599,28.5000393 330.917187,28.5000393 C326.553107,28.5000393 323,31.8656472 323,36.0000215 C323,40.1343958 326.553107,43.5000036 330.917187,43.5000036 C334.015599,43.5000036 336.43904,41.5640798 337.999964,39.8156557 C339.560889,41.5640798 341.98433,43.5000036 345.082742,43.5000036 Z M330.917187,39.0000143 C329.032807,39.0000143 327.499989,37.6546959 327.499989,36.0000286 C327.499989,34.3453471 329.032807,33.0000286 330.917187,33.0000286 C332.707771,33.0000286 334.357776,34.6921938 335.323426,36.0000286 C334.36716,37.2937501 332.703102,39.0000143 330.917187,39.0000143 Z M345.082742,39.0000143 C343.292157,39.0000143 341.642152,37.3078492 340.676502,36.0000286 C341.632768,34.7062929 343.296827,33.0000286 345.082742,33.0000286 C346.967121,33.0000286 348.499939,34.3453471 348.499939,36.0000286 C348.499939,37.6546959 346.967121,39.0000143 345.082742,39.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(113.000000, 79.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-22"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(265.000000, 50.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-3"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["d","M46.60483,51.432122 C46.8713708,51.432122 47.1252368,51.2924832 47.2648756,51.0513229 L52.8499289,41.4044125 C53.145042,40.8998413 52.7801095,40.2620153 52.1930443,40.2620153 L48.5310139,40.2620153 L49.8828693,36.1430446 C50.0098023,35.6606929 49.6448699,35.184694 49.1466515,35.184694 L44.5770624,35.184694 C44.1962633,35.184694 43.8725779,35.4671324 43.8218171,35.8447396 L42.8063528,43.4607214 C42.7460473,43.9176927 43.1014659,44.3238722 43.5615982,44.3238722 L47.3283421,44.3238722 L45.8654203,50.4959909 C45.751193,50.9783426 46.1192864,51.432122 46.60483,51.432122 Z","id","b","fill-rule","nonzero","transform","translate(47.877046, 43.308408) rotate(14.000000) translate(-47.877046, -43.308408) ",1,"fill-color-12"],["id","Group-34","fill-rule","nonzero"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","17.5648113","r","8.78679245"],["id","Oval","cx","76.317438","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-8"],["id","Path","opacity","0.222721354","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-18"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-8"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-14"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step04","transform","translate(-503.000000, -212.000000)"],["id","Loop_Step04","transform","translate(503.000000, 212.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M46.519593,50.6740439 L46.519593,48.5460252 C46.9395628,48.5560039 47.349554,48.5560039 47.739557,48.5560039 L47.739557,50.6740439 L49.2794877,50.6740439 L49.2794877,48.5160274 C51.8593644,48.3760168 53.5840235,47.7260428 53.8140277,45.2961554 C53.9939838,43.3462645 53.0739982,42.476265 51.6140824,42.1263004 C52.4940295,41.6763328 53.054041,40.8763386 52.92404,39.5463928 C52.7540005,37.7264719 51.2593765,37.1164744 49.2794567,36.9465279 L49.2794567,34.4266159 L47.739526,34.4266159 L47.739526,36.8765226 C47.3395134,36.8765226 46.9295222,36.8865012 46.519562,36.8965108 L46.519562,34.4266159 L44.9796003,34.4266159 L44.9796003,36.9465279 C44.413422,36.9636341 43.7539962,36.9552669 41.8897293,36.9465279 L41.8897293,38.5864308 C43.1055717,38.564924 43.7434908,38.4867995 43.8896683,39.2663716 L43.8896683,46.1661239 C43.7968547,46.7846435 43.3018283,46.6955796 42.1997174,46.6760872 L41.8897293,48.5060178 C44.6975648,48.5060178 44.9796313,48.5160274 44.9796313,48.5160274 L44.9796313,50.6740439 L46.519593,50.6740439 Z M46.5495908,41.7662953 L46.5495908,38.6964125 C47.4195593,38.6964125 50.1394466,38.4264629 50.1394466,40.2363742 C50.1394466,41.9663016 47.4195903,41.7662953 46.5495908,41.7662953 Z M46.5495908,46.6860969 L46.5495908,43.306257 C47.5895368,43.306257 50.7741427,43.0162572 50.7741427,44.9962079 C50.7741427,46.9060914 47.5895368,46.6860969 46.5495908,46.6860969 Z","id","B","fill-rule","nonzero","transform","translate(47.863077, 42.550330) rotate(14.000000) translate(-47.863077, -42.550330) ",1,"fill-color-29"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step05","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step05","transform","translate(542.000000, 210.000000)"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,Gt,1,0,"ng-container",5)(1,rt,32,5,"ng-template",null,0,u.C5r)(3,cn,51,5,"ng-template",null,1,u.C5r)(5,Ft,74,5,"ng-template",null,2,u.C5r)(7,Sn,53,5,"ng-template",null,3,u.C5r)(9,Qn,66,5,"ng-template",null,4,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4),Qi=u.sdS(6),zi=u.sdS(8),It=u.sdS(10);u.Y8G("ngTemplateOutlet",1===_n.stepNumber?fi:2===_n.stepNumber?bi:3===_n.stepNumber?Qi:4===_n.stepNumber?zi:It)}},dependencies:[A.YU,A.T3,j.Lc,j.dh,ce.DJ,ce.sA,ce.UI,be.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Vt.k]}}))}return At(),we})();const jt=["stepper"],Ue=()=>[1,2,3,4,5],wt=(At,we)=>({"dot-primary":At,"dot-primary-lighter":we});function pt(At,we){if(1&At&&(u.j41(0,"div",49)(1,"p",50)(2,"strong"),u.EFF(3,"Channel Peer:\xa0"),u.k0s(),u.EFF(4),u.nI1(5,"titlecase"),u.k0s(),u.j41(6,"p",51)(7,"strong"),u.EFF(8,"Channel ID:\xa0"),u.k0s(),u.EFF(9),u.k0s(),u.nrm(10,"p",51),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(4),u.JRh(u.bMT(5,2,ae.channel.remote_alias)),u.R7$(5),u.JRh(ae.channel.chan_id)}}function Pt(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.JRh(ae.inputFormLabel)}}function gn(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Amount is required."),u.k0s())}function ei(At,we){if(1&At&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"number"),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Amount must be greater than or equal to ",u.bMT(2,1,ae.minQuote.amount),".")}}function vi(At,we){if(1&At&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"number"),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Amount must be less than or equal to ",u.bMT(2,1,ae.maxQuote.amount),".")}}function Ni(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Confirmation target is required."),u.k0s())}function kn(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Confirmation target must be a positive number."),u.k0s())}function Ri(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Percentage is required."),u.k0s())}function vt(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Percentage must be a positive number."),u.k0s())}function ee(At,we){if(1&At&&(u.j41(0,"mat-form-field",51)(1,"mat-label"),u.EFF(2,"Max Off-chain Routing Fee (%)"),u.k0s(),u.nrm(3,"input",52),u.DNE(4,Ri,2,0,"mat-error",26)(5,vt,2,0,"mat-error",26),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(3),u.Y8G("step",1),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.routingFeePercent.errors?null:ae.inputFormGroup.controls.routingFeePercent.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.routingFeePercent.errors?null:ae.inputFormGroup.controls.routingFeePercent.errors.min)}}function ye(At,we){1&At&&(u.j41(0,"div",53)(1,"mat-slide-toggle",54),u.EFF(2,"Fast"),u.k0s(),u.j41(3,"mat-icon",55),u.EFF(4,"info_outline"),u.k0s()())}function ke(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.JRh(ae.quoteFormLabel)}}function Se(At,we){1&At&&(u.j41(0,"p",56)(1,"mat-icon",57),u.EFF(2,"close"),u.k0s(),u.EFF(3,"Local balance amount is insufficient for swap."),u.k0s())}function ge(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",58),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onValidateAmount())}),u.EFF(1,"Next"),u.k0s()}}function N(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",59),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onLoop())}),u.EFF(1),u.k0s()}if(2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Initiate ",ae.loopDirectionCaption)}}function Z(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(3);u.JRh(ae.addressFormLabel)}}function Me(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Address is required."),u.k0s())}function at(At,we){if(1&At){const ae=u.RV6();u.j41(0,"mat-step",16)(1,"form",17),u.DNE(2,Z,1,1,"ng-template",18),u.j41(3,"div",60)(4,"mat-radio-group",61),u.bIt("change",function(Ht){L.eBV(ae);const _n=u.XpG(2);return L.Njj(_n.onAddressTypeChange(Ht))}),u.j41(5,"mat-radio-button",62),u.EFF(6,"Node Local Address"),u.k0s(),u.j41(7,"mat-radio-button",63),u.EFF(8,"External Address"),u.k0s()(),u.j41(9,"mat-form-field",64)(10,"mat-label"),u.EFF(11,"Address"),u.k0s(),u.nrm(12,"input",65),u.DNE(13,Me,2,0,"mat-error",26),u.k0s()(),u.j41(14,"div",30)(15,"button",66),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onLoop())}),u.EFF(16),u.k0s()()()()}if(2&At){const ae=u.XpG(2);u.Y8G("stepControl",ae.addressFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.addressFormGroup),u.R7$(11),u.Y8G("required","external"===ae.addressFormGroup.controls.addressType.value),u.R7$(),u.Y8G("ngIf",null==ae.addressFormGroup.controls.address.errors?null:ae.addressFormGroup.controls.address.errors.required),u.R7$(3),u.SpI("Initiate ",ae.loopDirectionCaption)}}function qe(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.SpI("",ae.loopDirectionCaption," Status")}}function pn(At,we){if(1&At&&(u.j41(0,"mat-icon",67),u.EFF(1),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.JRh(ae.loopStatus&&null!=ae.loopStatus&&ae.loopStatus.id_bytes?"check":"close")}}function Je(At,we){1&At&&u.nrm(0,"div")}function Be(At,we){1&At&&u.nrm(0,"mat-progress-bar",68)}function ut(At,we){if(1&At&&(u.j41(0,"h4",69),u.EFF(1),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.JRh(ae.loopStatus&&ae.loopStatus.error?ae.loopDirectionCaption+" failed.":ae.loopStatus&&ae.loopStatus.id_bytes&&ae.channel?ae.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":ae.loopDirectionCaption+" request placed successfully.")}}function Ge(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",70),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.goToLoop())}),u.EFF(1,"Check Status"),u.k0s()}}function Ot(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",71),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onRestart())}),u.EFF(1,"Start Again"),u.k0s()}}function se(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),u.EFF(5),u.k0s()(),u.j41(6,"div",9)(7,"button",10),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.showInfo())}),u.EFF(8,"?"),u.k0s(),u.j41(9,"button",11),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.onClose())}),u.EFF(10,"X"),u.k0s()()(),u.j41(11,"mat-card-content",12)(12,"div",13),u.DNE(13,pt,11,4,"div",14),u.j41(14,"mat-vertical-stepper",15,1),u.bIt("selectionChange",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.stepSelectionChanged(Ht))}),u.j41(16,"mat-step",16)(17,"form",17),u.DNE(18,Pt,1,1,"ng-template",18),u.j41(19,"div",19),u.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",21),u.k0s(),u.j41(22,"div",22)(23,"mat-form-field",23)(24,"mat-label"),u.EFF(25,"Amount"),u.k0s(),u.nrm(26,"input",24),u.j41(27,"mat-hint"),u.EFF(28),u.nI1(29,"number"),u.nI1(30,"number"),u.k0s(),u.j41(31,"span",25),u.EFF(32,"Sats"),u.k0s(),u.DNE(33,gn,2,0,"mat-error",26)(34,ei,3,3,"mat-error",26)(35,vi,3,3,"mat-error",26),u.k0s(),u.j41(36,"mat-form-field",23)(37,"mat-label"),u.EFF(38,"Sweep Confirmation Target"),u.k0s(),u.nrm(39,"input",27),u.DNE(40,Ni,2,0,"mat-error",26)(41,kn,2,0,"mat-error",26),u.k0s(),u.DNE(42,ee,6,3,"mat-form-field",28),u.k0s(),u.DNE(43,ye,5,0,"div",29),u.j41(44,"div",30)(45,"button",31),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.onEstimateQuote())}),u.EFF(46,"Estimate Quote"),u.k0s()()()(),u.j41(47,"mat-step",16)(48,"form",17),u.DNE(49,ke,1,1,"ng-template",18),u.nrm(50,"rtl-loop-quote",32),u.DNE(51,Se,4,0,"p",33),u.j41(52,"div",30),u.DNE(53,ge,2,0,"button",34)(54,N,2,1,"button",35),u.k0s()()(),u.DNE(55,at,17,6,"mat-step",36),u.j41(56,"mat-step",37)(57,"form",17),u.DNE(58,qe,1,1,"ng-template",18),u.j41(59,"div",38)(60,"mat-expansion-panel",39)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",40),u.EFF(64),u.DNE(65,pn,2,1,"mat-icon",41),u.k0s()()(),u.DNE(66,Je,1,0,"div",42),u.k0s(),u.DNE(67,Be,1,0,"mat-progress-bar",43),u.k0s(),u.DNE(68,ut,2,1,"h4",44),u.j41(69,"div",30),u.DNE(70,Ge,2,0,"button",45)(71,Ot,2,0,"button",46),u.k0s()()()(),u.j41(72,"div",47)(73,"button",48),u.EFF(74,"Close"),u.k0s()()()()()()}if(2&At){const ae=u.XpG(),Lt=u.sdS(2);u.Y8G("@opacityAnimation",void 0),u.R7$(3),u.Y8G("ngClass",ae.screenSize===ae.screenSizeEnum.XS||ae.screenSize===ae.screenSizeEnum.SM?"flex-83":"flex-91"),u.R7$(2),u.JRh(ae.channel?"Channel "+ae.loopDirectionCaption:ae.loopDirectionCaption),u.R7$(),u.Y8G("ngClass",ae.screenSize===ae.screenSizeEnum.XS||ae.screenSize===ae.screenSizeEnum.SM?"flex-17":"flex-9"),u.R7$(7),u.Y8G("ngIf",ae.channel),u.R7$(),u.Y8G("linear",!0),u.R7$(2),u.Y8G("stepControl",ae.inputFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.inputFormGroup),u.R7$(3),u.Y8G("quote",ae.minQuote)("panelExpanded",!1)("showPanel",!0),u.R7$(),u.Y8G("quote",ae.maxQuote)("panelExpanded",!1)("showPanel",!0),u.R7$(2),u.Y8G("ngClass",ae.direction===ae.LoopTypeEnum.LOOP_OUT?"flex-35":"flex-48"),u.R7$(3),u.Y8G("step",1e3),u.R7$(2),u.Lme("Range: ",u.bMT(29,49,ae.minQuote.amount),"-",u.bMT(30,51,ae.maxQuote.amount)),u.R7$(5),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.min),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.max),u.R7$(),u.Y8G("ngClass",ae.direction===ae.LoopTypeEnum.LOOP_OUT?"flex-30":"flex-48"),u.R7$(3),u.Y8G("step",1),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.sweepConfTarget.errors?null:ae.inputFormGroup.controls.sweepConfTarget.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.sweepConfTarget.errors?null:ae.inputFormGroup.controls.sweepConfTarget.errors.min),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(4),u.Y8G("stepControl",ae.quoteFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.quoteFormGroup),u.R7$(2),u.Y8G("quote",ae.quote)("showPanel",!1),u.R7$(),u.Y8G("ngIf",ae.inputFormGroup.controls.amount.value>ae.localBalanceToCompare),u.R7$(2),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_IN),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("stepControl",ae.statusFormGroup),u.R7$(),u.Y8G("formGroup",ae.statusFormGroup),u.R7$(3),u.Y8G("expanded",!!ae.loopStatus),u.R7$(4),u.JRh(ae.loopStatus?ae.loopStatus.id_bytes?ae.loopDirectionCaption+" request details":ae.loopDirectionCaption+" error details":"Waiting for "+ae.loopDirectionCaption+" request..."),u.R7$(),u.Y8G("ngIf",ae.loopStatus),u.R7$(),u.Y8G("ngIf",!ae.loopStatus)("ngIfElse",Lt),u.R7$(),u.Y8G("ngIf",!ae.loopStatus),u.R7$(),u.Y8G("ngIf",ae.loopStatus),u.R7$(2),u.Y8G("ngIf",ae.loopStatus&&ae.loopStatus.id_bytes&&ae.channel),u.R7$(),u.Y8G("ngIf",ae.loopStatus&&(ae.loopStatus.error||!ae.loopStatus.id_bytes)),u.R7$(2),u.Y8G("mat-dialog-close",!1)}}function We(At,we){if(1&At&&u.nrm(0,"rtl-loop-status",72),2&At){const ae=u.XpG();u.Y8G("loopStatus",ae.loopStatus)}}function bt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"rtl-loop-out-info-graphics",88),u.mxI("stepNumberChange",function(Ht){L.eBV(ae);const _n=u.XpG(2);return u.DH7(_n.stepNumber,Ht)||(_n.stepNumber=Ht),L.Njj(Ht)}),u.k0s()}if(2&At){const ae=u.XpG(2);u.Y8G("animationDirection",ae.animationDirection),u.R50("stepNumber",ae.stepNumber)}}function tn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"rtl-loop-in-info-graphics",88),u.mxI("stepNumberChange",function(Ht){L.eBV(ae);const _n=u.XpG(2);return u.DH7(_n.stepNumber,Ht)||(_n.stepNumber=Ht),L.Njj(Ht)}),u.k0s()}if(2&At){const ae=u.XpG(2);u.Y8G("animationDirection",ae.animationDirection),u.R50("stepNumber",ae.stepNumber)}}function on(At,we){if(1&At){const ae=u.RV6();u.j41(0,"span",89),u.bIt("click",function(){const Ht=L.eBV(ae).$implicit,_n=u.XpG(2);return L.Njj(_n.onStepChanged(Ht))}),u.nrm(1,"p",90),u.k0s()}if(2&At){const ae=we.$implicit,Lt=u.XpG(2);u.R7$(),u.Y8G("ngClass",u.l_i(1,wt,Lt.stepNumber===ae,Lt.stepNumber!==ae))}}function un(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",91),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onReadMore())}),u.EFF(1,"Read More"),u.k0s()}}function Nt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",92),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(4))}),u.EFF(1,"Back"),u.k0s()}}function dn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",93),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(1,"Close"),u.k0s()}}function xn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",94),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(1,"Close"),u.k0s()}}function Jn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",95),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(Ht.stepNumber-1))}),u.EFF(1,"Back"),u.k0s()}}function xi(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",96),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(Ht.stepNumber+1))}),u.EFF(1,"Next"),u.k0s()}}function Yi(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",73)(1,"div",19)(2,"mat-card-header",74)(3,"div",75),u.nrm(4,"span",8),u.k0s(),u.j41(5,"div",76)(6,"button",11),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(7,"X"),u.k0s()()(),u.j41(8,"mat-card-content",77),u.DNE(9,bt,1,2,"rtl-loop-out-info-graphics",78)(10,tn,1,2,"rtl-loop-in-info-graphics",78),u.k0s(),u.j41(11,"div",79),u.DNE(12,on,2,4,"span",80),u.k0s(),u.j41(13,"div",81),u.DNE(14,un,2,0,"button",82)(15,Nt,2,0,"button",83)(16,dn,2,0,"button",84)(17,xn,2,0,"button",85)(18,Jn,2,0,"button",86)(19,xi,2,0,"button",87),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@opacityAnimation",void 0),u.R7$(9),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_IN),u.R7$(2),u.Y8G("ngForOf",u.lJ4(10,Ue)),u.R7$(2),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",ae.stepNumber<5),u.R7$(),u.Y8G("ngIf",ae.stepNumber>1&&ae.stepNumber<5),u.R7$(),u.Y8G("ngIf",ae.stepNumber<5)}}let Tt=(()=>{var At;class we{constructor(Lt,Ht,_n,fi,bi,Qi,zi,It,an){this.dialogRef=Lt,this.data=Ht,this.store=_n,this.loopService=fi,this.formBuilder=bi,this.decimalPipe=Qi,this.logger=zi,this.router=It,this.commonService=an,this.faInfoCircle=w.iW_,this.LoopTypeEnum=O.C7,this.direction=O.C7.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=O.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||O.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===O.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[i.k0.required,i.k0.min(this.minQuote.amount||0),i.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[i.k0.required,i.k0.min(1)]],routingFeePercent:[2,[i.k0.required,i.k0.min(0)]],fast:[!1,[i.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[i.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===O.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(f.BM).pipe((0,v.Q)(this.unSubs[6])).subscribe(Lt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Lt.lightningBalance&&Lt.lightningBalance.local?+Lt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,v.Q)(this.unSubs[4])).subscribe(Lt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===O.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,v.Q)(this.unSubs[5])).subscribe(Lt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Lt){"external"===Lt.value?(this.addressFormGroup.controls.address.setValidators([i.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===O.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===O.C7.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===O.C7.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,v.Q)(this.unSubs[0])).subscribe({next:Lt=>{this.loopStatus=Lt,this.loopService.listSwaps(),this.flgEditable=!0},error:Lt=>{this.loopStatus={error:Lt},this.flgEditable=!0,this.logger.error(Lt)}});else{const Lt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Ht="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",_n=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,Lt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),_n,Ht).pipe((0,v.Q)(this.unSubs[1])).subscribe({next:fi=>{this.loopStatus=fi,this.loopService.listSwaps(),this.flgEditable=!0},error:fi=>{this.loopStatus={error:fi},this.flgEditable=!0,this.logger.error(fi)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const Lt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===O.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Lt).pipe((0,v.Q)(this.unSubs[2])).subscribe(Ht=>{this.quote=Ht,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Lt).pipe((0,v.Q)(this.unSubs[3])).subscribe(Ht=>{this.quote=Ht,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(Lt){switch(Lt.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===O.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===O.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===O.C7.LOOP_OUT&&1!==Lt.selectedIndex&&Lt.selectedIndex{Lt.next(null),Lt.complete()})}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(T.CP),u.rXU(T.Vh),u.rXU(C.il),u.rXU(B.Q),u.rXU(i.ze),u.rXU(A.QX),u.rXU(Pe.gP),u.rXU(le.Ix),u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-modal"]],viewQuery:function(Ht,_n){if(1&Ht&&u.GBs(jt,5),2&Ht){let fi;u.mGM(fi=u.lsd())&&(_n.stepper=fi.first)}},standalone:!1,decls:4,vars:2,consts:[["loopStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"ngClass"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"ngClass"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["termCaption","min",3,"quote","panelExpanded","showPanel"],["termCaption","max",3,"quote","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"ngClass"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Ht,_n){1&Ht&&u.DNE(0,se,75,53,"div",2)(1,We,1,1,"ng-template",null,0,u.C5r)(3,Yi,20,11,"div",3),2&Ht&&(u.Y8G("ngIf",!_n.flgShowInfo),u.R7$(3),u.Y8G("ngIf",_n.flgShowInfo))},dependencies:[A.YU,A.Sq,A.bT,i.qT,i.me,i.Q0,i.BC,i.cb,i.YS,i.j4,i.JD,T.tx,Ae.$z,j.m2,j.MM,W.GK,W.Z2,W.WN,G.An,re.fg,xe.rl,xe.nJ,xe.MV,xe.TL,xe.yw,Ee.HM,V.VT,V._g,ce.DJ,ce.sA,ce.UI,be.PW,ne.sG,J.oV,De.V5,De.Ti,De.M6,Re.N,F,Ke,Qe,h,A.QX,A.PV],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[e.C]}}))}return At(),we})()},13(Zt,pe,l){"use strict";l.d(pe,{X:()=>f});var i=l(5383),d=l(3664),v=l(3694),T=l(60),w=l(8834),e=l(5596),O=l(2920);let f=(()=>{var u;class L{constructor(B){this.router=B,this.faTimes=i.GRI}goToHelp(){this.router.navigate(["/help"])}static#e=u=()=>(this.\u0275fac=function(A){return new(A||L)(d.rXU(v.Ix))},this.\u0275cmp=d.VBU({type:L,selectors:[["rtl-not-found"]],standalone:!1,decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(A,Pe){1&A&&(d.j41(0,"div",0),d.nrm(1,"fa-icon",1),d.j41(2,"span",2),d.EFF(3,"Page Not Found"),d.k0s()(),d.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),d.EFF(9,"This page does not exist!"),d.k0s(),d.j41(10,"span",7)(11,"button",8),d.bIt("click",function(){return Pe.goToHelp()}),d.EFF(12,"Go To Help"),d.k0s()()()()()()),2&A&&(d.R7$(),d.Y8G("icon",Pe.faTimes))},dependencies:[T.aY,w.$z,e.RN,e.m2,O.DJ,O.sA,O.UI],encapsulation:2}))}return u(),L})()},9587(Zt,pe,l){"use strict";l.d(pe,{N:()=>d});var i=l(3664);let d=(()=>{var v;class T{constructor(e){this.el=e}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=v=()=>(this.\u0275fac=function(O){return new(O||T)(i.rXU(i.aKT))},this.\u0275dir=i.FsC({type:T,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"},standalone:!1}))}return v(),T})()},9157(Zt,pe,l){"use strict";l.d(pe,{U:()=>d});var i=l(3664);let d=(()=>{var v;class T{constructor(){this.copied=new i.bkB}onClick(e){e.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const e=document.createElement("textarea");e.value=this.payload,document.body.appendChild(e),e.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(e)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(e=>{this.copied.emit("Error could not copy text: "+JSON.stringify(e))})}static#e=v=()=>(this.\u0275fac=function(O){return new(O||T)},this.\u0275dir=i.FsC({type:T,selectors:[["","rtlClipboard",""]],hostBindings:function(O,f){1&O&&i.bIt("click",function(L){return f.onClick(L)})},inputs:{payload:"payload"},outputs:{copied:"copied"},standalone:!1}))}return v(),T})()},92(Zt,pe,l){"use strict";l.d(pe,{z:()=>v});var i=l(9417),d=l(3664);let v=(()=>{var T;class w{validate(O){return this.max?i.k0.max(+this.max)(O):null}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275dir=d.FsC({type:w,selectors:[["input","max",""]],inputs:{max:"max"},standalone:!1,features:[d.Jv_([{provide:i.cz,useExisting:w,multi:!0}])]}))}return T(),w})()},6114(Zt,pe,l){"use strict";l.d(pe,{V:()=>v});var i=l(9417),d=l(3664);let v=(()=>{var T;class w{validate(O){return this.min?i.k0.min(+this.min)(O):null}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275dir=d.FsC({type:w,selectors:[["input","min",""]],inputs:{min:"min"},standalone:!1,features:[d.Jv_([{provide:i.cz,useExisting:w,multi:!0}])]}))}return T(),w})()},2929(Zt,pe,l){"use strict";l.d(pe,{Qu:()=>T,VD:()=>w,ZE:()=>v,gZ:()=>d});var i=l(3664);let d=(()=>{var e;class O{transform(u,L){return u?.replace(/^[0]+/g,"")}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"removeleadingzeros",type:O,pure:!0,standalone:!1}))}return e(),O})(),v=(()=>{var e;class O{transform(u,L){return u?.replace(/(?:^\w|[A-Z]|\b\w)/g,(C,B)=>C.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelcase",type:O,pure:!0,standalone:!1}))}return e(),O})(),T=(()=>{var e;class O{transform(u,L,C){return u.replace(/(?:^\w|[A-Z]|\b\w)/g,(B,A)=>" "+B.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelCaseWithSpaces",type:O,pure:!0,standalone:!1}))}return e(),O})(),w=(()=>{var e;class O{transform(u,L,C){return u=u?u.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",L&&(u=u.replace(new RegExp(L,"g")," ")),C&&(u=u.replace(new RegExp(C,"g")," ")),u.replace(/(?:^\w|[A-Z]|\b\w)/g,(B,A)=>B.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelcaseWithReplace",type:O,pure:!0,standalone:!1}))}return e(),O})()},7186(Zt,pe,l){"use strict";l.d(pe,{Wz:()=>O,fe:()=>f,jn:()=>e,q_:()=>w});var i=l(2615),d=l(3694),v=l(3202),T=l(6354);function w(){return()=>{const u=(0,i.WQX)(d.Ix),L=(0,i.WQX)(d.nX),C=(0,i.WQX)(v.Q);return!(!C.getItem("token")||L.snapshot.url&&L.snapshot.url.length&&"settings"!==L.snapshot.url[0].path&&"auth"!==L.snapshot.url[0].path&&"true"===C.getItem("defaultPassword")&&(u.navigate(["/settings/auth"]),1))}}function e(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.lndUnlocked))}function O(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.clnUnlocked))}function f(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.eclUnlocked))}},2571(Zt,pe,l){"use strict";l.d(pe,{h:()=>Pe});var i=l(1413),d=l(4412),v=l(7673),T=l(8810),w=l(9437),e=l(5558),O=l(6977),f=l(4416),u=l(2615),L=l(1534),C=l(8570),B=l(2200),A=l(345);let Pe=(()=>{var le;class Ce{constructor(j,W,G,re){this.dataService=j,this.logger=W,this.datePipe=G,this.sanitizer=re,this.currencyUnits=[],this.CurrencyUnitEnum=f.BQ,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=f.wn.UN_INITIATED,this.screenSize=f.f7.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new d.t(this.containerSize),this.unSubs=[new i.B,new i.B,new i.B]}getScreenSize(){return this.screenSize}setScreenSize(j){this.screenSize=j}getContainerSize(){return this.containerSize}setContainerSize(j,W){this.containerSize={width:j,height:W},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(j,W,G,re="asc"){return j.sort("number"===G?"desc"===re?(xe,Ee)=>+xe[W]>+Ee[W]?-1:1:(xe,Ee)=>+xe[W]>+Ee[W]?1:-1:"desc"===re?(xe,Ee)=>xe[W]>Ee[W]?-1:1:(xe,Ee)=>xe[W]>Ee[W]?1:-1)}sortDescByKey(j,W){return j.sort((G,re)=>{const xe=+G[W],Ee=+re[W];return xe>Ee?-1:xe{const xe=+G[W],Ee=+re[W];return xeEe?1:0})}camelCase(j){return j?.replace(/(?:^\w|[A-Z]|\b\w)/g,(W,G)=>W.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(j,W,G){return W&&G&&""!==W&&""!==G&&(j=j?.replace(new RegExp(W,"g"),G)),j.indexOf("!\n")>0||j.indexOf(".\n")>0?j.split("\n")?.reduce((re,xe)=>re+xe.charAt(0).toUpperCase()+xe.substring(1).toLowerCase()+"\n",""):j.indexOf(" ")>0?j.split(" ")?.reduce((re,xe)=>re+xe.charAt(0).toUpperCase()+xe.substring(1).toLowerCase()+" ",""):j.charAt(0).toUpperCase()+j.substring(1).toLowerCase()}convertCurrency(j,W,G,re,xe){const Ee=(new Date).valueOf();try{return xe&&re&&(W===f.BQ.OTHER||G===f.BQ.OTHER)?this.ratesAPIStatus!==f.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&Ee(this.ratesAPIStatus=f.wn.COMPLETED,this.conversionData.data=V&&"object"==typeof V?V:V&&"string"==typeof V?JSON.parse(V):{},this.conversionData.last_fetched=Ee,(0,v.of)(this.convertWithFiat(j,W,re)))),(0,w.W)(V=>(this.ratesAPIStatus=f.wn.ERROR,(0,T.$)(()=>"Currency Conversion Error."))))):(0,v.of)(this.conversionData.data&&this.conversionData.last_fetched&&Ee"Currency Conversion Error.")}}convertWithoutFiat(j,W){const G={};switch(G[f.BQ.SATS]=0,G[f.BQ.BTC]=0,W){case f.BQ.SATS:G[f.BQ.SATS]=j,G[f.BQ.BTC]=1e-8*j;break;case f.BQ.BTC:G[f.BQ.SATS]=1e8*j,G[f.BQ.BTC]=j}return G}convertWithFiat(j,W,G){const re={unit:G,iconType:"FA",symbol:null};if(G){const xe=(0,f.Zo)(this.conversionData.data[G].symbol);re.iconType=xe.iconType,re.symbol=xe&&"SVG"===xe.iconType&&xe.symbol&&"string"==typeof xe.symbol?this.sanitizer.bypassSecurityTrustHtml(xe.symbol):xe.symbol}switch(re[f.BQ.SATS]=0,re[f.BQ.BTC]=0,re[f.BQ.OTHER]=0,W){case f.BQ.SATS:re[f.BQ.SATS]=j,re[f.BQ.BTC]=1e-8*j,re[f.BQ.OTHER]=1e-8*j*this.conversionData.data[G].last;break;case f.BQ.BTC:re[f.BQ.SATS]=1e8*j,re[f.BQ.BTC]=j,re[f.BQ.OTHER]=j*this.conversionData.data[G].last;break;case f.BQ.OTHER:re[f.BQ.SATS]=j/this.conversionData.data[G].last*1e8,re[f.BQ.BTC]=j/this.conversionData.data[G].last,re[f.BQ.OTHER]=j}return re}convertTime(j,W,G){switch(W){case f.F7.SECS:switch(G){case f.F7.MINS:j/=60;break;case f.F7.HOURS:j/=f.bz;break;case f.F7.DAYS:j/=24*f.bz}break;case f.F7.MINS:switch(G){case f.F7.SECS:j*=60;break;case f.F7.HOURS:j/=60;break;case f.F7.DAYS:j/=1440}break;case f.F7.HOURS:switch(G){case f.F7.SECS:j*=f.bz;break;case f.F7.MINS:j*=60;break;case f.F7.DAYS:j/=24}break;case f.F7.DAYS:switch(G){case f.F7.SECS:j=j*f.bz*24;break;case f.F7.MINS:j=60*j*24;break;case f.F7.HOURS:j*=24}}return j}downloadFile(j,W,G=".json",re=".csv"){let xe=new Blob;xe=".json"===G?new Blob(["\ufeff"+this.convertToCSV(j)],{type:"text/csv;charset=utf-8;"}):new Blob([j.toString()],{type:"text/plain;charset=utf-8"});const Ee=document.createElement("a"),V=URL.createObjectURL(xe);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&Ee.setAttribute("target","_blank"),Ee.setAttribute("href",V),Ee.setAttribute("download",W+re),Ee.style.visibility="hidden",document.body.appendChild(Ee),Ee.click(),document.body.removeChild(Ee)}convertToCSV(j){const W=[];let G="",re="",xe="";return"object"!=typeof j&&(j=JSON.parse(j)),j.forEach((V,ce)=>{for(const be in V)W.findIndex(ne=>ne===be)<0&&W.push(be)}),xe=W.join(",")+"\r\n",j.forEach(V=>{G="",W.forEach(ce=>{if(V.hasOwnProperty(ce))if(Array.isArray(V[ce]))re="",V[ce].forEach((be,ne)=>{re+="object"==typeof be?"("+JSON.stringify(be)?.replace(/\,/g,";")+")":"("+be+")"}),G+=re+",";else if("object"==typeof V[ce])G+=JSON.stringify(V[ce])?.replace(/\,/g,";")+",";else if(ce.includes("timestamp")||ce.includes("date"))try{switch(V[ce].toString().length){case 10:G+=this.datePipe.transform(new Date(1e3*V[ce]),"dd/MMM/y HH:mm")+",";break;case 13:G+=this.datePipe.transform(new Date(V[ce]),"dd/MMM/y HH:mm")+",";break;default:G+=V[ce]+","}}catch{G+=V[ce]+","}else G+=V[ce]+",";else G+=","}),xe+=G.slice(0,-1)+"\r\n"}),xe}isVersionCompatible(j,W){if(j){const G=j.match(/v?(?\d+(?:\.\d+)*)/);if(G&&G.groups&&G.groups.version){this.logger.info("Current Version: "+G.groups.version),this.logger.info("Checking Compatiblility with Version: "+W);const re=G.groups.version.split(".")||[],xe=W.split(".");return+re[0]>+xe[0]||+re[0]==+xe[0]&&+re[1]>+xe[1]||+re[0]==+xe[0]&&+re[1]==+xe[1]&&+re[2]>=+xe[2]}return this.logger.error("Invalid Version String: "+j),!1}return!1}extractErrorMessage(j,W="Unknown Error."){const G=this.titleCase(j.error&&j.error.text&&"string"==typeof j.error.text&&j.error.text.includes('')?"API Route Does Not Exist.":j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.error&&"string"==typeof j.error.error.error.error.error?j.error.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&"string"==typeof j.error.error.error.error?j.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&"string"==typeof j.error.error.error?j.error.error.error:j.error&&j.error.error&&"string"==typeof j.error.error?j.error.error:j.error&&"string"==typeof j.error?j.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.message&&"string"==typeof j.error.error.error.error.message?j.error.error.error.error.message:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.message&&"string"==typeof j.error.error.error.message?j.error.error.error.message:j.error&&j.error.error&&j.error.error.message&&"string"==typeof j.error.error.message?j.error.error.message:j.error&&j.error.message&&"string"==typeof j.error.message?j.error.message:j.message&&"string"==typeof j.message?j.message:W);return this.logger.info("Error Message: "+G),G}extractErrorCode(j,W=500){const G=j.error&&j.error.error&&j.error.error.message&&j.error.error.message.code?j.error.error.message.code:j.error&&j.error.error&&j.error.error.code?j.error.error.code:j.error&&j.error.code?j.error.code:j.code?j.code:j.status?j.status:W;return this.logger.info("Error Code: "+G),G}extractErrorNumber(j,W=500){const G=j.error&&j.error.error&&j.error.error.errno?j.error.error.errno:j.error&&j.error.errno?j.error.errno:j.errno?j.errno:j.status?j.status:W;return this.logger.info("Error Number: "+G),G}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)(u.KVO(L.u),u.KVO(C.gP),u.KVO(B.vh),u.KVO(A.up))},this.\u0275prov=u.jDH({token:Ce,factory:Ce.\u0275fac}))}return le(),Ce})()},4416(Zt,pe,l){"use strict";l.d(pe,{A$:()=>be,A0:()=>C,Ah:()=>Ke,BQ:()=>Re,Bd:()=>P,Bv:()=>re,C6:()=>vt,C7:()=>ie,F7:()=>J,G:()=>G,H$:()=>u,HW:()=>ce,Hx:()=>te,It:()=>O,Jd:()=>pt,Jr:()=>Ee,KR:()=>ve,Ld:()=>Ae,MZ:()=>St,NG:()=>e,QP:()=>oe,SY:()=>A,TC:()=>Ye,TH:()=>Qe,U1:()=>ne,UN:()=>Xe,Uq:()=>gt,Uu:()=>fe,WW:()=>vi,X8:()=>ei,XG:()=>j,Y0:()=>ot,ZC:()=>Pt,Zb:()=>Le,Zi:()=>kn,Zo:()=>Ri,_1:()=>gn,_U:()=>Gt,aG:()=>Dt,aR:()=>nt,aU:()=>ht,bz:()=>w,ck:()=>xe,f7:()=>_e,iI:()=>lt,jG:()=>Ue,k:()=>B,md:()=>le,mu:()=>wt,nv:()=>W,o1:()=>V,oi:()=>jt,on:()=>T,q9:()=>F,rl:()=>L,rs:()=>H,tj:()=>he,ul:()=>rt,wn:()=>Vt,xk:()=>cn,xp:()=>Ce,xv:()=>f});var i=l(7705),d=l(6695),v=l(5383);function T(ee){const ye=new d.xX;return ye.itemsPerPageLabel=ee+" per page:",ye}const w=3600,e=31536e3,O=24*w*7,f="0.15.9-beta",u=(0,i.naY)()?"http://localhost:3000/rtl/api":"./api",L={AUTHENTICATE_API:u+"/authenticate",CONF_API:u+"/conf",PAGE_SETTINGS_API:u+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},C=["Sats","BTC"],B={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},A=["SECS","MINS","HOURS","DAYS"],le=10,Ce=[5,10,25,100],Ae=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],j=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],W=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Amount",placeholder:"Percentage Limit"}],G=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],re={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var xe=function(ee){return ee.PAYMENT_RECEIVED="payment-received",ee.PAYMENT_RELAYED="payment-relayed",ee.PAYMENT_SENT="payment-sent",ee.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",ee.PAYMENT_FAILED="payment-failed",ee.CHANNEL_OPENED="channel-opened",ee.CHANNEL_STATE_CHANGED="channel-state-changed",ee.CHANNEL_CLOSED="channel-closed",ee}(xe||{}),Ee=function(ee){return ee.CONNECT="connect",ee.DISCONNECT="disconnect",ee.WARNING="warning",ee.INVOICE_PAYMENT="invoice_payment",ee.INVOICE_CREATION="invoice_creation",ee.CHANNEL_OPENED="channel_opened",ee.CHANNEL_STATE_CHANGED="channel_state_changed",ee.SENDPAY_SUCCESS="sendpay_success",ee.SENDPAY_FAILURE="sendpay_failure",ee.COIN_MOVEMENT="coin_movement",ee.BALANCE_SNAPSHOT="balance_snapshot",ee.BLOCK_ADDED="block_added",ee.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",ee.CHANNEL_OPEN_FAILED="channel_open_failed",ee}(Ee||{}),V=function(ee){return ee.INVOICE="invoice",ee}(V||{}),ce=function(ee){return ee.OPERATOR="OPERATOR",ee.MERCHANT="MERCHANT",ee.ALL="ALL",ee}(ce||{}),be=function(ee){return ee.INFORMATION="Information",ee.WARNING="Warning",ee.ERROR="Error",ee.SUCCESS="Success",ee.CONFIRM="Confirm",ee}(be||{}),ne=function(ee){return ee.NOAUTH="NOAUTH",ee.JWT="JWT",ee.PASSWORD="PASSWORD",ee}(ne||{}),J=function(ee){return ee.SECS="SECS",ee.MINS="MINS",ee.HOURS="HOURS",ee.DAYS="DAYS",ee}(J||{}),Re=function(ee){return ee.SATS="Sats",ee.BTC="BTC",ee.OTHER="OTHER",ee}(Re||{}),Xe=function(ee){return ee.ARRAY="ARRAY",ee.NUMBER="NUMBER",ee.STRING="STRING",ee.BOOLEAN="BOOLEAN",ee.PASSWORD="PASSWORD",ee.DATE="DATE",ee.DATE_TIME="DATE_TIME",ee}(Xe||{}),_e=function(ee){return ee.XS="XS",ee.SM="SM",ee.MD="MD",ee.LG="LG",ee.XL="XL",ee}(_e||{});const he={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},Dt={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var lt=function(ee){return ee.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",ee.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",ee.WIRE_INVALID_ONION_KEY="Invalid Onion Key",ee.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",ee.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",ee.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",ee.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",ee.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",ee.WIRE_FEE_INSUFFICIENT="Insufficient Fee",ee.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ee.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",ee.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",ee.WIRE_CHANNEL_DISABLED="Channel Disabled",ee.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",ee.WIRE_INVALID_REALM="Invalid Realm",ee.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",ee.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",ee.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",ee.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",ee.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",ee.WIRE_MPP_TIMEOUT="MPP Timeout",ee.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ee.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",ee}(lt||{}),Le=function(ee){return ee.CHANNELD_NORMAL="Active",ee.OPENINGD="Opening",ee.CHANNELD_AWAITING_LOCKIN="Pending Open",ee.CHANNELD_SHUTTING_DOWN="Shutting Down",ee.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",ee.CLOSINGD_COMPLETE="Closed",ee.AWAITING_UNILATERAL="Awaiting Unilateral Close",ee.FUNDING_SPEND_SEEN="Funding Spend Seen",ee.ONCHAIN="Onchain",ee.DUALOPEND_OPEN_INIT="Dual Open Initialized",ee.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",ee}(Le||{}),te=function(ee){return ee.INITIATED="Initiated",ee.PREIMAGE_REVEALED="Preimage Revealed",ee.HTLC_PUBLISHED="HTLC Published",ee.SUCCESS="Successful",ee.FAILED="Failed",ee.INVOICE_SETTLED="Invoice Settled",ee}(te||{}),ie=function(ee){return ee.LOOP_OUT="LOOP_OUT",ee.LOOP_IN="LOOP_IN",ee}(ie||{}),P=function(ee){return ee.SWAP_OUT="SWAP_OUT",ee.SWAP_IN="SWAP_IN",ee}(P||{}),F=function(ee){return ee["swap.created"]="Swap Created",ee["swap.expired"]="Swap Expired",ee["invoice.set"]="Invoice Set",ee["invoice.paid"]="Invoice Paid",ee["invoice.pending"]="Invoice Pending",ee["invoice.settled"]="Invoice Settled",ee["invoice.failedToPay"]="Invoice Failed To Pay",ee["channel.created"]="Channel Created",ee["transaction.failed"]="Transaction Failed",ee["transaction.mempool"]="Transaction Mempool",ee["transaction.claimed"]="Transaction Claimed",ee["transaction.refunded"]="Transaction Refunded",ee["transaction.confirmed"]="Transaction Confirmed",ee["transaction.lockupFailed"]="Lockup Transaction Failed",ee["swap.refunded"]="Swap Refunded",ee["swap.abandoned"]="Swap Abandoned",ee}(F||{});const ve=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],H=["MONTHLY","YEARLY"],Ke=["password","changeme","moneyprintergobrrr"];var Vt=function(ee){return ee.UN_INITIATED="UN_INITIATED",ee.INITIATED="INITIATED",ee.COMPLETED="COMPLETED",ee.ERROR="ERROR",ee}(Vt||{});const St={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var ot=function(ee){return ee.INVOICE="INVOICE",ee.OFFER="OFFER",ee.KEYSEND="KEYSEND",ee}(ot||{}),nt=function(ee){return ee.FEES="FEES",ee.EVENTS="EVENTS",ee}(nt||{}),ht=function(ee){return ee.VOID="VOID",ee.SET_API_URL_ECL="SET_API_URL_ECL",ee.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",ee.RESET_ROOT_STORE="RESET_ROOT_STORE",ee.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",ee.OPEN_SNACK_BAR="OPEN_SNACKBAR",ee.OPEN_SPINNER="OPEN_SPINNER",ee.CLOSE_SPINNER="CLOSE_SPINNER",ee.OPEN_ALERT="OPEN_ALERT",ee.CLOSE_ALERT="CLOSE_ALERT",ee.OPEN_CONFIRMATION="OPEN_CONFIRMATION",ee.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",ee.SHOW_PUBKEY="SHOW_PUBKEY",ee.FETCH_CONFIG="FETCH_CONFIG",ee.SHOW_CONFIG="SHOW_CONFIG",ee.FETCH_STORE="FETCH_STORE",ee.SET_STORE="SET_STORE",ee.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",ee.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",ee.SAVE_SETTINGS="SAVE_SETTINGS",ee.SET_SELECTED_NODE="SET_SELECTED_NODE",ee.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",ee.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",ee.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",ee.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",ee.SET_NODE_DATA="SET_NODE_DATA",ee.IS_AUTHORIZED="IS_AUTHORIZED",ee.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",ee.LOGIN="LOGIN",ee.VERIFY_TWO_FA="VERIFY_TWO_FA",ee.LOGOUT="LOGOUT",ee.RESET_PASSWORD="RESET_PASSWORD",ee.RESET_PASSWORD_RES="RESET_PASSWORD_RES",ee.FETCH_FILE="FETCH_FILE",ee.SHOW_FILE="SHOW_FILE",ee}(ht||{}),oe=function(ee){return ee.RESET_LND_STORE="RESET_LND_STORE",ee.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",ee.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",ee.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",ee.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",ee.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",ee.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",ee.FETCH_INFO_LND="FETCH_INFO_LND",ee.SET_INFO_LND="SET_INFO_LND",ee.FETCH_PEERS_LND="FETCH_PEERS_LND",ee.SET_PEERS_LND="SET_PEERS_LND",ee.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",ee.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",ee.DETACH_PEER_LND="DETACH_PEER_LND",ee.REMOVE_PEER_LND="REMOVE_PEER_LND",ee.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",ee.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",ee.ADD_INVOICE_LND="ADD_INVOICE_LND",ee.FETCH_FEES_LND="FETCH_FEES_LND",ee.SET_FEES_LND="SET_FEES_LND",ee.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",ee.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",ee.FETCH_NETWORK_LND="FETCH_NETWORK_LND",ee.SET_NETWORK_LND="SET_NETWORK_LND",ee.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",ee.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",ee.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",ee.SET_CHANNELS_LND="SET_CHANNELS_LND",ee.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",ee.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",ee.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",ee.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",ee.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",ee.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",ee.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",ee.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",ee.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",ee.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",ee.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",ee.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",ee.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",ee.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",ee.FETCH_INVOICES_LND="FETCH_INVOICES_LND",ee.SET_INVOICES_LND="SET_INVOICES_LND",ee.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",ee.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",ee.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",ee.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",ee.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",ee.FETCH_UTXOS_LND="FETCH_UTXOS_LND",ee.SET_UTXOS_LND="SET_UTXOS_LND",ee.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",ee.SET_PAYMENTS_LND="SET_PAYMENTS_LND",ee.SEND_PAYMENT_LND="SEND_PAYMENT_LND",ee.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",ee.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",ee.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",ee.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",ee.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",ee.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",ee.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",ee.GEN_SEED_LND="GEN_SEED_LND",ee.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",ee.INIT_WALLET_LND="INIT_WALLET_LND",ee.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",ee.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",ee.PEER_LOOKUP_LND="PEER_LOOKUP_LND",ee.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",ee.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",ee.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",ee.SET_LOOKUP_LND="SET_LOOKUP_LND",ee.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",ee.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",ee.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",ee.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",ee.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",ee.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",ee}(oe||{}),Ye=function(ee){return ee.RESET_CLN_STORE="RESET_CLN_STORE",ee.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",ee.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",ee.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",ee.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",ee.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",ee.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",ee.SET_INFO_CLN="SET_INFO_CLN",ee.FETCH_FEES_CLN="FETCH_FEES_CLN",ee.SET_FEES_CLN="SET_FEES_CLN",ee.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",ee.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",ee.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",ee.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",ee.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",ee.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",ee.FETCH_PEERS_CLN="FETCH_PEERS_CLN",ee.SET_PEERS_CLN="SET_PEERS_CLN",ee.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",ee.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",ee.ADD_PEER_CLN="ADD_PEER_CLN",ee.DETACH_PEER_CLN="DETACH_PEER_CLN",ee.REMOVE_PEER_CLN="REMOVE_PEER_CLN",ee.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",ee.SET_CHANNELS_CLN="SET_CHANNELS_CLN",ee.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",ee.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",ee.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",ee.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",ee.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",ee.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",ee.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",ee.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",ee.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",ee.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",ee.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",ee.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",ee.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",ee.SET_LOOKUP_CLN="SET_LOOKUP_CLN",ee.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",ee.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",ee.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",ee.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",ee.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ee.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ee.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",ee.SET_INVOICES_CLN="SET_INVOICES_CLN",ee.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",ee.ADD_INVOICE_CLN="ADD_INVOICE_CLN",ee.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",ee.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",ee.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",ee.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",ee.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",ee.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",ee.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",ee.SET_OFFERS_CLN="SET_OFFERS_CLN",ee.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",ee.ADD_OFFER_CLN="ADD_OFFER_CLN",ee.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",ee.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",ee.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",ee.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",ee.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",ee.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",ee.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",ee}(Ye||{}),fe=function(ee){return ee.RESET_ECL_STORE="RESET_ECL_STORE",ee.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",ee.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",ee.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",ee.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",ee.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",ee.FETCH_INFO_ECL="FETCH_INFO_ECL",ee.SET_INFO_ECL="SET_INFO_ECL",ee.FETCH_FEES_ECL="FETCH_FEES_ECL",ee.SET_FEES_ECL="SET_FEES_ECL",ee.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",ee.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",ee.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",ee.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",ee.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",ee.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",ee.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",ee.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",ee.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",ee.FETCH_PEERS_ECL="FETCH_PEERS_ECL",ee.SET_PEERS_ECL="SET_PEERS_ECL",ee.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",ee.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",ee.ADD_PEER_ECL="ADD_PEER_ECL",ee.DETACH_PEER_ECL="DETACH_PEER_ECL",ee.REMOVE_PEER_ECL="REMOVE_PEER_ECL",ee.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",ee.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",ee.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",ee.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",ee.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",ee.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",ee.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",ee.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",ee.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",ee.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",ee.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",ee.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",ee.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",ee.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",ee.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",ee.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",ee.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",ee.SET_INVOICES_ECL="SET_INVOICES_ECL",ee.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",ee.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",ee.ADD_INVOICE_ECL="ADD_INVOICE_ECL",ee.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",ee.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",ee.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",ee.SET_LOOKUP_ECL="SET_LOOKUP_ECL",ee.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",ee.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",ee}(fe||{});const Qe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var gt=function(ee){return ee.gossip_queries_ex="Gossip queries including additional information",ee.option_anchor_outputs="Anchor outputs",ee.option_data_loss_protect="Extra channel re-establish fields",ee.var_onion_optin="Variable-length routing onion payloads",ee.option_static_remotekey="Static key for remote output",ee.option_support_large_channel="Create large channels",ee.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ee.payment_secret="Payment secret field",ee.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",ee.basic_mpp="Basic multi-part payments",ee.gossip_queries="More sophisticated gossip control",ee.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",ee.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ee.amp="AMP",ee}(gt||{}),Gt=function(ee){return ee["data-loss-protect"]="Extra channel re-establish fields",ee["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",ee["gossip-queries"]="More sophisticated gossip control",ee["tlv-onion"]="Variable-length routing onion payloads",ee["ext-gossip-queries"]="Gossip queries can include additional information",ee["static-remote-key"]="Static key for remote output",ee["payment-addr"]="Payment secret field",ee["multi-path-payments"]="Basic multi-part payments",ee["wumbo-channels"]="Wumbo Channels",ee.anchors="Anchor outputs",ee["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",ee.amp="AMP",ee}(Gt||{});const rt=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var cn=function(ee){return ee.OFFERED="offered",ee.SETTLED="settled",ee.FAILED="failed",ee.LOCAL_FAILED="local_failed",ee}(cn||{}),jt=function(ee){return ee.ASCENDING="asc",ee.DESCENDING="desc",ee}(jt||{});const Ue=["asc","desc"],wt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:le,sortBy:"blockheight",sortOrder:jt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:le,sortBy:"blockheight",sortOrder:jt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:le,sortBy:"msatoshi_to_us",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:le,sortBy:"state",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:le,sortBy:"expiry",sortOrder:jt.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:le,sortBy:"channel_opening_fee",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"created_at",sortOrder:jt.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:le,sortBy:"expires_at",sortOrder:jt.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:le,sortBy:"offer_id",sortOrder:jt.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:le,sortBy:"lastUpdatedAt",sortOrder:jt.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"total_fee",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:le,sortBy:"msatoshi",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],pt={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},Pt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:le,sortBy:"tx_id",sortOrder:jt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:le,sortBy:"time_stamp",sortOrder:jt.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:le,sortBy:"tx_id",sortOrder:jt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:le,sortBy:"balancedness",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","blocks_til_maturity","limbo_balance"],columnSelection:["remote_alias","blocks_til_maturity","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:le,sortBy:"close_type",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:le,sortBy:"incoming",sortOrder:jt.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"creation_date",sortOrder:jt.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:le,sortBy:"creation_date",sortOrder:jt.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"total_amount",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:le,sortBy:"remote_alias",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:le,sortBy:"hop_sequence",sortOrder:jt.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:le,sortBy:"initiation_time",sortOrder:jt.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:le,sortBy:"status",sortOrder:jt.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:le,sortBy:"status",sortOrder:jt.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],gn={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},ei=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"firstPartTimestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:le,sortBy:"receivedAt",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"totalFee",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],vi={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}},Ni_DKK="\n \n \n \n ",kn=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:v.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:v.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:v.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:v.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:v.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:v.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:v.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:v.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n \n \n \n \n \n \n \n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:v.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:v.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:v.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/183602/forint-business-and-finance --\x3e\n \n \n \n \n \n \n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:v.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:v.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:v.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:v.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n \n \n \n \n \n \n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:v.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:v.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:v.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:v.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/142061/new-taiwan-dollar --\x3e\n \n \n \n \n \n \n ',class:"currency-icon-small"}];function Ri(ee){const ye=kn.find(ke=>ke.id===ee);return"SVG"===ye.iconType&&"string"==typeof ye.symbol&&(ye.symbol=ye.symbol.replace('Ee});var i=l(9330),d=l(1413),v=l(4412),T=l(7673),w=l(8810),e=l(9437),O=l(1594),f=l(6354),u=l(1397),L=l(6977),C=l(3993),B=l(4416),A=l(2462),Pe=l(1771),le=l(190),Ce=l(3536),Ae=l(9584),j=l(2615),W=l(9640),G=l(8570),re=l(5416),xe=l(2200);let Ee=(()=>{var V;class ce{constructor(ne,J,De,Re,Xe){this.httpClient=ne,this.store=J,this.logger=De,this.snackBar=Re,this.titleCasePipe=Xe,this.APIUrl=B.H$,this.lnImplementation="",this.lnImplementationUpdated=new v.t(null),this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B],this.mapAliases=(_e,he)=>(_e&&_e.length>0?_e.forEach((Dt,lt)=>{if(he&&he.length>0)for(let Le=0;Le{let Re;return this.store.dispatch((0,Pe.mt)({payload:B.MZ.DECODE_PAYMENT})),Re="cln"===De?this.httpClient.post(this.APIUrl+"/"+De+B.rl.UTILITY_API+"/decode",{string:ne},{headers:{"Content-Type":"application/json"}}):this.httpClient.get(this.APIUrl+"/"+De+B.rl.PAYMENTS_API+"/decode/"+ne),Re.pipe((0,L.Q)(this.unSubs[0]),(0,f.T)(Xe=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.DECODE_PAYMENT})),Xe)),(0,e.W)(Xe=>(J?this.handleErrorWithoutAlert("Decode Payment",B.MZ.DECODE_PAYMENT,Xe):this.handleErrorWithAlert("decodePaymentData",B.MZ.DECODE_PAYMENT,"Decode Payment Failed",this.APIUrl+"/"+De+("cln"===De?B.rl.UTILITY_API+"/decode":B.rl.PAYMENTS_API+"/decode/"+ne),Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))}))}decodePayments(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>{let De="",Re="",Xe=null;return"ecl"===J?(De=this.APIUrl+"/"+J+B.rl.PAYMENTS_API+"/getsentinfos",Xe={payments:ne},Re=B.MZ.GET_SENT_PAYMENTS):"cln"===J?(De=this.APIUrl+"/"+J+B.rl.UTILITY_API+"/decode",Xe={string:ne},Re=B.MZ.DECODE_PAYMENTS):(De=this.APIUrl+"/"+J+B.rl.PAYMENTS_API,Xe={payments:ne},Re=B.MZ.DECODE_PAYMENTS),this.store.dispatch((0,Pe.mt)({payload:Re})),this.httpClient.post(De,Xe).pipe((0,L.Q)(this.unSubs[1]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:Re})),_e)),(0,e.W)(_e=>(this.handleErrorWithAlert("decodePaymentsData",Re,Re+" Failed",De,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}getAliasesFromPubkeys(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{if(J){const Re=(new i.Nl).set("pubkeys",ne);return this.httpClient.get(this.APIUrl+"/"+De+B.rl.NETWORK_API+"/nodes",{params:Re})}return this.httpClient.get(this.APIUrl+"/"+De+B.rl.NETWORK_API+"/node/"+ne)}))}signMessage(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>{let De=this.APIUrl+"/"+J+B.rl.MESSAGE_API+"/sign";return"cln"===J&&(De=this.APIUrl+"/"+J+B.rl.UTILITY_API+"/sign"),this.store.dispatch((0,Pe.mt)({payload:B.MZ.SIGN_MESSAGE})),this.httpClient.post(De,{message:ne}).pipe((0,L.Q)(this.unSubs[2]),(0,f.T)(Re=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.SIGN_MESSAGE})),Re)),(0,e.W)(Re=>(this.handleErrorWithAlert("signMessageData",B.MZ.SIGN_MESSAGE,"Sign Message Failed",De,Re),(0,w.$)(()=>new Error(this.extractErrorMessage(Re))))))}))}verifyMessage(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{let Re="",Xe=null;return"cln"===De?(Re=this.APIUrl+"/"+De+B.rl.UTILITY_API+"/verify",Xe={message:ne,zbase:J}):(Re=this.APIUrl+"/"+De+B.rl.MESSAGE_API+"/verify",Xe={message:ne,signature:J}),this.store.dispatch((0,Pe.mt)({payload:B.MZ.VERIFY_MESSAGE})),this.httpClient.post(Re,Xe).pipe((0,L.Q)(this.unSubs[3]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.VERIFY_MESSAGE})),_e)),(0,e.W)(_e=>(this.handleErrorWithAlert("verifyMessageData",B.MZ.VERIFY_MESSAGE,"Verify Message Failed",Re,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}bumpFee(ne,J,De,Re){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(Xe=>{const _e={txid:ne,outputIndex:J};return De&&(_e.targetConf=De),Re&&(_e.satPerVByte=Re),this.store.dispatch((0,Pe.mt)({payload:B.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+Xe+B.rl.WALLET_API+"/bumpfee",_e).pipe((0,L.Q)(this.unSubs[4]),(0,f.T)(he=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),he)),(0,e.W)(he=>(this.handleErrorWithoutAlert("Bump Fee",B.MZ.BUMP_FEE,he),(0,w.$)(()=>new Error(this.extractErrorMessage(he))))))}))}labelUTXO(ne,J,De=!0){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(Re=>{const Xe={txid:ne,label:J,overwrite:De};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+Re+B.rl.WALLET_API+"/label",Xe).pipe((0,L.Q)(this.unSubs[5]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.LABEL_UTXO})),_e)),(0,e.W)(_e=>(this.handleErrorWithoutAlert("Label UTXO",B.MZ.LABEL_UTXO,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}leaseUTXO(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{const Re={txid:ne,outputIndex:J};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+De+B.rl.WALLET_API+"/lease",Re).pipe((0,L.Q)(this.unSubs[6]),(0,f.T)(Xe=>{this.store.dispatch((0,Pe.y0)({payload:B.MZ.LEASE_UTXO})),this.store.dispatch((0,le.mh)()),this.store.dispatch((0,le.SM)());const _e=new Date(1e3*Xe.expiration);return Math.round(_e.getTime())-60*_e.getTimezoneOffset()}),(0,e.W)(Xe=>(this.handleErrorWithoutAlert("Lease UTXO",B.MZ.LEASE_UTXO,Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))}))}getForwardingHistory(ne,J,De,Re){if("LND"===ne){const Xe={end_time:De,start_time:J};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+B.rl.SWITCH_API,Xe).pipe((0,L.Q)(this.unSubs[7]),(0,C.E)(this.store.select(Ce.eO)),(0,u.Z)(([_e,he])=>{if(_e.forwarding_events){const Dt=[...he.channels,...he.closedChannels];_e.forwarding_events.forEach(lt=>{if(Dt&&Dt.length>0)for(let Le=0;Le(this.handleErrorWithAlert("getForwardingHistoryData",B.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+B.rl.SWITCH_API,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}return"CLN"===ne?(this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+B.rl.CHANNELS_API+"/listForwards",{status:Re||"settled"}).pipe((0,L.Q)(this.unSubs[8]),(0,C.E)(this.store.select(Ae.BM)),(0,u.Z)(([Xe,_e])=>{const he=this.mapAliases(Xe,[..._e.activeChannels,..._e.pendingChannels,..._e.inactiveChannels]);return this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_FORWARDING_HISTORY})),(0,T.of)(he)}),(0,e.W)(Xe=>(this.handleErrorWithAlert("getForwardingHistoryData",B.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+B.rl.CHANNELS_API+"/listForwards",Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))):(0,T.of)({})}listNetworkNodes(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>(this.store.dispatch((0,Pe.mt)({payload:B.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+J+B.rl.NETWORK_API+"/listNodes",ne).pipe((0,L.Q)(this.unSubs[9]),(0,u.Z)(De=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.LIST_NETWORK_NODES})),(0,T.of)(De))),(0,e.W)(De=>(this.handleErrorWithoutAlert("List Network Nodes",B.MZ.LIST_NETWORK_NODES,De),(0,w.$)(()=>this.extractErrorMessage(De))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(ne=>(this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ne+B.rl.UTILITY_API+"/listConfigs").pipe((0,L.Q)(this.unSubs[10]),(0,u.Z)(J=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_LIST_CONFIGS})),(0,T.of)(J))),(0,e.W)(J=>(this.handleErrorWithoutAlert("List Configurations",B.MZ.GET_LIST_CONFIGS,J),(0,w.$)(()=>this.extractErrorMessage(J))))))))}getOrUpdateFunderPolicy(ne,J,De,Re,Xe,_e){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(he=>{const Dt=ne?{policy:ne,policy_mod:J,lease_fee_base_msat:De,lease_fee_basis:Re,channel_fee_max_base_msat:Xe,channel_fee_max_proportional_thousandths:_e}:null;return this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+he+B.rl.CHANNELS_API+"/funderUpdate",Dt).pipe((0,L.Q)(this.unSubs[11]),(0,f.T)(lt=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_FUNDER_POLICY})),Dt&&this.store.dispatch((0,Pe.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+lt.compact_lease+"!"})),lt)),(0,e.W)(lt=>(this.handleErrorWithoutAlert("Funder Policy",B.MZ.GET_FUNDER_POLICY,lt),(0,w.$)(()=>new Error(this.extractErrorMessage(lt))))))}))}circularRebalance(ne,J="",De="",Re="",Xe="",_e=[],he="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+B.rl.CHANNELS_API+"/circularRebalance",{amountMsat:ne,sourceShortChannelId:J,sourceNodeId:De,targetShortChannelId:Re,targetNodeId:Xe,ignoreNodeIds:_e,format:he}).pipe((0,L.Q)(this.unSubs[12]),(0,f.T)(Le=>Le),(0,e.W)(Le=>(this.handleErrorWithoutAlert("Rebalance Channel",B.MZ.REBALANCE_CHANNEL,Le),(0,w.$)(()=>Le.error))))}extractErrorMessage(ne,J="Unknown Error."){return this.titleCasePipe.transform(ne.error.text&&"string"==typeof ne.error.text&&ne.error.text.includes('')?"API Route Does Not Exist.":ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&ne.error.error.error.error.error&&"string"==typeof ne.error.error.error.error.error?ne.error.error.error.error.error:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&"string"==typeof ne.error.error.error.error?ne.error.error.error.error:ne.error&&ne.error.error&&ne.error.error.error&&"string"==typeof ne.error.error.error?ne.error.error.error:ne.error&&ne.error.error&&"string"==typeof ne.error.error?ne.error.error:ne.error&&"string"==typeof ne.error?ne.error:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&ne.error.error.error.error.message&&"string"==typeof ne.error.error.error.error.message?ne.error.error.error.error.message:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.message&&"string"==typeof ne.error.error.error.message?ne.error.error.error.message:ne.error&&ne.error.error&&ne.error.error.message&&"string"==typeof ne.error.error.message?ne.error.error.message:ne.error&&ne.error.message&&"string"==typeof ne.error.message?ne.error.message:ne.message&&"string"==typeof ne.message?ne.message:J)}handleErrorWithoutAlert(ne,J,De){De.error.text&&"string"==typeof De.error.text&&De.error.text.includes('')&&(De={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+ne+"\n"+JSON.stringify(De)),401===De.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.Jh)()),this.store.dispatch((0,Pe.ri)({payload:"Authentication Failed: "+JSON.stringify(De.error)}))):(this.store.dispatch((0,Pe.y0)({payload:J})),this.store.dispatch((0,Pe.Gd)({payload:{action:ne,status:B.wn.ERROR,statusCode:De.status.toString(),message:this.extractErrorMessage(De)}})))}handleErrorWithAlert(ne,J,De,Re,Xe){if(this.logger.error(Xe),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.Jh)()),this.store.dispatch((0,Pe.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,Pe.y0)({payload:J}));const _e=this.extractErrorMessage(Xe);this.store.dispatch((0,Pe.xO)({payload:{data:{type:"ERROR",alertTitle:De,message:{code:Xe.status?Xe.status:"Unknown Error",message:_e,URL:Re},component:A.f}}})),this.store.dispatch((0,Pe.Gd)({payload:{action:ne,status:B.wn.ERROR,statusCode:Xe.status.toString(),message:_e,URL:Re}}))}}ngOnDestroy(){this.unSubs.forEach(ne=>{ne.next(null),ne.complete()})}static#e=V=()=>(this.\u0275fac=function(J){return new(J||ce)(j.KVO(i.Qq),j.KVO(W.il),j.KVO(G.gP),j.KVO(re.UG),j.KVO(xe.PV))},this.\u0275prov=j.jDH({token:ce,factory:ce.\u0275fac}))}return V(),ce})()},8570(Zt,pe,l){"use strict";l.d(pe,{gP:()=>e,tU:()=>O});var i=l(7705),d=l(2615);const v=(0,i.naY)(),T=()=>null;let e=(()=>{var f;class u{invokeConsoleMethod(C,B){}static#e=f=()=>(this.\u0275fac=function(B){return new(B||u)},this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac}))}return f(),u})(),O=(()=>{var f;class u{get info(){return v?console.log.bind(console):T}get warn(){return v?console.warn.bind(console):T}get error(){return v?console.error.bind(console):T}invokeConsoleMethod(C,B){(console[C]||console.log||T).apply(console,[B])}static#e=f=()=>(this.\u0275fac=function(B){return new(B||u)},this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac}))}return f(),u})()},4104(Zt,pe,l){"use strict";l.d(pe,{Q:()=>Ce});var i=l(9330),d=l(1413),v=l(4412),T=l(7673),w=l(8810),e=l(9437),O=l(6354),f=l(6977),u=l(4416),L=l(2462),C=l(1771),B=l(2615),A=l(8570),Pe=l(9640),le=l(2571);let Ce=(()=>{var Ae;class j{constructor(G,re,xe,Ee){this.httpClient=G,this.logger=re,this.store=xe,this.commonService=Ee,this.loopUrl="",this.swaps=[],this.swapsChanged=new v.t([]),this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}getLoopInfo(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,C.mt)({payload:u.MZ.GET_LOOP_SWAPS})),this.loopUrl=u.H$+u.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,f.Q)(this.unSubs[0])).subscribe({next:G=>{this.store.dispatch((0,C.y0)({payload:u.MZ.GET_LOOP_SWAPS})),this.swaps=G,this.swapsChanged.next(this.swaps)},error:G=>this.swapsChanged.error(this.handleErrorWithAlert(u.MZ.GET_LOOP_SWAPS,this.loopUrl,G))})}loopOut(G,re,xe,Ee,V,ce,be,ne,J,De){const Re={amount:G,targetConf:xe,swapRoutingFee:Ee,minerFee:V,prepayRoutingFee:ce,prepayAmt:be,swapFee:ne,swapPublicationDeadline:J,destAddress:De};return""!==re&&(Re.chanId=re),this.loopUrl=u.H$+u.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,Re).pipe((0,e.W)(Xe=>this.handleErrorWithoutAlert("Loop Out for Channel: "+re,u.MZ.NO_SPINNER,Xe)))}getLoopOutTerms(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)(G=>this.handleErrorWithoutAlert("Loop Out Terms",u.MZ.NO_SPINNER,G)))}getLoopOutQuote(G,re,xe){let Ee=new i.Nl;return Ee=Ee.append("targetConf",re.toString()),Ee=Ee.append("swapPublicationDeadline",xe.toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/out/quote/"+G,this.store.dispatch((0,C.mt)({payload:u.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:Ee}).pipe((0,f.Q)(this.unSubs[1]),(0,O.T)(V=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_QUOTE})),V)),(0,e.W)(V=>this.handleErrorWithoutAlert("Loop Out Quote",u.MZ.GET_QUOTE,V)))}getLoopOutTermsAndQuotes(G){let re=new i.Nl;return re=re.append("targetConf",G.toString()),re=re.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,C.mt)({payload:u.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,f.Q)(this.unSubs[2]),(0,O.T)(xe=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_TERMS_QUOTES})),xe)),(0,e.W)(xe=>(0,T.of)(this.handleErrorWithAlert(u.MZ.GET_TERMS_QUOTES,this.loopUrl,xe))))}loopIn(G,re,xe,Ee,V){const ce={amount:G,swapFee:re,minerFee:xe,lastHop:Ee,externalHtlc:V};return this.loopUrl=u.H$+u.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ce).pipe((0,e.W)(be=>this.handleErrorWithoutAlert("Loop In",u.MZ.NO_SPINNER,be)))}getLoopInTerms(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)(G=>this.handleErrorWithoutAlert("Loop In Terms",u.MZ.NO_SPINNER,G)))}getLoopInQuote(G,re,xe){let Ee=new i.Nl;return Ee=Ee.append("targetConf",re.toString()),Ee=Ee.append("swapPublicationDeadline",xe.toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/in/quote/"+G,this.store.dispatch((0,C.mt)({payload:u.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:Ee}).pipe((0,f.Q)(this.unSubs[3]),(0,O.T)(V=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_QUOTE})),V)),(0,e.W)(V=>this.handleErrorWithoutAlert("Loop In Qoute",u.MZ.GET_QUOTE,V)))}getLoopInTermsAndQuotes(G){let re=new i.Nl;return re=re.append("targetConf",G.toString()),re=re.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,C.mt)({payload:u.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,f.Q)(this.unSubs[4]),(0,O.T)(xe=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_TERMS_QUOTES})),xe)),(0,e.W)(xe=>(0,T.of)(this.handleErrorWithAlert(u.MZ.GET_TERMS_QUOTES,this.loopUrl,xe))))}getSwap(G){return this.loopUrl=u.H$+u.rl.LOOP_API+"/swap/"+G,this.httpClient.get(this.loopUrl).pipe((0,e.W)(re=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+G,u.MZ.NO_SPINNER,re)))}handleErrorWithoutAlert(G,re,xe){let Ee="";return this.logger.error("ERROR IN: "+G+"\n"+JSON.stringify(xe)),this.store.dispatch((0,C.y0)({payload:re})),401===xe.status?(Ee="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.ri)({payload:Ee}))):503===xe.status?(Ee="Unable to Connect to Loop Server.",this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:xe.status,message:"Unable to Connect to Loop Server",URL:G},component:L.f}}}))):Ee=this.commonService.extractErrorMessage(xe),(0,w.$)(()=>new Error(Ee))}handleErrorWithAlert(G,re,xe){let Ee="";if(this.logger.error(xe),this.store.dispatch((0,C.y0)({payload:G})),401===xe.status)Ee="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.ri)({payload:Ee}));else if(503===xe.status)Ee="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:xe.status,message:"Unable to Connect to Loop Server",URL:re},component:L.f}}}))},100);else{Ee=this.commonService.extractErrorMessage(xe);const V=xe.error&&xe.error.error&&xe.error.error.code?xe.error.error.code:xe.error&&xe.error.code?xe.error.code:xe.code?xe.code:xe.status;setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:u.A$.ERROR,alertTitle:"ERROR",message:{code:V,message:Ee,URL:re},component:L.f}}}))},100)}return{message:Ee}}ngOnDestroy(){this.unSubs.forEach(G=>{G.next(null),G.complete()})}static#e=Ae=()=>(this.\u0275fac=function(re){return new(re||j)(B.KVO(i.Qq),B.KVO(A.gP),B.KVO(Pe.il),B.KVO(le.h))},this.\u0275prov=B.jDH({token:j,factory:j.\u0275fac}))}return Ae(),j})()},3202(Zt,pe,l){"use strict";l.d(pe,{Q:()=>v});var i=l(1413),d=l(2615);let v=(()=>{var T;class w{constructor(){this.sessionSub=new i.B}watchSession(){return this.sessionSub.asObservable()}getItem(O){return sessionStorage.getItem(O)}getAllItems(){return sessionStorage}setItem(O,f){sessionStorage.setItem(O,f),this.sessionSub.next(sessionStorage)}removeItem(O){sessionStorage.removeItem(O),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275prov=d.jDH({token:w,factory:w.\u0275fac}))}return T(),w})()},7879(Zt,pe,l){"use strict";l.d(pe,{I:()=>Pe});var i=l(4412),d=l(1413),v=l(6977),T=l(7707),w=l(1985),e=l(8359),O=l(2771);const f={url:"",deserializer:le=>JSON.parse(le.data),serializer:le=>JSON.stringify(le)};class L extends d.k{constructor(Ce,Ae){if(super(),this._socket=null,Ce instanceof w.c)this.destination=Ae,this.source=Ce;else{const j=this._config=Object.assign({},f);if(this._output=new d.B,"string"==typeof Ce)j.url=Ce;else for(const W in Ce)Ce.hasOwnProperty(W)&&(j[W]=Ce[W]);if(!j.WebSocketCtor&&WebSocket)j.WebSocketCtor=WebSocket;else if(!j.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new O.m}}lift(Ce){const Ae=new L(this._config,this.destination);return Ae.operator=Ce,Ae.source=this,Ae}_resetState(){this._socket=null,this.source||(this.destination=new O.m),this._output=new d.B}multiplex(Ce,Ae,j){const W=this;return new w.c(G=>{try{W.next(Ce())}catch(xe){G.error(xe)}const re=W.subscribe({next:xe=>{try{j(xe)&&G.next(xe)}catch(Ee){G.error(Ee)}},error:xe=>G.error(xe),complete:()=>G.complete()});return()=>{try{W.next(Ae())}catch(xe){G.error(xe)}re.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Ce,protocol:Ae,url:j,binaryType:W}=this._config,G=this._output;let re=null;try{re=Ae?new Ce(j,Ae):new Ce(j),this._socket=re,W&&(this._socket.binaryType=W)}catch(Ee){return void G.error(Ee)}const xe=new e.yU(()=>{this._socket=null,re&&1===re.readyState&&re.close()});re.onopen=Ee=>{const{_socket:V}=this;if(!V)return re.close(),void this._resetState();const{openObserver:ce}=this._config;ce&&ce.next(Ee);const be=this.destination;this.destination=T.vU.create(ne=>{if(1===re.readyState)try{const{serializer:J}=this._config;re.send(J(ne))}catch(J){this.destination.error(J)}},ne=>{const{closingObserver:J}=this._config;J&&J.next(void 0),ne&&ne.code?re.close(ne.code,ne.reason):G.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:ne}=this._config;ne&&ne.next(void 0),re.close(),this._resetState()}),be&&be instanceof O.m&&xe.add(be.subscribe(this.destination))},re.onerror=Ee=>{this._resetState(),G.error(Ee)},re.onclose=Ee=>{re===this._socket&&this._resetState();const{closeObserver:V}=this._config;V&&V.next(Ee),Ee.wasClean?G.complete():G.error(Ee)},re.onmessage=Ee=>{try{const{deserializer:V}=this._config;G.next(V(Ee))}catch(V){G.error(V)}}}_subscribe(Ce){const{source:Ae}=this;return Ae?Ae.subscribe(Ce):(this._socket||this._connectSocket(),this._output.subscribe(Ce),Ce.add(()=>{const{_socket:j}=this;0===this._output.observers.length&&(j&&(1===j.readyState||0===j.readyState)&&j.close(),this._resetState())}),Ce)}unsubscribe(){const{_socket:Ce}=this;Ce&&(1===Ce.readyState||0===Ce.readyState)&&Ce.close(),this._resetState(),super.unsubscribe()}}var C=l(2615),B=l(8570),A=l(3202);let Pe=(()=>{var le;class Ce{constructor(j,W){this.logger=j,this.sessionService=W,this.clWSMessages=new i.t(null),this.eclWSMessages=new i.t(null),this.lndWSMessages=new i.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}connectWebSocket(j,W){(!this.socket||this.socket.closed)&&(this.wsUrl=j,this.nodeIndex=W,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new L({url:j,protocol:[this.sessionService.getItem("token")||"",W]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,v.Q)(this.unSubs[1])).subscribe({next:j=>{if((j="string"==typeof j?JSON.parse(j):j).error)this.handleError(j.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(j)),j.source){case"LND":this.lndWSMessages.next(j);break;case"CLN":this.clWSMessages.next(j);break;case"ECL":this.eclWSMessages.next(j)}},error:j=>this.handleError(j),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(j){this.logger.error(j),this.clWSMessages.error(j),this.eclWSMessages.error(j),this.lndWSMessages.error(j),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)(C.KVO(B.gP),C.KVO(A.Q))},this.\u0275prov=C.jDH({token:Ce,factory:Ce.\u0275fac}))}return le(),Ce})()},9029(Zt,pe,l){"use strict";l.d(pe,{G:()=>Es});var i=l(2200),d=l(8132),v=l(9417),T=l(60),w=l(9327),e=l(3),O=l(9945),f=l(1585),u=l(2628),L=l(1975),C=l(8834),B=l(9726),A=l(6838),j=(l(1577),l(3869),l(7336),l(438),l(8968)),W=l(3664),G=l(2615),re=l(7705),xe=l(2496),Ee=l(3386),V=l(1804),ce=l(2046),be=l(2466),ne=l(6881);const J=["button"],De=["*"];function Re(kt,On){if(1&kt&&(W.j41(0,"div",2),W.nrm(1,"mat-pseudo-checkbox",6),W.k0s()),2&kt){const $e=W.XpG();W.R7$(),W.Y8G("disabled",$e.disabled)}}const Xe=new G.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function _e(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}}),he=new G.nKC("MatButtonToggleGroup");class lt{source;value;constructor(On,$e){this.source=On,this.value=$e}}let te=(()=>{class kt{_changeDetectorRef=(0,G.WQX)(re.gRc);_elementRef=(0,G.WQX)(W.aKT);_focusMonitor=(0,G.WQX)(A.FN);_idGenerator=(0,G.WQX)(B.g);_animationDisabled=(0,V.Rc)();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex($e){this._tabIndex.set($e)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance($e){this._appearance=$e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked($e){$e!==this._checked&&(this._checked=$e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled($e){this._disabled=$e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||null!==this.buttonToggleGroup&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive($e){this._disabledInteractive=$e}_disabledInteractive;change=new W.bkB;constructor(){(0,G.WQX)(j.l).load(ce.A);const $e=(0,G.WQX)(he,{optional:!0}),mn=(0,G.WQX)(new re.ES_("tabindex"),{optional:!0})||"",Ln=(0,G.WQX)(Xe,{optional:!0});this._tabIndex=(0,G.vPA)(parseInt(mn)||0),this.buttonToggleGroup=$e,this.appearance=Ln&&Ln.appearance?Ln.appearance:"standard",this.disabledInteractive=Ln?.disabledInteractive??!1}ngOnInit(){const $e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),$e&&($e._isPrechecked(this)?this.checked=!0:$e._isSelected(this)!==this._checked&&$e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const $e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),$e&&$e._isSelected(this)&&$e._syncButtonToggle(this,!1,!1,!0)}focus($e){this._buttonElement.nativeElement.focus($e)}_onButtonClick(){if(this.disabled)return;const $e=!!this.isSingleSelector()||!this._checked;if($e!==this._checked&&(this._checked=$e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){const mn=this.buttonToggleGroup._buttonToggles.find(Ln=>0===Ln.tabIndex);mn&&(mn.tabIndex=-1),this.tabIndex=0}this.change.emit(new lt(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(mn){return new(mn||kt)};static \u0275cmp=W.VBU({type:kt,selectors:[["mat-button-toggle"]],viewQuery:function(mn,Ln){if(1&mn&&W.GBs(J,5),2&mn){let Ei;W.mGM(Ei=W.lsd())&&(Ln._buttonElement=Ei.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(mn,Ln){1&mn&&W.bIt("focus",function(){return Ln.focus()}),2&mn&&(W.BMQ("aria-label",null)("aria-labelledby",null)("id",Ln.id)("name",null),W.AVh("mat-button-toggle-standalone",!Ln.buttonToggleGroup)("mat-button-toggle-checked",Ln.checked)("mat-button-toggle-disabled",Ln.disabled)("mat-button-toggle-disabled-interactive",Ln.disabledInteractive)("mat-button-toggle-appearance-standard","standard"===Ln.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",re.L39],appearance:"appearance",checked:[2,"checked","checked",re.L39],disabled:[2,"disabled","disabled",re.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",re.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:De,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(mn,Ln){if(1&mn){const Ei=W.RV6();W.NAR(),W.j41(0,"button",1,0),W.bIt("click",function(){return G.eBV(Ei),G.Njj(Ln._onButtonClick())}),W.nVh(2,Re,2,1,"div",2),W.j41(3,"span",3),W.SdG(4),W.k0s()(),W.nrm(5,"span",4)(6,"span",5)}if(2&mn){const Ei=W.sdS(1);W.Y8G("id",Ln.buttonId)("disabled",Ln.disabled&&!Ln.disabledInteractive||null),W.BMQ("role",Ln.isSingleSelector()?"radio":"button")("tabindex",Ln.disabled&&!Ln.disabledInteractive?-1:Ln.tabIndex)("aria-pressed",Ln.isSingleSelector()?null:Ln.checked)("aria-checked",Ln.isSingleSelector()?Ln.checked:null)("name",Ln._getButtonName())("aria-label",Ln.ariaLabel)("aria-labelledby",Ln.ariaLabelledby)("aria-disabled",Ln.disabled&&Ln.disabledInteractive?"true":null),W.R7$(2),W.vxM(Ln.buttonToggleGroup&&(!Ln.buttonToggleGroup.multiple&&!Ln.buttonToggleGroup.hideSingleSelectionIndicator||Ln.buttonToggleGroup.multiple&&!Ln.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),W.R7$(4),W.Y8G("matRippleTrigger",Ei)("matRippleDisabled",Ln.disableRipple||Ln.disabled)}},dependencies:[xe.r6,Ee.w],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}\n"],encapsulation:2,changeDetection:0})}return kt})(),ie=(()=>{class kt{static \u0275fac=function(mn){return new(mn||kt)};static \u0275mod=W.$C({type:kt});static \u0275inj=G.G2t({imports:[be.y,ne.p,te,be.y]})}return kt})();var P=l(5596),F=l(2765),ve=l(5084),H=l(9454),$=l(2885),Ke=l(2629),Vt=l(3746),St=l(3902),ot=l(9115),nt=l(6695),ht=l(7575),oe=l(9183),Ye=l(5951),fe=l(6183),Qe=l(882),gt=l(450),Gt=l(9842);l(1413);let dn=(()=>{class kt{static \u0275fac=function(mn){return new(mn||kt)};static \u0275mod=W.$C({type:kt});static \u0275inj=G.G2t({imports:[be.y,ne.p]})}return kt})();var xn=l(5416),Jn=l(2042),xi=l(6013),Yi=l(1676),Tt=l(6850),At=l(5911),we=l(6156),ae=l(7358),Lt=l(6471),Ht=l(9340),_n=l(6038),fi=l(2920);l(4085);let wa=(()=>{class kt{}return kt.\u0275fac=function($e){return new($e||kt)},kt.\u0275mod=W.$C({type:kt}),kt.\u0275inj=G.G2t({imports:[Ht.Ui]}),kt})();var ja=l(177);let Or=(()=>{class kt{constructor($e,mn){(0,ja.Vy)(mn)&&!$e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig($e,mn=[]){return{ngModule:kt,providers:$e.serverLoaded?[{provide:Ht.EA,useValue:{...Ht.PV,...$e}},{provide:Ht.SL,useValue:mn,multi:!0},{provide:Ht.Ce,useValue:!0}]:[{provide:Ht.EA,useValue:{...Ht.PV,...$e}},{provide:Ht.SL,useValue:mn,multi:!0}]}}}return kt.\u0275fac=function($e){return new($e||kt)(G.KVO(Ht.Ce),G.KVO(W.Agw))},kt.\u0275mod=W.$C({type:kt}),kt.\u0275inj=G.G2t({imports:[fi.w2,_n.Cc,wa,fi.w2,_n.Cc,wa]}),kt})();var Rr=l(1993),Fs=l(8288),Hr=l(497),Ks=l(9338);let Sr=(()=>{var kt;class On extends Ks.Sf{constructor(mn,Ln){super(mn,Ln)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)(W.rXU(G.qQL),W.rXU(Gt.O))},this.\u0275dir=W.FsC({type:On,features:[W.Vt3]}))}return kt(),On})();var Ne=l(8570),He=l(4416),q=l(2929),mt=l(9330);const ln={suppressScrollX:!1,suppressScrollY:!1};let Oi=(()=>{var kt;class On extends e.xW{constructor(mn){super(mn)}format(mn,Ln){if("input"===Ln){let Ei=mn.getDate().toString();return Ei=+Ei<10?"0"+Ei:Ei,Ei+"/"+He.KR[mn.getMonth()].name.toUpperCase()+"/"+mn.getFullYear()}return He.KR[mn.getMonth()].name.toUpperCase()+" "+mn.getFullYear()}static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)(G.KVO(O.Ju,8))},this.\u0275prov=G.jDH({token:On,factory:On.\u0275fac}))}return kt(),On})();const ua={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let Es=(()=>{var kt;class On{static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)},this.\u0275mod=W.$C({type:On}),this.\u0275inj=G.G2t({providers:[{provide:Ne.gP,useClass:Ne.tU},{provide:Hr.kU,useValue:ln},{provide:xn.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:f.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:O.MJ,useClass:Oi},{provide:O.de,useValue:ua},{provide:Ks.Sf,useClass:Sr},i.QX,i.PV,i.vh,q.gZ,q.ZE,q.VD,q.Qu],imports:[i.MD,mt.q1,v.YN,v.X1,T.dX,w.RH,f.hM,C.Hl,ie,P.Hu,F.g7,H.MY,$.Fe,ve.X6,e.WX,Ke.m_,Vt.fS,St.Fg,ot.Cn,ht.PO,oe.D6,Ye.Wk,ae.jH,Or,Lt.YN,fe.Ve,Qe.vg,gt.mV,Jn.NQ,Yi.tP,At.s5,we.u,L.Y,nt.Ou,xi.aP,dn,Tt.RI,xn._T,u.jL,Rr.dV,Fs.XK,d.iI,Hr.U$,v.YN,v.X1,T.dX,w.RH,f.hM,C.Hl,ie,P.Hu,F.g7,H.MY,$.Fe,ve.X6,e.WX,Ke.m_,Vt.fS,St.Fg,ot.Cn,ht.PO,oe.D6,Ye.Wk,ae.jH,Or,Lt.YN,fe.Ve,Qe.vg,gt.mV,Jn.NQ,Yi.tP,At.s5,we.u,L.Y,nt.Ou,xi.aP,dn,Tt.RI,xn._T,u.jL,Rr.dV,Fs.XK,Hr.U$]}))}return kt(),On})()},1771(Zt,pe,l){"use strict";l.d(pe,{Dz:()=>le,Fl:()=>V,Gd:()=>w,I1:()=>B,IK:()=>W,Jh:()=>e,My:()=>T,NU:()=>j,Np:()=>xe,OP:()=>Pe,Qi:()=>G,R$:()=>C,T$:()=>re,Tn:()=>Ae,UI:()=>O,iD:()=>Re,mt:()=>f,oz:()=>J,rc:()=>Ee,ri:()=>ce,t2:()=>_e,uP:()=>A,xO:()=>L,xw:()=>be,y0:()=>u});var i=l(9640),d=l(4416);(0,i.VP)(d.aU.VOID);const T=(0,i.VP)(d.aU.SET_API_URL_ECL,(0,i.xk)()),w=(0,i.VP)(d.aU.UPDATE_API_CALL_STATUS_ROOT,(0,i.xk)()),e=(0,i.VP)(d.aU.CLOSE_ALL_DIALOGS),O=(0,i.VP)(d.aU.OPEN_SNACK_BAR,(0,i.xk)()),f=(0,i.VP)(d.aU.OPEN_SPINNER,(0,i.xk)()),u=(0,i.VP)(d.aU.CLOSE_SPINNER,(0,i.xk)()),L=(0,i.VP)(d.aU.OPEN_ALERT,(0,i.xk)()),C=(0,i.VP)(d.aU.CLOSE_ALERT,(0,i.xk)()),B=(0,i.VP)(d.aU.OPEN_CONFIRMATION,(0,i.xk)()),A=(0,i.VP)(d.aU.CLOSE_CONFIRMATION,(0,i.xk)()),Pe=(0,i.VP)(d.aU.SHOW_PUBKEY),le=(0,i.VP)(d.aU.FETCH_CONFIG,(0,i.xk)()),Ae=((0,i.VP)(d.aU.SHOW_CONFIG,(0,i.xk)()),(0,i.VP)(d.aU.RESET_ROOT_STORE,(0,i.xk)())),j=(0,i.VP)(d.aU.FETCH_APPLICATION_SETTINGS),W=(0,i.VP)(d.aU.SET_APPLICATION_SETTINGS,(0,i.xk)()),G=(0,i.VP)(d.aU.SET_SELECTED_NODE,(0,i.xk)()),re=(0,i.VP)(d.aU.UPDATE_NODE_SETTINGS,(0,i.xk)()),xe=(0,i.VP)(d.aU.SET_SELECTED_NODE_SETTINGS,(0,i.xk)()),Ee=(0,i.VP)(d.aU.UPDATE_APPLICATION_SETTINGS,(0,i.xk)()),V=(0,i.VP)(d.aU.SET_NODE_DATA,(0,i.xk)()),ce=(0,i.VP)(d.aU.LOGOUT,(0,i.xk)()),be=(0,i.VP)(d.aU.RESET_PASSWORD,(0,i.xk)()),J=((0,i.VP)(d.aU.RESET_PASSWORD_RES,(0,i.xk)()),(0,i.VP)(d.aU.IS_AUTHORIZED,(0,i.xk)())),Re=((0,i.VP)(d.aU.IS_AUTHORIZED_RES,(0,i.xk)()),(0,i.VP)(d.aU.LOGIN,(0,i.xk)())),_e=((0,i.VP)(d.aU.VERIFY_TWO_FA,(0,i.xk)()),(0,i.VP)(d.aU.FETCH_FILE,(0,i.xk)()));(0,i.VP)(d.aU.SHOW_FILE,(0,i.xk)())},7541(Zt,pe,l){"use strict";l.d(pe,{H:()=>ci});var i=l(7705),d=l(1747),v=l(1413),T=l(7673),w=l(6354),e=l(6697),O=l(3993),f=l(1397),u=l(9437),L=l(6977),C=l(4416),B=l(1585),A=l(3664),Pe=l(9183),le=l(2920);let Ce=(()=>{var rn;class In{constructor(Vn,ii){this.dialogRef=Vn,this.data=ii}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-spinner-dialog"]],standalone:!1,decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",0),A.nrm(1,"mat-progress-spinner",1),A.j41(2,"h2"),A.EFF(3),A.k0s()()),2&ii&&(A.R7$(3),A.JRh(Bn.data.titleMessage))},dependencies:[Pe.LG,le.DJ,le.sA],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]}))}return rn(),In})();var Ae=l(5383),j=l(9647),W=l(2615),G=l(8570),re=l(5416),xe=l(2571),Ee=l(3694),V=l(9640),ce=l(2200),be=l(60),ne=l(8834),J=l(5596),De=l(2629),Re=l(1997),Xe=l(6038),_e=l(455),he=l(8288),Dt=l(497),lt=l(9157),Le=l(9587);const te=["scrollContainer"],ie=rn=>({"display-none":rn}),P=rn=>({"h-40":rn}),F=rn=>({"failed-status":rn});function ve(rn,In){if(1&rn&&A.nrm(0,"qr-code",19),2&rn){const Mn=A.XpG();A.Y8G("value",Mn.showQRField)("size",200)}}function H(rn,In){1&rn&&A.eu8(0)}function $(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"mat-card-content",20,1),A.DNE(3,H,1,0,"ng-container",21),A.k0s(),A.bVm()),2&rn){const Mn=A.XpG(),Vn=A.sdS(20);A.R7$(),A.Y8G("ngClass",A.eq3(2,P,Mn.data.scrollable)),A.R7$(2),A.Y8G("ngTemplateOutlet",Vn)}}function Ke(rn,In){1&rn&&A.eu8(0)}function Vt(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"mat-card-content",22),A.DNE(2,Ke,1,0,"ng-container",21),A.k0s(),A.bVm()),2&rn){A.XpG();const Mn=A.sdS(20);A.R7$(2),A.Y8G("ngTemplateOutlet",Mn)}}function St(rn,In){1&rn&&(A.j41(0,"mat-icon",27),A.EFF(1,"arrow_downward"),A.k0s())}function ot(rn,In){1&rn&&(A.j41(0,"mat-icon",28),A.EFF(1,"arrow_upward"),A.k0s())}function nt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"div",23)(1,"button",24),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onScroll())}),A.DNE(2,St,2,0,"mat-icon",25)(3,ot,2,0,"mat-icon",26),A.k0s()()}if(2&rn){const Mn=A.XpG();A.R7$(2),A.Y8G("ngIf","DOWN"===Mn.scrollDirection),A.R7$(),A.Y8G("ngIf","UP"===Mn.scrollDirection)}}function ht(rn,In){1&rn&&(A.j41(0,"button",29),A.EFF(1,"OK"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function oe(rn,In){1&rn&&(A.j41(0,"button",30),A.EFF(1,"Close"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function Ye(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",31),A.bIt("copied",function(ii){W.eBV(Mn);const Bn=A.XpG();return W.Njj(Bn.onCopyField(ii))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.Y8G("payload",Mn.showCopyField),A.R7$(),A.SpI("Copy ",Mn.showCopyName)}}function fe(rn,In){1&rn&&(A.j41(0,"button",30),A.EFF(1,"Close"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function Qe(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",31),A.bIt("copied",function(ii){W.eBV(Mn);const Bn=A.XpG();return W.Njj(Bn.onCopyField(ii))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.Y8G("payload",Mn.showQRField),A.R7$(),A.SpI("Copy ",Mn.showQRName)}}function gt(rn,In){if(1&rn&&A.nrm(0,"qr-code",19),2&rn){const Mn=A.XpG(2);A.Y8G("value",Mn.showQRField)("size",200)}}function Gt(rn,In){if(1&rn&&(A.j41(0,"p",37),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.JRh(Mn.data.titleMessage)}}function rt(rn,In){1&rn&&A.nrm(0,"span",51),2&rn&&A.Y8G("innerHTML",In.$implicit,A.npT)}function cn(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"span",34),A.DNE(2,rt,1,1,"span",50),A.k0s(),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(2),A.Y8G("ngForOf",Mn.value)}}function Ft(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"date"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,1e3*Mn.value,"dd/MMM/y HH:mm"))}}function Sn(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"number"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,Mn.value,Mn.digitsInfo?Mn.digitsInfo:"1.0-3"))}}function Qn(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(Mn.value?"True":"False")}}function h(rn,In){1&rn&&(A.j41(0,"mat-icon",55),A.EFF(1,"info"),A.k0s())}function jt(rn,In){if(1&rn&&(A.j41(0,"p",53),A.EFF(1),A.DNE(2,h,2,0,"mat-icon",54),A.k0s()),2&rn){const Mn=A.XpG(3).$implicit,Vn=A.XpG(4);A.Y8G("ngClass",A.eq3(3,F,Mn.value===Vn.LoopStateEnum.FAILED)),A.R7$(),A.SpI(" ",Mn.value," "),A.R7$(),A.Y8G("ngIf",Mn.value===Vn.LoopStateEnum.FAILED)}}function Ue(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"p",57),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG(8);return W.Njj(ii.onGoToLink())}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG(4).$implicit,Vn=A.XpG(4);A.Y8G("matTooltip",A.mNQ("Go To "+Vn.goToName)),A.R7$(),A.SpI(" ",Mn.value," ")}}function wt(rn,In){if(1&rn&&A.EFF(0),2&rn){const Mn=A.XpG(4).$implicit;A.SpI(" ",Mn.value," ")}}function pt(rn,In){if(1&rn&&A.DNE(0,Ue,2,3,"p",56)(1,wt,1,1,"ng-template",null,4,A.C5r),2&rn){const Mn=A.sdS(2),Vn=A.XpG(3).$implicit,ii=A.XpG(4);A.Y8G("ngIf",Vn.value===ii.goToFieldValue)("ngIfElse",Mn)}}function Pt(rn,In){if(1&rn&&(A.qex(0),A.DNE(1,jt,3,5,"p",52)(2,pt,3,2,"ng-template",null,3,A.C5r),A.bVm()),2&rn){const Mn=A.sdS(3),Vn=A.XpG(2).$implicit,ii=A.XpG(4);A.R7$(),A.Y8G("ngIf","SWAP"===ii.data.openedBy&&"state"===Vn.key)("ngIfElse",Mn)}}function gn(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"fa-icon",58),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG(2).$implicit,Bn=A.XpG(4);return W.Njj(Bn.onExplorerClicked(ii))}),A.k0s()}if(2&rn){const Mn=A.XpG(6);A.Y8G("matTooltip",A.mNQ("Link to "+Mn.selNode.settings.blockExplorerUrl))("icon",Mn.faUpRightFromSquare)}}function ei(rn,In){if(1&rn&&(A.j41(0,"span")(1,"span",46),A.DNE(2,cn,3,1,"ng-container",47)(3,Ft,3,4,"ng-container",47)(4,Sn,3,4,"ng-container",47)(5,Qn,2,1,"ng-container",47)(6,Pt,4,2,"ng-container",48),A.j41(7,"span"),A.DNE(8,gn,1,3,"fa-icon",49),A.k0s()()()),2&rn){const Mn=A.XpG().$implicit,Vn=A.XpG(4);A.R7$(),A.Y8G("ngSwitch",Mn.type),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.ARRAY),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.DATE_TIME),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.NUMBER),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.BOOLEAN),A.R7$(3),A.Y8G("ngIf",Mn.explorerLink&&""!==Mn.explorerLink)}}function vi(rn,In){1&rn&&(A.j41(0,"span",59),A.EFF(1,"\xa0"),A.k0s())}function Ni(rn,In){if(1&rn&&(A.j41(0,"div",42)(1,"h4",43),A.EFF(2),A.k0s(),A.DNE(3,ei,9,6,"span",44)(4,vi,2,0,"ng-template",null,2,A.C5r),A.nrm(6,"mat-divider",45),A.k0s()),2&rn){const Mn=In.$implicit,Vn=A.sdS(5);A.Y8G("fxFlex.gt-md",A.mNQ(Mn.width)),A.R7$(2),A.JRh(Mn.title),A.R7$(),A.Y8G("ngIf",Mn&&(!!Mn.value||0===Mn.value))("ngIfElse",Vn)}}function kn(rn,In){if(1&rn&&(A.j41(0,"div")(1,"div",40),A.DNE(2,Ni,7,5,"div",41),A.k0s()()),2&rn){const Mn=In.$implicit;A.R7$(2),A.Y8G("ngForOf",Mn)}}function Ri(rn,In){if(1&rn&&(A.j41(0,"div",38),A.DNE(1,kn,3,1,"div",39),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.Y8G("ngForOf",Mn.messageObjs)}}function vt(rn,In){if(1&rn&&(A.j41(0,"div",32)(1,"div",33),A.DNE(2,gt,1,2,"qr-code",7),A.k0s(),A.j41(3,"div",34),A.DNE(4,Gt,2,1,"p",35)(5,Ri,2,1,"div",36),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngClass",A.eq3(4,ie,""===Mn.showQRField||Mn.screenSize!==Mn.screenSizeEnum.XS&&Mn.screenSize!==Mn.screenSizeEnum.SM)),A.R7$(),A.Y8G("ngIf",""!==Mn.showQRField),A.R7$(2),A.Y8G("ngIf",Mn.data.titleMessage),A.R7$(),A.Y8G("ngIf",(null==Mn.messageObjs?null:Mn.messageObjs.length)>0)}}let ee=(()=>{var rn;class In{set container(Vn){Vn&&(this.scrollContainer=Vn,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}constructor(Vn,ii,Bn,ia,ra,fa,ha,qt){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.snackBar=ia,this.commonService=ra,this.renderer=fa,this.router=ha,this.store=qt,this.faUpRightFromSquare=Ae.k02,this.LoopStateEnum=C.Hx,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=C.A$,this.dataTypeEnum=C.UN,this.screenSize="",this.screenSizeEnum=C.f7,this.scrollDirection="DOWN",this.shouldScroll=!0,this.unSubs=[new v.B,new v.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===C.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs),this.store.select(j._c).pipe((0,L.Q)(this.unSubs[0])).subscribe(Vn=>{this.selNode=Vn,this.logger.info(this.selNode)})}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(Vn){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Vn)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(Vn){window.open(this.selNode.settings.blockExplorerUrl+"/"+Vn.explorerLink+"/"+Vn.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(Vn=>{Vn.next(null),Vn.complete()})}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(re.UG),A.rXU(xe.h),A.rXU(A.sFG),A.rXU(Ee.Ix),A.rXU(V.il))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-alert-message"]],viewQuery:function(ii,Bn){if(1&ii&&A.GBs(te,5),2&ii){let ia;A.mGM(ia=A.lsd())&&(Bn.container=ia.first)}},standalone:!1,decls:21,vars:14,consts:[["contentBlock",""],["scrollContainer",""],["emptyField",""],["noStyleBlock",""],["noStyleChild",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],[3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["class","arrow-downward","fxLayoutAlign","center center",4,"ngIf"],["class","arrow-upward","fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center",1,"arrow-downward"],["fxLayoutAlign","center center",1,"arrow-upward"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","ml-1 fa-icon-primary",3,"matTooltip","icon","click",4,"ngIf"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxLayout","row","class","go-to-link","tabindex","4",3,"matTooltip","click",4,"ngIf","ngIfElse"],["fxLayout","row","tabindex","4",1,"go-to-link",3,"click","matTooltip"],[1,"ml-1","fa-icon-primary",3,"click","matTooltip","icon"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(ii,Bn){if(1&ii){const ia=A.RV6();A.j41(0,"div",5)(1,"div",6),A.DNE(2,ve,1,2,"qr-code",7),A.k0s(),A.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),A.EFF(7),A.k0s()(),A.j41(8,"button",12),A.bIt("click",function(){return W.eBV(ia),W.Njj(Bn.onClose())}),A.EFF(9,"X"),A.k0s()(),A.DNE(10,$,4,4,"ng-container",13)(11,Vt,3,1,"ng-container",13)(12,nt,4,2,"div",14),A.j41(13,"div",15),A.DNE(14,ht,2,1,"button",16)(15,oe,2,1,"button",17)(16,Ye,2,2,"button",18)(17,fe,2,1,"button",17)(18,Qe,2,2,"button",18),A.k0s()()(),A.DNE(19,vt,6,6,"ng-template",null,0,A.C5r)}2&ii&&(A.R7$(),A.Y8G("ngClass",A.eq3(12,ie,""===Bn.showQRField||Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField),A.R7$(),A.Y8G("ngClass",""===Bn.showQRField||Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM?"flex-100":"flex-70"),A.R7$(4),A.JRh(Bn.data.alertTitle||Bn.alertTypeEnum[Bn.data.type]),A.R7$(3),A.Y8G("ngIf",Bn.data.scrollable),A.R7$(),A.Y8G("ngIf",!Bn.data.scrollable),A.R7$(),A.Y8G("ngIf",Bn.data.scrollable&&Bn.shouldScroll),A.R7$(2),A.Y8G("ngIf",(!Bn.showQRField||""===Bn.showQRField)&&""===Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField))},dependencies:[ce.YU,ce.Sq,ce.bT,ce.T3,ce.ux,ce.e1,ce.fG,be.aY,B.tx,ne.$z,ne.$0,J.m2,J.MM,De.An,Re.q,le.DJ,le.sA,le.UI,Xe.PW,_e.oV,he.Um,Dt.Ld,lt.U,Le.N,ce.QX,ce.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return rn(),In})();var ye=l(1771),ke=l(9417),Se=l(3746),ge=l(9588),N=l(6114);function Z(rn,In){if(1&rn&&(A.j41(0,"div",20),A.nrm(1,"fa-icon",21),A.j41(2,"span"),A.EFF(3),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("icon",Mn.faExclamationTriangle),A.R7$(2),A.JRh(Mn.warningMessage)}}function Me(rn,In){if(1&rn&&(A.j41(0,"div",22),A.nrm(1,"fa-icon",21),A.j41(2,"span"),A.EFF(3),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("icon",Mn.faInfoCircle),A.R7$(2),A.JRh(Mn.informationMessage)}}function at(rn,In){if(1&rn&&(A.j41(0,"p",23),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.data.titleMessage)}}function qe(rn,In){1&rn&&A.nrm(0,"div",37),2&rn&&A.Y8G("innerHTML",In.$implicit,A.npT)}function pn(rn,In){if(1&rn&&(A.qex(0,35),A.DNE(1,qe,1,1,"div",36),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.Y8G("ngForOf",Mn.value)}}function Je(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"date"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,1e3*Mn.value,"dd/MMM/y HH:mm"))}}function Be(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"number"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,Mn.value,"1.0-3"))}}function ut(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(!0===Mn.value?"True":"False")}}function Ge(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(Mn.value)}}function Ot(rn,In){if(1&rn&&(A.j41(0,"span")(1,"span",31),A.DNE(2,pn,2,1,"ng-container",32)(3,Je,3,4,"ng-container",33)(4,Be,3,4,"ng-container",33)(5,ut,2,1,"ng-container",33)(6,Ge,2,1,"ng-container",34),A.k0s()()),2&rn){const Mn=A.XpG().$implicit,Vn=A.XpG(3);A.R7$(),A.Y8G("ngSwitch",Mn.type),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.ARRAY),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.DATE_TIME),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.NUMBER),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.BOOLEAN)}}function se(rn,In){1&rn&&(A.j41(0,"span",38),A.EFF(1,"\xa0"),A.k0s())}function We(rn,In){if(1&rn&&(A.j41(0,"div",27)(1,"h4",28),A.EFF(2),A.k0s(),A.DNE(3,Ot,7,5,"span",29)(4,se,2,0,"ng-template",null,0,A.C5r),A.nrm(6,"mat-divider",30),A.k0s()),2&rn){const Mn=In.$implicit,Vn=A.sdS(5);A.Y8G("fxFlex.gt-md",A.mNQ(Mn.width)),A.R7$(2),A.JRh(Mn.title),A.R7$(),A.Y8G("ngIf",Mn&&(!!Mn.value||0===Mn.value))("ngIfElse",Vn)}}function bt(rn,In){if(1&rn&&(A.j41(0,"div")(1,"div",25),A.DNE(2,We,7,5,"div",26),A.k0s()()),2&rn){const Mn=In.$implicit;A.R7$(2),A.Y8G("ngForOf",Mn)}}function tn(rn,In){if(1&rn&&(A.j41(0,"div"),A.DNE(1,bt,3,1,"div",24),A.k0s()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngForOf",Mn.messageObjs)}}function on(rn,In){if(1&rn&&(A.j41(0,"p",23),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.JRh(Mn.data.titleMessage)}}function un(rn,In){if(1&rn&&(A.j41(0,"mat-error"),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.SpI("",Mn.placeholder," is required.")}}function Nt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"mat-form-field",42)(1,"mat-label"),A.EFF(2),A.k0s(),A.j41(3,"input",43),A.nI1(4,"lowercase"),A.mxI("ngModelChange",function(ii){W.eBV(Mn);const Bn=A.XpG().$implicit;return A.DH7(Bn.inputValue,ii)||(Bn.inputValue=ii),W.Njj(ii)}),A.k0s(),A.DNE(5,un,2,1,"mat-error",13),A.j41(6,"mat-hint"),A.EFF(7),A.k0s()()}if(2&rn){const Mn=A.XpG(),Vn=Mn.$implicit,ii=Mn.index;A.Y8G("ngClass",Vn.width),A.R7$(2),A.JRh(Vn.placeholder),A.R7$(),A.Y8G("name",A.VkB("input",ii))("autoFocus",0===ii)("min",Vn.min)("step",Vn.step)("type",A.bMT(4,12,Vn.inputType))("tabindex",ii+1),A.R50("ngModel",Vn.inputValue),A.R7$(2),A.Y8G("ngIf",!Vn.inputValue),A.R7$(2),A.JRh(Vn.hintFunction?Vn.hintFunction(Vn.inputValue):Vn.hintText)}}function dn(rn,In){if(1&rn&&(A.qex(0),A.DNE(1,Nt,8,14,"mat-form-field",41),A.bVm()),2&rn){const Mn=In.$implicit,Vn=A.XpG(2);A.R7$(),A.Y8G("ngIf",!Mn.advancedField||Vn.showAdvanced)}}function xn(rn,In){if(1&rn&&(A.j41(0,"div",39),A.DNE(1,on,2,1,"p",12),A.j41(2,"div",40),A.DNE(3,dn,2,1,"ng-container",24),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngIf",Mn.data.titleMessage),A.R7$(2),A.Y8G("ngForOf",Mn.getInputs)}}function Jn(rn,In){1&rn&&(A.j41(0,"p"),A.EFF(1,"Show Advanced"),A.k0s())}function xi(rn,In){1&rn&&(A.j41(0,"p"),A.EFF(1,"Hide Advanced"),A.k0s())}function Yi(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",44),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onShowAdvanced())}),A.DNE(1,Jn,2,0,"p",29)(2,xi,2,0,"ng-template",null,1,A.C5r),A.k0s()}if(2&rn){const Mn=A.sdS(3),Vn=A.XpG();A.R7$(),A.Y8G("ngIf",!Vn.showAdvanced)("ngIfElse",Mn)}}function Tt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",45),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onClose(ii.getInputs))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.yesBtnText)}}function At(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",46),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onClose(!0))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.yesBtnText)}}let we=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.store=ia,this.faInfoCircle=Ae.iW_,this.faExclamationTriangle=Ae.zpE,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=C.A$,this.dataTypeEnum=C.UN,this.getInputs=[{placeholder:"",inputType:C.UN.STRING,inputValue:"",hintText:"",hintFunction:null,advancedField:!1}],this.showAdvanced=!1}ngOnInit(){this.informationMessage=this.data.informationMessage||"",this.warningMessage=this.data.warningMessage||"",this.flgShowInput=!!this.data.flgShowInput,this.getInputs=this.data.getInputs||[],this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.hasAdvanced=!!this.data.hasAdvanced&&this.data.hasAdvanced,this.messageObjs=this.data.message,this.data.type===C.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(Vn){if(Vn&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&Vn.length&&(Vn=Vn?.reduce((ii,Bn)=>(Bn.advancedField||ii.push(Bn),ii),[])),this.store.dispatch((0,ye.uP)({payload:Vn}))}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(V.il))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-confirmation-message"]],standalone:!1,decls:21,vars:10,consts:[["emptyField",""],["hideAdvancedText",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],["mat-button","","color","primary","type","button","class","mr-1","tabindex","2",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["matInput","","required","",3,"ngModelChange","name","autoFocus","min","step","type","tabindex","ngModel"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),A.EFF(5),A.k0s()(),A.j41(6,"button",7),A.bIt("click",function(){return Bn.onClose(!1)}),A.EFF(7,"X"),A.k0s()(),A.j41(8,"mat-card-content",8)(9,"form",9),A.DNE(10,Z,4,2,"div",10)(11,Me,4,2,"div",11)(12,at,2,1,"p",12)(13,tn,2,1,"div",13)(14,xn,4,2,"div",14),A.j41(15,"div",15)(16,"button",16),A.bIt("click",function(){return Bn.onClose(!1)}),A.EFF(17),A.k0s(),A.DNE(18,Yi,4,2,"button",17)(19,Tt,2,1,"button",18)(20,At,2,1,"button",19),A.k0s()()()()()),2&ii&&(A.R7$(5),A.JRh(Bn.data.alertTitle||Bn.alertTypeEnum[Bn.data.type]),A.R7$(5),A.Y8G("ngIf",Bn.warningMessage&&""!==Bn.warningMessage),A.R7$(),A.Y8G("ngIf",Bn.informationMessage&&""!==Bn.informationMessage),A.R7$(),A.Y8G("ngIf",Bn.data.titleMessage&&!Bn.flgShowInput),A.R7$(),A.Y8G("ngIf",(null==Bn.messageObjs?null:Bn.messageObjs.length)>0),A.R7$(),A.Y8G("ngIf",Bn.flgShowInput),A.R7$(3),A.JRh(Bn.noBtnText),A.R7$(),A.Y8G("ngIf",Bn.hasAdvanced),A.R7$(),A.Y8G("ngIf",Bn.flgShowInput),A.R7$(),A.Y8G("ngIf",!Bn.flgShowInput))},dependencies:[ce.YU,ce.Sq,ce.bT,ce.ux,ce.e1,ce.fG,ke.qT,ke.me,ke.BC,ke.cb,ke.YS,ke.vS,ke.cV,be.aY,ne.$z,J.m2,J.MM,Se.fg,ge.rl,ge.nJ,ge.MV,ge.TL,Re.q,le.DJ,le.sA,le.UI,Xe.PW,Le.N,N.V,ce.GH,ce.QX,ce.vh],encapsulation:2}))}return rn(),In})();var ae=l(2462),Lt=l(6183),Ht=l(3029);const _n=rn=>({"display-none":rn});function fi(rn,In){if(1&rn&&(A.j41(0,"mat-option",23),A.EFF(1),A.k0s()),2&rn){const Mn=In.$implicit;A.Y8G("value",Mn),A.R7$(),A.SpI(" ",Mn.infoName," ")}}function bi(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-label"),A.EFF(3,"Info Type"),A.k0s(),A.j41(4,"mat-select",21),A.mxI("valueChange",function(ii){W.eBV(Mn);const Bn=A.XpG();return A.DH7(Bn.selInfoType,ii)||(Bn.selInfoType=ii),W.Njj(ii)}),A.DNE(5,fi,2,2,"mat-option",22),A.k0s()()()}if(2&rn){const Mn=A.XpG();A.R7$(4),A.R50("value",Mn.selInfoType),A.R7$(),A.Y8G("ngForOf",Mn.infoTypes)}}let Qi=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia,ra){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.snackBar=ia,this.commonService=ra,this.faReceipt=Ae.Mf0,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=C.f7}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((Vn,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Vn){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Vn)}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(re.UG),A.rXU(xe.h))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-show-pubkey"]],standalone:!1,decls:26,vars:20,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["errorCorrectionLevel","L",3,"value","size"],["fxFlex","100","fxFlex.gt-sm","70"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-button","","color","primary","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",0)(1,"div",1),A.nrm(2,"qr-code",2),A.k0s(),A.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),A.nrm(6,"fa-icon",6),A.j41(7,"span",7),A.EFF(8),A.k0s()(),A.j41(9,"button",8),A.bIt("click",function(){return Bn.onClose()}),A.EFF(10,"X"),A.k0s()(),A.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),A.nrm(14,"qr-code",2),A.k0s(),A.DNE(15,bi,6,2,"div",12),A.j41(16,"div",13)(17,"div",14)(18,"h4",15),A.EFF(19),A.k0s(),A.j41(20,"span",16),A.EFF(21),A.k0s()()(),A.nrm(22,"mat-divider",17),A.j41(23,"div",18)(24,"button",19),A.bIt("copied",function(ra){return Bn.onCopyPubkey(ra)}),A.EFF(25),A.k0s()()()()()()),2&ii&&(A.R7$(),A.Y8G("ngClass",A.eq3(16,_n,Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("value",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]))("size",Bn.qrWidth),A.R7$(4),A.Y8G("icon",Bn.faReceipt),A.R7$(2),A.JRh(Bn.selInfoType.infoName),A.R7$(5),A.Y8G("ngClass",A.eq3(18,_n,Bn.screenSize!==Bn.screenSizeEnum.XS&&Bn.screenSize!==Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("value",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]))("size",Bn.qrWidth),A.R7$(),A.Y8G("ngIf",Bn.information.uris&&Bn.information.uris.length>0),A.R7$(4),A.JRh(Bn.selInfoType.infoName),A.R7$(2),A.JRh(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]),A.R7$(3),A.Y8G("payload",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1])),A.R7$(),A.SpI("Copy ",Bn.selInfoType.infoKey))},dependencies:[ce.YU,ce.Sq,ce.bT,be.aY,ne.$z,J.m2,J.MM,ge.rl,ge.nJ,Re.q,le.DJ,le.sA,le.UI,Xe.PW,Lt.VO,Ht.wT,he.Um,lt.U,Le.N],encapsulation:2}))}return rn(),In})();var zi=l(190),It=l(8430),an=l(5428),Yt=l(9330),Un=l(7879),zn=l(3202),Fn=l(1534);let ci=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia,ra,fa,ha,qt,En,Wn,ri){this.actions=Vn,this.httpClient=ii,this.store=Bn,this.logger=ia,this.wsService=ra,this.sessionService=fa,this.commonService=ha,this.dataService=qt,this.dialog=En,this.snackBar=Wn,this.router=ri,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new v.B,new v.B],this.closeAllDialogs=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_ALL_DIALOGS),(0,w.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_SNACK_BAR),(0,w.T)(Rn=>{"string"==typeof Rn.payload?this.snackBar.open(Rn.payload):this.snackBar.open(Rn.payload.message,"","ERROR"===Rn.payload.type?{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Rn.payload.type?{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_SPINNER),(0,w.T)(Rn=>{Rn.payload!==C.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(Ce,{panelClass:"spinner-dialog-panel",data:{titleMessage:Rn.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_SPINNER),(0,w.T)(Rn=>{if(Rn.payload!==C.MZ.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Rn.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Hn=>{Hn.componentInstance&&Hn.componentInstance.data&&Hn.componentInstance.data.titleMessage&&Hn.componentInstance.data.titleMessage===Rn.payload&&Hn.close()})}catch(Hn){this.logger.error(Hn)}})),{dispatch:!1}),this.openAlert=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_ALERT),(0,w.T)(Rn=>{const Hn=JSON.parse(JSON.stringify(Rn.payload));Hn.width||(Hn.width=this.alertWidth),this.dialogRef=this.dialog.open(Rn.payload.data.component?Rn.payload.data.component:ee,Hn)})),{dispatch:!1}),this.closeAlert=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_ALERT),(0,w.T)(Rn=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Rn.payload),Rn.payload))),{dispatch:!1}),this.openConfirm=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_CONFIRMATION),(0,w.T)(Rn=>{const Hn=JSON.parse(JSON.stringify(Rn.payload));Hn.width||(Hn.width=this.confirmWidth),this.dialogRef=this.dialog.open(we,Hn)})),{dispatch:!1}),this.closeConfirm=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_CONFIRMATION),(0,e.s)(1),(0,w.T)(Rn=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Rn.payload),Rn.payload))),{dispatch:!1}),this.showNodePubkey=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_PUBKEY),(0,O.E)(this.store.select(j.N)),(0,f.Z)(([Rn,Hn])=>(this.sessionService.getItem("token")&&Hn.identity_pubkey?this.store.dispatch((0,ye.xO)({payload:{data:{information:Hn,component:Qi}}})):this.snackBar.open("Node Pubkey does not exist."),(0,T.of)({type:C.aU.VOID}))))),this.appConfigFetch=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_APPLICATION_SETTINGS),(0,f.Z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===C.f7.XS||this.screenSize===C.f7.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===C.f7.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,ye.mt)({payload:C.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchRTLConfig",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API))),(0,w.T)(Rn=>{this.logger.info(Rn),this.store.dispatch((0,ye.y0)({payload:C.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchRTLConfig",status:C.wn.COMPLETED}}));let Hn=null;return Rn.nodes.forEach(Pi=>{Pi.settings.currencyUnits=[...C.A0,Pi.settings?.currencyUnit?Pi.settings?.currencyUnit:""],+(Pi.index||-1)===Rn.selectedNodeIndex&&(Hn=Pi)}),Hn?(this.store.dispatch((0,ye.Qi)({payload:{uiMessage:C.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Hn,isInitialSetup:!0}})),{type:C.aU.SET_APPLICATION_SETTINGS,payload:Rn}):{type:C.aU.VOID}}),(0,u.W)(Rn=>(this.handleErrorWithAlert("FetchRTLConfig",C.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",C.rl.CONF_API,Rn),(0,T.of)({type:C.aU.VOID}))))),this.updateNodeSettings=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.UPDATE_NODE_SETTINGS),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,ye.Gd)({payload:{action:"updateNodeSettings",status:C.wn.INITIATED}})),Rn.payload.settings.fiatConversion||delete Rn.payload.settings.currencyUnit,delete Rn.payload.settings.currencyUnits,this.httpClient.post(C.rl.CONF_API+"/node",Rn.payload).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"updateNodeSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.UPDATE_NODE_SETTINGS})),Hn.settings.currencyUnits=[...C.A0,Hn.settings?.currencyUnit?Hn.settings?.currencyUnit:""],this.store.dispatch((0,ye.Np)({payload:Hn})),{type:C.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,u.W)(Hn=>(this.handleErrorWithAlert("updateNodeSettings",C.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",C.rl.CONF_API+"/node",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.updateApplicationSettings=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.UPDATE_APPLICATION_SETTINGS),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,ye.Gd)({payload:{action:"updateApplicationSettings",status:C.wn.INITIATED}})),Rn.payload.config.nodes.forEach(Hn=>{delete Hn.settings.currencyUnits}),this.httpClient.post(C.rl.CONF_API+"/application",Rn.payload.config).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"updateApplicationSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.UPDATE_APPLICATION_SETTINGS})),Rn.payload.showSnackBar&&this.store.dispatch((0,ye.UI)({payload:Rn.payload.message})),{type:C.aU.SET_APPLICATION_SETTINGS,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("updateApplicationSettings",C.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",C.rl.CONF_API+"/application",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.configFetch=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_CONFIG),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,ye.Gd)({payload:{action:"fetchConfig",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API+"/config/"+Rn.payload).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"fetchConfig",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.OPEN_CONFIG_FILE})),{type:C.aU.SHOW_CONFIG,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("fetchConfig",C.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",C.rl.CONF_API+"/config/"+Rn.payload,Hn),(0,T.of)({type:C.aU.VOID})))))))),this.showLnConfig=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_CONFIG),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1}),this.isAuthorized=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.IS_AUTHORIZED),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"IsAuthorized",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API,{authenticateWith:Rn.payload&&""!==Rn.payload.trim()?C.U1.PASSWORD:C.U1.JWT,authenticationValue:Rn.payload&&""!==Rn.payload.trim()?Rn.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"IsAuthorized",status:C.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:C.aU.IS_AUTHORIZED_RES,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("IsAuthorized",C.MZ.NO_SPINNER,"Authorization Failed",C.rl.AUTHENTICATE_API,Hn),(0,T.of)({type:C.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.IS_AUTHORIZED_RES),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1}),this.authLogin=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.LOGIN),(0,O.E)(this.store.select(j.qv)),(0,f.Z)(([Rn,Hn])=>(this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,It.gf)()),this.store.dispatch((0,an.Hh)()),this.store.dispatch((0,ye.Gd)({payload:{action:"Login",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API,{authenticateWith:"disabledAuth"===Rn.payload.password?C.U1.NOAUTH:Rn.payload.password?C.U1.PASSWORD:C.U1.JWT,authenticationValue:Rn.payload.password?Rn.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Rn.payload.twoFAToken?Rn.payload.twoFAToken:""}).pipe((0,w.T)(Pi=>{this.logger.info(Pi),this.store.dispatch((0,ye.Gd)({payload:{action:"Login",status:C.wn.COMPLETED}})),this.setLoggedInDetails(Rn.payload.defaultPassword,Pi)}),(0,u.W)(Pi=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",C.MZ.NO_SPINNER,Pi),+Hn.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Pi.error&&Pi.error.error?Pi.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:Pi.error&&Pi.error.error?Pi.error.error:"Single Sign On Failed!"}}),(0,T.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.VERIFY_TWO_FA),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ye.Gd)({payload:{action:"VerifyToken",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API+"/token",{authentication2FA:Rn.payload.token}).pipe((0,w.T)(Hn=>{this.logger.info(Hn),this.store.dispatch((0,ye.y0)({payload:C.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ye.Gd)({payload:{action:"VerifyToken",status:C.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Rn.payload.authResponse)}),(0,u.W)(Hn=>(this.handleErrorWithAlert("VerifyToken",C.MZ.VERIFY_TOKEN,"Authorization Failed!",C.rl.AUTHENTICATE_API+"/token",Hn),(0,T.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.LOGOUT),(0,O.E)(this.store.select(j.qv)),(0,f.Z)(([Rn,Hn])=>{this.store.dispatch((0,ye.mt)({payload:C.MZ.LOG_OUT})),Hn.SSO&&+Hn.SSO.rtlSSO&&(window.location.href=Hn.SSO.logoutRedirectLink),this.sessionService.clearAll(),this.store.dispatch((0,ye.Fl)({payload:{}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),this.logger.info("Logged out from browser");const Pi=()=>{Hn.SSO&&+Hn.SSO.rtlSSO||(Rn.payload&&this.sessionService.setItem("logoutReason",Rn.payload),window.location.href=document.baseURI+"login")};return this.httpClient.get(C.rl.AUTHENTICATE_API+"/logout").pipe((0,w.T)(da=>{this.logger.info(da),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),this.logger.info("Logged out from server"),Pi()}),(0,u.W)(da=>(this.logger.error(da),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),Pi(),(0,T.of)({type:C.aU.VOID}))))})),{dispatch:!1}),this.resetPassword=(0,d.EH)(()=>this.actions.pipe((0,L.Q)(this.unSubs[1]),(0,d.gp)(C.aU.RESET_PASSWORD),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"ResetPassword",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API+"/reset",{currPassword:Rn.payload.currPassword,newPassword:Rn.payload.newPassword}).pipe((0,L.Q)(this.unSubs[0]),(0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"ResetPassword",status:C.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,ye.UI)({payload:"Password Reset Successful!"})),this.SetToken(Hn.token),{type:C.aU.RESET_PASSWORD_RES,payload:Hn.token})),(0,u.W)(Hn=>(this.handleErrorWithAlert("ResetPassword",C.MZ.NO_SPINNER,"Password Reset Failed!",C.rl.AUTHENTICATE_API+"/reset",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.setSelectedNode=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SET_SELECTED_NODE),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:Rn.payload.uiMessage})),this.store.dispatch((0,ye.Gd)({payload:{action:"UpdateSelNode",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API+"/updateSelNode/"+Rn.payload.currentLnNode?.index+"/"+Rn.payload.prevLnNodeIndex).pipe((0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"UpdateSelNode",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:Rn.payload.uiMessage})),this.initializeNode(Hn,Rn.payload.isInitialSetup),{type:C.aU.VOID})),(0,u.W)(Hn=>(this.handleErrorWithAlert("UpdateSelNode",Rn.payload.uiMessage,"Update Selected Node Failed!",C.rl.CONF_API+"/updateSelNode",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.fetchFile=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_FILE),(0,f.Z)(Rn=>{this.store.dispatch((0,ye.mt)({payload:C.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchFile",status:C.wn.INITIATED}}));const Hn="?channel="+Rn.payload.channelPoint+(Rn.payload.path?"&path="+Rn.payload.path:"");return this.httpClient.get(C.rl.CONF_API+"/file"+Hn).pipe((0,w.T)(Pi=>(this.store.dispatch((0,ye.Gd)({payload:{action:"FetchFile",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.DOWNLOAD_BACKUP_FILE})),{type:C.aU.SHOW_FILE,payload:Pi})),(0,u.W)(Pi=>(this.handleErrorWithAlert("fetchFile",C.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",C.rl.CONF_API+"/file"+Hn,{status:this.commonService.extractErrorNumber(Pi),error:{error:this.commonService.extractErrorCode(Pi)}}),(0,T.of)({type:C.aU.VOID}))))}))),this.showFile=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_FILE),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1})}initializeNode(Vn,ii){this.logger.info("Initializing node from RTL Effects.");const Bn=ii?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),Vn.settings.currencyUnits=[...C.A0,Vn.settings?.currencyUnit?Vn.settings?.currencyUnit:""],this.store.dispatch((0,ye.Tn)({payload:Vn})),this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,It.gf)()),this.store.dispatch((0,an.Hh)()),this.sessionService.getItem("token")){const ia=Vn.lnImplementation?Vn.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(ia);const ra=!(0,i.naY)()&&window.location.origin?window.location.origin+"/rtl/api":C.H$;switch(this.wsService.connectWebSocket(ra?.replace(/^http/,"ws")+C.rl.Web_SOCKET_API,Vn.index?Vn.index.toString():"-1"),ia){case"CLN":this.store.dispatch((0,It.lg)()),this.store.dispatch((0,It.Aw)({payload:{loadPage:Bn}}));break;case"ECL":this.store.dispatch((0,an.lg)()),this.store.dispatch((0,an.zR)({payload:{loadPage:Bn}}));break;default:this.store.dispatch((0,zi.lg)()),this.store.dispatch((0,zi.Br)({payload:{loadPage:Bn}}))}}}SetToken(Vn){Vn?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Vn)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Vn,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",Vn),Vn?(this.store.dispatch((0,ye.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,ye.NU)())}handleErrorWithoutAlert(Vn,ii,Bn){this.logger.error("ERROR IN: "+Vn+"\n"+JSON.stringify(Bn)),401===Bn.status&&"Login"!==Vn?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ye.Jh)()),this.store.dispatch((0,ye.ri)({payload:"Authentication Failed: "+JSON.stringify(Bn.error)}))):(this.store.dispatch((0,ye.y0)({payload:ii})),this.store.dispatch((0,ye.Gd)({payload:{action:Vn,status:C.wn.ERROR,statusCode:Bn.status?Bn.status.toString():"",message:this.commonService.extractErrorMessage(Bn)}})))}handleErrorWithAlert(Vn,ii,Bn,ia,ra){if(this.logger.error(ra),0===ra.status&&ra.statusText&&"Unknown Error"===ra.statusText&&(ra={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===ra.status&&"Login"!==Vn)this.logger.info("Redirecting to Login"),this.store.dispatch((0,ye.Jh)()),this.store.dispatch((0,ye.ri)({payload:"Authentication Failed: "+JSON.stringify(ra.error)}));else{this.store.dispatch((0,ye.y0)({payload:ii}));const fa=this.commonService.extractErrorMessage(ra);this.store.dispatch((0,ye.xO)({payload:{data:{type:"ERROR",alertTitle:Bn,message:{code:ra.status?ra.status:"Unknown Error",message:fa,URL:ia},component:ae.f}}})),this.store.dispatch((0,ye.Gd)({payload:{action:Vn,status:C.wn.ERROR,statusCode:ra.status?ra.status.toString():"",message:fa,URL:ia}}))}}ngOnDestroy(){this.unSubs.forEach(Vn=>{Vn.next(null),Vn.complete()})}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(W.KVO(d.En),W.KVO(Yt.Qq),W.KVO(V.il),W.KVO(G.gP),W.KVO(Un.I),W.KVO(zn.Q),W.KVO(xe.h),W.KVO(Fn.u),W.KVO(B.bZ),W.KVO(re.UG),W.KVO(Ee.Ix))},this.\u0275prov=W.jDH({token:In,factory:In.\u0275fac}))}return rn(),In})()},9647(Zt,pe,l){"use strict";l.d(pe,{Az:()=>u,E2:()=>f,Kq:()=>O,N:()=>e,_c:()=>T,qv:()=>w});var i=l(9640);const d=(0,i.UX)("root"),T=((0,i.Mz)(d,L=>L.apiURL),(0,i.Mz)(d,L=>L.selNode)),w=(0,i.Mz)(d,L=>L.appConfig),e=(0,i.Mz)(d,L=>L.nodeData),O=(0,i.Mz)(d,L=>L.apisCallStatus.Login),f=(0,i.Mz)(d,L=>L.apisCallStatus.IsAuthorized),u=(0,i.Mz)(d,L=>({nodeDate:L.nodeData,selNode:L.selNode}))},599(Zt,pe,l){"use strict";var i=l(7303),d=l(2512),v=l(2615),T=l(177),w=l(2200),e=l(3664),O=l(7705),f=l(3393);class C extends i.qj{supportsDOMEvents=!0;static makeCurrent(){(0,i.ig)(new C)}onAndCancel(_,m,E,D){return _.addEventListener(m,E,D),()=>{_.removeEventListener(m,E,D)}}dispatchEvent(_,m){_.dispatchEvent(m)}remove(_){_.remove()}createElement(_,m){return(m=m||this.getDefaultDocument()).createElement(_)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(_){return _.nodeType===Node.ELEMENT_NODE}isShadowRoot(_){return _ instanceof DocumentFragment}getGlobalEventTarget(_,m){return"window"===m?window:"document"===m?_:"body"===m?_.body:null}getBaseHref(_){const m=function A(){return B=B||document.head.querySelector("base"),B?B.getAttribute("href"):null}();return null==m?null:function Pe(b){return new URL(b,document.baseURI).pathname}(m)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(_){return(0,d.b)(document.cookie,_)}}let B=null,Ce=(()=>{class b{build(){return new XMLHttpRequest}static \u0275fac=function(E){return new(E||b)};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();const Ae=["alt","control","meta","shift"],j={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},W={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let G=(()=>{class b extends f.Hl{constructor(m){super(m)}supports(m){return null!=b.parseEventName(m)}addEventListener(m,E,D,I){const Oe=b.parseEventName(E),Ct=b.eventCallback(Oe.fullKey,D,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.rb)().onAndCancel(m,Oe.domEventName,Ct,I))}static parseEventName(m){const E=m.toLowerCase().split("."),D=E.shift();if(0===E.length||"keydown"!==D&&"keyup"!==D)return null;const I=b._normalizeKey(E.pop());let Oe="",Ct=E.indexOf("code");if(Ct>-1&&(E.splice(Ct,1),Oe="code."),Ae.forEach(yn=>{const Yn=E.indexOf(yn);Yn>-1&&(E.splice(Yn,1),Oe+=yn+".")}),Oe+=I,0!=E.length||0===I.length)return null;const Bt={};return Bt.domEventName=D,Bt.fullKey=Oe,Bt}static matchEventFullKeyCode(m,E){let D=j[m.key]||m.key,I="";return E.indexOf("code.")>-1&&(D=m.code,I="code."),!(null==D||!D)&&(D=D.toLowerCase()," "===D?D="space":"."===D&&(D="dot"),Ae.forEach(Oe=>{Oe!==D&&(0,W[Oe])(m)&&(I+=Oe+".")}),I+=D,I===E)}static eventCallback(m,E,D){return I=>{b.matchEventFullKeyCode(I,m)&&D.runGuarded(()=>E(I))}}static _normalizeKey(m){return"esc"===m?"escape":m}static \u0275fac=function(E){return new(E||b)(v.KVO(v.qQL))};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();const De=(0,O.oH4)(O.fpN,"browser",[{provide:e.Agw,useValue:T.AJ},{provide:e.PLl,useValue:function ce(){C.makeCurrent()},multi:!0},{provide:v.qQL,useFactory:function ne(){return(0,e._9u)(document),document}}]),Xe=[{provide:e.$Ln,useClass:class le{addToWindow(_){v.laP.getAngularTestability=(E,D=!0)=>{const I=_.findTestabilityInTree(E,D);if(null==I)throw new v.buA(5103,!1);return I},v.laP.getAllAngularTestabilities=()=>_.getAllTestabilities(),v.laP.getAllAngularRootElements=()=>_.getAllRootElements(),v.laP.frameworkStabilizers||(v.laP.frameworkStabilizers=[]),v.laP.frameworkStabilizers.push(E=>{const D=v.laP.getAllAngularTestabilities();let I=D.length;const Oe=function(){I--,0==I&&E()};D.forEach(Ct=>{Ct.whenStable(Oe)})})}findTestabilityInTree(_,m,E){return null==m?null:_.getTestability(m)??(E?(0,i.rb)().isShadowRoot(m)?this.findTestabilityInTree(_,m.host,!0):this.findTestabilityInTree(_,m.parentElement,!0):null)}}},{provide:e.dOL,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]},{provide:e.NYb,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]}],_e=[{provide:v.GBX,useValue:"root"},{provide:v.zcH,useFactory:function be(){return new v.zcH}},{provide:f.Q5,useClass:f.jd,multi:!0,deps:[v.qQL]},{provide:f.Q5,useClass:G,multi:!0,deps:[v.qQL]},f.mE,f.CI,f.EU,{provide:e._9s,useExisting:f.mE},{provide:d.N,useClass:Ce},[]];let he=(()=>{class b{constructor(){}static \u0275fac=function(E){return new(E||b)};static \u0275mod=e.$C({type:b});static \u0275inj=v.G2t({providers:[..._e,...Xe],imports:[w.MD,O.Hbi]})}return b})();var Dt=l(345),lt=l(1514);function ie(b){return new v.buA(3e3,!1)}function nt(b){return new v.buA(3002,!1)}function vt(b){switch(b.length){case 0:return new lt.sf;case 1:return b[0];default:return new lt.PZ(b)}}function ee(b,_,m=new Map,E=new Map){const D=[],I=[];let Oe=-1,Ct=null;if(_.forEach(Bt=>{const yn=Bt.get("offset"),Yn=yn==Oe,jn=Yn&&Ct||new Map;Bt.forEach((Fi,Zi)=>{let Mi=Zi,Ai=Fi;if("offset"!==Zi)switch(Mi=b.normalizePropertyName(Mi,D),Ai){case lt.FX:Ai=m.get(Zi);break;case lt.kp:Ai=E.get(Zi);break;default:Ai=b.normalizeStyleValue(Zi,Mi,Ai,D)}jn.set(Mi,Ai)}),Yn||I.push(jn),Ct=jn,Oe=yn}),D.length)throw function h(){return new v.buA(3502,!1)}();return I}function ye(b,_,m,E){switch(_){case"start":b.onStart(()=>E(m&&ke(m,"start",b)));break;case"done":b.onDone(()=>E(m&&ke(m,"done",b)));break;case"destroy":b.onDestroy(()=>E(m&&ke(m,"destroy",b)))}}function ke(b,_,m){const I=Se(b.element,b.triggerName,b.fromState,b.toState,_||b.phaseName,m.totalTime??b.totalTime,!!m.disabled),Oe=b._data;return null!=Oe&&(I._data=Oe),I}function Se(b,_,m,E,D="",I=0,Oe){return{element:b,triggerName:_,fromState:m,toState:E,phaseName:D,totalTime:I,disabled:!!Oe}}function ge(b,_,m){let E=b.get(_);return E||b.set(_,E=m),E}function N(b){const _=b.indexOf(":");return[b.substring(1,_),b.slice(_+1)]}const Z=typeof document>"u"?null:document.documentElement;function Me(b){const _=b.parentNode||b.host||null;return _===Z?null:_}let qe=null,pn=!1;function Ge(b,_){for(;_;){if(_===b)return!0;_=Me(_)}return!1}function Ot(b,_,m){if(m)return Array.from(b.querySelectorAll(_));const E=b.querySelector(_);return E?[E]:[]}const tn="ng-enter",on="ng-leave",un="ng-trigger",Nt=".ng-trigger",dn="ng-animating",xn=".ng-animating";function Jn(b){if("number"==typeof b)return b;const _=b.match(/^(-?[\.\d]+)(m?s)/);return!_||_.length<2?0:xi(parseFloat(_[1]),_[2])}function xi(b,_){return"s"===_?1e3*b:b}function Yi(b,_,m){return b.hasOwnProperty("duration")?b:function At(b,_,m){let E,D=0,I="";if("string"==typeof b){const Oe=b.match(Tt);if(null===Oe)return _.push(ie()),{duration:0,delay:0,easing:""};E=xi(parseFloat(Oe[1]),Oe[2]);const Ct=Oe[3];null!=Ct&&(D=xi(parseFloat(Ct),Oe[4]));const Bt=Oe[5];Bt&&(I=Bt)}else E=b;if(!m){let Oe=!1,Ct=_.length;E<0&&(_.push(function P(){return new v.buA(3100,!1)}()),Oe=!0),D<0&&(_.push(function F(){return new v.buA(3101,!1)}()),Oe=!0),Oe&&_.splice(Ct,0,ie())}return{duration:E,delay:D,easing:I}}(b,_,m)}const Tt=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Lt(b,_,m){_.forEach((E,D)=>{const I=an(D);m&&!m.has(D)&&m.set(D,b.style[I]),b.style[I]=E})}function Ht(b,_){_.forEach((m,E)=>{const D=an(E);b.style[D]=""})}function _n(b){return Array.isArray(b)?1==b.length?b[0]:(0,lt.K2)(b):b}const bi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Qi(b){let _=[];if("string"==typeof b){let m;for(;m=bi.exec(b);)_.push(m[1]);bi.lastIndex=0}return _}function zi(b,_,m){const E=`${b}`,D=E.replace(bi,(I,Oe)=>{let Ct=_[Oe];return null==Ct&&(m.push(function H(){return new v.buA(3003,!1)}()),Ct=""),Ct.toString()});return D==E?b:D}const It=/-+([a-z0-9])/g;function an(b){return b.replace(It,(..._)=>_[1].toUpperCase())}function Fn(b,_,m){switch(_.type){case lt.If.Trigger:return b.visitTrigger(_,m);case lt.If.State:return b.visitState(_,m);case lt.If.Transition:return b.visitTransition(_,m);case lt.If.Sequence:return b.visitSequence(_,m);case lt.If.Group:return b.visitGroup(_,m);case lt.If.Animate:return b.visitAnimate(_,m);case lt.If.Keyframes:return b.visitKeyframes(_,m);case lt.If.Style:return b.visitStyle(_,m);case lt.If.Reference:return b.visitReference(_,m);case lt.If.AnimateChild:return b.visitAnimateChild(_,m);case lt.If.AnimateRef:return b.visitAnimateRef(_,m);case lt.If.Query:return b.visitQuery(_,m);case lt.If.Stagger:return b.visitStagger(_,m);default:throw function $(){return new v.buA(3004,!1)}()}}function ci(b,_){return window.getComputedStyle(b)[_]}let Bn=(()=>{class b{validateStyleProperty(m){return function Je(b){qe||(qe=function ut(){return typeof document<"u"?document.body:null}()||{},pn=!!qe.style&&"WebkitAppearance"in qe.style);let _=!0;return qe.style&&!function at(b){return"ebkit"==b.substring(1,6)}(b)&&(_=b in qe.style,!_&&pn&&(_="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in qe.style)),_}(m)}containsElement(m,E){return Ge(m,E)}getParentElement(m){return Me(m)}query(m,E,D){return Ot(m,E,D)}computeStyle(m,E,D){return D||""}animate(m,E,D,I,Oe,Ct=[],Bt){return new lt.sf(D,I)}static \u0275fac=function(E){return new(E||b)};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();class ia{static NOOP=new Bn}class ra{}const ha=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class qt extends ra{normalizePropertyName(_,m){return an(_)}normalizeStyleValue(_,m,E,D){let I="";const Oe=E.toString().trim();if(ha.has(m)&&0!==E&&"0"!==E)if("number"==typeof E)I="px";else{const Ct=E.match(/^[+-]?[\d\.]+([a-z]*)$/);Ct&&0==Ct[1].length&&D.push(function Ke(){return new v.buA(3005,!1)}())}return Oe+I}}const vn=new Set(["true","1"]),oi=new Set(["false","0"]);function bn(b,_){const m=vn.has(b)||oi.has(b),E=vn.has(_)||oi.has(_);return(D,I)=>{let Oe="*"==b||b==D,Ct="*"==_||_==I;return!Oe&&m&&"boolean"==typeof D&&(Oe=D?vn.has(b):oi.has(b)),!Ct&&E&&"boolean"==typeof I&&(Ct=I?vn.has(_):oi.has(_)),Oe&&Ct}}const yi=new RegExp("s*:selfs*,?","g");function Wi(b,_,m,E){return new Fe(b).build(_,m,E)}class Fe{_driver;constructor(_){this._driver=_}build(_,m,E){const D=new Et(m);return this._resetContextStyleTimingState(D),Fn(this,_n(_),D)}_resetContextStyleTimingState(_){_.currentQuerySelector="",_.collectedStyles=new Map,_.collectedStyles.set("",new Map),_.currentTime=0}visitTrigger(_,m){let E=m.queryCount=0,D=m.depCount=0;const I=[],Oe=[];return"@"==_.name.charAt(0)&&m.errors.push(function Vt(){return new v.buA(3006,!1)}()),_.definitions.forEach(Ct=>{if(this._resetContextStyleTimingState(m),Ct.type==lt.If.State){const Bt=Ct,yn=Bt.name;yn.toString().split(/\s*,\s*/).forEach(Yn=>{Bt.name=Yn,I.push(this.visitState(Bt,m))}),Bt.name=yn}else if(Ct.type==lt.If.Transition){const Bt=this.visitTransition(Ct,m);E+=Bt.queryCount,D+=Bt.depCount,Oe.push(Bt)}else m.errors.push(function St(){return new v.buA(3007,!1)}())}),{type:lt.If.Trigger,name:_.name,states:I,transitions:Oe,queryCount:E,depCount:D,options:null}}visitState(_,m){const E=this.visitStyle(_.styles,m),D=_.options&&_.options.params||null;if(E.containsDynamicStyles){const I=new Set,Oe=D||{};E.styles.forEach(Ct=>{Ct instanceof Map&&Ct.forEach(Bt=>{Qi(Bt).forEach(yn=>{Oe.hasOwnProperty(yn)||I.add(yn)})})}),I.size&&m.errors.push(function ot(){return new v.buA(3008,!1)}(0,I.values()))}return{type:lt.If.State,name:_.name,style:E,options:D?{params:D}:null}}visitTransition(_,m){m.queryCount=0,m.depCount=0;const E=Fn(this,_n(_.animation),m),D=function da(b,_){const m=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(E=>function Ta(b,_,m){if(":"==b[0]){const Bt=function en(b,_){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,E)=>parseFloat(E)>parseFloat(m);case":decrement":return(m,E)=>parseFloat(E) *"}}(b,m);if("function"==typeof Bt)return void _.push(Bt);b=Bt}const E=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return m.push(function rt(){return new v.buA(3015,!1)}()),_;const D=E[1],I=E[2],Oe=E[3];_.push(bn(D,Oe)),"<"==I[0]&&("*"!=D||"*"!=Oe)&&_.push(bn(Oe,D))}(E,m,_)):m.push(b),m}(_.expr,m.errors);return{type:lt.If.Transition,matchers:D,animation:E,queryCount:m.queryCount,depCount:m.depCount,options:di(_.options)}}visitSequence(_,m){return{type:lt.If.Sequence,steps:_.steps.map(E=>Fn(this,E,m)),options:di(_.options)}}visitGroup(_,m){const E=m.currentTime;let D=0;const I=_.steps.map(Oe=>{m.currentTime=E;const Ct=Fn(this,Oe,m);return D=Math.max(D,m.currentTime),Ct});return m.currentTime=D,{type:lt.If.Group,steps:I,options:di(_.options)}}visitAnimate(_,m){const E=function ti(b,_){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Ii(Yi(b,_).duration,0,"");const m=b;if(m.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Ii(0,0,"");return I.dynamic=!0,I.strValue=m,I}const D=Yi(m,_);return Ii(D.duration,D.delay,D.easing)}(_.timings,m.errors);m.currentAnimateTimings=E;let D,I=_.styles?_.styles:(0,lt.iF)({});if(I.type==lt.If.Keyframes)D=this.visitKeyframes(I,m);else{let Oe=_.styles,Ct=!1;if(!Oe){Ct=!0;const yn={};E.easing&&(yn.easing=E.easing),Oe=(0,lt.iF)(yn)}m.currentTime+=E.duration+E.delay;const Bt=this.visitStyle(Oe,m);Bt.isEmptyStep=Ct,D=Bt}return m.currentAnimateTimings=null,{type:lt.If.Animate,timings:E,style:D,options:null}}visitStyle(_,m){const E=this._makeStyleAst(_,m);return this._validateStyleAst(E,m),E}_makeStyleAst(_,m){const E=[],D=Array.isArray(_.styles)?_.styles:[_.styles];for(let Ct of D)"string"==typeof Ct?Ct===lt.kp?E.push(Ct):m.errors.push(nt()):E.push(new Map(Object.entries(Ct)));let I=!1,Oe=null;return E.forEach(Ct=>{if(Ct instanceof Map&&(Ct.has("easing")&&(Oe=Ct.get("easing"),Ct.delete("easing")),!I))for(let Bt of Ct.values())if(Bt.toString().indexOf("{{")>=0){I=!0;break}}),{type:lt.If.Style,styles:E,easing:Oe,offset:_.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(_,m){const E=m.currentAnimateTimings;let D=m.currentTime,I=m.currentTime;E&&I>0&&(I-=E.duration+E.delay),_.styles.forEach(Oe=>{"string"!=typeof Oe&&Oe.forEach((Ct,Bt)=>{const yn=m.collectedStyles.get(m.currentQuerySelector),Yn=yn.get(Bt);let jn=!0;Yn&&(I!=D&&I>=Yn.startTime&&D<=Yn.endTime&&(m.errors.push(function ht(){return new v.buA(3010,!1)}()),jn=!1),I=Yn.startTime),jn&&yn.set(Bt,{startTime:I,endTime:D}),m.options&&function fi(b,_,m){const E=_.params||{},D=Qi(b);D.length&&D.forEach(I=>{E.hasOwnProperty(I)||m.push(function ve(){return new v.buA(3001,!1)}())})}(Ct,m.options,m.errors)})})}visitKeyframes(_,m){const E={type:lt.If.Keyframes,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push(function oe(){return new v.buA(3011,!1)}()),E;let I=0;const Oe=[];let Ct=!1,Bt=!1,yn=0;const Yn=_.steps.map(Ia=>{const fs=this._makeStyleAst(Ia,m);let $s=null!=fs.offset?fs.offset:function Jt(b){if("string"==typeof b)return null;let _=null;if(Array.isArray(b))b.forEach(m=>{if(m instanceof Map&&m.has("offset")){const E=m;_=parseFloat(E.get("offset")),E.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const m=b;_=parseFloat(m.get("offset")),m.delete("offset")}return _}(fs.styles),Ea=0;return null!=$s&&(I++,Ea=fs.offset=$s),Bt=Bt||Ea<0||Ea>1,Ct=Ct||Ea0&&I{const $s=Fi>0?fs==Zi?1:Fi*fs:Oe[fs],Ea=$s*Sa;m.currentTime=Mi+Ai.delay+Ea,Ai.duration=Ea,this._validateStyleAst(Ia,m),Ia.offset=$s,E.styles.push(Ia)}),E}visitReference(_,m){return{type:lt.If.Reference,animation:Fn(this,_n(_.animation),m),options:di(_.options)}}visitAnimateChild(_,m){return m.depCount++,{type:lt.If.AnimateChild,options:di(_.options)}}visitAnimateRef(_,m){return{type:lt.If.AnimateRef,animation:this.visitReference(_.animation,m),options:di(_.options)}}visitQuery(_,m){const E=m.currentQuerySelector,D=_.options||{};m.queryCount++,m.currentQuery=_;const[I,Oe]=function Wt(b){const _=!!b.split(/\s*,\s*/).find(m=>":self"==m);return _&&(b=b.replace(yi,"")),b=b.replace(/@\*/g,Nt).replace(/@\w+/g,m=>Nt+"-"+m.slice(1)).replace(/:animating/g,xn),[b,_]}(_.selector);m.currentQuerySelector=E.length?E+" "+I:I,ge(m.collectedStyles,m.currentQuerySelector,new Map);const Ct=Fn(this,_n(_.animation),m);return m.currentQuery=null,m.currentQuerySelector=E,{type:lt.If.Query,selector:I,limit:D.limit||0,optional:!!D.optional,includeSelf:Oe,animation:Ct,originalSelector:_.selector,options:di(_.options)}}visitStagger(_,m){m.currentQuery||m.errors.push(function gt(){return new v.buA(3013,!1)}());const E="full"===_.timings?{duration:0,delay:0,easing:"full"}:Yi(_.timings,m.errors,!0);return{type:lt.If.Stagger,animation:Fn(this,_n(_.animation),m),timings:E,options:null}}}class Et{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(_){this.errors=_}}function di(b){return b?(b={...b}).params&&(b.params=function Ve(b){return b?{...b}:null}(b.params)):b={},b}function Ii(b,_,m){return{duration:b,delay:_,easing:m}}function ca(b,_,m,E,D,I,Oe=null,Ct=!1){return{type:1,element:b,keyframes:_,preStyleProps:m,postStyleProps:E,duration:D,delay:I,totalTime:D+I,easing:Oe,subTimeline:Ct}}class nn{_map=new Map;get(_){return this._map.get(_)||[]}append(_,m){let E=this._map.get(_);E||this._map.set(_,E=[]),E.push(...m)}has(_){return this._map.has(_)}clear(){this._map.clear()}}const tt=new RegExp(":enter","g"),Xt=new RegExp(":leave","g");function Nn(b,_,m,E,D,I=new Map,Oe=new Map,Ct,Bt,yn=[]){return(new Ki).buildKeyframes(b,_,m,E,D,I,Oe,Ct,Bt,yn)}class Ki{buildKeyframes(_,m,E,D,I,Oe,Ct,Bt,yn,Yn=[]){yn=yn||new nn;const jn=new Ua(_,m,yn,D,I,Yn,[]);jn.options=Bt;const Fi=Bt.delay?Jn(Bt.delay):0;jn.currentTimeline.delayNextStep(Fi),jn.currentTimeline.setStyles([Oe],null,jn.errors,Bt),Fn(this,E,jn);const Zi=jn.timelines.filter(Mi=>Mi.containsAnimation());if(Zi.length&&Ct.size){let Mi;for(let Ai=Zi.length-1;Ai>=0;Ai--){const Sa=Zi[Ai];if(Sa.element===m){Mi=Sa;break}}Mi&&!Mi.allowOnlyTimelineStyles()&&Mi.setStyles([Ct],null,jn.errors,Bt)}return Zi.length?Zi.map(Mi=>Mi.buildKeyframes()):[ca(m,[],[],[],0,Fi,"",!1)]}visitTrigger(_,m){}visitState(_,m){}visitTransition(_,m){}visitAnimateChild(_,m){const E=m.subInstructions.get(m.element);if(E){const D=m.createSubContext(_.options),I=m.currentTimeline.currentTime,Oe=this._visitSubInstructions(E,D,D.options);I!=Oe&&m.transformIntoNewTimeline(Oe)}m.previousNode=_}visitAnimateRef(_,m){const E=m.createSubContext(_.options);E.transformIntoNewTimeline(),this._applyAnimationRefDelays([_.options,_.animation.options],m,E),this.visitReference(_.animation,E),m.transformIntoNewTimeline(E.currentTimeline.currentTime),m.previousNode=_}_applyAnimationRefDelays(_,m,E){for(const D of _){const I=D?.delay;if(I){const Oe="number"==typeof I?I:Jn(zi(I,D?.params??{},m.errors));E.delayNextStep(Oe)}}}_visitSubInstructions(_,m,E){let I=m.currentTimeline.currentTime;const Oe=null!=E.duration?Jn(E.duration):null,Ct=null!=E.delay?Jn(E.delay):null;return 0!==Oe&&_.forEach(Bt=>{const yn=m.appendInstructionToTimeline(Bt,Oe,Ct);I=Math.max(I,yn.duration+yn.delay)}),I}visitReference(_,m){m.updateOptions(_.options,!0),Fn(this,_.animation,m),m.previousNode=_}visitSequence(_,m){const E=m.subContextCount;let D=m;const I=_.options;if(I&&(I.params||I.delay)&&(D=m.createSubContext(I),D.transformIntoNewTimeline(),null!=I.delay)){D.previousNode.type==lt.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=_a);const Oe=Jn(I.delay);D.delayNextStep(Oe)}_.steps.length&&(_.steps.forEach(Oe=>Fn(this,Oe,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>E&&D.transformIntoNewTimeline()),m.previousNode=_}visitGroup(_,m){const E=[];let D=m.currentTimeline.currentTime;const I=_.options&&_.options.delay?Jn(_.options.delay):0;_.steps.forEach(Oe=>{const Ct=m.createSubContext(_.options);I&&Ct.delayNextStep(I),Fn(this,Oe,Ct),D=Math.max(D,Ct.currentTimeline.currentTime),E.push(Ct.currentTimeline)}),E.forEach(Oe=>m.currentTimeline.mergeTimelineCollectedStyles(Oe)),m.transformIntoNewTimeline(D),m.previousNode=_}_visitTiming(_,m){if(_.dynamic){const E=_.strValue;return Yi(m.params?zi(E,m.params,m.errors):E,m.errors)}return{duration:_.duration,delay:_.delay,easing:_.easing}}visitAnimate(_,m){const E=m.currentAnimateTimings=this._visitTiming(_.timings,m),D=m.currentTimeline;E.delay&&(m.incrementTime(E.delay),D.snapshotCurrentStyles());const I=_.style;I.type==lt.If.Keyframes?this.visitKeyframes(I,m):(m.incrementTime(E.duration),this.visitStyle(I,m),D.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=_}visitStyle(_,m){const E=m.currentTimeline,D=m.currentAnimateTimings;!D&&E.hasCurrentStyleProperties()&&E.forwardFrame();const I=D&&D.easing||_.easing;_.isEmptyStep?E.applyEmptyStep(I):E.setStyles(_.styles,I,m.errors,m.options),m.previousNode=_}visitKeyframes(_,m){const E=m.currentAnimateTimings,D=m.currentTimeline.duration,I=E.duration,Ct=m.createSubContext().currentTimeline;Ct.easing=E.easing,_.styles.forEach(Bt=>{Ct.forwardTime((Bt.offset||0)*I),Ct.setStyles(Bt.styles,Bt.easing,m.errors,m.options),Ct.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(Ct),m.transformIntoNewTimeline(D+I),m.previousNode=_}visitQuery(_,m){const E=m.currentTimeline.currentTime,D=_.options||{},I=D.delay?Jn(D.delay):0;I&&(m.previousNode.type===lt.If.Style||0==E&&m.currentTimeline.hasCurrentStyleProperties())&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=_a);let Oe=E;const Ct=m.invokeQuery(_.selector,_.originalSelector,_.limit,_.includeSelf,!!D.optional,m.errors);m.currentQueryTotal=Ct.length;let Bt=null;Ct.forEach((yn,Yn)=>{m.currentQueryIndex=Yn;const jn=m.createSubContext(_.options,yn);I&&jn.delayNextStep(I),yn===m.element&&(Bt=jn.currentTimeline),Fn(this,_.animation,jn),jn.currentTimeline.applyStylesToKeyframe(),Oe=Math.max(Oe,jn.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(Oe),Bt&&(m.currentTimeline.mergeTimelineCollectedStyles(Bt),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=_}visitStagger(_,m){const E=m.parentContext,D=m.currentTimeline,I=_.timings,Oe=Math.abs(I.duration),Ct=Oe*(m.currentQueryTotal-1);let Bt=Oe*m.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":Bt=Ct-Bt;break;case"full":Bt=E.currentStaggerTime}const Yn=m.currentTimeline;Bt&&Yn.delayNextStep(Bt);const jn=Yn.currentTime;Fn(this,_.animation,m),m.previousNode=_,E.currentStaggerTime=D.currentTime-jn+(D.startTime-E.currentTimeline.startTime)}}const _a={};class Ua{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=_a;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(_,m,E,D,I,Oe,Ct,Bt){this._driver=_,this.element=m,this.subInstructions=E,this._enterClassName=D,this._leaveClassName=I,this.errors=Oe,this.timelines=Ct,this.currentTimeline=Bt||new $a(this._driver,m,0),Ct.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(_,m){if(!_)return;const E=_;let D=this.options;null!=E.duration&&(D.duration=Jn(E.duration)),null!=E.delay&&(D.delay=Jn(E.delay));const I=E.params;if(I){let Oe=D.params;Oe||(Oe=this.options.params={}),Object.keys(I).forEach(Ct=>{(!m||!Oe.hasOwnProperty(Ct))&&(Oe[Ct]=zi(I[Ct],Oe,this.errors))})}}_copyOptions(){const _={};if(this.options){const m=this.options.params;if(m){const E=_.params={};Object.keys(m).forEach(D=>{E[D]=m[D]})}}return _}createSubContext(_=null,m,E){const D=m||this.element,I=new Ua(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,E||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(_),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(_){return this.previousNode=_a,this.currentTimeline=this.currentTimeline.fork(this.element,_),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(_,m,E){const D={duration:m??_.duration,delay:this.currentTimeline.currentTime+(E??0)+_.delay,easing:""},I=new ns(this._driver,_.element,_.keyframes,_.preStyleProps,_.postStyleProps,D,_.stretchStartingKeyframe);return this.timelines.push(I),D}incrementTime(_){this.currentTimeline.forwardTime(this.currentTimeline.duration+_)}delayNextStep(_){_>0&&this.currentTimeline.delayNextStep(_)}invokeQuery(_,m,E,D,I,Oe){let Ct=[];if(D&&Ct.push(this.element),_.length>0){_=(_=_.replace(tt,"."+this._enterClassName)).replace(Xt,"."+this._leaveClassName);let yn=this._driver.query(this.element,_,1!=E);0!==E&&(yn=E<0?yn.slice(yn.length+E,yn.length):yn.slice(0,E)),Ct.push(...yn)}return!I&&0==Ct.length&&Oe.push(function Gt(){return new v.buA(3014,!1)}()),Ct}}class $a{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(_,m,E,D){this._driver=_,this.element=m,this.startTime=E,this._elementTimelineStylesLookup=D,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(_){const m=1===this._keyframes.size&&this._pendingStyles.size;this.duration||m?(this.forwardTime(this.currentTime+_),m&&this.snapshotCurrentStyles()):this.startTime+=_}fork(_,m){return this.applyStylesToKeyframe(),new $a(this._driver,_,m||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(_){this.applyStylesToKeyframe(),this.duration=_,this._loadKeyframe()}_updateStyle(_,m){this._localTimelineStyles.set(_,m),this._globalTimelineStyles.set(_,m),this._styleSummary.set(_,{time:this.currentTime,value:m})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(_){_&&this._previousKeyframe.set("easing",_);for(let[m,E]of this._globalTimelineStyles)this._backFill.set(m,E||lt.kp),this._currentKeyframe.set(m,lt.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(_,m,E,D){m&&this._previousKeyframe.set("easing",m);const I=D&&D.params||{},Oe=function As(b,_){const m=new Map;let E;return b.forEach(D=>{if("*"===D){E??=_.keys();for(let I of E)m.set(I,lt.kp)}else for(let[I,Oe]of D)m.set(I,Oe)}),m}(_,this._globalTimelineStyles);for(let[Ct,Bt]of Oe){const yn=zi(Bt,I,E);this._pendingStyles.set(Ct,yn),this._localTimelineStyles.has(Ct)||this._backFill.set(Ct,this._globalTimelineStyles.get(Ct)??lt.kp),this._updateStyle(Ct,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((_,m)=>{this._currentKeyframe.set(m,_)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((_,m)=>{this._currentKeyframe.has(m)||this._currentKeyframe.set(m,_)}))}snapshotCurrentStyles(){for(let[_,m]of this._localTimelineStyles)this._pendingStyles.set(_,m),this._updateStyle(_,m)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const _=[];for(let m in this._currentKeyframe)_.push(m);return _}mergeTimelineCollectedStyles(_){_._styleSummary.forEach((m,E)=>{const D=this._styleSummary.get(E);(!D||m.time>D.time)&&this._updateStyle(E,m.value)})}buildKeyframes(){this.applyStylesToKeyframe();const _=new Set,m=new Set,E=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((Ct,Bt)=>{const yn=new Map([...this._backFill,...Ct]);yn.forEach((Yn,jn)=>{Yn===lt.FX?_.add(jn):Yn===lt.kp&&m.add(jn)}),E||yn.set("offset",Bt/this.duration),D.push(yn)});const I=[..._.values()],Oe=[...m.values()];if(E){const Ct=D[0],Bt=new Map(Ct);Ct.set("offset",0),Bt.set("offset",1),D=[Ct,Bt]}return ca(this.element,D,I,Oe,this.duration,this.startTime,this.easing,!1)}}class ns extends $a{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(_,m,E,D,I,Oe,Ct=!1){super(_,m,Oe.delay),this.keyframes=E,this.preStyleProps=D,this.postStyleProps=I,this._stretchStartingKeyframe=Ct,this.timings={duration:Oe.duration,delay:Oe.delay,easing:Oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let _=this.keyframes,{delay:m,duration:E,easing:D}=this.timings;if(this._stretchStartingKeyframe&&m){const I=[],Oe=E+m,Ct=m/Oe,Bt=new Map(_[0]);Bt.set("offset",0),I.push(Bt);const yn=new Map(_[0]);yn.set("offset",Ga(Ct)),I.push(yn);const Yn=_.length-1;for(let jn=1;jn<=Yn;jn++){let Fi=new Map(_[jn]);const Zi=Fi.get("offset");Fi.set("offset",Ga((m+Zi*E)/Oe)),I.push(Fi)}E=Oe,m=0,D="",_=I}return ca(this.element,_,this.preStyleProps,this.postStyleProps,E,m,D,!0)}}function Ga(b,_=3){const m=Math.pow(10,_-1);return Math.round(b*m)/m}function hr(b,_,m,E,D,I,Oe,Ct,Bt,yn,Yn,jn,Fi){return{type:0,element:b,triggerName:_,isRemovalTransition:D,fromState:m,fromStyles:I,toState:E,toStyles:Oe,timelines:Ct,queriedElements:Bt,preStyleProps:yn,postStyleProps:Yn,totalTime:jn,errors:Fi}}const mr={};class fr{_triggerName;ast;_stateStyles;constructor(_,m,E){this._triggerName=_,this.ast=m,this._stateStyles=E}match(_,m,E,D){return function pr(b,_,m,E,D){return b.some(I=>I(_,m,E,D))}(this.ast.matchers,_,m,E,D)}buildStyles(_,m,E){let D=this._stateStyles.get("*");return void 0!==_&&(D=this._stateStyles.get(_?.toString())||D),D?D.buildStyles(m,E):new Map}build(_,m,E,D,I,Oe,Ct,Bt,yn,Yn){const jn=[],Fi=this.ast.options&&this.ast.options.params||mr,Mi=this.buildStyles(E,Ct&&Ct.params||mr,jn),Ai=Bt&&Bt.params||mr,Sa=this.buildStyles(D,Ai,jn),Ia=new Set,fs=new Map,$s=new Map,Ea="void"===D,ws={params:gr(Ai,Fi),delay:this.ast.options?.delay},Fa=Yn?[]:Nn(_,m,this.ast.animation,I,Oe,Mi,Sa,ws,yn,jn);let Vs=0;return Fa.forEach(ps=>{Vs=Math.max(ps.duration+ps.delay,Vs)}),jn.length?hr(m,this._triggerName,E,D,Ea,Mi,Sa,[],[],fs,$s,Vs,jn):(Fa.forEach(ps=>{const xl=ps.element,W1=ge(fs,xl,new Set);ps.preStyleProps.forEach(h1=>W1.add(h1));const K3=ge($s,xl,new Set);ps.postStyleProps.forEach(h1=>K3.add(h1)),xl!==m&&Ia.add(xl)}),hr(m,this._triggerName,E,D,Ea,Mi,Sa,Fa,[...Ia.values()],fs,$s,Vs))}}function gr(b,_){const m={..._};return Object.entries(b).forEach(([E,D])=>{null!=D&&(m[E]=D)}),m}class bo{styles;defaultParams;normalizer;constructor(_,m,E){this.styles=_,this.defaultParams=m,this.normalizer=E}buildStyles(_,m){const E=new Map,D=gr(_,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((Oe,Ct)=>{Oe&&(Oe=zi(Oe,D,m));const Bt=this.normalizer.normalizePropertyName(Ct,m);Oe=this.normalizer.normalizeStyleValue(Ct,Bt,Oe,m),E.set(Ct,Oe)})}),E}}class jr{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(_,m,E){this.name=_,this.ast=m,this._normalizer=E,m.states.forEach(D=>{this.states.set(D.name,new bo(D.style,D.options&&D.options.params||{},E))}),Ka(this.states,"true","1"),Ka(this.states,"false","0"),m.transitions.forEach(D=>{this.transitionFactories.push(new fr(_,D,this.states))}),this.fallbackTransition=function Er(b,_){return new fr(b,{type:lt.If.Transition,animation:{type:lt.If.Sequence,steps:[],options:null},matchers:[(Oe,Ct)=>!0],options:null,queryCount:0,depCount:0},_)}(_,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(_,m,E,D){return this.transitionFactories.find(Oe=>Oe.match(_,m,E,D))||null}matchStyles(_,m,E){return this.fallbackTransition.buildStyles(_,m,E)}}function Ka(b,_,m){b.has(_)?b.has(m)||b.set(m,b.get(_)):b.has(m)&&b.set(_,b.get(m))}const Ps=new nn;class kr{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(_,m,E){this.bodyNode=_,this._driver=m,this._normalizer=E}register(_,m){const E=[],I=Wi(this._driver,m,E,[]);if(E.length)throw function jt(){return new v.buA(3503,!1)}();this._animations.set(_,I)}_buildPlayer(_,m,E){const D=_.element,I=ee(this._normalizer,_.keyframes,m,E);return this._driver.animate(D,I,_.duration,_.delay,_.easing,[],!0)}create(_,m,E={}){const D=[],I=this._animations.get(_);let Oe;const Ct=new Map;if(I?(Oe=Nn(this._driver,m,I,tn,on,new Map,new Map,E,Ps,D),Oe.forEach(Yn=>{const jn=ge(Ct,Yn.element,new Map);Yn.postStyleProps.forEach(Fi=>jn.set(Fi,null))})):(D.push(function Ue(){return new v.buA(3300,!1)}()),Oe=[]),D.length)throw function wt(){return new v.buA(3504,!1)}();Ct.forEach((Yn,jn)=>{Yn.forEach((Fi,Zi)=>{Yn.set(Zi,this._driver.computeStyle(jn,Zi,lt.kp))})});const yn=vt(Oe.map(Yn=>{const jn=Ct.get(Yn.element);return this._buildPlayer(Yn,new Map,jn)}));return this._playersById.set(_,yn),yn.onDestroy(()=>this.destroy(_)),this.players.push(yn),yn}destroy(_){const m=this._getPlayer(_);m.destroy(),this._playersById.delete(_);const E=this.players.indexOf(m);E>=0&&this.players.splice(E,1)}_getPlayer(_){const m=this._playersById.get(_);if(!m)throw function pt(){return new v.buA(3301,!1)}();return m}listen(_,m,E,D){const I=Se(m,"","","");return ye(this._getPlayer(_),E,I,D),()=>{}}command(_,m,E,D){if("register"==E)return void this.register(_,D[0]);if("create"==E)return void this.create(_,m,D[0]||{});const I=this._getPlayer(_);switch(E){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(_)}}}const js="ng-animate-queued",Zr="ng-animate-disabled",Js=[],_r={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ls="__ng_removed";class is{namespaceId;value;options;get params(){return this.options.params}constructor(_,m=""){this.namespaceId=m;const E=_&&_.hasOwnProperty("value");if(this.value=function qs(b){return b??null}(E?_.value:_),E){const{value:I,...Oe}=_;this.options=Oe}else this.options={};this.options.params||(this.options.params={})}absorbOptions(_){const m=_.params;if(m){const E=this.options.params;Object.keys(m).forEach(D=>{null==E[D]&&(E[D]=m[D])})}}}const Hs="void",Ws=new is(Hs);class Mr{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(_,m,E){this.id=_,this.hostElement=m,this._engine=E,this._hostClassName="ng-tns-"+_,ja(m,this._hostClassName)}listen(_,m,E,D){if(!this._triggers.has(m))throw function Pt(){return new v.buA(3302,!1)}();if(null==E||0==E.length)throw function gn(){return new v.buA(3303,!1)}();if(!function yr(b){return"start"==b||"done"==b}(E))throw function ei(){return new v.buA(3400,!1)}();const I=ge(this._elementListeners,_,[]),Oe={name:m,phase:E,callback:D};I.push(Oe);const Ct=ge(this._engine.statesByElement,_,new Map);return Ct.has(m)||(ja(_,un),ja(_,un+"-"+m),Ct.set(m,Ws)),()=>{this._engine.afterFlush(()=>{const Bt=I.indexOf(Oe);Bt>=0&&I.splice(Bt,1),this._triggers.has(m)||Ct.delete(m)})}}register(_,m){return!this._triggers.has(_)&&(this._triggers.set(_,m),!0)}_getTrigger(_){const m=this._triggers.get(_);if(!m)throw function vi(){return new v.buA(3401,!1)}();return m}trigger(_,m,E,D=!0){const I=this._getTrigger(m),Oe=new xs(this.id,m,_);let Ct=this._engine.statesByElement.get(_);Ct||(ja(_,un),ja(_,un+"-"+m),this._engine.statesByElement.set(_,Ct=new Map));let Bt=Ct.get(m);const yn=new is(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&Bt&&yn.absorbOptions(Bt.options),Ct.set(m,yn),Bt||(Bt=Ws),yn.value!==Hs&&Bt.value===yn.value){if(!function Hr(b,_){const m=Object.keys(b),E=Object.keys(_);if(m.length!=E.length)return!1;for(let D=0;D{Ht(_,Sa),Lt(_,Ia)})}return}const Fi=ge(this._engine.playersByElement,_,[]);Fi.forEach(Ai=>{Ai.namespaceId==this.id&&Ai.triggerName==m&&Ai.queued&&Ai.destroy()});let Zi=I.matchTransition(Bt.value,yn.value,_,yn.params),Mi=!1;if(!Zi){if(!D)return;Zi=I.fallbackTransition,Mi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:m,transition:Zi,fromState:Bt,toState:yn,player:Oe,isFallbackTransition:Mi}),Mi||(ja(_,js),Oe.onStart(()=>{Za(_,js)})),Oe.onDone(()=>{let Ai=this.players.indexOf(Oe);Ai>=0&&this.players.splice(Ai,1);const Sa=this._engine.playersByElement.get(_);if(Sa){let Ia=Sa.indexOf(Oe);Ia>=0&&Sa.splice(Ia,1)}}),this.players.push(Oe),Fi.push(Oe),Oe}deregister(_){this._triggers.delete(_),this._engine.statesByElement.forEach(m=>m.delete(_)),this._elementListeners.forEach((m,E)=>{this._elementListeners.set(E,m.filter(D=>D.name!=_))})}clearElementCache(_){this._engine.statesByElement.delete(_),this._elementListeners.delete(_);const m=this._engine.playersByElement.get(_);m&&(m.forEach(E=>E.destroy()),this._engine.playersByElement.delete(_))}_signalRemovalForInnerTriggers(_,m){const E=this._engine.driver.query(_,Nt,!0);E.forEach(D=>{if(D[ls])return;const I=this._engine.fetchNamespacesByElement(D);I.size?I.forEach(Oe=>Oe.triggerLeaveAnimation(D,m,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(_,m,E,D){const I=this._engine.statesByElement.get(_),Oe=new Map;if(I){const Ct=[];if(I.forEach((Bt,yn)=>{if(Oe.set(yn,Bt.value),this._triggers.has(yn)){const Yn=this.trigger(_,yn,Hs,D);Yn&&Ct.push(Yn)}}),Ct.length)return this._engine.markElementAsRemoved(this.id,_,!0,m,Oe),E&&vt(Ct).onDone(()=>this._engine.processLeaveNode(_)),!0}return!1}prepareLeaveAnimationListeners(_){const m=this._elementListeners.get(_),E=this._engine.statesByElement.get(_);if(m&&E){const D=new Set;m.forEach(I=>{const Oe=I.name;if(D.has(Oe))return;D.add(Oe);const Bt=this._triggers.get(Oe).fallbackTransition,yn=E.get(Oe)||Ws,Yn=new is(Hs),jn=new xs(this.id,Oe,_);this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:Oe,transition:Bt,fromState:yn,toState:Yn,player:jn,isFallbackTransition:!0})})}}removeNode(_,m){const E=this._engine;if(_.childElementCount&&this._signalRemovalForInnerTriggers(_,m),this.triggerLeaveAnimation(_,m,!0))return;let D=!1;if(E.totalAnimations){const I=E.players.length?E.playersByQueriedElement.get(_):[];if(I&&I.length)D=!0;else{let Oe=_;for(;Oe=Oe.parentNode;)if(E.statesByElement.get(Oe)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(_),D)E.markElementAsRemoved(this.id,_,!1,m);else{const I=_[ls];(!I||I===_r)&&(E.afterFlush(()=>this.clearElementCache(_)),E.destroyInnerAnimations(_),E._onRemovalComplete(_,m))}}insertNode(_,m){ja(_,this._hostClassName)}drainQueuedTransitions(_){const m=[];return this._queue.forEach(E=>{const D=E.player;if(D.destroyed)return;const I=E.element,Oe=this._elementListeners.get(I);Oe&&Oe.forEach(Ct=>{if(Ct.name==E.triggerName){const Bt=Se(I,E.triggerName,E.fromState.value,E.toState.value);Bt._data=_,ye(E.player,Ct.phase,Bt,Ct.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):m.push(E)}),this._queue=[],m.sort((E,D)=>{const I=E.transition.ast.depCount,Oe=D.transition.ast.depCount;return 0==I||0==Oe?I-Oe:this._engine.driver.containsElement(E.element,D.element)?1:-1})}destroy(_){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,_)}}class Ui{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(_,m)=>{};_onRemovalComplete(_,m){this.onRemovalComplete(_,m)}constructor(_,m,E){this.bodyNode=_,this.driver=m,this._normalizer=E}get queuedPlayers(){const _=[];return this._namespaceList.forEach(m=>{m.players.forEach(E=>{E.queued&&_.push(E)})}),_}createNamespace(_,m){const E=new Mr(_,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(E,m):(this.newHostElements.set(m,E),this.collectEnterElement(m)),this._namespaceLookup[_]=E}_balanceNamespaceList(_,m){const E=this._namespaceList,D=this.namespacesByHostElement;if(E.length-1>=0){let Oe=!1,Ct=this.driver.getParentElement(m);for(;Ct;){const Bt=D.get(Ct);if(Bt){const yn=E.indexOf(Bt);E.splice(yn+1,0,_),Oe=!0;break}Ct=this.driver.getParentElement(Ct)}Oe||E.unshift(_)}else E.push(_);return D.set(m,_),_}register(_,m){let E=this._namespaceLookup[_];return E||(E=this.createNamespace(_,m)),E}registerTrigger(_,m,E){let D=this._namespaceLookup[_];D&&D.register(m,E)&&this.totalAnimations++}destroy(_,m){_&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const E=this._fetchNamespace(_);this.namespacesByHostElement.delete(E.hostElement);const D=this._namespaceList.indexOf(E);D>=0&&this._namespaceList.splice(D,1),E.destroy(m),delete this._namespaceLookup[_]}))}_fetchNamespace(_){return this._namespaceLookup[_]}fetchNamespacesByElement(_){const m=new Set,E=this.statesByElement.get(_);if(E)for(let D of E.values())if(D.namespaceId){const I=this._fetchNamespace(D.namespaceId);I&&m.add(I)}return m}trigger(_,m,E,D){if(Pa(m)){const I=this._fetchNamespace(_);if(I)return I.trigger(m,E,D),!0}return!1}insertNode(_,m,E,D){if(!Pa(m))return;const I=m[ls];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const Oe=this.collectedLeaveElements.indexOf(m);Oe>=0&&this.collectedLeaveElements.splice(Oe,1)}if(_){const Oe=this._fetchNamespace(_);Oe&&Oe.insertNode(m,E)}D&&this.collectEnterElement(m)}collectEnterElement(_){this.collectedEnterElements.push(_)}markElementAsDisabled(_,m){m?this.disabledNodes.has(_)||(this.disabledNodes.add(_),ja(_,Zr)):this.disabledNodes.has(_)&&(this.disabledNodes.delete(_),Za(_,Zr))}removeNode(_,m,E){if(Pa(m)){const D=_?this._fetchNamespace(_):null;D?D.removeNode(m,E):this.markElementAsRemoved(_,m,!1,E);const I=this.namespacesByHostElement.get(m);I&&I.id!==_&&I.removeNode(m,E)}else this._onRemovalComplete(m,E)}markElementAsRemoved(_,m,E,D,I){this.collectedLeaveElements.push(m),m[ls]={namespaceId:_,setForRemoval:D,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:I}}listen(_,m,E,D,I){return Pa(m)?this._fetchNamespace(_).listen(m,E,D,I):()=>{}}_buildInstruction(_,m,E,D,I){return _.transition.build(this.driver,_.element,_.fromState.value,_.toState.value,E,D,_.fromState.options,_.toState.options,m,I)}destroyInnerAnimations(_){let m=this.driver.query(_,Nt,!0);m.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(_,xn,!0),m.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(_){const m=this.playersByElement.get(_);m&&m.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(_){const m=this.playersByQueriedElement.get(_);m&&m.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(_=>{if(this.players.length)return vt(this.players).onDone(()=>_());_()})}processLeaveNode(_){const m=_[ls];if(m&&m.setForRemoval){if(_[ls]=_r,m.namespaceId){this.destroyInnerAnimations(_);const E=this._fetchNamespace(m.namespaceId);E&&E.clearElementCache(_)}this._onRemovalComplete(_,m.setForRemoval)}_.classList?.contains(Zr)&&this.markElementAsDisabled(_,!1),this.driver.query(_,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(_=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,D)=>this._balanceNamespaceList(E,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;EE()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],m.length?vt(m).onDone(()=>{E.forEach(D=>D())}):E.forEach(D=>D())}}reportError(_){throw function Ni(){return new v.buA(3402,!1)}()}_flushAnimations(_,m){const E=new nn,D=[],I=new Map,Oe=[],Ct=new Map,Bt=new Map,yn=new Map,Yn=new Set;this.disabledNodes.forEach(aa=>{Yn.add(aa);const la=this.driver.query(aa,".ng-animate-queued",!0);for(let ya=0;ya{const ya=tn+Ai++;Mi.set(la,ya),aa.forEach(Ya=>ja(Ya,ya))});const Sa=[],Ia=new Set,fs=new Set;for(let aa=0;aaIa.add(Ya)):fs.add(la))}const $s=new Map,Ea=wa(Fi,Array.from(Ia));Ea.forEach((aa,la)=>{const ya=on+Ai++;$s.set(la,ya),aa.forEach(Ya=>ja(Ya,ya))}),_.push(()=>{Zi.forEach((aa,la)=>{const ya=Mi.get(la);aa.forEach(Ya=>Za(Ya,ya))}),Ea.forEach((aa,la)=>{const ya=$s.get(la);aa.forEach(Ya=>Za(Ya,ya))}),Sa.forEach(aa=>{this.processLeaveNode(aa)})});const ws=[],Fa=[];for(let aa=this._namespaceList.length-1;aa>=0;aa--)this._namespaceList[aa].drainQueuedTransitions(m).forEach(ya=>{const Ya=ya.player,uo=ya.element;if(ws.push(Ya),this.collectedEnterElements.length){const ho=uo[ls];if(ho&&ho.setForMove){if(ho.previousTriggersValues&&ho.previousTriggersValues.has(ya.triggerName)){const Vc=ho.previousTriggersValues.get(ya.triggerName),Nl=this.statesByElement.get(ya.element);if(Nl&&Nl.has(ya.triggerName)){const jd=Nl.get(ya.triggerName);jd.value=Vc,Nl.set(ya.triggerName,jd)}}return void Ya.destroy()}}const _o=!jn||!this.driver.containsElement(jn,uo),vo=$s.get(uo),dc=Mi.get(uo),ys=this._buildInstruction(ya,E,dc,vo,_o);if(ys.errors&&ys.errors.length)return void Fa.push(ys);if(_o)return Ya.onStart(()=>Ht(uo,ys.fromStyles)),Ya.onDestroy(()=>Lt(uo,ys.toStyles)),void D.push(Ya);if(ya.isFallbackTransition)return Ya.onStart(()=>Ht(uo,ys.fromStyles)),Ya.onDestroy(()=>Lt(uo,ys.toStyles)),void D.push(Ya);const Y1=[];ys.timelines.forEach(ho=>{ho.stretchStartingKeyframe=!0,this.disabledNodes.has(ho.element)||Y1.push(ho)}),ys.timelines=Y1,E.append(uo,ys.timelines),Oe.push({instruction:ys,player:Ya,element:uo}),ys.queriedElements.forEach(ho=>ge(Ct,ho,[]).push(Ya)),ys.preStyleProps.forEach((ho,Vc)=>{if(ho.size){let Nl=Bt.get(Vc);Nl||Bt.set(Vc,Nl=new Set),ho.forEach((jd,s0)=>Nl.add(s0))}}),ys.postStyleProps.forEach((ho,Vc)=>{let Nl=yn.get(Vc);Nl||yn.set(Vc,Nl=new Set),ho.forEach((jd,s0)=>Nl.add(s0))})});if(Fa.length){const aa=[];Fa.forEach(la=>{aa.push(function kn(){return new v.buA(3505,!1)}())}),ws.forEach(la=>la.destroy()),this.reportError(aa)}const Vs=new Map,ps=new Map;Oe.forEach(aa=>{const la=aa.element;E.has(la)&&(ps.set(la,la),this._beforeAnimationBuild(aa.player.namespaceId,aa.instruction,Vs))}),D.forEach(aa=>{const la=aa.element;this._getPreviousPlayers(la,!1,aa.namespaceId,aa.triggerName,null).forEach(Ya=>{ge(Vs,la,[]).push(Ya),Ya.destroy()})});const xl=Sa.filter(aa=>Ks(aa,Bt,yn)),W1=new Map;Xs(W1,this.driver,fs,yn,lt.kp).forEach(aa=>{Ks(aa,Bt,yn)&&xl.push(aa)});const h1=new Map;Zi.forEach((aa,la)=>{Xs(h1,this.driver,new Set(aa),Bt,lt.FX)}),xl.forEach(aa=>{const la=W1.get(aa),ya=h1.get(aa);W1.set(aa,new Map([...la?.entries()??[],...ya?.entries()??[]]))});const X1=[],zc=[],K1={};Oe.forEach(aa=>{const{element:la,player:ya,instruction:Ya}=aa;if(E.has(la)){if(Yn.has(la))return ya.onDestroy(()=>Lt(la,Ya.toStyles)),ya.disabled=!0,ya.overrideTotalTime(Ya.totalTime),void D.push(ya);let uo=K1;if(ps.size>1){let vo=la;const dc=[];for(;vo=vo.parentNode;){const ys=ps.get(vo);if(ys){uo=ys;break}dc.push(vo)}dc.forEach(ys=>ps.set(ys,uo))}const _o=this._buildAnimation(ya.namespaceId,Ya,Vs,I,h1,W1);if(ya.setRealPlayer(_o),uo===K1)X1.push(ya);else{const vo=this.playersByElement.get(uo);vo&&vo.length&&(ya.parentPlayer=vt(vo)),D.push(ya)}}else Ht(la,Ya.fromStyles),ya.onDestroy(()=>Lt(la,Ya.toStyles)),zc.push(ya),Yn.has(la)&&D.push(ya)}),zc.forEach(aa=>{const la=I.get(aa.element);if(la&&la.length){const ya=vt(la);aa.setRealPlayer(ya)}}),D.forEach(aa=>{aa.parentPlayer?aa.syncPlayerEvents(aa.parentPlayer):aa.destroy()});for(let aa=0;aa!_o.destroyed);uo.length?Or(this,la,uo):this.processLeaveNode(la)}return Sa.length=0,X1.forEach(aa=>{this.players.push(aa),aa.onDone(()=>{aa.destroy();const la=this.players.indexOf(aa);this.players.splice(la,1)}),aa.play()}),X1}afterFlush(_){this._flushFns.push(_)}afterFlushAnimationsDone(_){this._whenQuietFns.push(_)}_getPreviousPlayers(_,m,E,D,I){let Oe=[];if(m){const Ct=this.playersByQueriedElement.get(_);Ct&&(Oe=Ct)}else{const Ct=this.playersByElement.get(_);if(Ct){const Bt=!I||I==Hs;Ct.forEach(yn=>{yn.queued||!Bt&&yn.triggerName!=D||Oe.push(yn)})}}return(E||D)&&(Oe=Oe.filter(Ct=>!(E&&E!=Ct.namespaceId||D&&D!=Ct.triggerName))),Oe}_beforeAnimationBuild(_,m,E){const I=m.element,Oe=m.isRemovalTransition?void 0:_,Ct=m.isRemovalTransition?void 0:m.triggerName;for(const Bt of m.timelines){const yn=Bt.element,Yn=yn!==I,jn=ge(E,yn,[]);this._getPreviousPlayers(yn,Yn,Oe,Ct,m.toState).forEach(Zi=>{const Mi=Zi.getRealPlayer();Mi.beforeDestroy&&Mi.beforeDestroy(),Zi.destroy(),jn.push(Zi)})}Ht(I,m.fromStyles)}_buildAnimation(_,m,E,D,I,Oe){const Ct=m.triggerName,Bt=m.element,yn=[],Yn=new Set,jn=new Set,Fi=m.timelines.map(Mi=>{const Ai=Mi.element;Yn.add(Ai);const Sa=Ai[ls];if(Sa&&Sa.removedBeforeQueried)return new lt.sf(Mi.duration,Mi.delay);const Ia=Ai!==Bt,fs=function Rr(b){const _=[];return Fs(b,_),_}((E.get(Ai)||Js).map(Vs=>Vs.getRealPlayer())).filter(Vs=>!!Vs.element&&Vs.element===Ai),$s=I.get(Ai),Ea=Oe.get(Ai),ws=ee(this._normalizer,Mi.keyframes,$s,Ea),Fa=this._buildPlayer(Mi,ws,fs);if(Mi.subTimeline&&D&&jn.add(Ai),Ia){const Vs=new xs(_,Ct,Ai);Vs.setRealPlayer(Fa),yn.push(Vs)}return Fa});yn.forEach(Mi=>{ge(this.playersByQueriedElement,Mi.element,[]).push(Mi),Mi.onDone(()=>function vr(b,_,m){let E=b.get(_);if(E){if(E.length){const D=E.indexOf(m);E.splice(D,1)}0==E.length&&b.delete(_)}return E}(this.playersByQueriedElement,Mi.element,Mi))}),Yn.forEach(Mi=>ja(Mi,dn));const Zi=vt(Fi);return Zi.onDestroy(()=>{Yn.forEach(Mi=>Za(Mi,dn)),Lt(Bt,m.toStyles)}),jn.forEach(Mi=>{ge(D,Mi,[]).push(Zi)}),Zi}_buildPlayer(_,m,E){return m.length>0?this.driver.animate(_.element,m,_.duration,_.delay,_.easing,E):new lt.sf(_.duration,_.delay)}}class xs{namespaceId;triggerName;element;_player=new lt.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(_,m,E){this.namespaceId=_,this.triggerName=m,this.element=E}setRealPlayer(_){this._containsRealPlayer||(this._player=_,this._queuedCallbacks.forEach((m,E)=>{m.forEach(D=>ye(_,E,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(_.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(_){this.totalTime=_}syncPlayerEvents(_){const m=this._player;m.triggerCallback&&_.onStart(()=>m.triggerCallback("start")),_.onDone(()=>this.finish()),_.onDestroy(()=>this.destroy())}_queueEvent(_,m){ge(this._queuedCallbacks,_,[]).push(m)}onDone(_){this.queued&&this._queueEvent("done",_),this._player.onDone(_)}onStart(_){this.queued&&this._queueEvent("start",_),this._player.onStart(_)}onDestroy(_){this.queued&&this._queueEvent("destroy",_),this._player.onDestroy(_)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(_){this.queued||this._player.setPosition(_)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(_){const m=this._player;m.triggerCallback&&m.triggerCallback(_)}}function Pa(b){return b&&1===b.nodeType}function er(b,_){const m=b.style.display;return b.style.display=_??"none",m}function Xs(b,_,m,E,D){const I=[];m.forEach(Bt=>I.push(er(Bt)));const Oe=[];E.forEach((Bt,yn)=>{const Yn=new Map;Bt.forEach(jn=>{const Fi=_.computeStyle(yn,jn,D);Yn.set(jn,Fi),(!Fi||0==Fi.length)&&(yn[ls]=rs,Oe.push(yn))}),b.set(yn,Yn)});let Ct=0;return m.forEach(Bt=>er(Bt,I[Ct++])),Oe}function wa(b,_){const m=new Map;if(b.forEach(Ct=>m.set(Ct,[])),0==_.length)return m;const D=new Set(_),I=new Map;function Oe(Ct){if(!Ct)return 1;let Bt=I.get(Ct);if(Bt)return Bt;const yn=Ct.parentNode;return Bt=m.has(yn)?yn:D.has(yn)?1:Oe(yn),I.set(Ct,Bt),Bt}return _.forEach(Ct=>{const Bt=Oe(Ct);1!==Bt&&m.get(Bt).push(Ct)}),m}function ja(b,_){b.classList?.add(_)}function Za(b,_){b.classList?.remove(_)}function Or(b,_,m){vt(m).onDone(()=>b.processLeaveNode(_))}function Fs(b,_){for(let m=0;mD.add(I)):_.set(b,E),m.delete(b),!0}class Sr{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(_,m)=>{};constructor(_,m,E){this._driver=m,this._normalizer=E,this._transitionEngine=new Ui(_.body,m,E),this._timelineEngine=new kr(_.body,m,E),this._transitionEngine.onRemovalComplete=(D,I)=>this.onRemovalComplete(D,I)}registerTrigger(_,m,E,D,I){const Oe=_+"-"+D;let Ct=this._triggerCache[Oe];if(!Ct){const Bt=[],Yn=Wi(this._driver,I,Bt,[]);if(Bt.length)throw function Qn(){return new v.buA(3404,!1)}();Ct=function Zs(b,_,m){return new jr(b,_,m)}(D,Yn,this._normalizer),this._triggerCache[Oe]=Ct}this._transitionEngine.registerTrigger(m,D,Ct)}register(_,m){this._transitionEngine.register(_,m)}destroy(_,m){this._transitionEngine.destroy(_,m)}onInsert(_,m,E,D){this._transitionEngine.insertNode(_,m,E,D)}onRemove(_,m,E){this._transitionEngine.removeNode(_,m,E)}disableAnimations(_,m){this._transitionEngine.markElementAsDisabled(_,m)}process(_,m,E,D){if("@"==E.charAt(0)){const[I,Oe]=N(E);this._timelineEngine.command(I,m,Oe,D)}else this._transitionEngine.trigger(_,m,E,D)}listen(_,m,E,D,I){if("@"==E.charAt(0)){const[Oe,Ct]=N(E);return this._timelineEngine.listen(Oe,m,Ct,I)}return this._transitionEngine.listen(_,m,E,D,I)}flush(_=-1){this._transitionEngine.flush(_)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(_){this._transitionEngine.afterFlushAnimationsDone(_)}}let He=(()=>{class b{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(m,E,D){this._element=m,this._startStyles=E,this._endStyles=D;let I=b.initialStylesByElement.get(m);I||b.initialStylesByElement.set(m,I=new Map),this._initialStyles=I}start(){this._state<1&&(this._startStyles&&Lt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Lt(this._element,this._initialStyles),this._endStyles&&(Lt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(Ht(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ht(this._element,this._endStyles),this._endStyles=null),Lt(this._element,this._initialStyles),this._state=3)}}return b})();function q(b){let _=null;return b.forEach((m,E)=>{(function mt(b){return"display"===b||"position"===b})(E)&&(_=_||new Map,_.set(E,m))}),_}class ln{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(_,m,E,D){this.element=_,this.keyframes=m,this.options=E,this._specialStyles=D,this._duration=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_=>_()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const _=this.keyframes,m=this._triggerWebAnimation(this.element,_,this.options);if(!m)return this._onFinish(),null;this.domPlayer=m,this._finalKeyframe=_.length?_[_.length-1]:new Map;const E=()=>this._onFinish();return m.addEventListener("finish",E),this.onDestroy(()=>{m.removeEventListener("finish",E)}),m}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(_){const m=[];return _.forEach(E=>{m.push(Object.fromEntries(E))}),m}_triggerWebAnimation(_,m,E){const D=this._convertKeyframesToObject(m);try{return _.animate(D,E)}catch{return null}}onStart(_){this._originalOnStartFns.push(_),this._onStartFns.push(_)}onDone(_){this._originalOnDoneFns.push(_),this._onDoneFns.push(_)}onDestroy(_){this._onDestroyFns.push(_)}play(){const _=this._buildPlayer();_&&(this.hasStarted()||(this._onStartFns.forEach(m=>m()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),_.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(_=>_()),this._onDestroyFns=[])}setPosition(_){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=_*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const _=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,D)=>{"offset"!==D&&_.set(D,this._finished?E:ci(this.element,D))}),this.currentSnapshot=_}triggerCallback(_){const m="start"===_?this._onStartFns:this._onDoneFns;m.forEach(E=>E()),m.length=0}}class Oi{validateStyleProperty(_){return!0}validateAnimatableStyleProperty(_){return!0}containsElement(_,m){return Ge(_,m)}getParentElement(_){return Me(_)}query(_,m,E){return Ot(_,m,E)}computeStyle(_,m,E){return ci(_,m)}animate(_,m,E,D,I,Oe=[]){const Bt={duration:E,delay:D,fill:0==D?"both":"forwards"};I&&(Bt.easing=I);const yn=new Map,Yn=Oe.filter(Zi=>Zi instanceof ln);(function Un(b,_){return 0===b||0===_})(E,D)&&Yn.forEach(Zi=>{Zi.currentSnapshot.forEach((Mi,Ai)=>yn.set(Ai,Mi))});let jn=function we(b){return b.length?b[0]instanceof Map?b:b.map(_=>new Map(Object.entries(_))):[]}(m).map(Zi=>new Map(Zi));jn=function zn(b,_,m){if(m.size&&_.length){let E=_[0],D=[];if(m.forEach((I,Oe)=>{E.has(Oe)||D.push(Oe),E.set(Oe,I)}),D.length)for(let I=1;I<_.length;I++){let Oe=_[I];D.forEach(Ct=>Oe.set(Ct,ci(b,Ct)))}}return _}(_,jn,yn);const Fi=function Ne(b,_){let m=null,E=null;return Array.isArray(_)&&_.length?(m=q(_[0]),_.length>1&&(E=q(_[_.length-1]))):_ instanceof Map&&(m=q(_)),m||E?new He(b,m,E):null}(_,jn);return new ln(_,jn,Bt,Fi)}}const On="@.disabled";class $e{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(_,m,E,D){this.namespaceId=_,this.delegate=m,this.engine=E,this._onDestroy=D}get data(){return this.delegate.data}destroyNode(_){this.delegate.destroyNode?.(_)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(_,m){return this.delegate.createElement(_,m)}createComment(_){return this.delegate.createComment(_)}createText(_){return this.delegate.createText(_)}appendChild(_,m){this.delegate.appendChild(_,m),this.engine.onInsert(this.namespaceId,m,_,!1)}insertBefore(_,m,E,D=!0){this.delegate.insertBefore(_,m,E),this.engine.onInsert(this.namespaceId,m,_,D)}removeChild(_,m,E,D){D?this.delegate.removeChild(_,m,E,D):this.parentNode(m)&&this.engine.onRemove(this.namespaceId,m,this.delegate)}selectRootElement(_,m){return this.delegate.selectRootElement(_,m)}parentNode(_){return this.delegate.parentNode(_)}nextSibling(_){return this.delegate.nextSibling(_)}setAttribute(_,m,E,D){this.delegate.setAttribute(_,m,E,D)}removeAttribute(_,m,E){this.delegate.removeAttribute(_,m,E)}addClass(_,m){this.delegate.addClass(_,m)}removeClass(_,m){this.delegate.removeClass(_,m)}setStyle(_,m,E,D){this.delegate.setStyle(_,m,E,D)}removeStyle(_,m,E){this.delegate.removeStyle(_,m,E)}setProperty(_,m,E){"@"==m.charAt(0)&&m==On?this.disableAnimations(_,!!E):this.delegate.setProperty(_,m,E)}setValue(_,m){this.delegate.setValue(_,m)}listen(_,m,E,D){return this.delegate.listen(_,m,E,D)}disableAnimations(_,m){this.engine.disableAnimations(_,m)}}class mn extends $e{factory;constructor(_,m,E,D,I){super(m,E,D,I),this.factory=_,this.namespaceId=m}setProperty(_,m,E){"@"==m.charAt(0)?"."==m.charAt(1)&&m==On?this.disableAnimations(_,E=void 0===E||!!E):this.engine.process(this.namespaceId,_,m.slice(1),E):this.delegate.setProperty(_,m,E)}listen(_,m,E,D){if("@"==m.charAt(0)){const I=function Ln(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(_);let Oe=m.slice(1),Ct="";return"@"!=Oe.charAt(0)&&([Oe,Ct]=function Ei(b){const _=b.indexOf(".");return[b.substring(0,_),b.slice(_+1)]}(Oe)),this.engine.listen(this.namespaceId,I,Oe,Ct,Bt=>{this.factory.scheduleListenerCallback(Bt._data||-1,E,Bt)})}return this.delegate.listen(_,m,E,D)}}class xa{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(_,m,E){this.delegate=_,this.engine=m,this._zone=E,m.onRemovalComplete=(D,I)=>{I?.removeChild(null,D)}}createRenderer(_,m){const D=this.delegate.createRenderer(_,m);if(!_||!m?.data?.animation){const yn=this._rendererCache;let Yn=yn.get(D);return Yn||(Yn=new $e("",D,this.engine,()=>yn.delete(D)),yn.set(D,Yn)),Yn}const I=m.id,Oe=m.id+"-"+this._currentId;this._currentId++,this.engine.register(Oe,_);const Ct=yn=>{Array.isArray(yn)?yn.forEach(Ct):this.engine.registerTrigger(I,Oe,_,yn.name,yn)};return m.data.animation.forEach(Ct),new mn(this,Oe,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(_,m,E){if(_>=0&&_m(E));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(I=>{const[Oe,Ct]=I;Oe(Ct)}),this._animationCallbacksBuffer=[]})}),D.push([m,E])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(_){this.engine.flush(),this.delegate.componentReplaced?.(_)}}const Ss=[{provide:ra,useFactory:function el(){return new qt}},{provide:Sr,useClass:(()=>{class b extends Sr{constructor(m,E,D){super(m,E,D)}ngOnDestroy(){this.flush()}static \u0275fac=function(E){return new(E||b)(v.KVO(v.qQL),v.KVO(ia),v.KVO(ra))};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})()},{provide:e._9s,useFactory:function Ml(b,_,m){return new xa(b,_,m)},deps:[f.mE,Sr,e.SKi]}],tr=[{provide:ia,useClass:Bn},{provide:e.bc$,useValue:"NoopAnimations"},...Ss],Eo=[{provide:ia,useFactory:()=>new Oi},{provide:e.bc$,useFactory:()=>"BrowserAnimations"},...Ss];let Mo=(()=>{class b{static withConfig(m){return{ngModule:b,providers:m.disableAnimations?tr:Eo}}static \u0275fac=function(E){return new(E||b)};static \u0275mod=e.$C({type:b});static \u0275inj=v.G2t({providers:Eo,imports:[he]})}return b})();var ds=l(9327),nr=l(9330),mi=l(9640),Uo=l(1747),Go=l(983),gl=l(1985),Tr=l(7673),jo=l(7786),mo=l(7242),Tl=l(2771),Vl=l(7647),za=l(5964),us=l(6354),Dl=l(274),eo=l(3236),So=l(8211),fo=l(9974),To=l(8750),Ho=l(1853),_l=l(4360),to=l(5225);const wl=(0,Ho.L)(b=>function(m=null){b(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=m});function Al(b){throw new wl(b)}var io=l(152),Ys=l(9437),Dr=l(6697),li=l(6977),Wr=l(5558),ao=l(5245),Pr=l(941),so=l(3993),tl=l(1943),Ul=l(9079);const Do="PERFORM_ACTION",ir="ROLLBACK",nl="TOGGLE_ACTION",de="JUMP_TO_STATE",Q="JUMP_TO_ACTION",me="IMPORT_STATE",et="LOCK_CHANGES",Mt="PAUSE_RECORDING";class Kt{constructor(_,m){if(this.action=_,this.timestamp=m,this.type=Do,typeof _.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Tn{constructor(){this.type="REFRESH"}}class ai{constructor(_){this.timestamp=_,this.type="RESET"}}class Gi{constructor(_){this.timestamp=_,this.type=ir}}class La{constructor(_){this.timestamp=_,this.type="COMMIT"}}class as{constructor(){this.type="SWEEP"}}class Ns{constructor(_){this.id=_,this.type=nl}}class ar{constructor(_){this.index=_,this.type=de}}class ro{constructor(_){this.actionId=_,this.type=Q}}class oo{constructor(_){this.nextLiftedState=_,this.type=me}}class Il{constructor(_){this.status=_,this.type=et}}class mc{constructor(_){this.status=_,this.type=Mt}}const kl=new v.nKC("@ngrx/store-devtools Options"),Xc=new v.nKC("@ngrx/store-devtools Initial Config");function po(){return null}function pc(b){const _={maxAge:!1,monitor:po,actionSanitizer:void 0,stateSanitizer:void 0,name:"NgRx Store DevTools",serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},m="function"==typeof b?b():b,D=m.features||!!m.logOnly&&{pause:!0,export:!0,test:!0}||_.features;!0===D.import&&(D.import="custom");const I=Object.assign({},_,{features:D},m);if(I.maxAge&&I.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${I.maxAge}`);return I}function Fr(b,_){return b.filter(m=>_.indexOf(m)<0)}function wo(b){const{computedStates:_,currentStateIndex:m}=b;if(m>=_.length){const{state:D}=_[_.length-1];return D}const{state:E}=_[m];return E}function Ao(b){return new Kt(b,+Date.now())}function Lc(b,_){return Object.keys(_).reduce((m,E)=>{const D=Number(E);return m[D]=vl(b,_[D],D),m},{})}function vl(b,_,m){return{..._,action:b(_.action,m)}}function al(b,_){return _.map((m,E)=>({state:Lo(b,m.state,E),error:m.error}))}function Lo(b,_,m){return b(_,m)}function Ol(b){return b.predicate||b.actionsSafelist||b.actionsBlocklist}function jl(b,_,m,E,D){const I=m&&!m(b,_.action),Oe=E&&!_.action.type.match(E.map(Bt=>Hl(Bt)).join("|")),Ct=D&&_.action.type.match(D.map(Bt=>Hl(Bt)).join("|"));return I||Oe||Ct}function Hl(b){return b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Rl(b){return{ngZone:b?(0,v.WQX)(e.SKi):null,connectInZone:b}}let Io=(()=>{var b;class _ extends mi.SS{static#e=b=()=>(this.\u0275fac=(()=>{let E;return function(I){return(E||(E=e.xGo(_)))(I||_)}})(),this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const Wl=new v.nKC("@ngrx/store-devtools Redux Devtools Extension");let sr=(()=>{var b;class _{constructor(E,D,I){this.config=D,this.dispatcher=I,this.zoneConfig=Rl(this.config.connectInZone),this.devtoolsExtension=E,this.createActionStreams()}notify(E,D){if(this.devtoolsExtension)if(E.type===Do){if(D.isLocked||D.isPaused)return;const I=wo(D);if(Ol(this.config)&&jl(I,E,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Oe=this.config.stateSanitizer?Lo(this.config.stateSanitizer,I,D.currentStateIndex):I,Ct=this.config.actionSanitizer?vl(this.config.actionSanitizer,E,D.nextActionId):E;this.sendToReduxDevtools(()=>this.extensionConnection.send(Ct,Oe))}else{const I={...D,stagedActionIds:D.stagedActionIds,actionsById:this.config.actionSanitizer?Lc(this.config.actionSanitizer,D.actionsById):D.actionsById,computedStates:this.config.stateSanitizer?al(this.config.stateSanitizer,D.computedStates):D.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,I,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new gl.c(E=>{const D=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=D,D.init(),D.subscribe(I=>E.next(I)),D.unsubscribe}):Go.w}createActionStreams(){const E=this.createChangesObservable().pipe((0,Vl.u)()),D=E.pipe((0,za.p)(Yn=>"START"===Yn.type)),I=E.pipe((0,za.p)(Yn=>"STOP"===Yn.type)),Oe=E.pipe((0,za.p)(Yn=>"DISPATCH"===Yn.type),(0,us.T)(Yn=>this.unwrapAction(Yn.payload)),(0,Dl.H)(Yn=>Yn.type===me?this.dispatcher.pipe((0,za.p)(jn=>jn.type===mi.q6),function no(b,_){const{first:m,each:E,with:D=Al,scheduler:I=_??eo.E,meta:Oe=null}=(0,So.v)(b)?{first:b}:"number"==typeof b?{each:b}:b;if(null==m&&null==E)throw new TypeError("No timeout provided.");return(0,fo.N)((Ct,Bt)=>{let yn,Yn,jn=null,Fi=0;const Zi=Mi=>{Yn=(0,to.N)(Bt,I,()=>{try{yn.unsubscribe(),(0,To.Tg)(D({meta:Oe,lastValue:jn,seen:Fi})).subscribe(Bt)}catch(Ai){Bt.error(Ai)}},Mi)};yn=Ct.subscribe((0,_l._)(Bt,Mi=>{Yn?.unsubscribe(),Fi++,Bt.next(jn=Mi),E>0&&Zi(E)},void 0,void 0,()=>{Yn?.closed||Yn?.unsubscribe(),jn=null})),!Fi&&Zi(null!=m?"number"==typeof m?m:+m-I.now():E)})}(1e3),(0,io.B)(1e3),(0,us.T)(()=>Yn),(0,Ys.W)(()=>(0,Tr.of)(Yn)),(0,Dr.s)(1)):(0,Tr.of)(Yn))),Bt=E.pipe((0,za.p)(Yn=>"ACTION"===Yn.type),(0,us.T)(Yn=>this.unwrapAction(Yn.payload))).pipe((0,li.Q)(I)),yn=Oe.pipe((0,li.Q)(I));this.start$=D.pipe((0,li.Q)(I)),this.actions$=this.start$.pipe((0,Wr.n)(()=>Bt)),this.liftedActions$=this.start$.pipe((0,Wr.n)(()=>yn))}unwrapAction(E){return"string"==typeof E?(0,eval)(`(${E})`):E}getExtensionConfig(E){const D={name:E.name,features:E.features,serialize:E.serialize,autoPause:E.autoPause??!1,trace:E.trace??!1,traceLimit:E.traceLimit??75};return!1!==E.maxAge&&(D.maxAge=E.maxAge),D}sendToReduxDevtools(E){try{E()}catch(D){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",D)}}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(Wl),v.KVO(kl),v.KVO(Io))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const Ts={type:mi.Zz},je={type:"@ngrx/store-devtools/recompute"};function ct(b,_,m,E,D){if(E)return{state:m,error:"Interrupted by an error up the chain"};let Oe,I=m;try{I=b(m,_)}catch(Ct){Oe=Ct.toString(),D.handleError(Ct)}return{state:I,error:Oe}}function Qt(b,_,m,E,D,I,Oe,Ct,Bt){if(_>=b.length&&b.length===I.length)return b;const yn=b.slice(0,_),Yn=I.length-(Bt?1:0);for(let jn=_;jn-1?Mi:ct(m,Zi,Ai,Sa,Ct);yn.push(fs)}return Bt&&yn.push(b[b.length-1]),yn}let Ci=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn,Yn){const jn=function Pn(b,_){return{monitorState:_(void 0,{}),nextActionId:1,actionsById:{0:Ao(Ts)},stagedActionIds:[0],skippedActionIds:[],committedState:b,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(yn,Yn.monitor),Fi=function $n(b,_,m,E,D={}){return I=>(Oe,Ct)=>{let{monitorState:Bt,actionsById:yn,nextActionId:Yn,stagedActionIds:jn,skippedActionIds:Fi,committedState:Zi,currentStateIndex:Mi,computedStates:Ai,isLocked:Sa,isPaused:Ia}=Oe||_;function fs(ws){let Fa=ws,Vs=jn.slice(1,Fa+1);for(let ps=0;ps-1===Vs.indexOf(ps)),jn=[0,...jn.slice(Fa+1)],Zi=Ai[Fa].state,Ai=Ai.slice(Fa),Mi=Mi>Fa?Mi-Fa:0}function $s(){yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Zi=Ai[Mi].state,Mi=0,Ai=[]}Oe||(yn=Object.create(yn));let Ea=0;switch(Ct.type){case et:Sa=Ct.status,Ea=1/0;break;case Mt:Ia=Ct.status,Ia?(jn=[...jn,Yn],yn[Yn]=new Kt({type:"@ngrx/devtools/pause"},+Date.now()),Yn++,Ea=jn.length-1,Ai=Ai.concat(Ai[Ai.length-1]),Mi===jn.length-2&&Mi++,Ea=1/0):$s();break;case"RESET":yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Zi=b,Mi=0,Ai=[];break;case"COMMIT":$s();break;case ir:yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Mi=0,Ai=[];break;case nl:{const{id:ws}=Ct;Fi=-1===Fi.indexOf(ws)?[ws,...Fi]:Fi.filter(Vs=>Vs!==ws),Ea=jn.indexOf(ws);break}case"SET_ACTIONS_ACTIVE":{const{start:ws,end:Fa,active:Vs}=Ct,ps=[];for(let xl=ws;xlD.maxAge&&(Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),fs(jn.length-D.maxAge),Ea=1/0);break;case mi.q6:if(Ai.filter(Fa=>Fa.error).length>0)Ea=0,D.maxAge&&jn.length>D.maxAge&&(Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),fs(jn.length-D.maxAge),Ea=1/0);else{if(!Ia&&!Sa){Mi===jn.length-1&&Mi++;const Fa=Yn++;yn[Fa]=new Kt(Ct,+Date.now()),jn=[...jn,Fa],Ea=jn.length-1,Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia)}Ai=Ai.map(Fa=>({...Fa,state:I(Fa.state,je)})),Mi=jn.length-1,D.maxAge&&jn.length>D.maxAge&&fs(jn.length-D.maxAge),Ea=1/0}break;default:Ea=1/0}return Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),Bt=E(Bt,Ct),{monitorState:Bt,actionsById:yn,nextActionId:Yn,stagedActionIds:jn,skippedActionIds:Fi,committedState:Zi,currentStateIndex:Mi,computedStates:Ai,isLocked:Sa,isPaused:Ia}}}(yn,jn,Bt,Yn.monitor,Yn),Zi=(0,jo.h)((0,jo.h)(D.asObservable().pipe((0,ao.i)(1)),Oe.actions$).pipe((0,us.T)(Ao)),E,Oe.liftedActions$).pipe((0,Pr.Q)(mo.T)),Mi=I.pipe((0,us.T)(Fi)),Ai=Rl(Yn.connectInZone),Sa=new Tl.m(1);this.liftedStateSubscription=Zi.pipe((0,so.E)(Mi),wi(Ai),(0,tl.S)(({state:$s},[Ea,ws])=>{let Fa=ws($s,Ea);return Ea.type!==Do&&Ol(Yn)&&(Fa=function Gl(b,_,m,E){const D=[],I={},Oe=[];return b.stagedActionIds.forEach((Ct,Bt)=>{const yn=b.actionsById[Ct];yn&&(Bt&&jl(b.computedStates[Bt],yn,_,m,E)||(I[Ct]=yn,D.push(Ct),Oe.push(b.computedStates[Bt])))}),{...b,stagedActionIds:D,actionsById:I,computedStates:Oe}}(Fa,Yn.predicate,Yn.actionsSafelist,Yn.actionsBlocklist)),Oe.notify(Ea,Fa),{state:Fa,action:Ea}},{state:jn,action:null})).subscribe(({state:$s,action:Ea})=>{Sa.next($s),Ea.type===Do&&Ct.next(Ea.action)}),this.extensionStartSubscription=Oe.start$.pipe(wi(Ai)).subscribe(()=>{this.refresh()});const Ia=Sa.asObservable(),fs=Ia.pipe((0,us.T)(wo));Object.defineProperty(fs,"state",{value:(0,Ul.ot)(fs,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=E,this.liftedState=Ia,this.state=fs}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(E){this.dispatcher.next(E)}next(E){this.dispatcher.next(E)}error(E){}complete(){}performAction(E){this.dispatch(new Kt(E,+Date.now()))}refresh(){this.dispatch(new Tn)}reset(){this.dispatch(new ai(+Date.now()))}rollback(){this.dispatch(new Gi(+Date.now()))}commit(){this.dispatch(new La(+Date.now()))}sweep(){this.dispatch(new as)}toggleAction(E){this.dispatch(new Ns(E))}jumpToAction(E){this.dispatch(new ro(E))}jumpToState(E){this.dispatch(new ar(E))}importState(E){this.dispatch(new oo(E))}lockChanges(E){this.dispatch(new Il(E))}pauseRecording(E){this.dispatch(new mc(E))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(Io),v.KVO(mi.SS),v.KVO(mi.QU),v.KVO(sr),v.KVO(mi.sA),v.KVO(v.zcH),v.KVO(mi.N_),v.KVO(kl))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();function wi({ngZone:b,connectInZone:_}){return m=>_?new gl.c(E=>m.subscribe({next:D=>b.run(()=>E.next(D)),error:D=>b.run(()=>E.error(D)),complete:()=>b.run(()=>E.complete())})):m}const $i=new v.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function sa(b,_){return!!b||_.monitor!==po}function va(){const b="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[b]<"u"?window[b]:null}function oa(b){return b.state}function hs(b={}){return(0,v.EmA)([sr,Io,Ci,{provide:Xc,useValue:b},{provide:$i,deps:[Wl,kl],useFactory:sa},{provide:Wl,useFactory:va},{provide:kl,deps:[Xc],useFactory:pc},{provide:mi.h1,deps:[Ci],useFactory:oa},{provide:mi.Bh,useExisting:Io}])}let Ls=(()=>{var b;class _{static instrument(E={}){return{ngModule:_,providers:[hs(E)]}}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275mod=e.$C({type:_}),this.\u0275inj=v.G2t({}))}return b(),_})();var gi=l(1413),Nr=l(3726),Br=l(2806),Xo=l(1807);function Oo(b=0,_=eo.E){return b<0&&(b=0),(0,Xo.O)(b,b,_)}var Pl=l(8359),yl=l(7908),Xr=l(9326),Xl=l(8141),Kc=l(980),_1=l(3294);class Yc{}function nc(b){return(0,v.EmA)([{provide:Yc,useValue:b}])}let v1=(()=>{class b{constructor(m,E){this._ngZone=E,this.timerStart$=new gi.B,this.idleDetected$=new gi.B,this.timeout$=new gi.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,m&&this.setConfig(m)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,jo.h)((0,Nr.R)(window,"mousemove"),(0,Nr.R)(window,"resize"),(0,Nr.R)(document,"keydown"))),this.idle$=(0,Br.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function tc(b,..._){var m,E;const D=null!==(m=(0,Xr.lI)(_))&&void 0!==m?m:eo.E,I=null!==(E=_[0])&&void 0!==E?E:null,Oe=_[1]||1/0;return(0,fo.N)((Ct,Bt)=>{let yn=[],Yn=!1;const jn=Mi=>{const{buffer:Ai,subs:Sa}=Mi;Sa.unsubscribe(),(0,yl.o)(yn,Mi),Bt.next(Ai),Yn&&Fi()},Fi=()=>{if(yn){const Mi=new Pl.yU;Bt.add(Mi);const Sa={buffer:[],subs:Mi};yn.push(Sa),(0,to.N)(Mi,D,()=>jn(Sa),b)}};null!==I&&I>=0?(0,to.N)(Bt,D,Fi,I,!0):Yn=!0,Fi();const Zi=(0,_l._)(Bt,Mi=>{const Ai=yn.slice();for(const Sa of Ai){const{buffer:Ia}=Sa;Ia.push(Mi),Oe<=Ia.length&&jn(Sa)}},()=>{for(;yn?.length;)Bt.next(yn.shift().buffer);Zi?.unsubscribe(),Bt.complete(),Bt.unsubscribe()},void 0,()=>yn=null);Ct.subscribe(Zi)})}(this.idleSensitivityMillisec),(0,za.p)(m=>!m.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Xl.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Wr.n)(()=>this._ngZone.runOutsideAngular(()=>Oo(1e3).pipe((0,li.Q)((0,jo.h)(this.activityEvents$,(0,Xo.O)(this.idleMillisec).pipe((0,Xl.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Kc.j)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe((0,_1.F)(),(0,Wr.n)(m=>m?this.timer$:(0,Tr.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,za.p)(m=>!!m),(0,Xl.M)(()=>this.isTimeout=!0),(0,us.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(m){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(m):console.error("Call stopWatching() before set config values")}setConfig(m){m.idle&&(this.idleMillisec=1e3*m.idle),m.ping&&(this.pingMillisec=1e3*m.ping),m.idleSensitivity&&(this.idleSensitivityMillisec=1e3*m.idleSensitivity),m.timeout&&(this.timeout=m.timeout)}setCustomActivityEvents(m){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=m:console.error("Call stopWatching() before set custom activity events")}setupTimer(m){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Tr.of)(()=>new Date).pipe((0,us.T)(E=>E()),(0,Wr.n)(E=>Oo(1e3).pipe((0,us.T)(()=>Math.round(((new Date).valueOf()-E.valueOf())/1e3)),(0,Xl.M)(D=>{D>=m&&this.timeout$.next(!0)}))))})}setupPing(m){this.ping$=Oo(m).pipe((0,za.p)(()=>!this.isTimeout))}}return b.\u0275fac=function(m){return new(m||b)(v.KVO(Yc,8),v.KVO(e.SKi))},b.\u0275prov=v.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();var lo=l(8132),Ha=l(3694),Ti=l(5383),Oa=l(9647),os=l(60),K=l(5596),Ie=l(2920),Ut=l(6850);const Gn=()=>({initial:!1});function ui(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[1].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[1].link))("active",m.activeLink===m.links[1].link)("state",e.lJ4(5,Gn)),e.R7$(),e.JRh(m.links[1].name)}}function ki(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[2].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link),e.R7$(),e.JRh(m.links[2].name)}}let Wa=(()=>{var b;class _{constructor(E,D){this.store=E,this.router=D,this.faUserCog=Ti.McB,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){const E=this.links.find(D=>this.router.url.includes(D.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeLink=I?I.link:this.links[0].link}}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{this.showBitcoind=!1,this.selNode=D,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-settings"]],standalone:!1,decls:16,vars:8,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active","state"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Settings"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[0].link)}),e.EFF(9),e.k0s(),e.DNE(10,ui,2,6,"div",8)(11,ki,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()}if(2&D){const Oe=e.sdS(13);e.R7$(),e.Y8G("icon",I.faUserCog),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[0].link))("active",I.activeLink===I.links[0].link),e.R7$(),e.JRh(I.links[0].name),e.R7$(),e.Y8G("ngIf",!+I.appConfig.SSO.rtlSSO),e.R7$(),e.Y8G("ngIf",I.showBitcoind)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();var Bi=l(1771),Aa=l(8570),hi=l(9417),es=l(8834),Ma=l(9588),sl=l(6183),ac=l(3029),go=l(497),Kl=l(9587);function t2(b,_){if(1&b&&(e.j41(0,"mat-option",15),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.index),e.R7$(),e.Lme(" ",m.lnNode," (",m.lnImplementation,") ")}}function S4(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",3,0)(2,"div",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5,"Default Node"),e.k0s()(),e.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-label"),e.EFF(10,"Default Node"),e.k0s(),e.j41(11,"mat-select",10),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.appConfig.defaultNodeIndex,D)||(I.appConfig.defaultNodeIndex=D),v.Njj(D)}),e.DNE(12,t2,2,3,"mat-option",11),e.k0s()()(),e.j41(13,"div",12)(14,"div",8)(15,"button",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onResetSettings())}),e.EFF(16,"Reset"),e.k0s(),e.j41(17,"button",14),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onUpdateApplicationSettings())}),e.EFF(18,"Update"),e.k0s()()()()()}if(2&b){const m=e.XpG();e.R7$(3),e.Y8G("icon",m.faWindowRestore),e.R7$(8),e.R50("ngModel",m.appConfig.defaultNodeIndex),e.R7$(),e.Y8G("ngForOf",m.appConfig.nodes)}}let Qc=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faWindowRestore=Ti.aFw,this.faPlus=Ti.QLR,this.previousDefaultNode=0,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(E)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateApplicationSettings(){this.appConfig.defaultNodeIndex=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1,this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-app-settings"]],standalone:!1,decls:2,vars:1,consts:[["form","ngForm"],["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","name","defaultNode",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary",1,"mr-1",3,"click"],["mat-flat-button","","color","primary",3,"click"],[3,"value"]],template:function(D,I){1&D&&(e.j41(0,"div",1),e.DNE(1,S4,19,3,"form",2),e.k0s()),2&D&&(e.R7$(),e.Y8G("ngIf",I.appConfig.nodes&&I.appConfig.nodes.length&&I.appConfig.nodes.length>0))},dependencies:[w.Sq,w.bT,hi.qT,hi.BC,hi.cb,hi.vS,hi.cV,os.aY,es.$z,Ma.rl,Ma.nJ,Ie.DJ,Ie.sA,Ie.UI,sl.VO,ac.wT,go.Ld,Kl.N],encapsulation:2}))}return b(),_})();var _c=l(2852),Ro=l(1585),Ko=l(7541),$c=l(5416),n2=l(467);let rl=(()=>{var b;class _{constructor(){this.base32Chars="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"}generateSecret(E=10){const D=new Uint8Array(E);return window.crypto.getRandomValues(D),this.base32Encode(D)}keyuri(E,D,I){return"otpauth://totp/"+encodeURIComponent(D)+":"+encodeURIComponent(E)+"?secret="+I+"&period=30&digits=6&algorithm=SHA1&issuer="+encodeURIComponent(D)}check(E,D,I){return/^\d+$/.test(E)?this.generate(D,I).then(Oe=>Oe===E).catch(()=>!1):Promise.resolve(!1)}generate(E,D){var I=this;return(0,n2.A)(function*(){const Oe=Math.floor((D??Date.now())/30/1e3),Ct=new Uint8Array(8);let Bt=Oe;for(let Mi=7;Mi>=0;Mi--)Ct[Mi]=255&Bt,Bt=Math.floor(Bt/256);const yn=I.createHmacKey(I.base32Decode(E)),Yn=yield window.crypto.subtle.importKey("raw",yn,{name:"HMAC",hash:"SHA-1"},!1,["sign"]),jn=new Uint8Array(yield window.crypto.subtle.sign("HMAC",Yn,Ct)),Fi=15&jn[jn.length-1];return String(((127&jn[Fi])<<24|(255&jn[Fi+1])<<16|(255&jn[Fi+2])<<8|255&jn[Fi+3])%10**6).padStart(6,"0")})()}createHmacKey(E){if(2*E.length>=20)return E;const D=new Uint8Array(20);for(let I=0;I=5;)Oe+=this.base32Chars[I>>>D-5&31],D-=5;return D>0&&(Oe+=this.base32Chars[I<<5-D&31]),Oe}base32Decode(E){const D=E.toUpperCase().replace(/[=]+$/,"");let I=0,Oe=0;const Ct=[];for(const Bt of D){const yn=this.base32Chars.indexOf(Bt);if(yn<0)throw new Error("Invalid base32 character in secret.");Oe=Oe<<5|yn,I+=5,I>=8&&(Ct.push(Oe>>>I-8&255),I-=8)}return Uint8Array.from(Ct)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}))}return b(),_})();var br=l(3746),Yo=l(6013),Yl=l(8288),i2=l(9157);const Fl=["stepper"];function y1(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG();e.JRh(m.passwordFormLabel)}}function ld(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function a2(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.secretFormLabel)}}function A0(b,_){if(1&b&&e.nrm(0,"qr-code",33),2&b){const m=e.XpG(2);e.Y8G("value",m.otpauth)("size",180)}}function Ic(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Secret Code is required."),e.k0s())}function T4(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-step",10)(1,"form",22),e.DNE(2,a2,1,1,"ng-template",23),e.j41(3,"div",24),e.DNE(4,A0,1,2,"qr-code",25),e.k0s(),e.j41(5,"div",26),e.nrm(6,"fa-icon",27),e.j41(7,"span"),e.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.k0s()(),e.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e.EFF(12,"Secret Code"),e.k0s(),e.nrm(13,"input",29),e.j41(14,"fa-icon",30),e.bIt("copied",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onCopySecret(D))}),e.k0s(),e.DNE(15,Ic,2,0,"mat-error",15),e.k0s()(),e.j41(16,"div",31)(17,"button",32),e.EFF(18,"Next"),e.k0s()()()()}if(2&b){const m=e.XpG();e.Y8G("stepControl",m.secretFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.secretFormGroup),e.R7$(3),e.Y8G("ngIf",m.otpauth),e.R7$(2),e.Y8G("icon",m.faInfoCircle),e.R7$(8),e.Y8G("icon",m.faCopy)("payload",null==m.secretFormGroup||null==m.secretFormGroup.controls||null==m.secretFormGroup.controls.secret?null:m.secretFormGroup.controls.secret.value),e.R7$(),e.Y8G("ngIf",null==m.secretFormGroup||null==m.secretFormGroup.controls||null==m.secretFormGroup.controls.secret||null==m.secretFormGroup.controls.secret.errors?null:m.secretFormGroup.controls.secret.errors.required)}}function L0(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.tokenFormLabel)}}function I0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}function Te(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is invalid."),e.k0s())}function dt(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e.EFF(4,"Token"),e.k0s(),e.nrm(5,"input",37),e.DNE(6,I0,2,0,"mat-error",15)(7,Te,2,0,"mat-error",15),e.k0s()(),e.j41(8,"div",31)(9,"button",38),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onVerifyToken())}),e.EFF(10),e.k0s()()()}if(2&b){const m=e.XpG(2);e.R7$(6),e.Y8G("ngIf",null==m.tokenFormGroup||null==m.tokenFormGroup.controls||null==m.tokenFormGroup.controls.token||null==m.tokenFormGroup.controls.token.errors?null:m.tokenFormGroup.controls.token.errors.required),e.R7$(),e.Y8G("ngIf",null==m.tokenFormGroup||null==m.tokenFormGroup.controls||null==m.tokenFormGroup.controls.token||null==m.tokenFormGroup.controls.token.errors?null:m.tokenFormGroup.controls.token.errors.notValid),e.R7$(3),e.JRh(null!=m.tokenFormGroup&&null!=m.tokenFormGroup.controls&&null!=m.tokenFormGroup.controls.token&&null!=m.tokenFormGroup.controls.token.errors&&m.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function st(b,_){1&b&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Success! You are all set."),e.k0s()())}function ft(b,_){if(1&b&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,L0,1,1,"ng-template",12)(3,dt,11,3,"div",36)(4,st,3,0,"div",15),e.k0s()()),2&b){const m=e.XpG();e.Y8G("stepControl",m.tokenFormGroup),e.R7$(),e.Y8G("formGroup",m.tokenFormGroup),e.R7$(2),e.Y8G("ngIf",!m.flgValidated||!m.isTokenValid),e.R7$(),e.Y8G("ngIf",m.flgValidated&&m.isTokenValid)}}function $t(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.disableFormLabel)}}function Cn(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",8)(1,"div",39),e.nrm(2,"fa-icon",27),e.j41(3,"span"),e.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.k0s()(),e.j41(5,"div",31)(6,"button",38),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onVerifyToken())}),e.EFF(7,"Disable"),e.k0s()()()}if(2&b){const m=e.XpG(2);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle)}}function Dn(b,_){1&b&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Two factor authentication removed from RTL."),e.k0s()())}function Zn(b,_){if(1&b&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,$t,1,1,"ng-template",12)(3,Cn,8,1,"div",36)(4,Dn,3,0,"div",15),e.k0s()()),2&b){const m=e.XpG();e.Y8G("stepControl",m.disableFormGroup),e.R7$(),e.Y8G("formGroup",m.disableFormGroup),e.R7$(2),e.Y8G("ngIf",!m.flgValidated||!m.isTokenValid),e.R7$(),e.Y8G("ngIf",m.flgValidated&&m.isTokenValid)}}let si=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn){this.dialogRef=E,this.data=D,this.store=I,this.formBuilder=Oe,this.rtlEffects=Ct,this.snackBar=Bt,this.totpService=yn,this.faExclamationTriangle=Ti.zpE,this.faCopy=Ti.jPR,this.faInfoCircle=Ti.iW_,this.flgValidated=!1,this.isTokenValid=!0,this.verifyingToken=!1,this.otpauth="",this.appConfig=null,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[hi.k0.required]],password:["",[hi.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},hi.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",hi.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},hi.k0.required]})}generateSecret(){const E=this.totpService.generateSecret();return this.otpauth=this.totpService.keyuri("","Ride The Lightning (RTL)",E),E}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Bi.oz)({payload:_c(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Dr.s)(1)).subscribe(E=>{"ERROR"!==E?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(E){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(!this.appConfig?.enable2FA)return!(this.tokenFormGroup.controls.token.value&&!this.verifyingToken)||(this.verifyingToken=!0,void this.totpService.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value).then(E=>{this.verifyingToken=!1,this.isTokenValid=E,E?(this.appConfig.enable2FA=!0,this.appConfig.secret2FA=this.secretFormGroup.controls.secret.value,this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue(""),this.flgValidated=!0):this.tokenFormGroup.controls.token.setErrors({notValid:!0})}));this.appConfig.enable2FA=!1,this.appConfig.secret2FA="",this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!1,message:"Two factor authentication disabled successfully.",config:this.appConfig}})),this.generateSecret(),this.isTokenValid=!0,this.flgValidated=!0}stepSelectionChanged(E){switch(E.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}E.selectedIndex{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(Ro.Vh),e.rXU(mi.il),e.rXU(hi.ze),e.rXU(Ko.H),e.rXU($c.UG),e.rXU(rl))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-two-factor-auth"]],viewQuery:function(D,I){if(1&D&&e.GBs(Fl,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.stepper=Oe.first)}},standalone:!1,decls:30,vars:11,consts:[["stepper",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100"],["autoFocus","","matInput","","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"copied","icon","payload"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","6","type","button","matStepperNext",""],["errorCorrectionLevel","L",3,"value","size"],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","type","text","tabindex","7","formControlName","token","required",""],["mat-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Setup Two Factor Authentication"),e.k0s()(),e.j41(6,"button",6),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),e.bIt("selectionChange",function(Bt){return v.eBV(Oe),v.Njj(I.stepSelectionChanged(Bt))}),e.j41(12,"mat-step",10)(13,"form",11),e.DNE(14,y1,1,1,"ng-template",12),e.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),e.EFF(18,"Password"),e.k0s(),e.nrm(19,"input",14),e.DNE(20,ld,2,0,"mat-error",15),e.k0s()(),e.j41(21,"div",16)(22,"button",17),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onAuthenticate())}),e.EFF(23,"Confirm"),e.k0s()()()(),e.DNE(24,T4,19,8,"mat-step",18)(25,ft,5,4,"mat-step",19)(26,Zn,5,4,"mat-step",19),e.k0s(),e.j41(27,"div",20)(28,"button",21),e.EFF(29),e.k0s()()()()()()}2&D&&(e.R7$(6),e.Y8G("mat-dialog-close",!1),e.R7$(4),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",I.passwordFormGroup)("editable",I.flgEditable),e.R7$(),e.Y8G("formGroup",I.passwordFormGroup),e.R7$(7),e.Y8G("ngIf",null==I.passwordFormGroup||null==I.passwordFormGroup.controls||null==I.passwordFormGroup.controls.password||null==I.passwordFormGroup.controls.password.errors?null:I.passwordFormGroup.controls.password.errors.required),e.R7$(4),e.Y8G("ngIf",!I.showDisableStepper),e.R7$(),e.Y8G("ngIf",!I.showDisableStepper),e.R7$(),e.Y8G("ngIf",I.showDisableStepper),e.R7$(2),e.Y8G("mat-dialog-close",!1),e.R7$(),e.JRh(I.flgValidated&&I.isTokenValid?"Close":"Cancel"))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.j4,hi.JD,os.aY,Ro.tx,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ma.yw,Ie.DJ,Ie.sA,Ie.UI,Yo.V5,Yo.Ti,Yo.M6,Yo.F7,Yl.Um,i2.U,Kl.N],encapsulation:2}))}return b(),_})();var _t=l(4416),ji=l(3202),Hi=l(1997);const Ja=["authForm"];function Ba(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Current password is required."),e.k0s())}function wr(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.errorMsg)}}function _s(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.errorConfirmMsg)}}function vs(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",12,0)(2,"div",13),e.nrm(3,"fa-icon",6),e.j41(4,"span",7),e.EFF(5,"Password"),e.k0s()(),e.j41(6,"mat-form-field")(7,"mat-label"),e.EFF(8,"Current Password"),e.k0s(),e.j41(9,"input",14),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.currPassword,D)||(I.currPassword=D),v.Njj(D)}),e.k0s(),e.DNE(10,Ba,2,0,"mat-error",15),e.k0s(),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"New Password"),e.k0s(),e.j41(14,"input",16),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.newPassword,D)||(I.newPassword=D),v.Njj(D)}),e.k0s(),e.DNE(15,wr,2,1,"mat-error",15),e.k0s(),e.j41(16,"mat-form-field")(17,"mat-label"),e.EFF(18,"Confirm New Password"),e.k0s(),e.j41(19,"input",17),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.confirmPassword,D)||(I.confirmPassword=D),v.Njj(D)}),e.k0s(),e.DNE(20,_s,2,1,"mat-error",15),e.k0s(),e.j41(21,"div",18)(22,"button",19),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onResetPassword())}),e.EFF(23,"Reset"),e.k0s(),e.j41(24,"button",20),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onChangePassword())}),e.EFF(25,"Change Password"),e.k0s()()()}if(2&b){const m=e.XpG();e.R7$(3),e.Y8G("icon",m.faLock),e.R7$(6),e.R50("ngModel",m.currPassword),e.R7$(),e.Y8G("ngIf",!m.currPassword),e.R7$(4),e.R50("ngModel",m.newPassword),e.R7$(),e.Y8G("ngIf",m.matchOldAndNewPasswords()),e.R7$(4),e.R50("ngModel",m.confirmPassword),e.R7$(),e.Y8G("ngIf",m.matchNewPasswords())}}let rr=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.store=D,this.actions=I,this.router=Oe,this.sessionService=Ct,this.faInfoCircle=Ti.iW_,this.faUserLock=Ti.aAJ,this.faUserClock=Ti.ld_,this.faLock=Ti.DW4,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.logger.info(this.appConfig)}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(E=>E.type===_t.aU.RESET_PASSWORD_RES)).subscribe(E=>{if(_t.Ah.includes(this.currPassword.toLowerCase()))switch(this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.router.navigate(["/cln/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form&&this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword||_t.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Bi.xw)({payload:{currPassword:_c(this.currPassword).toString(),newPassword:_c(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let E=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",E=!0):_t.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=_t.Ah?.reduce((D,I,Oe)=>Oe<_t.Ah.length-1?D+I+'" / "':D+I+'".','Password cannot be "'),E=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",E=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",E=!0)),E}matchNewPasswords(){let E=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",E=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",E=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",E=!0)),E}on2FAuth(){this.store.dispatch((0,Bi.xO)({payload:{data:{appConfig:this.appConfig,component:si}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(Ha.Ix),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-auth-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(Ja,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:15,vars:4,consts:[["authForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModelChange","ngModel"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModelChange","ngModel"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",1),e.DNE(1,vs,26,7,"form",2),e.nrm(2,"mat-divider",3),e.j41(3,"div",4)(4,"div",5),e.nrm(5,"fa-icon",6),e.j41(6,"span",7),e.EFF(7,"Two Factor Authentication"),e.k0s()(),e.j41(8,"div",8),e.nrm(9,"fa-icon",9),e.j41(10,"span"),e.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.k0s()(),e.j41(12,"div",10)(13,"button",11),e.bIt("click",function(){return I.on2FAuth()}),e.EFF(14),e.k0s()()()()),2&D&&(e.R7$(),e.Y8G("ngIf",null==I.appConfig?null:I.appConfig.allowPasswordUpdate),e.R7$(4),e.Y8G("icon",I.faUserClock),e.R7$(4),e.Y8G("icon",I.faInfoCircle),e.R7$(5),e.JRh(I.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.TL,Hi.q,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();var Bs=l(3902);function ol(b,_){1&b&&e.nrm(0,"mat-divider",7)}function Kr(b,_){if(1&b&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,ol,1,0,"mat-divider",6),e.k0s()),2&b){const m=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,m.configData)),e.R7$(2),e.Y8G("ngIf",""!==m.configData)}}function sc(b,_){if(1&b&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function ll(b,_){if(1&b&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function D4(b,_){1&b&&e.nrm(0,"mat-divider",15),2&b&&e.Y8G("inset",!0)}function vc(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,sc,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,ll,2,1,"h4",12),e.k0s(),e.DNE(5,D4,1,1,"mat-divider",13),e.k0s()),2&b){const m=_.$implicit;e.R7$(2),e.Y8G("ngIf",m.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",m.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",m.indexOf("[")<0)}}function s2(b,_){if(1&b&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,vc,6,3,"mat-list-item",9),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.Y8G("ngForOf",m.configData)}}let Pf=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.rtlEffects=D,this.router=I,this.configData="",this.fileFormat="INI",this.faCog=Ti.dB,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{const D=E.data;this.fileFormat=E.format,this.configData=""===D||!D||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==D&&D&&"JSON"===this.fileFormat?D:"":D.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-bitcoin-config"]],standalone:!1,decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,Kr,5,4,"div",2)(3,s2,3,1,"div",3),e.k0s()()),2&D&&(e.R7$(2),e.Y8G("ngIf",""!==I.configData&&"JSON"===I.fileFormat),e.R7$(),e.Y8G("ngIf",""!==I.configData&&("INI"===I.fileFormat||"HOCON"===I.fileFormat)))},dependencies:[w.Sq,w.bT,K.Lc,Bs.jt,Bs.YE,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();function Hh(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}let r2=(()=>{var b;class _{constructor(E,D,I){this.dialogRef=E,this.store=D,this.rtlEffects=I,this.password="",this.isAuthenticated=!1,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Dr.s)(1)).subscribe(E=>{"ERROR"!==E?(this.isAuthenticated=!0,this.store.dispatch((0,Bi.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Bi.oz)({payload:_c(this.password)}))}onClose(){this.store.dispatch((0,Bi.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(mi.il),e.rXU(Ko.H))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-is-authorized"]],standalone:!1,decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e.EFF(5,"Authenticate with your RTL Password"),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return I.onClose()}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e.EFF(12,"Password"),e.k0s(),e.j41(13,"input",8),e.mxI("ngModelChange",function(Ct){return e.DH7(I.password,Ct)||(I.password=Ct),Ct}),e.k0s(),e.DNE(14,Hh,2,0,"mat-error",9),e.k0s(),e.j41(15,"div",10)(16,"button",11),e.bIt("click",function(){return I.onAuthenticate()}),e.EFF(17,"Confirm"),e.k0s()()()()()()),2&D&&(e.R7$(13),e.R50("ngModel",I.password),e.R7$(),e.Y8G("ngIf",!I.password))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();const o2=()=>({initial:!1});function cd(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[2].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link)("state",e.lJ4(5,o2)),e.R7$(),e.JRh(m.links[2].name)}}function b1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",14),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[3].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[3].link))("active",m.activeLink===m.links[3].link),e.R7$(),e.JRh(m.links[3].name)}}function w4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",15),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.showLnConfigClicked())}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("active",m.activeLink===m.links[4].link),e.R7$(),e.JRh(m.links[4].name)}}let k0=(()=>{var b;class _{constructor(E,D,I,Oe){this.store=E,this.router=D,this.rtlEffects=I,this.activatedRoute=Oe,this.faTools=Ti.nsx,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){const E=this.links.find(D=>this.router.url.includes(D.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeLink=I?I.link:this.links[0].link}}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{switch(this.showLnConfig=!1,this.selNode=D,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.SSO.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,Bi.xO)({payload:{maxWidth:"50rem",data:{component:r2}}})),this.rtlEffects.closeAlert.pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{E&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix),e.rXU(Ko.H),e.rXU(Ha.nX))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-node-config"]],standalone:!1,decls:19,vars:13,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active","state"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Node Config"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[0].link)}),e.EFF(9),e.k0s(),e.j41(10,"div",8),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[1].link)}),e.EFF(11),e.k0s(),e.DNE(12,cd,2,6,"div",9)(13,b1,2,4,"div",10)(14,w4,2,2,"div",11),e.k0s(),e.nrm(15,"mat-tab-nav-panel",null,0),e.j41(17,"div",12),e.nrm(18,"router-outlet"),e.k0s()()()()}if(2&D){const Oe=e.sdS(16);e.R7$(),e.Y8G("icon",I.faTools),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[0].link))("active",I.activeLink===I.links[0].link),e.R7$(),e.JRh(I.links[0].name),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[1].link))("active",I.activeLink===I.links[1].link),e.R7$(),e.JRh(I.links[1].name),e.R7$(),e.Y8G("ngIf","ECL"!==(null==I.selNode||null==I.selNode.lnImplementation?null:I.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf","CLN"===(null==I.selNode||null==I.selNode.lnImplementation?null:I.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf",I.showLnConfig)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();function zr(b,_){1&b&&e.nrm(0,"mat-divider",7)}function O0(b,_){if(1&b&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,zr,1,0,"mat-divider",6),e.k0s()),2&b){const m=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,m.configData)),e.R7$(2),e.Y8G("ngIf",""!==m.configData)}}function A4(b,_){if(1&b&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function Xa(b,_){if(1&b&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function R0(b,_){1&b&&e.nrm(0,"mat-divider",15),2&b&&e.Y8G("inset",!0)}function yc(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,A4,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,Xa,2,1,"h4",12),e.k0s(),e.DNE(5,R0,1,1,"mat-divider",13),e.k0s()),2&b){const m=_.$implicit;e.R7$(2),e.Y8G("ngIf",m.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",m.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",m.indexOf("[")<0)}}function Zc(b,_){if(1&b&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,yc,6,3,"mat-list-item",9),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.Y8G("ngForOf",m.configData)}}let l2=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.rtlEffects=D,this.router=I,this.configData="",this.fileFormat="INI",this.faCog=Ti.dB,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{const D=E.data;this.fileFormat=E.format,this.configData=""===D||!D||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==D&&D&&"JSON"===this.fileFormat?D:"":D.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-lnp-config"]],standalone:!1,decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,O0,5,4,"div",2)(3,Zc,3,1,"div",3),e.k0s()()),2&D&&(e.R7$(2),e.Y8G("ngIf",""!==I.configData&&"JSON"===I.fileFormat),e.R7$(),e.Y8G("ngIf",""!==I.configData&&("INI"===I.fileFormat||"HOCON"===I.fileFormat)))},dependencies:[w.Sq,w.bT,K.Lc,Bs.jt,Bs.YE,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();var Qo=l(2571),or=l(9454),dd=l(5951),cl=l(6038),bc=l(450);const ud=b=>({skin:!0,"selected-color":b});function P0(b,_){if(1&b&&(e.j41(0,"span",41),e.nrm(1,"fa-icon",42),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("icon",m.symbol)}}function c2(b,_){if(1&b&&(e.j41(0,"span",41),e.nrm(1,"span",43),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("innerHTML",m.symbol,e.npT)}}function hd(b,_){if(1&b&&(e.j41(0,"mat-option",39),e.DNE(1,P0,2,1,"span",40)(2,c2,2,1,"span",40),e.EFF(3),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.id),e.R7$(),e.Y8G("ngIf",m&&"FA"===m.iconType),e.R7$(),e.Y8G("ngIf",m&&"SVG"===m.iconType),e.R7$(),e.Lme(" ",m.name," (",m.id,") ")}}function Cc(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Currency unit is required."),e.k0s())}function F0(b,_){if(1&b&&(e.j41(0,"mat-radio-button",44),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m)("checked",E.selNode.settings.userPersona===m),e.R7$(),e.SpI(" ",e.bMT(2,3,m)," ")}}function d2(b,_){if(1&b&&(e.j41(0,"mat-radio-button",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI("",m.name," ")}}function C1(b,_){if(1&b){const m=e.RV6();e.j41(0,"span",46)(1,"div",47),e.nI1(2,"lowercase"),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.changeThemeColor(D.id))}),e.k0s(),e.EFF(3),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.HbH(e.bMT(2,4,m.id)),e.Y8G("ngClass",e.eq3(6,ud,E.selectedThemeColor===m.id)),e.R7$(2),e.SpI(" ",m.name," ")}}let N0=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.commonService=D,this.store=I,this.sanitizer=Oe,this.faBarsStaggered=Ti.o97,this.faExclamationTriangle=Ti.zpE,this.faMoneyBillAlt=Ti.iy8,this.faPaintBrush=Ti._eQ,this.faInfoCircle=Ti.iW_,this.faEyeSlash=Ti.k6j,this.userPersonas=[_t.HW.OPERATOR,_t.HW.MERCHANT],this.currencyUnits=_t.Zi,this.themeModes=_t.Bv.modes,this.themeColors=_t.Bv.themes,this.selectedThemeMode=_t.Bv.modes[0],this.selectedThemeColor=_t.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(E=>("SVG"===E.iconType&&"string"==typeof E.symbol&&(E.symbol=E.symbol.replace('{this.selNode=JSON.parse(JSON.stringify(E)),this.selectedThemeMode=this.themeModes.find(D=>this.selNode.settings.themeMode===D.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.settings.themeColor,this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(E)})}toggleSettings(E,D){this.selNode.settings[E]=!this.selNode.settings[E]}changeThemeColor(E){this.selectedThemeColor=E,this.selNode.settings.themeColor=E}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(E){this.selNode.settings.fiatConversion||delete this.selNode.settings.currencyUnit}onUpdateNodeSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.selNode.settings.blockExplorerUrl=this.selNode.settings.blockExplorerUrl.replace(/\/$/,""),this.logger.info(this.selNode.settings),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onResetSettings(){const E=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(D=>D.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.NO_SPINNER,prevLnNodeIndex:+E,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Dt.up))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-node-settings"]],standalone:!1,decls:100,vars:21,consts:[["form","ngForm"],["currencyUnit","ngModel"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["href","https://mempool.space/","target","blank"],["fxLayout","row wrap","fxLayoutAlign","start center"],["fxLayout","column","fxFlex","100"],["matInput","","name","blockExplorerUrl",3,"ngModelChange","ngModel"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModelChange","change","ngModel"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModelChange","change","ngModel"],["fxFlex","25"],["autoFocus","","tabindex","3","name","currencyUnit",3,"ngModelChange","disabled","required","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModelChange","ngModel"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModelChange","change","ngModel"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],["class","mr-1",4,"ngIf"],[1,"mr-1"],[3,"icon"],["fxLayoutAlign","center center",3,"innerHTML"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"click","ngClass"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"mat-accordion",4)(4,"mat-expansion-panel",5)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),e.nrm(7,"fa-icon",6),e.j41(8,"span",7),e.EFF(9,"Block Explorer"),e.k0s()()(),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"fa-icon",10),e.j41(13,"span"),e.EFF(14,"Configure your own blockchain explorer url or "),e.j41(15,"strong")(16,"a",11),e.EFF(17,"mempool.space"),e.k0s()(),e.EFF(18," will be used."),e.k0s()(),e.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),e.EFF(22,"Block Explorer URL"),e.k0s(),e.j41(23,"input",14),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.blockExplorerUrl,Bt)||(I.selNode.settings.blockExplorerUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(24,"mat-hint"),e.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),e.k0s()()()()(),e.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),e.nrm(29,"fa-icon",6),e.j41(30,"span",7),e.EFF(31,"Open Unannounced Channels"),e.k0s()()(),e.j41(32,"div",8)(33,"div",15),e.nrm(34,"fa-icon",10),e.j41(35,"span"),e.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.k0s()(),e.j41(37,"div",12)(38,"mat-slide-toggle",16),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.unannouncedChannels,Bt)||(I.selNode.settings.unannouncedChannels=Bt),v.Njj(Bt)}),e.bIt("change",function(){return v.eBV(Oe),v.Njj(!I.selNode.settings.unannouncedChannels)}),e.EFF(39,"Open Unannounced Channels"),e.k0s()()()(),e.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),e.nrm(43,"fa-icon",6),e.j41(44,"span",7),e.EFF(45,"Balance Display"),e.k0s()()(),e.j41(46,"div",8)(47,"div",9),e.nrm(48,"fa-icon",10),e.j41(49,"span"),e.EFF(50,"Fiat conversion calls "),e.j41(51,"strong")(52,"a",17),e.EFF(53,"Blockchain.com"),e.k0s()(),e.EFF(54," API to get conversion rates."),e.k0s()(),e.j41(55,"div",12)(56,"mat-slide-toggle",18),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.fiatConversion,Bt)||(I.selNode.settings.fiatConversion=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onFiatConversionChange(Bt))}),e.EFF(57,"Enable Fiat Conversion"),e.k0s(),e.j41(58,"mat-form-field",19)(59,"mat-label"),e.EFF(60,"Fiat Currency"),e.k0s(),e.j41(61,"mat-select",20,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.currencyUnit,Bt)||(I.selNode.settings.currencyUnit=Bt),v.Njj(Bt)}),e.DNE(63,hd,4,5,"mat-option",21),e.k0s(),e.DNE(64,Cc,2,0,"mat-error",22),e.k0s()()()(),e.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),e.nrm(68,"fa-icon",6),e.j41(69,"span",7),e.EFF(70,"Customization"),e.k0s()()(),e.j41(71,"div",8)(72,"div",23),e.nrm(73,"fa-icon",10),e.j41(74,"span"),e.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.k0s()(),e.j41(76,"div",24)(77,"h4"),e.EFF(78,"Dashboard Layout"),e.k0s(),e.j41(79,"mat-radio-group",25),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.userPersona,Bt)||(I.selNode.settings.userPersona=Bt),v.Njj(Bt)}),e.DNE(80,F0,3,5,"mat-radio-button",26),e.k0s()(),e.nrm(81,"mat-divider",27),e.j41(82,"div",28)(83,"h4"),e.EFF(84,"Mode"),e.k0s(),e.j41(85,"mat-radio-group",29),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selectedThemeMode,Bt)||(I.selectedThemeMode=Bt),v.Njj(Bt)}),e.bIt("change",function(){return v.eBV(Oe),v.Njj(I.chooseThemeMode())}),e.DNE(86,d2,2,2,"mat-radio-button",30),e.k0s()(),e.nrm(87,"mat-divider",27),e.j41(88,"div",31)(89,"div",32)(90,"h4"),e.EFF(91,"Themes"),e.k0s(),e.j41(92,"div",33),e.DNE(93,C1,4,8,"span",34),e.k0s()()()()()()(),e.j41(94,"div",35)(95,"div",36)(96,"button",37),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetSettings())}),e.EFF(97,"Reset"),e.k0s(),e.j41(98,"button",38),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateNodeSettings())}),e.EFF(99,"Update"),e.k0s()()()()}2&D&&(e.R7$(7),e.Y8G("icon",I.faBarsStaggered),e.R7$(5),e.Y8G("icon",I.faExclamationTriangle),e.R7$(11),e.R50("ngModel",I.selNode.settings.blockExplorerUrl),e.R7$(6),e.Y8G("icon",I.faEyeSlash),e.R7$(5),e.Y8G("icon",I.faInfoCircle),e.R7$(4),e.R50("ngModel",I.selNode.settings.unannouncedChannels),e.R7$(5),e.Y8G("icon",I.faMoneyBillAlt),e.R7$(5),e.Y8G("icon",I.faExclamationTriangle),e.R7$(8),e.R50("ngModel",I.selNode.settings.fiatConversion),e.R7$(5),e.Y8G("disabled",!I.selNode.settings.fiatConversion)("required",I.selNode.settings.fiatConversion),e.R50("ngModel",I.selNode.settings.currencyUnit),e.R7$(2),e.Y8G("ngForOf",I.currencyUnits),e.R7$(),e.Y8G("ngIf",I.selNode.settings.fiatConversion&&!I.selNode.settings.currencyUnit),e.R7$(4),e.Y8G("icon",I.faPaintBrush),e.R7$(5),e.Y8G("icon",I.faInfoCircle),e.R7$(6),e.R50("ngModel",I.selNode.settings.userPersona),e.R7$(),e.Y8G("ngForOf",I.userPersonas),e.R7$(5),e.R50("ngModel",I.selectedThemeMode),e.R7$(),e.Y8G("ngForOf",I.themeModes),e.R7$(7),e.Y8G("ngForOf",I.themeColors))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,or.BS,or.GK,or.Z2,or.WN,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Hi.q,dd.VT,dd._g,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,bc.sG,go.Ld,Kl.N,w.GH,w.PV],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width:37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]}))}return b(),_})();var B0=l(9584),md=l(3536),zs=l(8430),Qs=l(190),lr=l(2730),Ds=l(5428),Jc=l(2598),qc=l(2629),fd=l(455),dl=l(2929);const pd=b=>({error:b}),u2=b=>({"error-border":b}),z0=b=>({"ml-minus-1":b}),h2=b=>({"error-border p-2":b});function m2(b,_){if(1&b&&e.eu8(0,14),2&b){const m=e.XpG(),E=e.sdS(18);e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.eq3(2,pd,m.errorMessage))}}function L4(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ",m," ")}}function V0(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG(3);e.Y8G("value",m),e.R7$(),e.SpI(" ","ECL"===E.selNode.lnImplementation?e.bMT(2,2,m):e.i5U(3,4,m,"_")," ")}}function I4(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ","desc"===m?"Descending":"Ascending"," ")}}function U0(b,_){if(1&b&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG(2).$implicit,D=e.XpG(2);e.Y8G("value",m.column)("disabled",E.columnSelection.length<=2&&E.columnSelection.includes(m.column)),e.R7$(),e.SpI(" ",m.label?m.label:"ECL"===D.selNode.lnImplementation?e.bMT(2,3,m.column):e.i5U(3,5,m.column,"_")," ")}}function G0(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-form-field",32)(1,"mat-label"),e.EFF(2,"Column selection (Desktop Resolution)"),e.k0s(),e.j41(3,"mat-select",33),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG().$implicit;return e.DH7(I.columnSelection,D)||(I.columnSelection=D),v.Njj(D)}),e.bIt("selectionChange",function(){v.eBV(m);const D=e.XpG().$implicit,I=e.XpG(2);return v.Njj(I.oncolumnSelectionChange(D))}),e.DNE(4,U0,4,8,"mat-option",28),e.k0s()()}if(2&b){const m=e.XpG().$implicit,E=e.XpG().$implicit,D=e.XpG();e.R7$(3),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-columns-selection")),e.R50("ngModel",m.columnSelection),e.R7$(),e.Y8G("ngForOf",D.nodePageDefs[E.pageId][m.tableId].allowedColumns)}}function Wh(b,_){if(1&b&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG().$implicit,D=e.XpG(2);e.Y8G("value",m.column)("disabled",E.columnSelectionSM.length<=1&&E.columnSelectionSM.includes(m.column)||E.columnSelectionSM.length>=3&&!E.columnSelectionSM.includes(m.column)),e.R7$(),e.SpI(" ",m.label?m.label:"ECL"===D.selNode.lnImplementation?e.bMT(2,3,m.column):e.i5U(3,5,m.column,"_")," ")}}function x1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",17)(1,"div",18)(2,"span",19),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s(),e.j41(5,"mat-form-field",20)(6,"mat-label"),e.EFF(7,"Records/Page"),e.k0s(),e.j41(8,"mat-select",21),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.recordsPerPage,D)||(I.recordsPerPage=D),v.Njj(D)}),e.DNE(9,L4,2,2,"mat-option",22),e.k0s()(),e.j41(10,"mat-form-field",20)(11,"mat-label"),e.EFF(12,"Sort By"),e.k0s(),e.j41(13,"mat-select",23),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.sortBy,D)||(I.sortBy=D),v.Njj(D)}),e.DNE(14,V0,4,7,"mat-option",22),e.k0s()(),e.j41(15,"mat-form-field",20)(16,"mat-label"),e.EFF(17,"Sort Order"),e.k0s(),e.j41(18,"mat-select",24),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.sortOrder,D)||(I.sortOrder=D),v.Njj(D)}),e.DNE(19,I4,2,2,"mat-option",22),e.k0s()(),e.DNE(20,G0,5,5,"mat-form-field",25),e.j41(21,"mat-form-field",26)(22,"mat-label"),e.EFF(23,"Column Selection (Mobile Resolution)"),e.k0s(),e.j41(24,"mat-select",27),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.columnSelectionSM,D)||(I.columnSelectionSM=D),v.Njj(D)}),e.DNE(25,Wh,4,8,"mat-option",28),e.k0s()(),e.j41(26,"button",29),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG().$implicit,Oe=e.XpG();return v.Njj(Oe.onTableReset(I.pageId,D))}),e.j41(27,"mat-icon",30),e.EFF(28,"restore"),e.k0s()()()()}if(2&b){const m=_.$implicit,E=e.XpG().$implicit,D=e.XpG();e.R7$(3),e.SpI("",e.i5U(4,24,m.tableId,"_"),":"),e.R7$(5),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-page-size-options"))("disabled",D.nodePageDefs[E.pageId][m.tableId].disablePageSize),e.R50("ngModel",m.recordsPerPage),e.R7$(),e.Y8G("ngForOf",D.pageSizeOptions),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-sort-by")),e.R50("ngModel",m.sortBy),e.R7$(),e.Y8G("ngForOf",m.columnSelection),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-sort-order")),e.R50("ngModel",m.sortOrder),e.R7$(),e.Y8G("ngForOf",D.sortOrders),e.R7$(),e.Y8G("ngIf",D.screenSize!==D.screenSizeEnum.XS),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-columns-selection-sm")),e.R50("ngModel",m.columnSelectionSM),e.R7$(),e.Y8G("ngForOf",D.nodePageDefs[E.pageId][m.tableId].allowedColumns),e.R7$(2),e.Y8G("ngClass",e.eq3(27,z0,D.screenSize===D.screenSizeEnum.XS||D.screenSize===D.screenSizeEnum.SM))}}function j0(b,_){if(1&b&&e.eu8(0,14),2&b){const m=e.XpG(2),E=e.sdS(18);e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.eq3(2,pd,m.errorMessage))}}function gd(b,_){if(1&b&&(e.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s()(),e.DNE(5,x1,29,29,"div",16)(6,j0,1,4,"ng-container",7),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("ngClass",e.eq3(7,u2,(null==E.errorMessage?null:E.errorMessage.page)===m.pageId)),e.R7$(3),e.JRh(e.i5U(4,4,m.pageId,"_")),e.R7$(2),e.Y8G("ngForOf",m.tables),e.R7$(),e.Y8G("ngIf",E.errorMessage&&(null==E.errorMessage?null:E.errorMessage.page)===m.pageId)}}function H0(b,_){if(1&b&&(e.j41(0,"mat-panel-title"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=e.XpG().error;e.R7$(),e.SpI("Page ",e.bMT(2,1,m.page))}}function f2(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&b){const m=e.XpG().error;e.R7$(4),e.JRh(m.message)}}function k4(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"titlecase"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(4),e.Lme("Table ",e.bMT(5,2,m.table)," ",m.message)}}function W0(b,_){if(1&b&&(e.j41(0,"div",35),e.DNE(1,H0,3,3,"mat-panel-title",36),e.j41(2,"mat-list",37),e.DNE(3,f2,5,1,"mat-list-item",36)(4,k4,6,4,"mat-list-item",38),e.k0s()()),2&b){const m=_.error,E=e.XpG();e.Y8G("ngClass",e.eq3(4,h2,"unknown"===E.errorMessage.page)),e.R7$(),e.Y8G("ngIf","unknown"===E.errorMessage.page),e.R7$(2),e.Y8G("ngIf",m.message),e.R7$(),e.Y8G("ngForOf",m.tables)}}let Xh=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.commonService=D,this.store=I,this.actions=Oe,this.faPenRuler=Ti.$$g,this.faExclamationTriangle=Ti.zpE,this.screenSize="",this.screenSizeEnum=_t.f7,this.pageSizeOptions=_t.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=_t.jG,this.apiCallStatus=null,this.apiCallStatusEnum=_t.wn,this.errorMessage=null,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{switch(this.selNode=E,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],_t.mu),this.defaultSettings=Object.assign([],_t.mu),this.nodePageDefs=_t.Jd,this.store.select(B0.av).pipe((0,li.Q)(this.unSubs[1]),(0,so.E)(this.store.select(Oa._c))).subscribe(([D,I])=>{const Oe=JSON.parse(JSON.stringify(D.pageSettings));if(this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!I?.settings.enableOffers){const Ct=Oe.find(Yn=>"transactions"===Yn.pageId),Bt=Ct?.tables.findIndex(Yn=>"offers"===Yn.tableId),yn=Ct?.tables.findIndex(Yn=>"offer_bookmarks"===Yn.tableId);Bt>-1&&Ct?.tables.splice(Bt,1),yn>-1&&Ct?.tables.splice(yn,1)}if(!I?.settings.enablePeerswap){const Ct=Oe.findIndex(Bt=>"peerswap"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.TC.UPDATE_API_CALL_STATUS_CLN||D.type===_t.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(D=>{D.type===_t.TC.UPDATE_API_CALL_STATUS_CLN&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],_t.X8),this.defaultSettings=Object.assign([],_t.X8),this.nodePageDefs=_t.WW,this.store.select(lr.jZ).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{const I=JSON.parse(JSON.stringify(D.pageSettings));this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=I,this.initialPageSettings=I):(this.pageSettings=I,this.initialPageSettings=I),this.logger.info(I)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.Uu.UPDATE_API_CALL_STATUS_ECL||D.type===_t.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(D=>{D.type===_t.Uu.UPDATE_API_CALL_STATUS_ECL&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))});break;default:this.initialPageSettings=Object.assign([],_t.ZC),this.defaultSettings=Object.assign([],_t.ZC),this.nodePageDefs=_t._1,this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[1]),(0,so.E)(this.store.select(Oa._c))).subscribe(([D,I])=>{const Oe=JSON.parse(JSON.stringify(D.pageSettings));if(this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!I?.settings.swapServerUrl||""===I.settings.swapServerUrl.trim()){const Ct=Oe.findIndex(Bt=>"loop"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}if(!I?.settings.boltzServerUrl||""===I.settings.boltzServerUrl.trim()){const Ct=Oe.findIndex(Bt=>"boltz"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}if(!I?.settings.enablePeerswap){const Ct=Oe.findIndex(Bt=>"peerswap"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.QP.UPDATE_API_CALL_STATUS_LND||D.type===_t.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(D=>{D.type===_t.QP.UPDATE_API_CALL_STATUS_LND&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))})}})}oncolumnSelectionChange(E){E.columnSelection&&(!E.sortBy||!E.columnSelection.includes(E.sortBy))&&(E.sortBy=E.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((E,D)=>E||D.tables.reduce((I,Oe)=>!(Oe.recordsPerPage&&Oe.sortBy&&Oe.sortOrder&&Oe.columnSelection&&Oe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,zs.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ds.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Qs.Sn)({payload:this.pageSettings}))}}onTableReset(E,D){const I=this.pageSettings.findIndex(Bt=>Bt.pageId===E),Oe=this.pageSettings[I].tables.findIndex(Bt=>Bt.tableId===D.tableId),Ct=this.defaultSettings.find(Bt=>Bt.pageId===E)?.tables.find(Bt=>Bt.tableId===D.tableId)||this.pageSettings.find(Bt=>Bt.pageId===E)?.tables.find(Bt=>Bt.tableId===D.tableId);this.pageSettings[I].tables.splice(Oe,1,Ct)}onResetPageSettings(E){"current"===E?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Uo.En))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-page-settings"]],standalone:!1,decls:19,vars:3,consts:[["form","ngForm"],["errorObjectBlock",""],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"ngModelChange","name","disabled","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"ngModelChange","name","ngModel"],["tabindex","4","required","",3,"ngModelChange","name","ngModel"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"ngModelChange","name","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"ngModelChange","selectionChange","name","ngModel"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"div",4),e.nrm(4,"fa-icon",5),e.j41(5,"span",6),e.EFF(6,"Grid Settings"),e.k0s()(),e.DNE(7,m2,1,4,"ng-container",7),e.j41(8,"mat-accordion",8),e.DNE(9,gd,7,9,"mat-expansion-panel",9),e.k0s()(),e.j41(10,"div",10)(11,"button",11),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetPageSettings("current"))}),e.EFF(12,"Reset"),e.k0s(),e.j41(13,"button",12),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetPageSettings("default"))}),e.EFF(14,"Reset to Default"),e.k0s(),e.j41(15,"button",13),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdatePageSettings())}),e.EFF(16,"Save"),e.k0s()()(),e.DNE(17,W0,5,6,"ng-template",null,1,e.C5r)}2&D&&(e.R7$(4),e.Y8G("icon",I.faPenRuler),e.R7$(3),e.Y8G("ngIf",I.errorMessage&&"unknown"===I.errorMessage.page),e.R7$(2),e.Y8G("ngForOf",I.pageSettings))},dependencies:[w.YU,w.Sq,w.bT,w.T3,hi.qT,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,Jc.iY,or.BS,or.GK,or.Z2,or.WN,qc.An,Ma.rl,Ma.nJ,Bs.jt,Bs.YE,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,fd.oV,go.Ld,w.PV,dl.VD,dl.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]}))}return b(),_})();function O4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[0].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[0].link))("active",m.activeLink===m.links[0].link),e.R7$(),e.JRh(m.links[0].name)}}function R4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[1].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[1].link))("active",m.activeLink===m.links[1].link),e.R7$(),e.JRh(m.links[1].name)}}function P4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[2].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link),e.R7$(),e.JRh(m.links[2].name)}}let X0=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.router=D,this.activatedRoute=I,this.faLayerGroup=Ti.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.setActiveLink(),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(E){if(E&&""!==E)this.activeLink=E;else{const D=this.links.find(I=>this.router.url.includes(I.link));this.activeLink=D?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:D.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix),e.rXU(Ha.nX))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-services-settings"]],standalone:!1,decls:16,vars:5,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(D,I){if(1&D&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4,"Services"),e.k0s()()(),e.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),e.DNE(9,O4,2,4,"div",7)(10,R4,2,4,"div",8)(11,P4,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()),2&D){const Oe=e.sdS(13);e.R7$(2),e.Y8G("icon",I.faLayerGroup),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngIf","LND"===I.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"!==I.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"===I.selNode.lnImplementation)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();const F4=["form"];function K0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Loop server URL is required."),e.k0s())}function N4(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the loop server url with 'https://'."),e.k0s())}function _d(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Loop macaroon path is required."),e.k0s())}let e1=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faInfoCircle=Ti.iW_,this.enableLoop=!1,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableLoop=!(!E.settings.swapServerUrl||""===E.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(E)})}onEnableServiceChanged(E){this.enableLoop=E.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.enableLoop||(delete this.selNode.settings.swapServerUrl,delete this.selNode.authentication.swapMacaroonPath),this.logger.info(this.selNode),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-loop-service-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(F4,7),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"loopd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.enableLoop,Bt)||(I.enableLoop=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onEnableServiceChanged(Bt))}),e.EFF(16,"Enable Loop Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Loop Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.swapServerUrl,Bt)||(I.selNode.settings.swapServerUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.k0s(),e.DNE(24,K0,2,0,"mat-error",11)(25,N4,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Loop Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.authentication.swapMacaroonPath,Bt)||(I.selNode.authentication.swapMacaroonPath=Bt),v.Njj(Bt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.k0s(),e.DNE(32,_d,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&D){const Oe=e.sdS(21);e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(13),e.R50("ngModel",I.enableLoop),e.R7$(5),e.Y8G("required",I.enableLoop)("disabled",!I.enableLoop),e.R50("ngModel",I.selNode.settings.swapServerUrl),e.R7$(4),e.Y8G("ngIf",!I.selNode.settings.swapServerUrl&&I.enableLoop),e.R7$(),e.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&I.enableLoop),e.R7$(4),e.Y8G("required",I.enableLoop)("disabled",!I.enableLoop),e.R50("ngModel",I.selNode.authentication.swapMacaroonPath),e.R7$(3),e.Y8G("ngIf",!I.selNode.authentication.swapMacaroonPath&&I.enableLoop)}},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,bc.sG,go.Ld,Kl.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();const Ql=["form"];function Y0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz server URL is required."),e.k0s())}function B4(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the boltz server url with 'https://'."),e.k0s())}function Q0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz macaroon path is required."),e.k0s())}let Kh=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faInfoCircle=Ti.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableBoltz=!(!E.settings.boltzServerUrl||""===E.settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(E)})}onEnableServiceChanged(E){this.enableBoltz=E.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.enableBoltz?(this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath):(delete this.selNode.settings.boltzServerUrl,delete this.selNode.authentication.boltzMacaroonPath),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(Ql,7),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://docs.boltz.exchange/v/boltz-client/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"boltzd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.enableBoltz,Bt)||(I.enableBoltz=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onEnableServiceChanged(Bt))}),e.EFF(16,"Enable Boltz Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Boltz Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.serverUrl,Bt)||(I.serverUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.k0s(),e.DNE(24,Y0,2,0,"mat-error",11)(25,B4,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Boltz Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.macaroonPath,Bt)||(I.macaroonPath=Bt),v.Njj(Bt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.k0s(),e.DNE(32,Q0,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&D){const Oe=e.sdS(21);e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(13),e.R50("ngModel",I.enableBoltz),e.R7$(5),e.Y8G("required",I.enableBoltz)("disabled",!I.enableBoltz),e.R50("ngModel",I.serverUrl),e.R7$(4),e.Y8G("ngIf",(!I.serverUrl||""===I.serverUrl.trim())&&I.enableBoltz),e.R7$(),e.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&I.enableBoltz),e.R7$(4),e.Y8G("required",I.enableBoltz)("disabled",!I.enableBoltz),e.R50("ngModel",I.macaroonPath),e.R7$(3),e.Y8G("ngIf",!I.macaroonPath&&I.enableBoltz)}},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,bc.sG,go.Ld,Kl.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})(),Yh=(()=>{var b;class _{constructor(){}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-ln-services"]],standalone:!1,decls:1,vars:0,template:function(D,I){1&D&&e.nrm(0,"router-outlet")},dependencies:[Ha.n3],encapsulation:2}))}return b(),_})();var p2=l(1092),E1=l(4104),kc=l(6695),Oc=l(2042),Ra=l(1676),vd=l(7575);const g2=()=>["all"],z4=b=>({"overflow-auto error-border":b,"overflow-auto":!0}),$0=()=>["no_swap"],ul=b=>({width:b}),Z0=b=>({"display-none":b});function V4(b,_){if(1&b&&(e.j41(0,"mat-option",37),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m),e.R7$(),e.JRh(E.getLabel(m))}}function _2(b,_){1&b&&e.nrm(0,"mat-progress-bar",38)}function U4(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"State"),e.k0s())}function Qh(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.JRh(E.LoopStateEnum[null==m?null:m.state])}}function J0(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"Initiation Time"),e.k0s())}function v2(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==m?null:m.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function G4(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"Last Update Time"),e.k0s())}function j4(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==m?null:m.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function H4(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Amount (Sats)"),e.k0s())}function qa(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.amt))}}function xc(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Server (Sats)"),e.k0s())}function y2(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.cost_server))}}function q0(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Offchain (Sats)"),e.k0s())}function M1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.cost_offchain))}}function W4(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Onchain (Sats)"),e.k0s())}function S1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,1,null==m?null:m.cost_onchain)," ")}}function T1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"HTLC Address"),e.k0s())}function yd(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.htlc_address)}}function t1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"ID"),e.k0s())}function X4(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.id)}}function D1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"ID (Bytes)"),e.k0s())}function w1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.id_bytes)}}function A1(b,_){if(1&b){const m=e.RV6();e.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",48),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function bd(b,_){if(1&b){const m=e.RV6();e.j41(0,"td",49)(1,"button",50),e.bIt("click",function(D){const I=v.eBV(m).$implicit,Oe=e.XpG();return v.Njj(Oe.onSwapClick(I,D))}),e.EFF(2,"View Info"),e.k0s()()}}function b2(b,_){if(1&b&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.emptyTableMessage)}}function K4(b,_){if(1&b&&(e.j41(0,"td",51),e.DNE(1,b2,2,1,"p",52),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=m.listSwaps&&m.listSwaps.data)||(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)<1)}}function Rc(b,_){if(1&b&&e.nrm(0,"tr",53),2&b){const m=e.XpG();e.Y8G("ngClass",e.eq3(1,Z0,(null==m.listSwaps?null:m.listSwaps.data)&&(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)>0))}}function Ec(b,_){1&b&&e.nrm(0,"tr",54)}function eu(b,_){1&b&&e.nrm(0,"tr",55)}let Cd=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.logger=E,this.commonService=D,this.store=I,this.loopService=Oe,this.datePipe=Ct,this.camelCaseWithReplace=Bt,this.selectedSwapType=_t.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=_t._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:_t.md,sortBy:"initiation_time",sortOrder:_t.oi.DESCENDING},this.LoopStateEnum=_t.Hx,this.faHistory=Ti.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Ra.I6([]),this.selFilter="",this.pageSize=_t.md,this.pageSizeOptions=_t.xp,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(E){this.swapCaption=this.selectedSwapType===_t.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.tableSetting=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSetting.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:_t.md,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(E){const D=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(I=>I.column===E);return D?D.label?D.label:this.camelCaseWithReplace.transform(D.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,D)=>{let I="";switch(this.selFilterBy){case"all":I=JSON.stringify(E).toLowerCase();break;case"state":I=E?.state?this.LoopStateEnum[E?.state]:"";break;case"initiation_time":case"last_update_time":I=this.datePipe.transform(new Date((E[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:I=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===I.indexOf(D):I.includes(D)}}onSwapClick(E,D){this.loopService.getSwap(E.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,li.Q)(this.unSubs[1])).subscribe(I=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:_t.Hx[I.state||""],title:"Status",width:50,type:_t.UN.STRING},{key:"amt",value:I.amt,title:"Amount (Sats)",width:50,type:_t.UN.NUMBER}],[{key:"initiation_time",value:(I.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:_t.UN.DATE_TIME},{key:"last_update_time",value:(I.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:_t.UN.DATE_TIME}],[{key:"cost_server",value:I.cost_server,title:"Server Cost (Sats)",width:33,type:_t.UN.NUMBER},{key:"cost_offchain",value:I.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:_t.UN.NUMBER},{key:"cost_onchain",value:I.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:_t.UN.NUMBER}],[{key:"id_bytes",value:I.id_bytes,title:"ID",width:100,type:_t.UN.STRING}],[{key:"htlc_address",value:I.htlc_address,title:"HTLC Address",width:100,type:_t.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=new Ra.I6([...E]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(D,I)=>D[I]&&isNaN(D[I])?D[I].toLocaleLowerCase():D[I]?+D[I]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===_t.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(E1.Q),e.rXU(w.vh),e.rXU(dl.VD))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-swaps"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Oc.B4,5),e.GBs(kc.iy,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sort=Oe.first),e.mGM(Oe=e.lsd())&&(I.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:sl.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:kc.xX,useValue:(0,_t.on)("Swaps")}]),e.OA$],decls:61,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilterBy,Bt)||(I.selFilterBy=Bt),v.Njj(Bt)}),e.bIt("selectionChange",function(){return v.eBV(Oe),I.selFilter="",v.Njj(I.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,V4,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilter,Bt)||(I.selFilter=Bt),v.Njj(Bt)}),e.bIt("input",function(){return v.eBV(Oe),v.Njj(I.applyFilter())})("keyup",function(){return v.eBV(Oe),v.Njj(I.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,_2,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,U4,2,0,"th",16)(24,Qh,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,J0,2,0,"th",16)(27,v2,3,4,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,G4,2,0,"th",16)(30,j4,3,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,H4,2,0,"th",21)(33,qa,4,3,"td",17),e.bVm(),e.qex(34,22),e.DNE(35,xc,2,0,"th",21)(36,y2,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,q0,2,0,"th",21)(39,M1,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,W4,2,0,"th",21)(42,S1,4,3,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,T1,2,0,"th",16)(45,yd,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,t1,2,0,"th",16)(48,X4,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,D1,2,0,"th",16)(51,w1,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,A1,6,0,"th",29)(54,bd,3,0,"td",30),e.bVm(),e.qex(55,31),e.DNE(56,K4,2,1,"td",32),e.bVm(),e.DNE(57,Rc,1,3,"tr",33)(58,Ec,1,0,"tr",34)(59,eu,1,0,"tr",35),e.k0s(),e.nrm(60,"mat-paginator",36),e.k0s()()()}2&D&&(e.R7$(3),e.Y8G("icon",I.faHistory),e.R7$(2),e.SpI("",I.swapCaption," History"),e.R7$(5),e.R50("ngModel",I.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,g2).concat(I.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",I.selFilter),e.R7$(3),e.Y8G("ngIf",!0===I.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",I.tableSetting.sortBy)("matSortDirection",I.tableSetting.sortOrder)("dataSource",I.listSwaps)("ngClass",e.eq3(17,z4,"error"===I.flgLoading[0])),e.R7$(37),e.Y8G("matFooterRowDef",e.lJ4(19,$0)),e.R7$(),e.Y8G("matHeaderRowDef",I.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",I.displayedColumns),e.R7$(),e.Y8G("pageSize",I.pageSize)("pageSizeOptions",I.pageSizeOptions)("showFirstLastButtons",I.screenSize!==I.screenSizeEnum.XS))},dependencies:[w.YU,w.Sq,w.bT,w.B3,hi.me,hi.BC,hi.vS,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,vd.HM,Ie.DJ,Ie.sA,Ie.UI,cl.PW,cl.eI,sl.VO,sl.$2,ac.wT,Oc.B4,Oc.aE,Ra.Zl,Ra.tL,Ra.ji,Ra.cC,Ra.YV,Ra.iL,Ra.Zq,Ra.xW,Ra.KS,Ra.$R,Ra.Qo,Ra.YZ,Ra.NB,Ra.iF,kc.iy,go.ZF,go.Ld,w.QX,w.vh],encapsulation:2}))}return b(),_})();const Mc=b=>["../",b];function tu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onSelectedIndexChange(D))}),e.EFF(1),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.Y8G("active",E.activeTab.link===m.link)("routerLink",e.eq3(3,Mc,m.link)),e.R7$(),e.JRh(m.name)}}let nu=(()=>{var b;class _{constructor(E,D,I){this.router=E,this.loopService=D,this.store=I,this.faInfinity=Ti.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=_t.C7,this.selectedSwapType=_t.C7.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,li.Q)(this.unSubs[4])).subscribe({next:D=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_LOOP_INFO})),this.loopInfo=D,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:D=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const E=this.links.find(D=>this.router.url.includes(D.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"loopin"===E.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeTab=I||this.links[0],this.selectedSwapType=I&&"loopin"===I.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,li.Q)(this.unSubs[1])).subscribe({next:D=>{this.flgLoading[0]=!1,this.storedSwaps=D,this.filteredSwaps=this.storedSwaps?.filter(I=>I.type===this.selectedSwapType)},error:D=>{this.flgLoading[0]="error",this.emptyTableMessage=D.message?D.message:"No loop "+(this.selectedSwapType===_t.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){this.selectedSwapType="loopin"===E.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(D=>D.type===this.selectedSwapType)}onLoop(E){E===_t.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,li.Q)(this.unSubs[2])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{minQuote:D[0],maxQuote:D[1],direction:E,component:p2.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,li.Q)(this.unSubs[3])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{minQuote:D[0],maxQuote:D[1],direction:E,component:p2.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.Ix),e.rXU(E1.Q),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-loop"]],standalone:!1,decls:15,vars:9,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),e.DNE(8,tu,2,5,"div",7),e.k0s(),e.nrm(9,"mat-tab-nav-panel",null,0),e.j41(11,"div",8)(12,"button",9),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onLoop(I.selectedSwapType))}),e.EFF(13),e.k0s()(),e.nrm(14,"rtl-swaps",10),e.k0s()()()}if(2&D){const Oe=e.sdS(10);e.R7$(),e.Y8G("icon",I.faInfinity),e.R7$(2),e.SpI("Loop (v",(null==I.loopInfo?null:I.loopInfo.version)||" Unknown",")"),e.R7$(4),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngForOf",I.links),e.R7$(5),e.SpI("Start ",I.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",I.selectedSwapType)("swapsData",I.filteredSwaps)("flgLoading",I.flgLoading)("emptyTableMessage",I.emptyTableMessage)}},dependencies:[w.Sq,os.aY,es.$z,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,lo.Wk,Cd],encapsulation:2}))}return b(),_})();var iu=l(1001),au=l(4412),bl=l(8810),L1=l(2462);let rc=(()=>{var b;class _{constructor(E,D,I,Oe){this.httpClient=E,this.logger=D,this.store=I,this.commonService=Oe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new au.t(null),this.swapsChanged=new au.t({}),this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_BOLTZ_SWAPS})),this.swaps=E,this.swapsChanged.next(this.swaps)},error:E=>this.swapsChanged.error(this.handleErrorWithAlert(_t.MZ.GET_BOLTZ_SWAPS,this.swapUrl,E))})}swapInfo(E){return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/swapInfo/"+E,this.httpClient.get(this.swapUrl).pipe((0,Ys.W)(D=>(0,Tr.of)(this.handleErrorWithAlert(_t.MZ.NO_SPINNER,this.swapUrl,D))))}getBoltzInfo(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_BOLTZ_INFO})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[1])).subscribe({next:E=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_BOLTZ_INFO})),this.boltzInfo=E,this.boltzInfoChanged.next(this.boltzInfo)},error:E=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,Tr.of)(this.handleErrorWithoutAlert(_t.MZ.GET_BOLTZ_INFO,this.swapUrl,E)))})}serviceInfo(){return this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_SERVICE_INFO})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[2]),(0,us.T)(E=>(this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_SERVICE_INFO})),E)),(0,Ys.W)(E=>(0,Tr.of)(this.handleErrorWithAlert(_t.MZ.GET_SERVICE_INFO,this.swapUrl,E))))}swapOut(E,D,I){const Oe={amount:E,address:D,acceptZeroConf:I};return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,Ys.W)(Ct=>this.handleErrorWithoutAlert("Swap Out for Address: "+D,_t.MZ.NO_SPINNER,Ct)))}swapIn(E,D,I){const Oe={amount:E,sendFromInternal:D,refundAddress:I};return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,Ys.W)(Ct=>this.handleErrorWithoutAlert("Swap In for Amount: "+E,_t.MZ.NO_SPINNER,Ct)))}handleErrorWithoutAlert(E,D,I){let Oe="";return this.logger.error("ERROR IN: "+E+"\n"+JSON.stringify(I)),this.store.dispatch((0,Bi.y0)({payload:D})),401===I.status?(Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:Oe}))):503===I.status?(Oe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Bi.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:I.status,message:"Unable to Connect to Boltz Server",URL:E},component:L1.f}}}))):Oe=this.commonService.extractErrorMessage(I),(0,bl.$)(()=>new Error(Oe))}handleErrorWithAlert(E,D,I){let Oe="";if(401===I.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:"Authentication Failed: "+JSON.stringify(I.error)}))),this.logger.error(I),this.store.dispatch((0,Bi.y0)({payload:E})),401===I.status)Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:Oe}));else if(503===I.status)Oe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:I.status,message:"Unable to Connect to Boltz Server",URL:D},component:L1.f}}}))},100);else{Oe=this.commonService.extractErrorMessage(I);const Ct=I.error&&I.error.error&&I.error.error.code?I.error.error.code:I.error&&I.error.code?I.error.code:I.code?I.code:I.status;setTimeout(()=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.ERROR,alertTitle:"ERROR",message:{code:Ct,message:Oe,URL:D},component:L1.f}}}))},100)}return{message:Oe}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(nr.Qq),v.KVO(Aa.gP),v.KVO(mi.il),v.KVO(Qo.h))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const I1=b=>({"display-none":b});function Yr(b,_){1&b&&e.eu8(0)}function n1(b,_){if(1&b&&(e.j41(0,"div",4)(1,"span",5),e.EFF(2),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.JRh(null!=m.swapStatus&&m.swapStatus.error?null==m.swapStatus?null:m.swapStatus.error:"Unknown Error.")}}function su(b,_){if(1&b&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Routing Fee (mSats)"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.nI1(5,"number"),e.k0s()()),2&b){const m=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,1,null==m.swapStatus?null:m.swapStatus.routingFeeMilliSat))}}function oc(b,_){if(1&b&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Claim Transaction ID"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.k0s()()),2&b){const m=e.XpG(2);e.R7$(4),e.JRh(null==m.swapStatus?null:m.swapStatus.claimTransactionId)}}function k1(b,_){if(1&b&&(e.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e.EFF(4,"ID"),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s()(),e.DNE(7,su,6,3,"div",9)(8,oc,5,1,"div",9),e.k0s(),e.nrm(9,"mat-divider",10),e.j41(10,"div",6)(11,"div",11)(12,"h4",8),e.EFF(13,"Lockup Address"),e.k0s(),e.j41(14,"span",5),e.EFF(15),e.k0s()()()()),2&b){const m=e.XpG();e.R7$(6),e.JRh(null==m.swapStatus?null:m.swapStatus.id),e.R7$(),e.Y8G("ngIf",m.acceptZeroConf),e.R7$(),e.Y8G("ngIf",m.acceptZeroConf),e.R7$(7),e.JRh(null==m.swapStatus?null:m.swapStatus.lockupAddress)}}function C2(b,_){1&b&&(e.j41(0,"span",22),e.EFF(1,"N/A"),e.k0s())}function Y4(b,_){1&b&&(e.j41(0,"span",23),e.EFF(1,"QR Code Not Applicable"),e.k0s())}function x2(b,_){1&b&&e.nrm(0,"mat-divider",24),2&b&&e.Y8G("inset",!0)}function xd(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Transaction ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.txId)}}function Q4(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",25)(2,"h4",8),e.EFF(3,"ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",25)(7,"h4",8),e.EFF(8,"Expected Amount (Sats)"),e.k0s(),e.j41(9,"span",5),e.EFF(10),e.nI1(11,"number"),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.id),e.R7$(5),e.JRh(e.bMT(11,2,null==m.swapStatus?null:m.swapStatus.expectedAmount))}}function ms(b,_){1&b&&e.nrm(0,"mat-divider",10)}function $4(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Address"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.address)}}function lc(b,_){1&b&&e.nrm(0,"mat-divider",10)}function ru(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"BIP 21"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.bip21)}}function ou(b,_){if(1&b&&(e.j41(0,"div",12)(1,"div",13),e.nrm(2,"qr-code",14),e.DNE(3,C2,2,0,"span",15),e.k0s(),e.j41(4,"div",16)(5,"div",4)(6,"div",17),e.nrm(7,"qr-code",14),e.DNE(8,Y4,2,0,"span",18),e.k0s(),e.DNE(9,x2,1,1,"mat-divider",19)(10,xd,6,1,"div",20)(11,Q4,12,4,"div",20)(12,ms,1,0,"mat-divider",21)(13,$4,6,1,"div",20)(14,lc,1,0,"mat-divider",21)(15,ru,6,1,"div",20),e.k0s()()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("fxLayoutAlign",""!==((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(17,I1,m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))("size",m.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))),e.R7$(3),e.Y8G("fxLayoutAlign",""!==((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(19,I1,m.screenSize!==m.screenSizeEnum.XS&&m.screenSize!==m.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))("size",m.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))),e.R7$(),e.Y8G("ngIf",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM),e.R7$(),e.Y8G("ngIf",m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal)}}let lu=(()=>{var b;class _{constructor(E){this.commonService=E,this.swapStatus=null,this.direction=_t.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=_t.f7,this.swapTypeEnum=_t.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===_t.f7.XS&&(this.qrWidth=180)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},standalone:!1,decls:7,vars:1,consts:[["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","33"],["fxLayoutAlign","start",1,"font-bold-500"],["fxFlex","33",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row",4,"ngIf"],["class","w-100 my-1",4,"ngIf"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["fxFlex","50"]],template:function(D,I){if(1&D&&e.DNE(0,Yr,1,0,"ng-container",3)(1,n1,3,1,"ng-template",null,0,e.C5r)(3,k1,16,4,"ng-template",null,1,e.C5r)(5,ou,16,21,"ng-template",null,2,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6);e.Y8G("ngTemplateOutlet",null!=I.swapStatus&&I.swapStatus.error?Oe:I.direction===I.swapTypeEnum.SWAP_OUT?Ct:Bt)}},dependencies:[w.YU,w.bT,w.T3,Hi.q,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Yl.Um,w.QX],encapsulation:2}))}return b(),_})(),O1=(()=>{var b;class _{constructor(){this.serviceInfo={},this.direction=_t.Bd.SWAP_OUT,this.swapTypeEnum=_t.Bd}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},standalone:!1,decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(D,I){1&D&&(e.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e.EFF(4,"Service Information"),e.k0s()()(),e.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e.EFF(9,"Minimum Amount (Sats)"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"number"),e.k0s()(),e.j41(13,"div",4)(14,"h4",5),e.EFF(15,"Maximum Amount (Sats)"),e.k0s(),e.j41(16,"span",6),e.EFF(17),e.nI1(18,"number"),e.k0s()()(),e.nrm(19,"mat-divider",7),e.j41(20,"div",3)(21,"div",4)(22,"h4",5),e.EFF(23,"Fee Percentage"),e.k0s(),e.j41(24,"span",6),e.EFF(25),e.nI1(26,"number"),e.k0s()(),e.j41(27,"div",4)(28,"h4",5),e.EFF(29,"Miner Fee (Sats)"),e.k0s(),e.j41(30,"span",6),e.EFF(31),e.nI1(32,"number"),e.k0s()()()()()),2&D&&(e.Y8G("expanded",!0),e.R7$(11),e.JRh(e.bMT(12,5,null==I.serviceInfo||null==I.serviceInfo.limits?null:I.serviceInfo.limits.minimal)),e.R7$(6),e.JRh(e.bMT(18,7,null==I.serviceInfo||null==I.serviceInfo.limits?null:I.serviceInfo.limits.maximal)),e.R7$(8),e.JRh(e.bMT(26,9,null==I.serviceInfo||null==I.serviceInfo.fees?null:I.serviceInfo.fees.percentage)),e.R7$(6),e.JRh(e.bMT(32,11,I.direction===I.swapTypeEnum.SWAP_OUT?null==I.serviceInfo||null==I.serviceInfo.fees||null==I.serviceInfo.fees.miner?null:I.serviceInfo.fees.miner.reverse:null==I.serviceInfo||null==I.serviceInfo.fees||null==I.serviceInfo.fees.miner?null:I.serviceInfo.fees.miner.normal)))},dependencies:[or.GK,or.Z2,or.WN,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.QX],encapsulation:2}))}return b(),_})();var Ed=l(6949);const Sc=(b,_)=>({"small-svg":b,"large-svg":_});function cu(b,_){1&b&&e.eu8(0)}function E2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),v.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Submarine Swaps explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Md(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",21),e.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),v.joV(),e.j41(9,"div",18)(10,"mat-card-title"),e.EFF(11,"Step 1: Deciding to Submarine Swap"),e.k0s()(),e.j41(12,"div",19)(13,"mat-card-subtitle",20),e.EFF(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Pc(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",29),e.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.j41(9,"defs")(10,"pattern",37),e.nrm(11,"use",38),e.k0s(),e.nrm(12,"image",39),e.k0s()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Sending the on-chain funds"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Sd(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",40)(2,"g",41),e.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.k0s(),e.j41(8,"defs")(9,"clipPath",47),e.nrm(10,"rect",48),e.k0s()()(),v.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on Lightning"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function M2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",49),e.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.k0s(),v.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}let S2=(()=>{var b;class _{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=_t.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(D,I){if(1&D&&e.DNE(0,cu,1,0,"ng-container",5)(1,E2,18,5,"ng-template",null,0,e.C5r)(3,Md,15,5,"ng-template",null,1,e.C5r)(5,Pc,19,5,"ng-template",null,2,e.C5r)(7,Sd,17,5,"ng-template",null,3,e.C5r)(9,M2,13,5,"ng-template",null,4,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6),yn=e.sdS(8),Yn=e.sdS(10);e.Y8G("ngTemplateOutlet",1===I.stepNumber?Oe:2===I.stepNumber?Ct:3===I.stepNumber?Bt:4===I.stepNumber?yn:Yn)}},dependencies:[w.YU,w.T3,K.Lc,K.dh,Ie.DJ,Ie.sA,Ie.UI,cl.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ed.k]}}))}return b(),_})();const i1=(b,_)=>({"small-svg":b,"large-svg":_});function du(b,_){1&b&&e.eu8(0)}function T2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),v.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Reverse Submarine Swap explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function uu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",21)(2,"g",22),e.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),e.nrm(9,"path",29),e.j41(10,"defs")(11,"clipPath",30),e.nrm(12,"rect",31),e.k0s()()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function hu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",32),e.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.j41(9,"defs")(10,"pattern",40),e.nrm(11,"use",41),e.k0s(),e.nrm(12,"image",42),e.k0s()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Paying the Lightning Invoice"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function mu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",43)(2,"g",22),e.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.k0s(),e.j41(8,"defs")(9,"clipPath",30),e.nrm(10,"rect",49),e.k0s()()(),v.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on-chain"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function R1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",50),e.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.k0s(),v.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}let fu=(()=>{var b;class _{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=_t.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(D,I){if(1&D&&e.DNE(0,du,1,0,"ng-container",5)(1,T2,18,5,"ng-template",null,0,e.C5r)(3,uu,19,5,"ng-template",null,1,e.C5r)(5,hu,19,5,"ng-template",null,2,e.C5r)(7,mu,17,5,"ng-template",null,3,e.C5r)(9,R1,13,5,"ng-template",null,4,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6),yn=e.sdS(8),Yn=e.sdS(10);e.Y8G("ngTemplateOutlet",1===I.stepNumber?Oe:2===I.stepNumber?Ct:3===I.stepNumber?Bt:4===I.stepNumber?yn:Yn)}},dependencies:[w.YU,w.T3,K.Lc,K.dh,Ie.DJ,Ie.sA,Ie.UI,cl.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ed.k]}}))}return b(),_})();const $h=["stepper"],Z4=()=>[1,2,3,4,5],D2=(b,_)=>({"dot-primary":b,"dot-primary-lighter":_});function P1(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.inputFormLabel)}}function S(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Amount is required."),e.k0s())}function F1(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.SpI("Amount must be greater than or equal to ",e.bMT(2,1,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.minimal),".")}}function J4(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.SpI("Amount must be less than or equal to ",e.bMT(2,1,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.maximal),".")}}function Zh(b,_){1&b&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",46),e.EFF(3,"Accept Zero Conf"),e.k0s(),e.j41(4,"mat-icon",47),e.EFF(5,"info_outline"),e.k0s()()())}function q4(b,_){1&b&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",48),e.EFF(3,"Send from Internal Wallet"),e.k0s(),e.j41(4,"mat-icon",49),e.EFF(5,"info_outline"),e.k0s()()())}function Jh(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1," Refund address is required when not using internal wallet. "),e.k0s())}function w2(b,_){1&b&&(e.j41(0,"button",50),e.EFF(1,"Next"),e.k0s())}function Td(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",51),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onSwap())}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG(2);e.R7$(),e.SpI("Initiate ",m.swapDirectionCaption)}}function A2(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(3);e.JRh(m.addressFormLabel)}}function pu(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Address is required."),e.k0s())}function qh(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-step",15)(1,"form",16),e.DNE(2,A2,1,1,"ng-template",17),e.j41(3,"div",52)(4,"mat-radio-group",53),e.bIt("change",function(D){v.eBV(m);const I=e.XpG(2);return v.Njj(I.onAddressTypeChange(D))}),e.j41(5,"mat-radio-button",54),e.EFF(6,"Node Local Address"),e.k0s(),e.j41(7,"mat-radio-button",55),e.EFF(8,"External Address"),e.k0s()(),e.j41(9,"mat-form-field",56)(10,"mat-label"),e.EFF(11,"Address"),e.k0s(),e.nrm(12,"input",57),e.DNE(13,pu,2,0,"mat-error",24),e.k0s()(),e.j41(14,"div",29)(15,"button",58),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onSwap())}),e.EFF(16),e.k0s()()()()}if(2&b){const m=e.XpG(2);e.Y8G("stepControl",m.addressFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.addressFormGroup),e.R7$(11),e.Y8G("required","external"===m.addressFormGroup.controls.addressType.value),e.R7$(),e.Y8G("ngIf",null==m.addressFormGroup.controls.address.errors?null:m.addressFormGroup.controls.address.errors.required),e.R7$(3),e.SpI("Initiate ",m.swapDirectionCaption)}}function e3(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.SpI("",m.swapDirectionCaption," Status")}}function L2(b,_){if(1&b&&(e.j41(0,"mat-icon",59),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.swapStatus&&null!=m.swapStatus&&m.swapStatus.id?"check":"close")}}function I2(b,_){1&b&&e.nrm(0,"div")}function gu(b,_){1&b&&e.nrm(0,"mat-progress-bar",60)}function t3(b,_){if(1&b&&(e.j41(0,"h4",61),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.swapStatus&&m.swapStatus.error?m.swapDirectionCaption+" failed.":m.swapStatus&&m.swapStatus.id?m.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":m.swapDirectionCaption+" request placed successfully.")}}function n3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",62),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onRestart())}),e.EFF(1,"Start Again"),e.k0s()}}function _u(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),e.EFF(5),e.k0s()(),e.j41(6,"div",9)(7,"button",10),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.showInfo())}),e.EFF(8,"?"),e.k0s(),e.j41(9,"button",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onClose())}),e.EFF(10,"X"),e.k0s()()(),e.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),e.bIt("selectionChange",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.stepSelectionChanged(D))}),e.j41(15,"mat-step",15)(16,"form",16),e.DNE(17,P1,1,1,"ng-template",17),e.j41(18,"div",18),e.nrm(19,"rtl-boltz-service-info",19),e.k0s(),e.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e.EFF(23,"Amount"),e.k0s(),e.nrm(24,"input",22),e.j41(25,"mat-hint"),e.EFF(26),e.nI1(27,"number"),e.nI1(28,"number"),e.k0s(),e.j41(29,"span",23),e.EFF(30,"Sats"),e.k0s(),e.DNE(31,S,2,0,"mat-error",24)(32,F1,3,3,"mat-error",24)(33,J4,3,3,"mat-error",24),e.k0s(),e.DNE(34,Zh,6,0,"div",25)(35,q4,6,0,"div",25),e.j41(36,"div",26)(37,"mat-form-field",27)(38,"mat-label"),e.EFF(39,"Refund Address"),e.k0s(),e.nrm(40,"input",28),e.j41(41,"mat-hint"),e.EFF(42,"The address where funds will be returned in case of a failed swap"),e.k0s(),e.DNE(43,Jh,2,0,"mat-error",24),e.k0s()()(),e.j41(44,"div",29),e.DNE(45,w2,2,0,"button",30)(46,Td,2,1,"button",31),e.k0s()()(),e.DNE(47,qh,17,6,"mat-step",32),e.j41(48,"mat-step",33)(49,"form",16),e.DNE(50,e3,1,1,"ng-template",17),e.j41(51,"div",34)(52,"mat-expansion-panel",35)(53,"mat-expansion-panel-header")(54,"mat-panel-title")(55,"span",36),e.EFF(56),e.DNE(57,L2,2,1,"mat-icon",37),e.k0s()()(),e.DNE(58,I2,1,0,"div",38),e.k0s(),e.DNE(59,gu,1,0,"mat-progress-bar",39),e.k0s(),e.DNE(60,t3,2,1,"h4",40),e.j41(61,"div",29),e.DNE(62,n3,2,0,"button",41),e.k0s()()()(),e.j41(63,"div",42)(64,"button",43),e.EFF(65,"Close"),e.k0s()()()()()()}if(2&b){const m=e.XpG(),E=e.sdS(2);e.Y8G("@opacityAnimation",void 0),e.R7$(3),e.Y8G("ngClass",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM?"flex-83":"flex-91"),e.R7$(2),e.JRh(m.swapDirectionCaption),e.R7$(),e.Y8G("ngClass",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM?"flex-17":"flex-9"),e.R7$(7),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",m.inputFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.inputFormGroup),e.R7$(3),e.Y8G("serviceInfo",m.serviceInfo)("direction",m.direction),e.R7$(5),e.Y8G("step",1e3),e.R7$(2),e.Lme("Range: ",e.bMT(27,34,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.minimal),"-",e.bMT(28,36,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.maximal)),e.R7$(5),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.required),e.R7$(),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.min),e.R7$(),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.max),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN&&m.isSendFromInternalCompatible),e.R7$(5),e.Y8G("required",!(null!=m.inputFormGroup&&null!=m.inputFormGroup.controls&&m.inputFormGroup.controls.sendFromInternal.value)),e.R7$(3),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.refundAddress||null==m.inputFormGroup.controls.refundAddress.errors?null:m.inputFormGroup.controls.refundAddress.errors.required),e.R7$(2),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("stepControl",m.statusFormGroup),e.R7$(),e.Y8G("formGroup",m.statusFormGroup),e.R7$(3),e.Y8G("expanded",!!m.swapStatus),e.R7$(4),e.JRh(m.swapStatus?m.swapStatus.id?m.swapDirectionCaption+" request details":m.swapDirectionCaption+" error details":"Waiting for "+m.swapDirectionCaption+" request..."),e.R7$(),e.Y8G("ngIf",m.swapStatus),e.R7$(),e.Y8G("ngIf",!m.swapStatus)("ngIfElse",E),e.R7$(),e.Y8G("ngIf",!m.swapStatus),e.R7$(),e.Y8G("ngIf",m.swapStatus),e.R7$(2),e.Y8G("ngIf",m.swapStatus&&(m.swapStatus.error||!m.swapStatus.id)),e.R7$(2),e.Y8G("mat-dialog-close",!1)}}function vu(b,_){if(1&b&&e.nrm(0,"rtl-boltz-swap-status",63),2&b){const m=e.XpG();e.Y8G("swapStatus",m.swapStatus)("direction",m.direction)("acceptZeroConf",null==m.inputFormGroup||null==m.inputFormGroup.controls?null:m.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==m.inputFormGroup||null==m.inputFormGroup.controls?null:m.inputFormGroup.controls.sendFromInternal.value)}}function i3(b,_){if(1&b){const m=e.RV6();e.j41(0,"rtl-boltz-swapout-info-graphics",79),e.mxI("stepNumberChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.stepNumber,D)||(I.stepNumber=D),v.Njj(D)}),e.k0s()}if(2&b){const m=e.XpG(2);e.Y8G("animationDirection",m.animationDirection),e.R50("stepNumber",m.stepNumber)}}function yu(b,_){if(1&b){const m=e.RV6();e.j41(0,"rtl-boltz-swapin-info-graphics",79),e.mxI("stepNumberChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.stepNumber,D)||(I.stepNumber=D),v.Njj(D)}),e.k0s()}if(2&b){const m=e.XpG(2);e.Y8G("animationDirection",m.animationDirection),e.R50("stepNumber",m.stepNumber)}}function Fc(b,_){if(1&b){const m=e.RV6();e.j41(0,"span",80),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onStepChanged(D))}),e.nrm(1,"p",81),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.l_i(1,D2,E.stepNumber===m,E.stepNumber!==m))}}function a3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onReadMore())}),e.EFF(1,"Read More"),e.k0s()}}function Dd(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",83),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(4))}),e.EFF(1,"Back"),e.k0s()}}function bu(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",84),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function k2(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",85),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function em(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(D.stepNumber-1))}),e.EFF(1,"Back"),e.k0s()}}function s3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",87),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(D.stepNumber+1))}),e.EFF(1,"Next"),e.k0s()}}function O2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",64)(1,"div",18)(2,"mat-card-header",65)(3,"div",66),e.nrm(4,"span",8),e.k0s(),e.j41(5,"div",67)(6,"button",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(7,"X"),e.k0s()()(),e.j41(8,"mat-card-content",68),e.DNE(9,i3,1,2,"rtl-boltz-swapout-info-graphics",69)(10,yu,1,2,"rtl-boltz-swapin-info-graphics",69),e.k0s(),e.j41(11,"div",70),e.DNE(12,Fc,2,4,"span",71),e.k0s(),e.j41(13,"div",72),e.DNE(14,a3,2,0,"button",73)(15,Dd,2,0,"button",74)(16,bu,2,0,"button",75)(17,k2,2,0,"button",76)(18,em,2,0,"button",77)(19,s3,2,0,"button",78),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@opacityAnimation",void 0),e.R7$(9),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN),e.R7$(2),e.Y8G("ngForOf",e.lJ4(10,Z4)),e.R7$(2),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",m.stepNumber<5),e.R7$(),e.Y8G("ngIf",m.stepNumber>1&&m.stepNumber<5),e.R7$(),e.Y8G("ngIf",m.stepNumber<5)}}let r3=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn){this.dialogRef=E,this.data=D,this.boltzService=I,this.formBuilder=Oe,this.decimalPipe=Ct,this.logger=Bt,this.commonService=yn,this.faInfoCircle=Ti.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=_t.Bd,this.direction=_t.Bd.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=_t.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||_t.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===_t.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[hi.k0.required,hi.k0.min(this.serviceInfo.limits?.minimal||0),hi.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0],refundAddress:[{value:"",disabled:!0}]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[hi.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.boltzInfo=E,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:E=>{this.boltzInfo={version:"2.0.0"},this.logger.error(E)}})}ngAfterViewInit(){this.direction===_t.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===_t.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.addressFormGroup.setErrors({Invalid:!0})}),this.direction===_t.Bd.SWAP_IN&&this.inputFormGroup.controls.sendFromInternal.valueChanges.pipe((0,li.Q)(this.unSubs[4])).subscribe(()=>{this.onSendFromInternalChange()})}onSendFromInternalChange(){this.inputFormGroup.controls.sendFromInternal.value?(this.inputFormGroup.controls.refundAddress.disable(),this.inputFormGroup.controls.refundAddress.clearValidators(),this.inputFormGroup.controls.refundAddress.updateValueAndValidity()):(this.inputFormGroup.controls.refundAddress.enable(),this.inputFormGroup.controls.refundAddress.setValidators([hi.k0.required]),this.inputFormGroup.controls.refundAddress.updateValueAndValidity())}onAddressTypeChange(E){"external"===E.value?(this.addressFormGroup.controls.address.setValidators([hi.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onSwap(){if(!this.inputFormGroup.controls.amount.value||this.serviceInfo.limits?.minimal&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.serviceInfo.limits?.maximal&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===_t.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===_t.Bd.SWAP_IN){const E=this.inputFormGroup.controls.sendFromInternal.value?null:this.inputFormGroup.controls.refundAddress.value,D=this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null;if(!D&&!E)return this.stepper.selected?.stepControl.setErrors({Invalid:!0}),void(this.flgEditable=!0);this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,D,E).pipe((0,li.Q)(this.unSubs[2])).subscribe({next:I=>{this.swapStatus=I,this.boltzService.listSwaps(),this.flgEditable=!0},error:I=>{this.swapStatus={error:I},this.flgEditable=!0,this.logger.error(I)}})}else this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,li.Q)(this.unSubs[3])).subscribe({next:D=>{this.swapStatus=D,this.boltzService.listSwaps(),this.flgEditable=!0},error:D=>{this.swapStatus={error:D},this.flgEditable=!0,this.logger.error(D)}})}stepSelectionChanged(E){switch(E.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:if(this.inputFormGroup.controls.amount.value)if(this.direction===_t.Bd.SWAP_IN){let D=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No");!this.inputFormGroup.controls.sendFromInternal.value&&this.inputFormGroup.controls.refundAddress.value&&(D+=" | Refund Address: "+this.inputFormGroup.controls.refundAddress.value),this.inputFormLabel=D}else this.inputFormLabel=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No");else this.inputFormLabel="Amount to "+this.swapDirectionCaption;this.addressFormLabel="Withdrawal Address"}E.selectedIndex{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(Ro.Vh),e.rXU(rc),e.rXU(hi.ze),e.rXU(w.QX),e.rXU(Aa.gP),e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(D,I){if(1&D&&e.GBs($h,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.stepper=Oe.first)}},standalone:!1,decls:4,vars:2,consts:[["swapStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"ngClass"],[1,"page-title"],["fxLayoutAlign","end end",3,"ngClass"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch",4,"ngIf"],["disabled","direction === swapTypeEnum.SWAP_IN && isSendFromInternalCompatible && !inputFormGroup?.controls?.sendFromInternal.value","fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"mt-1"],["fxLayout","column","fxFlex","100"],["matInput","","type","text","tabindex","3","formControlName","refundAddress",3,"required"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(D,I){1&D&&e.DNE(0,_u,66,38,"div",2)(1,vu,1,4,"ng-template",null,0,e.C5r)(3,O2,20,11,"div",3),2&D&&(e.Y8G("ngIf",!I.flgShowInfo),e.R7$(3),e.Y8G("ngIf",I.flgShowInfo))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.Q0,hi.BC,hi.cb,hi.YS,hi.j4,hi.JD,Ro.tx,es.$z,K.m2,K.MM,or.GK,or.Z2,or.WN,qc.An,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ma.yw,vd.HM,dd.VT,dd._g,Ie.DJ,Ie.sA,Ie.UI,cl.PW,bc.sG,fd.oV,Yo.V5,Yo.Ti,Yo.M6,Yo.F7,Kl.N,lu,O1,S2,fu,w.QX],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[iu.C]}}))}return b(),_})();const o3=()=>["all"],R2=b=>({"overflow-auto error-border":b,"overflow-auto":!0}),N1=()=>["no_swap"],a1=b=>({width:b}),Cu=b=>({"display-none":b});function xu(b,_){if(1&b&&(e.j41(0,"mat-option",42),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m),e.R7$(),e.JRh(E.getLabel(m))}}function Eu(b,_){1&b&&e.nrm(0,"mat-progress-bar",43)}function tm(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Status"),e.k0s())}function Mu(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.JRh(E.swapStateEnum[null==m?null:m.status])}}function P2(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Swap ID"),e.k0s())}function F2(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.id)}}function N2(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Claim Address"),e.k0s())}function B2(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.claimAddress)}}function l3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Lockup Address"),e.k0s())}function c3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.lockupAddress)}}function d3(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Onchain Amount (Sats)"),e.k0s())}function Su(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.onchainAmount))}}function z2(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Expected Amount (Sats)"),e.k0s())}function u3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.expectedAmount))}}function wd(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Error"),e.k0s())}function h3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.error)}}function Ad(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Private Key"),e.k0s())}function Ld(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.privateKey)}}function nm(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Preimage"),e.k0s())}function Tu(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.preimage)}}function B1(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Redeem Script"),e.k0s())}function Id(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.redeemScript)}}function m3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Invoice"),e.k0s())}function V2(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.invoice)}}function f3(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Timeout Block Height"),e.k0s())}function kd(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.timeoutBlockHeight))}}function p3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Lockup Tx ID"),e.k0s())}function cc(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.lockupTransactionId)}}function Nc(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Claim Tx ID"),e.k0s())}function im(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.claimTransactionId)}}function am(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Refund Tx ID"),e.k0s())}function z1(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.refundTransactionId)}}function g3(b,_){if(1&b){const m=e.RV6();e.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",53),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function Du(b,_){if(1&b){const m=e.RV6();e.j41(0,"td",54)(1,"button",55),e.bIt("click",function(D){const I=v.eBV(m).$implicit,Oe=e.XpG();return v.Njj(Oe.onSwapClick(I,D))}),e.EFF(2,"View Info"),e.k0s()()}}function wu(b,_){if(1&b&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.emptyTableMessage)}}function Au(b,_){if(1&b&&(e.j41(0,"td",56),e.DNE(1,wu,2,1,"p",57),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=m.listSwaps&&m.listSwaps.data)||(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)<1)}}function _3(b,_){if(1&b&&e.nrm(0,"tr",58),2&b){const m=e.XpG();e.Y8G("ngClass",e.eq3(1,Cu,(null==m.listSwaps?null:m.listSwaps.data)&&(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)>0))}}function Lu(b,_){1&b&&e.nrm(0,"tr",59)}function v3(b,_){1&b&&e.nrm(0,"tr",60)}let Iu=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.commonService=D,this.store=I,this.boltzService=Oe,this.camelCaseWithReplace=Ct,this.selectedSwapType=_t.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=_t._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:_t.md,sortBy:"status",sortOrder:_t.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:_t.md,sortBy:"status",sortOrder:_t.oi.DESCENDING},this.swapStateEnum=_t.q9,this.swapTypeEnum=_t.Bd,this.faHistory=Ti.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Ra.I6([]),this.selFilter="",this.pageSize=_t.md,this.pageSizeOptions=_t.xp,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(E){E.selectedSwapType&&!E.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===_t.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.tableSettingSwapOut=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapOut.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapIn.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===_t.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:_t.md):(this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:_t.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(E){const I=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===_t.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Oe=>Oe.column===E);return I?I.label?I.label:this.camelCaseWithReplace.transform(I.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,D)=>{let I="";switch(this.selFilterBy){case"all":I=JSON.stringify(E).toLowerCase();break;case"status":I=E?.status?this.swapStateEnum[E?.status]:"";break;default:I=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===I.indexOf(D):I.includes(D)}}onSwapClick(E,D){this.boltzService.swapInfo(E.id||"").pipe((0,li.Q)(this.unSubs[1])).subscribe(I=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:_t.q9[(I=this.selectedSwapType===_t.Bd.SWAP_IN?I.swap:I.reverseSwap).status],title:"Status",width:50,type:_t.UN.STRING},{key:"id",value:I.id,title:"ID",width:50,type:_t.UN.STRING}],[{key:"amount",value:I.onchainAmount?I.onchainAmount:I.expectedAmount?I.expectedAmount:0,title:I.onchainAmount?"Onchain Amount (Sats)":I.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:_t.UN.NUMBER},{key:"timeoutBlockHeight",value:I.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:_t.UN.NUMBER}],[{key:"address",value:I.claimAddress?I.claimAddress:I.lockupAddress?I.lockupAddress:"",title:I.claimAddress?"Claim Address":I.lockupAddress?"Lockup Address":"Address",width:100,type:_t.UN.STRING}],[{key:"invoice",value:I.invoice,title:"Invoice",width:100,type:_t.UN.STRING}],[{key:"privateKey",value:I.privateKey,title:"Private Key",width:100,type:_t.UN.STRING}],[{key:"preimage",value:I.preimage,title:"Preimage",width:100,type:_t.UN.STRING}],[{key:"redeemScript",value:I.redeemScript,title:"Redeem Script",width:100,type:_t.UN.STRING}],[{key:"lockupTransactionId",value:I.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:_t.UN.STRING},{key:"transactionId",value:I.claimTransactionId?I.claimTransactionId:I.refundTransactionId?I.refundTransactionId:"",title:I.claimTransactionId?"Claim Transaction ID":I.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:_t.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=new Ra.I6(E?[...E]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(D,I)=>D[I]&&isNaN(D[I])?D[I].toLocaleLowerCase():D[I]?+D[I]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===_t.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(rc),e.rXU(dl.VD))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swaps"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Oc.B4,5),e.GBs(kc.iy,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sort=Oe.first),e.mGM(Oe=e.lsd())&&(I.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:sl.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:kc.xX,useValue:(0,_t.on)("Swaps")}]),e.OA$],decls:76,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilterBy,Bt)||(I.selFilterBy=Bt),v.Njj(Bt)}),e.bIt("selectionChange",function(){return v.eBV(Oe),I.selFilter="",v.Njj(I.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,xu,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilter,Bt)||(I.selFilter=Bt),v.Njj(Bt)}),e.bIt("input",function(){return v.eBV(Oe),v.Njj(I.applyFilter())})("keyup",function(){return v.eBV(Oe),v.Njj(I.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,Eu,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,tm,2,0,"th",16)(24,Mu,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,P2,2,0,"th",16)(27,F2,2,1,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,N2,2,0,"th",16)(30,B2,4,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,l3,2,0,"th",16)(33,c3,4,4,"td",17),e.bVm(),e.qex(34,21),e.DNE(35,d3,2,0,"th",22)(36,Su,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,z2,2,0,"th",22)(39,u3,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,wd,2,0,"th",16)(42,h3,4,4,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,Ad,2,0,"th",16)(45,Ld,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,nm,2,0,"th",16)(48,Tu,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,B1,2,0,"th",16)(51,Id,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,m3,2,0,"th",16)(54,V2,4,4,"td",17),e.bVm(),e.qex(55,29),e.DNE(56,f3,2,0,"th",22)(57,kd,4,3,"td",17),e.bVm(),e.qex(58,30),e.DNE(59,p3,2,0,"th",16)(60,cc,2,1,"td",17),e.bVm(),e.qex(61,31),e.DNE(62,Nc,2,0,"th",16)(63,im,2,1,"td",17),e.bVm(),e.qex(64,32),e.DNE(65,am,2,0,"th",16)(66,z1,2,1,"td",17),e.bVm(),e.qex(67,33),e.DNE(68,g3,6,0,"th",34)(69,Du,3,0,"td",35),e.bVm(),e.qex(70,36),e.DNE(71,Au,2,1,"td",37),e.bVm(),e.DNE(72,_3,1,3,"tr",38)(73,Lu,1,0,"tr",39)(74,v3,1,0,"tr",40),e.k0s(),e.nrm(75,"mat-paginator",41),e.k0s()()()}2&D&&(e.R7$(3),e.Y8G("icon",I.faHistory),e.R7$(2),e.SpI("",I.swapCaption," History"),e.R7$(5),e.R50("ngModel",I.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,o3).concat(I.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",I.selFilter),e.R7$(3),e.Y8G("ngIf",!0===I.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",I.selectedSwapType===I.swapTypeEnum.SWAP_IN?I.tableSettingSwapIn.sortBy:I.tableSettingSwapOut.sortBy)("matSortDirection",I.selectedSwapType===I.swapTypeEnum.SWAP_IN?I.tableSettingSwapIn.sortOrder:I.tableSettingSwapOut.sortOrder)("dataSource",I.listSwaps)("ngClass",e.eq3(17,R2,"error"===I.flgLoading[0])),e.R7$(52),e.Y8G("matFooterRowDef",e.lJ4(19,N1)),e.R7$(),e.Y8G("matHeaderRowDef",I.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",I.displayedColumns),e.R7$(),e.Y8G("pageSize",I.pageSize)("pageSizeOptions",I.pageSizeOptions)("showFirstLastButtons",I.screenSize!==I.screenSizeEnum.XS))},dependencies:[w.YU,w.Sq,w.bT,w.B3,hi.me,hi.BC,hi.vS,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,vd.HM,Ie.DJ,Ie.sA,Ie.UI,cl.PW,cl.eI,sl.VO,sl.$2,ac.wT,Oc.B4,Oc.aE,Ra.Zl,Ra.tL,Ra.ji,Ra.cC,Ra.YV,Ra.iL,Ra.Zq,Ra.xW,Ra.KS,Ra.$R,Ra.Qo,Ra.YZ,Ra.NB,Ra.iF,kc.iy,go.ZF,go.Ld,w.QX],encapsulation:2}))}return b(),_})();const y3=b=>["../",b];function U2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",16),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onSelectedIndexChange(D))}),e.EFF(1),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.Y8G("active",E.activeTab.link===m.link)("routerLink",e.eq3(3,y3,m.link)),e.R7$(),e.JRh(m.name)}}let sm=(()=>{var b;class _{constructor(E,D,I){this.router=E,this.store=D,this.boltzService=I,this.swapTypeEnum=_t.Bd,this.selectedSwapType=_t.Bd.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const E=this.links.find(D=>this.router.url.includes(D.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"swapin"===E.link?_t.Bd.SWAP_IN:_t.Bd.SWAP_OUT,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeTab=I||this.links[0],this.selectedSwapType=I&&"swapin"===I.link?_t.Bd.SWAP_IN:_t.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,li.Q)(this.unSubs[1])).subscribe({next:D=>{this.swaps=D,this.swapsData=this.selectedSwapType===_t.Bd.SWAP_IN&&D.swaps?D.swaps:this.selectedSwapType===_t.Bd.SWAP_OUT&&D.reverseSwaps?D.reverseSwaps:[],this.flgLoading[0]=!1},error:D=>{this.flgLoading[0]="error",this.emptyTableMessage=D.message?D.message:"No swap "+(this.selectedSwapType===_t.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){"swapin"===E.link?(this.selectedSwapType=_t.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=_t.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(E){this.boltzService.serviceInfo().pipe((0,li.Q)(this.unSubs[2])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{serviceInfo:D,direction:E,component:r3}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.Ix),e.rXU(mi.il),e.rXU(rc))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-root"]],standalone:!1,decls:20,vars:7,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),v.qSk(),e.j41(1,"svg",2)(2,"g",3)(3,"g",4),e.nrm(4,"circle",5)(5,"path",6)(6,"path",7),e.k0s()()(),v.joV(),e.j41(7,"span",8),e.EFF(8,"Boltz"),e.k0s()(),e.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),e.DNE(13,U2,2,5,"div",12),e.k0s(),e.nrm(14,"mat-tab-nav-panel",null,0),e.j41(16,"div",13)(17,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onSwap(I.selectedSwapType))}),e.EFF(18),e.k0s()(),e.nrm(19,"rtl-boltz-swaps",15),e.k0s()()()}if(2&D){const Oe=e.sdS(15);e.R7$(12),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngForOf",I.links),e.R7$(5),e.SpI("Start ",I.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",I.selectedSwapType)("swapsData",I.swapsData)("flgLoading",I.flgLoading)("emptyTableMessage",I.emptyTableMessage)}},dependencies:[w.Sq,es.$z,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,lo.Wk,Iu],encapsulation:2}))}return b(),_})();class Vr{constructor(_){this.help=_}}function Ou(b,_){if(1&b&&(e.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.k0s()(),e.j41(4,"mat-panel-description",9),e.nrm(5,"span",10),e.j41(6,"a",11),e.EFF(7),e.k0s()()()),2&b){const m=e.XpG().$implicit,E=e.XpG();e.R7$(3),e.JRh(m.help.question),e.R7$(2),e.Y8G("innerHTML",m.help.answer,e.npT),e.R7$(),e.Y8G("routerLink",E.flgLoggedIn?m.help.link:"/login"),e.R7$(),e.JRh(E.flgLoggedIn?m.help.linkCaption:"Login to go to the page")}}function b3(b,_){if(1&b&&(e.j41(0,"div",6),e.DNE(1,Ou,8,4,"mat-expansion-panel",7),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngIf","ALL"===m.help.lnImplementation||m.help.lnImplementation===E.selNode.lnImplementation)}}let s1=(()=>{var b;class _{constructor(E,D){this.store=E,this.sessionService=D,this.helpTopics=[],this.faQuestion=Ti.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.flgLoggedIn=!!E.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Vr({question:"Getting started",answer:'Funding your node is the first step to get started.\nGo to the "On-chain" page of the app:\n1. Generate a new address on the "Recieve" tab.\n2. Send funds to the address.\n3. Wait for the balance to be confirmed on-chain before proceeding further.\n3. Connecting with network peers and opening channels is next.\n',link:this.LNPLink+"onchain/receive/utxos",linkCaption:"On-Chain",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Connect with peers",answer:'Connect with network peers to open channels with them.\nGo to "Peer/Channels" page under the "Lightning" menu :\n1. Get the peer pubkey and host address in the pubkey@ip:port format.\n2. On the "Peers" enter the peer address and connect.\n3. Once the peer is connected, you can open channel with the peer.\n4. A variety of actions can be performed on the connected peers page for each peer:\n a. View Info - View the peer details.\n b. Open Channel - Open channel with the peer.\n c. Disconnect - Disconnect from the peer.\n',link:this.LNPLink+"connections/peers",linkCaption:"Peers",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Opening Channels",answer:'Open channels with a connected peer.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. On the "Channels" section, click on "Open Channel"\n2. On the "Open Channel" modal, select the alias of the connected peer from the drop-down\n2. Specify the amount to commit to the channel and click on "Open Channel".\n3. There are a variety of options available while opening a channel. \n a. Private Channel - When this option is selected, a private channel is opened with the peer. \n b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/vByte. \n c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n4. Track the pending open channels under the "Pending" tab. \n5. Wait for the channel to be confirmed. Only a confimed channel can be used for payments or routing. \n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Channel Management",answer:'Channel maintenance and balance score.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. A variety of actions can be perfomed on the open channels under the "Open" tab, with the "Actions" button:\n a. View Info - View the channel details.\n b. View Remote Fee - View the fee policy on the channel of the remote peer.\n c. Update Fee Policy - Modify the fee policy on the channel.\n d. Circular Rebalance - Off-chain rebalance channels by making a payment to yourself across a circular path of chained payment channels.\n e. Close Channel - Close the channel.\n2. Balance Score is a "balancedness" metric score for the channel. \n a. It helps measure how balanced the remote and local balances are, on a channel.\n b. A perfectly balanced channel has a score of one, where as a completely lopsided one has a score of zero.\n c. The formula for calculating the score is "1 - abs((local bal - remote bal)/total bal)".\n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Buying Liquidity",answer:'Buying liquidity for your node.\nGo to "Liquidity Ads" page under the "Lightning" menu:\n 1. Filter ads by liquidity amount and channel opening fee rate.\n 2. Research additionally on liquidity provider nodes before selecting.\n 3. Select the best liquidity node peer for your need and click on "Open Channel" from "Actions" drop-down.\n 4. Confirm amount, rates and total cost on the modal and click on "Execute" to buy liquidity.\n',link:this.LNPLink+"liquidityads",linkCaption:"Liquidity Ads",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Payments",answer:'Sending Payments from your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayments tab is for making payments via your node\n 1. Input a non-expired lightning invoice (Bolt11 format) in the "Payment Request" field and click on "Send Payment" to send.\n 2. Advanced option # 1 (LND only) - Specify a limit on the routing fee which you are willing to pay, for the payment.\n 3. Advanced option # 2 (LND only) - Specify the outgoing channel which you want the payment to go through.\n',link:this.LNPLink+"transactions/payments",linkCaption:"Payments",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Invoices",answer:'Receiving Payments on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nInvoices tab is for receiving payments on your node.\n 1. Memo - Description you want to provide on the invoice.\n 2. Expiry - The time period, after which the invoice will be invalid.\n 3. Private Routing Hints - Generate an invoice with routing hints for private channels.\n',link:this.LNPLink+"transactions/invoices",linkCaption:"Invoices",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Channel Backups",answer:'Channel Backups are important to ensure that you have means to recover funds in case of node failures.\nBackup folder location can be customized in the RTL config file with the channelBackupPath field.\nRTL automatically creates all channel backup on server startup, as well as everytime a channel is opened or closed\nYou can verify the all channel backup file by clicking on "Verify All" Button on the backup page.\nYou can also backup each channel individually and verify them.\n** Keep taking backups of your channels regularly and store them in redundant locations **.\n',link:this.LNPLink+"channelbackup/bckup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Channel Restore",answer:'Channel Restore is used to recover funds from the channel backup files in case of node failures.\nFollow the below steps to perform fund restoration.\n\nPrerequisite:\n1. The node has been restored with the LND recovery seed.\n2. RTL generated channel backup file/s is available (all channel backup file is channel-all.bak).\n\nRecovery:\n1. Create a restore folder in your folder backup location, as specified in the RTL config file.\n2. Place the channel backup file in the restore folder.\n3. Go to the "Restore" tab under the "Backup" page of RTL.\n4. RTL will list the options to restore funds from the all channel file or individual channel backup file.\n5. Click on the Restore icon on the grid to restore the funds.\n6. Once the restore function is executed successfully, RTL will rename the backup file and it will not be accessible from the UI.\n7. Restore function will force close the channels and recover the funds from them.\n8. The pending close channels can be viewed under the "Pending" tab on the "Peer/Channels" page.\n9. Once the channel is closed, the corresponding pending on-chain transactions can be viewed on the "On-Chain" page.\n10. Once the transactions are confirmed, the channels funds will be restored to your LND Wallet.\n',link:this.LNPLink+"channelbackup/restore",linkCaption:"Channel Restore",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Forwarding History",answer:'Transactions routed by the node.\nGo to "Routing" page under the "Lightning" menu :\nTransactions routed by the node are listed on this page along with channels and the fee earned by transaction.\n',link:this.LNPLink+"routing/forwardinghistory",linkCaption:"Forwarding History",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Lightning Reports",answer:'Routing and transactions data reports.\nGo to "Reports" page under the "Lightning" menu :\nReport can be generated on monthly/yearly basis by selecting the reporting period, month, and year.\n',link:this.LNPLink+"reports/routingreport",linkCaption:"Reports",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Graph Lookup",answer:'Querying your node graph for network node and channel information.\nGo to "Graph Lookup" page under the "Lightning" menu :\nEach node maintains a network graph for the information on all the nodes and channels on the network.\nYou can lookup information on nodes and channels from your graph:\n 1. Node Lookup - Enter the pubkey to perform the lookup.\n 2. Channel Lookup - Enter the short channel ID to perform the lookup.\n',link:this.LNPLink+"graph/lookups",linkCaption:"Graph Lookup",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Query Route",answer:'Querying Payment Routes.\nGo to the "Graph Lookup" page under the "Lightning" menu :\nQuery Routes tab is for querying a potential path to a node and a routing fee estimate for a payment amount.\n 1. Destination Pubkey - Pubkey of the node, you want to send the payment to.\n 2. Amount - Amount in Sats, which you want to send to the node.\n',link:this.LNPLink+"graph/queryroutes",linkCaption:"Query Routes",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Node Settings",answer:'RTL offers certain customizations on the UI to personalize your experience on the app\nGo to "Node Config" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Other customizations include day and night mode and a choice of color themes to select from.\nServices Options\n Loop (LND only), Boltz (LND only) & Peerswap (CLN only) services can be configured.\nExperimental Options (CLN only)\n Offers and Liquidity Ads can be enabled/disabled.\nShow LN Config (if configured)\n Shows lightning config file.\n',link:"../config/nodesettings",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-help"]],standalone:!1,decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Help"),e.k0s()(),e.j41(5,"div",4)(6,"div",0),e.DNE(7,b3,2,1,"div",5),e.k0s()()()),2&D&&(e.R7$(2),e.Y8G("icon",I.faQuestion),e.R7$(5),e.Y8G("ngForOf",I.helpTopics))},dependencies:[w.Sq,w.bT,os.aY,or.GK,or.Z2,or.WN,or.Q6,Ie.DJ,Ie.sA,Ie.UI,lo.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}))}return b(),_})();var Ru=l(4572);function H2(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}let Pu=(()=>{var b;class _{constructor(E,D){this.dialogRef=E,this.store=D,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Bi.R$)({payload:{twoFAToken:this.token}}))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-login-token"]],standalone:!1,decls:19,vars:2,consts:[["tokenForm","ngForm"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Two Factor Token"),e.k0s()(),e.j41(6,"button",6),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onClose())}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"form",8,0),e.bIt("ngSubmit",function(){return v.eBV(Oe),v.Njj(I.onVerifyToken())}),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"Token"),e.k0s(),e.j41(14,"input",9),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.token,Bt)||(I.token=Bt),v.Njj(Bt)}),e.k0s(),e.DNE(15,H2,2,0,"mat-error",10),e.k0s(),e.j41(16,"div",11)(17,"button",12),e.EFF(18,"Verify Token"),e.k0s()()()()()()}2&D&&(e.R7$(14),e.R50("ngModel",I.token),e.R7$(),e.Y8G("ngIf",!I.token))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();const C3=b=>({"padding-gap-large":b}),r1=(b,_)=>({"font-size-200":b,"font-size-300":_});function Fu(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function Nu(b,_){if(1&b&&(e.j41(0,"p",21)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&b){const m=e.XpG();e.R7$(3),e.SpI(" ",m.loginErrorMessage," ")}}function Bc(b,_){if(1&b&&(e.j41(0,"p",23)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&b){const m=e.XpG();e.R7$(3),e.SpI(" ",m.logoutReason," ")}}let W2=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.actions=E,this.logger=D,this.store=I,this.rtlEffects=Oe,this.commonService=Ct,this.sessionService=Bt,this.faUnlockAlt=Ti.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=_t.f7,this.loginErrorMessage="",this.apiCallStatusEnum=_t.wn,this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,Ru.z)([this.store.select(Oa.Kq),this.store.select(Oa.E2)]).pipe((0,li.Q)(this.unSubs[0])).subscribe(([D,I])=>{this.loginErrorMessage="",D.status===_t.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof D.message?JSON.stringify(D.message):D.message),this.logger.error(D.message)),I.status===_t.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof I.message?JSON.stringify(I.message):I.message),this.logger.error(I.message))}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D,this.logger.info(D)}),this.actions.pipe((0,za.p)(D=>D.type===_t.aU.LOGOUT),(0,Dr.s)(1)).subscribe(D=>{this.logoutReason=D.payload});const E=this.sessionService.getItem("logoutReason");E&&(this.logoutReason=E,this.sessionService.removeItem("logoutReason"))}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Bi.xO)({payload:{maxWidth:"35rem",data:{component:Pu}}})),this.rtlEffects.closeAlert.pipe((0,Dr.s)(1)).subscribe(E=>{E&&this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.password),defaultPassword:_t.Ah.includes(this.password.toLowerCase()),twoFAToken:E.twoFAToken}}))})):this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.password),defaultPassword:_t.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Uo.En),e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Qo.h),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-login"]],standalone:!1,decls:29,vars:14,consts:[["loginForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["class","color-warn pre-wrap","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","color-warn pre-wrap","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"],["fxLayoutAlign","center center",1,"mr-3px","icon-small"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),e.nrm(5,"img",6),e.k0s(),e.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),e.EFF(10,"Welcome"),e.k0s()()(),e.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),e.EFF(16,"Password"),e.k0s(),e.j41(17,"input",13),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.password,Bt)||(I.password=Bt),v.Njj(Bt)}),e.k0s(),e.j41(18,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.flgShow=!I.flgShow)}),e.j41(19,"mat-icon"),e.EFF(20),e.k0s()(),e.DNE(21,Fu,2,0,"mat-error",15),e.k0s(),e.DNE(22,Nu,4,1,"p",16)(23,Bc,4,1,"p",17),e.j41(24,"div",18)(25,"button",19),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.resetData())}),e.EFF(26,"Clear"),e.k0s(),e.j41(27,"button",20),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onLogin())}),e.EFF(28,"Login"),e.k0s()()()()()()()()()}2&D&&(e.R7$(6),e.Y8G("ngClass",e.eq3(9,C3,I.screenSize===I.screenSizeEnum.XS)),e.R7$(2),e.Y8G("ngClass",e.l_i(11,r1,I.screenSize===I.screenSizeEnum.XS,I.screenSize!==I.screenSizeEnum.XS)),e.R7$(9),e.Y8G("type",I.flgShow?"text":"password"),e.R50("ngModel",I.password),e.R7$(),e.BMQ("aria-label","Hide password"),e.R7$(2),e.JRh(I.flgShow?"visibility_off":"visibility"),e.R7$(),e.Y8G("ngIf",!I.password),e.R7$(),e.Y8G("ngIf",""!==I.loginErrorMessage),e.R7$(),e.Y8G("ngIf",""!==I.logoutReason))},dependencies:[w.YU,w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,Jc.iY,K.RN,K.m2,K.MM,K.dh,qc.An,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ma.yw,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Kl.N],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width:37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]}))}return b(),_})();var V1=l(13);let x3=(()=>{var b;class _{constructor(E,D){this.activatedRoute=E,this.router=D,this.error={errorCode:"",errorMessage:""},this.faTimes=Ti.GRI,this.unsubs=[new gi.B,new gi.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,li.Q)(this.unsubs[0])).subscribe(E=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.nX),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-error"]],standalone:!1,decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e.nrm(4,"fa-icon",4),e.j41(5,"span",5),e.EFF(6),e.k0s()()(),e.j41(7,"mat-card-content",6)(8,"div",7),e.EFF(9),e.k0s(),e.j41(10,"span",8)(11,"button",9),e.bIt("click",function(){return I.goToHelp()}),e.EFF(12,"Go To Help"),e.k0s()()()()()),2&D&&(e.R7$(4),e.Y8G("icon",I.faTimes),e.R7$(2),e.SpI("Error ",I.error.errorCode),e.R7$(3),e.JRh(I.error.errorMessage))},dependencies:[os.aY,es.$z,K.RN,K.m2,K.MM,K.dh,Ie.DJ,Ie.sA,Ie.UI],encapsulation:2}))}return b(),_})();var co=l(7186),o1=l(1534),om=l(92),lm=l(6114);const U1=(b,_)=>({"alert-danger":b,"alert-info":_});function E3(b,_){1&b&&e.nrm(0,"span",17)}function Od(b,_){1&b&&e.nrm(0,"span",18)}function X2(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",19,0)(2,"div",20),e.nrm(3,"fa-icon",4),e.j41(4,"span"),e.EFF(5,"Please ensure that "),e.j41(6,"strong"),e.EFF(7,"experimental-offers"),e.k0s(),e.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(9,"strong")(10,"a",21),e.EFF(11,"here"),e.k0s()(),e.EFF(12," to learn more about Core Lightning offers."),e.k0s()(),e.j41(13,"h4",22),e.EFF(14,"Description"),e.k0s(),e.j41(15,"span"),e.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.k0s(),e.j41(17,"h4",22),e.EFF(18,"Links"),e.k0s(),e.j41(19,"span")(20,"a",23),e.EFF(21,"Core lightning Bolt12"),e.k0s()(),e.nrm(22,"mat-divider",24),e.j41(23,"div",25),e.nrm(24,"fa-icon",4),e.j41(25,"span"),e.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.k0s()(),e.j41(27,"mat-slide-toggle",26),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.enableOffers,D)||(I.enableOffers=D),v.Njj(D)}),e.bIt("change",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onUpdateFeature())}),e.EFF(28),e.k0s()()}if(2&b){const m=e.XpG(2);e.R7$(3),e.Y8G("icon",m.faInfoCircle),e.R7$(19),e.Y8G("inset",!0),e.R7$(2),e.Y8G("icon",m.faExclamationTriangle),e.R7$(3),e.R50("ngModel",m.enableOffers),e.R7$(),e.SpI("Enable Offers ",m.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"")}}function M3(b,_){if(1&b&&(e.j41(0,"div")(1,"div",29),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"experimental-dual-fund"),e.k0s(),e.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(8,"strong")(9,"a",30),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about Core Lightning Liquidity Ads."),e.k0s()()()),2&b){const m=e.XpG(3);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle)}}function S3(b,_){if(1&b&&(e.j41(0,"mat-option",47),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ",e.bMT(2,2,m.id)," ")}}function cm(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.SpI("",m.selPolicyType.placeholder," is required.")}}function T3(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.Lme("",m.selPolicyType.placeholder," must be greater than or equal to ",m.selPolicyType.min,".")}}function D3(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.Lme("",m.selPolicyType.placeholder," must be less than or equal to ",m.selPolicyType.max,".")}}function dm(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base fee is required."),e.k0s())}function Nf(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base basis is required."),e.k0s())}function w3(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing base fee is required."),e.k0s())}function A3(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing fee rate is required."),e.k0s())}function l1(b,_){if(1&b&&(e.j41(0,"h4",48)(1,"span",49),e.EFF(2),e.k0s()()),2&b){const m=e.XpG(4);e.R7$(),e.Y8G("ngClass",e.l_i(2,U1,!!m.updateMsg.error,!!m.updateMsg.data)),e.R7$(),e.SpI(" ",m.updateMsg.error&&""!==m.updateMsg.error?`Error: ${m.updateMsg.error||"Unknown Error"}`:m.updateMsg.data&&""!==m.updateMsg.data?m.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function um(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",31)(1,"div",32),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),e.k0s()(),e.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),e.EFF(8,"Policy"),e.k0s(),e.j41(9,"mat-select",35),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.selPolicyType,D)||(I.selPolicyType=D),v.Njj(D)}),e.bIt("selectionChange",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.policyMod=null)}),e.DNE(10,S3,3,4,"mat-option",36),e.k0s()(),e.j41(11,"mat-form-field",37)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"input",38,1),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.policyMod,D)||(I.policyMod=D),v.Njj(D)}),e.k0s(),e.j41(16,"mat-hint"),e.EFF(17),e.k0s(),e.DNE(18,cm,2,1,"mat-error",27)(19,T3,2,2,"mat-error",27)(20,D3,2,2,"mat-error",27),e.k0s()(),e.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),e.EFF(24,"Lease Base Fee (Sats)"),e.k0s(),e.j41(25,"input",39),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.lease_fee_base_sat,D)||(I.lease_fee_base_sat=D),v.Njj(D)}),e.k0s(),e.DNE(26,dm,2,0,"mat-error",27),e.k0s(),e.j41(27,"mat-form-field",37)(28,"mat-label"),e.EFF(29,"Lease Base Basis (bps)"),e.k0s(),e.j41(30,"input",40),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.lease_fee_basis,D)||(I.lease_fee_basis=D),v.Njj(D)}),e.k0s(),e.DNE(31,Nf,2,0,"mat-error",27),e.k0s()(),e.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),e.EFF(35,"Max Channel Routing Base Fee (Sats)"),e.k0s(),e.j41(36,"input",41),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.channelFeeMaxBaseSat,D)||(I.channelFeeMaxBaseSat=D),v.Njj(D)}),e.k0s(),e.DNE(37,w3,2,0,"mat-error",27),e.k0s(),e.j41(38,"mat-form-field",37)(39,"mat-label"),e.EFF(40,"Max Channel Routing Fee Rate (ppm)"),e.k0s(),e.j41(41,"input",42),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.channelFeeMaxProportional,D)||(I.channelFeeMaxProportional=D),v.Njj(D)}),e.k0s(),e.DNE(42,A3,2,0,"mat-error",27),e.k0s()(),e.DNE(43,l1,3,5,"h4",43),e.j41(44,"div",44)(45,"button",45),e.bIt("click",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.onResetPolicy())}),e.EFF(46,"Reset"),e.k0s(),e.j41(47,"button",46),e.bIt("click",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.onUpdateFundingPolicy())}),e.EFF(48,"Update"),e.k0s()()()}if(2&b){const m=e.XpG(3);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle),e.R7$(7),e.R50("ngModel",m.selPolicyType),e.R7$(),e.Y8G("ngForOf",m.policyTypes),e.R7$(3),e.JRh(m.selPolicyType.placeholder),e.R7$(),e.Y8G("step","fixed"===m.selPolicyType.id?1e3:10)("min",m.selPolicyType.min)("max",m.selPolicyType.max),e.R50("ngModel",m.policyMod),e.R7$(3),e.E5c("",m.selPolicyType.placeholder," should be between ",m.selPolicyType.min," and ",m.selPolicyType.max),e.R7$(),e.Y8G("ngIf",!m.policyMod),e.R7$(),e.Y8G("ngIf",m.policyModm.selPolicyType.max),e.R7$(5),e.R50("ngModel",m.lease_fee_base_sat),e.R7$(),e.Y8G("ngIf",!m.lease_fee_base_sat),e.R7$(4),e.R50("ngModel",m.lease_fee_basis),e.R7$(),e.Y8G("ngIf",!m.lease_fee_basis),e.R7$(5),e.R50("ngModel",m.channelFeeMaxBaseSat),e.R7$(),e.Y8G("ngIf",!m.channelFeeMaxBaseSat),e.R7$(4),e.R50("ngModel",m.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",!m.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",m.flgUpdateCalled)}}function K2(b,_){if(1&b&&(e.j41(0,"form",19,0),e.DNE(2,M3,12,1,"div",27)(3,um,49,23,"div",28),e.k0s()),2&b){const m=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!m.features[1].enabled),e.R7$(),e.Y8G("ngIf",m.features[1].enabled)}}function Rd(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-expansion-panel",10),e.bIt("opened",function(){const D=v.eBV(m).index,I=e.XpG();return v.Njj(I.onPanelExpanded(D))}),e.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),e.EFF(4),e.k0s(),e.j41(5,"h4",12),e.DNE(6,E3,1,0,"span",13)(7,Od,1,0,"span",14),e.EFF(8),e.k0s()()(),e.j41(9,"div",15),e.DNE(10,X2,29,5,"form",16)(11,K2,4,2,"form",16),e.k0s()()}if(2&b){const m=_.$implicit,E=_.index;e.Y8G("expanded",!1),e.R7$(4),e.JRh(m.name),e.R7$(2),e.Y8G("ngIf",m.enabled),e.R7$(),e.Y8G("ngIf",!m.enabled),e.R7$(),e.SpI(" ",m.enabled?"Enabled":"Disabled"," "),e.R7$(2),e.Y8G("ngIf",0===E),e.R7$(),e.Y8G("ngIf",1===E)}}let Y2=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.store=D,this.dataService=I,this.commonService=Oe,this.faInfoCircle=Ti.iW_,this.faExclamationTriangle=Ti.zpE,this.faCode=Ti.jTw,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=_t.ul,this.selPolicyType=_t.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.logger.info("Received List Configs: "+JSON.stringify(E)),this.features[1].enabled=!!E.configs["experimental-dual-fund"].set},error:E=>{this.logger.error("List Configs Error: "+JSON.stringify(E)),this.features[1].enabled=!1}}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(B0.Al).pipe((0,li.Q)(this.unSubs[2])).subscribe(E=>{this.policyTypes[2].max=E.balance.totalBalance||1e3})}onPanelExpanded(E){1===E&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,li.Q)(this.unSubs[3])).subscribe(D=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(D)),this.fundingPolicy=D,this.fundingPolicy.policy&&(this.selPolicyType=_t.ul.find(I=>I.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,li.Q)(this.unSubs[4])).subscribe({next:E=>{this.logger.info(E),this.fundingPolicy=E,this.updateMsg={data:"Compact Lease: "+E.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:E=>{this.logger.error(E),this.updateMsg={error:this.commonService.extractErrorMessage(E,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?_t.ul.find(E=>E.id===this.fundingPolicy.policy)||this.policyTypes[0]:_t.ul[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(o1.u),e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-experimental-settings"]],standalone:!1,decls:13,vars:3,consts:[["form","ngForm"],["plcMod","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"opened","expanded"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModelChange","change","ngModel"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"ngModelChange","step","min","max","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModelChange","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModelChange","ngModel"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(D,I){1&D&&(e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),e.k0s()(),e.j41(5,"form",5,0)(7,"div",6),e.nrm(8,"fa-icon",7),e.j41(9,"span",8),e.EFF(10,"Features"),e.k0s()(),e.j41(11,"mat-accordion"),e.DNE(12,Rd,12,7,"mat-expansion-panel",9),e.k0s()()()),2&D&&(e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(6),e.Y8G("icon",I.faCode),e.R7$(4),e.Y8G("ngForOf",I.features))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.Q0,hi.BC,hi.cb,hi.YS,hi.VZ,hi.zX,hi.vS,hi.cV,os.aY,es.$z,or.BS,or.GK,or.Z2,or.WN,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Hi.q,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,bc.sG,go.Ld,Kl.N,om.z,lm.V,w.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})(),Q2=(()=>{var b;class _{constructor(){}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-no-service-found"]],standalone:!1,decls:6,vars:0,consts:[["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),e.EFF(5,"No Service Found!"),e.k0s()()()()())},dependencies:[K.RN,K.m2,Ie.DJ,Ie.sA],encapsulation:2}))}return b(),_})();const $2=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([l.e(193),l.e(190)]).then(l.bind(l,9190)).then(b=>b.LNDModule),canActivate:[(0,co.q_)()]},{path:"cln",loadChildren:()=>Promise.all([l.e(193),l.e(853)]).then(l.bind(l,4853)).then(b=>b.CLNModule),canActivate:[(0,co.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([l.e(193),l.e(17)]).then(l.bind(l,9017)).then(b=>b.ECLModule),canActivate:[(0,co.q_)()]},{path:"settings",component:Wa,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Qc,canActivate:[(0,co.q_)()]},{path:"auth",component:rr,canActivate:[(0,co.q_)()]},{path:"bconfig",component:Pf,canActivate:[(0,co.q_)()]}]},{path:"config",component:k0,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:N0,canActivate:[(0,co.q_)()]},{path:"pglayout",component:Xh,canActivate:[(0,co.q_)()]},{path:"services",component:X0,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:e1,canActivate:[(0,co.q_)()]},{path:"boltz",component:Kh,canActivate:[(0,co.q_)()]},{path:"noservice",component:Q2}]},{path:"experimental",component:Y2,canActivate:[(0,co.q_)()]},{path:"lnconfig",component:l2,canActivate:[(0,co.q_)()]}]},{path:"services",component:Yh,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:nu},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:sm}]},{path:"help",component:s1},{path:"login",component:W2},{path:"error",component:x3},{path:"**",component:V1.X}],Pd=lo.iI.forRoot($2,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var Bu=l(9029),hm=l(9881),Fd=l(4330),zu=l(9183),Nd=l(882),Tc=l(5911),Bd=l(2279),Cl=l(7358);const Dc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/lnd/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/lnd/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/lnd/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/lnd/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/lnd/transactions",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/lnd/routing",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/lnd/reports",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/lnd/graph",userPersona:_t.HW.ALL,children:[]},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ti.pCJ,link:"/lnd/messages",userPersona:_t.HW.ALL,children:[]},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Ti.cbP,link:"/lnd/channelbackup",userPersona:_t.HW.ALL,children:[]},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Ti.qFF,link:"/lnd/network",userPersona:_t.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Ti.D6w,link:"/lnd/network",userPersona:_t.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Ti.qIE,link:"/services/loop",userPersona:_t.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Ti.C8j,link:"/services/loop",userPersona:_t.HW.ALL,children:[]},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:_t.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/cln/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/cln/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/cln/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/cln/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Ti.e4L,link:"/cln/liquidityads",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/cln/transactions",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/cln/routing",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/cln/reports",userPersona:_t.HW.ALL,children:[]},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/cln/graph",userPersona:_t.HW.ALL,children:[]},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ti.pCJ,link:"/cln/messages",userPersona:_t.HW.ALL,children:[]},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Ti.WKo,link:"/cln/rates",userPersona:_t.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Ti.D6w,link:"/cln/rates",userPersona:_t.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Ti.qIE,link:"/services/loop",userPersona:_t.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:_t.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/ecl/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/ecl/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/ecl/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/ecl/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/ecl/transactions",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/ecl/routing",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/ecl/reports",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/ecl/graph",userPersona:_t.HW.ALL,children:[]}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}]};function L3(b,_){if(1&b&&(e.j41(0,"mat-option",12),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.index),e.R7$(),e.Lme(" ",m.lnNode," (",m.lnImplementation,") ")}}function I3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-select",10),e.bIt("selectionChange",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onNodeSelectionChange(D.value))}),e.j41(1,"perfect-scrollbar"),e.DNE(2,L3,2,3,"mat-option",11),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("value",m.selConfigNodeIndex),e.R7$(2),e.Y8G("ngForOf",m.appConfig.nodes)}}function k3(b,_){if(1&b&&(e.j41(0,"span",21),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.XpG(2);const E=e.sdS(11);e.R7$(),e.Y8G("ngTemplateOutlet","boltzIconBlock"===m.icon?E:null)}}function zd(b,_){if(1&b&&e.nrm(0,"fa-icon",23),2&b){const m=e.XpG().$implicit;e.Y8G("icon",m.icon)}}function O3(b,_){if(1&b&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m.icon)}}function R3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",15)(1,"div",16),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onChildNavClicked(D))}),e.j41(2,"div",17),e.DNE(3,k3,2,1,"span",18)(4,zd,1,1,"fa-icon",19)(5,O3,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()()()()}if(2&b){const m=_.$implicit;e.Y8G("routerLink",e.mNQ(m.link)),e.R7$(3),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name)}}function P3(b,_){if(1&b&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function Z2(b,_){if(1&b&&e.nrm(0,"fa-icon",23),2&b){const m=e.XpG().$implicit;e.Y8G("icon",m.icon)}}function Vu(b,_){if(1&b&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m.icon)}}function Uu(b,_){if(1&b&&(e.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.DNE(3,P3,2,1,"span",28)(4,Z2,1,1,"fa-icon",19)(5,Vu,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()(),e.j41(8,"button",29)(9,"mat-icon"),e.EFF(10),e.k0s()()(),e.j41(11,"div",30),e.eu8(12,31),e.k0s()()),2&b){const m=_.$implicit,E=e.XpG(2);e.R7$(3),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name),e.R7$(),e.BMQ("aria-label","toggle "+m.name),e.R7$(2),e.JRh(E.treeControlNested.isExpanded(m)?"arrow_drop_up":"arrow_drop_down"),e.R7$(),e.AVh("tree-children-invisible",!E.treeControlNested.isExpanded(m))}}function F3(b,_){if(1&b&&(e.j41(0,"mat-tree",7,1),e.DNE(2,R3,8,6,"mat-tree-node",13)(3,Uu,13,8,"mat-nested-tree-node",14),e.k0s()),2&b){const m=e.XpG();e.Y8G("dataSource",m.navMenus)("treeControl",m.treeControlNested),e.R7$(3),e.Y8G("matTreeNodeDefWhen",m.hasChild)}}function N3(b,_){if(1&b&&(e.j41(0,"span",37),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function B3(b,_){if(1&b&&e.nrm(0,"fa-icon",38),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name))("icon",m.icon)}}function J2(b,_){if(1&b&&(e.j41(0,"mat-icon",39),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name)),e.R7$(),e.JRh(m.icon)}}function Vd(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onShowData(D))}),e.DNE(1,N3,2,1,"span",34)(2,B3,1,3,"fa-icon",35)(3,J2,2,3,"mat-icon",36),e.j41(4,"span"),e.EFF(5),e.k0s()()}if(2&b){const m=_.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name)}}function z3(b,_){if(1&b&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function fm(b,_){if(1&b&&e.nrm(0,"fa-icon",38),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name))("icon",m.icon)}}function V3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onClick(D))}),e.DNE(1,z3,2,1,"span",28)(2,fm,1,3,"fa-icon",35),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&b){const m=_.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(2),e.JRh(m.name)}}function q2(b,_){if(1&b&&(e.j41(0,"mat-tree",7),e.DNE(1,V3,5,3,"mat-tree-node",8),e.k0s()),2&b){const m=e.XpG();e.Y8G("dataSource",m.navMenusLogout)("treeControl",m.treeControlLogout)}}function pm(b,_){1&b&&(v.qSk(),e.j41(0,"svg",40)(1,"g",41)(2,"g",42),e.nrm(3,"circle",43)(4,"path",44)(5,"path",45),e.k0s()()())}let gm=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.logger=E,this.commonService=D,this.sessionService=I,this.store=Oe,this.actions=Ct,this.rtlEffects=Bt,this.ChildNavClicked=new e.bkB,this.faEject=Ti.njF,this.faEye=Ti.pS3,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Ti.njF,children:[]}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Ti.pS3,children:[]}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=_t.HW,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B],this.treeControlNested=new Bd.XO(yn=>yn.children),this.treeControlLogout=new Bd.XO(yn=>yn.children),this.treeControlShowData=new Bd.XO(yn=>yn.children),this.navMenus=new Cl.Zh,this.navMenusLogout=new Cl.Zh,this.navMenusShowData=new Cl.Zh,this.hasChild=(yn,Yn)=>!!Yn.children&&Yn.children.length>0,this.version=_t.xv,Dc.LNDChildren&&200===Dc.LNDChildren[Dc.LNDChildren.length-1].id&&Dc.LNDChildren.pop(),this.navMenus.data=Dc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const E=this.sessionService.getItem("token");this.showLogout=!!E,this.flgLoading=!!E,this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa.Az).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{if(this.information=D.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const I=this.information.chains[0];this.informationChain.chain=I.chain,this.informationChain.network=I.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=D.selNode,this.selConfigNodeIndex=+(D.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(D)}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{this.showLogout=!!D.token,this.flgLoading=!!D.token}),this.actions.pipe((0,li.Q)(this.unSubs[3]),(0,za.p)(D=>D.type===_t.aU.LOGOUT)).subscribe(D=>{this.showLogout=!1})}onClick(E){"Logout"===E.name&&(this.store.dispatch((0,Bi.I1)({payload:{data:{type:_t.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,li.Q)(this.unSubs[4])).subscribe(D=>{D&&(this.showLogout=!1,this.store.dispatch((0,Bi.ri)({payload:""})))})),this.ChildNavClicked.emit(E)}onChildNavClicked(E){this.ChildNavClicked.emit(E)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){const E=JSON.parse(JSON.stringify(Dc.LNDChildren));this.navMenus.data=E?.filter(D=>D.children&&D.children.length?(D.children=D.children?.filter(I=>(I.userPersona===_t.HW.ALL||I.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==I.link&&"/services/boltz"!==I.link||"/services/loop"===I.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===I.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),D.children.length>0):D.userPersona===_t.HW.ALL||D.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){const E=JSON.parse(JSON.stringify(Dc.CLNChildren));this.navMenus.data=E?.filter(D=>D.children&&D.children.length?(D.children=D.children?.filter(I=>(I.userPersona===_t.HW.ALL||I.userPersona===this.selNode.settings.userPersona)&&(!I.link.includes("/services")||"/services/peerswap"===I.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===I.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim())),D.children.length>0):D.userPersona===_t.HW.ALL||D.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Dc.ECLChildren))}onShowData(E){this.store.dispatch((0,Bi.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(E){const D=this.selConfigNodeIndex;this.selConfigNodeIndex=E;const I=this.appConfig.nodes.find(Oe=>+Oe.index===E);this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+D,currentLnNode:I||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(ji.Q),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(Ko.H))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-side-navigation"]],viewQuery:function(D,I){if(1&D&&e.GBs(Cl.lQ,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.tree=Oe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},standalone:!1,decls:12,vars:5,consts:[["boltzIconBlock",""],["tree",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],[1,"m-2","multi-node-select",3,"selectionChange","value"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["routerLinkActive","active-link","matTreeNodeToggle","",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["routerLinkActive","active-link","matTreeNodeToggle","",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"matTooltip","icon",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],[1,"fa-icon-small","mr-2"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"matTooltip","icon"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(D,I){1&D&&(e.j41(0,"div",2)(1,"div",3),e.DNE(2,I3,3,2,"mat-select",4),e.nrm(3,"mat-divider",5),e.DNE(4,F3,4,3,"mat-tree",6),e.nrm(5,"mat-divider",5),e.j41(6,"mat-tree",7),e.DNE(7,Vd,6,4,"mat-tree-node",8),e.k0s()(),e.j41(8,"div",9),e.DNE(9,q2,2,2,"mat-tree",6),e.k0s()(),e.DNE(10,pm,6,0,"ng-template",null,0,e.C5r)),2&D&&(e.R7$(2),e.Y8G("ngIf",I.appConfig.nodes.length>1),e.R7$(2),e.Y8G("ngIf",null==I.selNode.settings?null:I.selNode.settings.lnServerUrl),e.R7$(2),e.Y8G("dataSource",I.navMenusShowData)("treeControl",I.treeControlShowData),e.R7$(3),e.Y8G("ngIf",I.showLogout))},dependencies:[w.Sq,w.bT,w.T3,os.aY,Jc.iY,qc.An,Hi.q,Cl.q1,Cl.yI,Cl.pO,Cl.lQ,Cl.d6,Cl.wx,Ie.DJ,Ie.sA,Ie.UI,sl.VO,ac.wT,fd.oV,lo.Wk,lo.wQ,go.ZF,go.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}))}return b(),_})();var G1=l(9115);function _m(b,_){if(1&b&&(e.j41(0,"p",14),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faCode),e.R7$(2),e.SpI("API Version: ",null==m.information?null:m.information.api_version)}}function j1(b,_){if(1&b&&(e.j41(0,"p",15),e.nrm(1,"fa-icon",3),e.j41(2,"span",16),e.EFF(3,"Settings"),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faUserCog)}}function U3(b,_){if(1&b&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",3),e.j41(2,"span",18),e.EFF(3,"Help"),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faQuestion)}}function vm(b,_){if(1&b){const m=e.RV6();e.j41(0,"p",19),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onClick())}),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3,"Logout"),e.k0s()()}if(2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faEject)}}let Ud=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.sessionService=D,this.store=I,this.rtlEffects=Oe,this.actions=Ct,this.faUserCog=Ti.McB,this.faCodeBranch=Ti.Xbc,this.faCode=Ti.jTw,this.faCog=Ti.dB,this.faQuestion=Ti.EvL,this.faEject=Ti.njF,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B],this.version=_t.xv}ngOnInit(){this.store.select(Oa.N).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{if(this.information=E,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const D=this.information.chains[0];this.informationChain.chain=D.chain,this.informationChain.network=D.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(E)}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.showLogout=!!E.token,this.flgLoading=!!E.token}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(E=>E.type===_t.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Bi.I1)({payload:{data:{type:_t.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{E&&(this.showLogout=!1,this.store.dispatch((0,Bi.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(ji.Q),e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Uo.En))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-top-menu"]],standalone:!1,decls:20,vars:8,consts:[["topMenu","matMenu"],[1,"top-menu",3,"overlapTrigger"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"mat-menu",1,0)(2,"p",2),e.nrm(3,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,_m,4,2,"p",4)(7,j1,4,1,"p",5)(8,U3,4,1,"p",6),e.j41(9,"p",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onDonate())}),v.qSk(),e.j41(10,"svg",8)(11,"g"),e.nrm(12,"path",9),e.k0s()(),v.joV(),e.j41(13,"span"),e.EFF(14,"Donate"),e.k0s()(),e.DNE(15,vm,4,1,"p",10),e.k0s(),e.j41(16,"button",11),e.nrm(17,"img",12),e.j41(18,"mat-icon",13),e.EFF(19,"arrow_drop_down"),e.k0s()()}if(2&D){const Oe=e.sdS(1);e.Y8G("overlapTrigger",!1),e.R7$(3),e.Y8G("icon",I.faCodeBranch),e.R7$(2),e.SpI("Version: ",I.version),e.R7$(),e.Y8G("ngIf",null==I.information?null:I.information.api_version),e.R7$(),e.Y8G("ngIf",I.showLogout),e.R7$(),e.Y8G("ngIf",I.showLogout),e.R7$(7),e.Y8G("ngIf",I.showLogout),e.R7$(),e.Y8G("matMenuTriggerFor",Oe)}},dependencies:[w.bT,os.aY,Jc.iY,qc.An,G1.kk,G1.fb,G1.Cp,Ie.sA,lo.Wk],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2}))}return b(),_})();const Gd=["sideNavigation"],zf=["sideNavContent"],G3=(b,_)=>[b,_];function Gu(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.sideNavToggle())}),e.j41(1,"mat-icon",16),e.EFF(2,"menu"),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("matTooltip",m.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",m.smallScreen)}}function e0(b,_){1&b&&(v.qSk(),e.nrm(0,"path",21))}function t0(b,_){1&b&&(v.qSk(),e.nrm(0,"path",22))}function ju(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.flgSidenavPinned=!D.flgSidenavPinned)}),v.qSk(),e.j41(1,"svg",18),e.DNE(2,e0,1,0,"path",19)(3,t0,1,0,"path",20),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("matTooltip",m.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.R7$(2),e.Y8G("ngIf",!m.flgSidenavPinned),e.R7$(),e.Y8G("ngIf",m.flgSidenavPinned)}}function ym(b,_){if(1&b&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.JRh(m.information.alias?"RTL - "+m.information.alias:"RTL")}}function bm(b,_){if(1&b&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.JRh(m.information.alias?"Ride The Lightning - "+m.information.alias:"Ride The Lightning")}}function Hu(b,_){1&b&&(e.j41(0,"div",25),e.nrm(1,"mat-spinner",26),e.j41(2,"h4"),e.EFF(3,"Loading RTL..."),e.k0s()())}let Wu=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn,Yn,jn){this.logger=E,this.commonService=D,this.store=I,this.actions=Oe,this.userIdle=Ct,this.router=Bt,this.sessionService=yn,this.breakpointObserver=Yn,this.renderer=jn,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.router.events.subscribe(E=>{E instanceof Ha.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([ds.Rp.XSmall,ds.Rp.TabletPortrait,ds.Rp.Small,ds.Rp.Medium,ds.Rp.Large,ds.Rp.XLarge]).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{E.breakpoints[ds.Rp.XSmall]?(this.commonService.setScreenSize(_t.f7.XS),this.smallScreen=!0):E.breakpoints[ds.Rp.TabletPortrait]?(this.commonService.setScreenSize(_t.f7.SM),this.smallScreen=!0):E.breakpoints[ds.Rp.Small]||E.breakpoints[ds.Rp.Medium]?(this.commonService.setScreenSize(_t.f7.MD),this.smallScreen=!1):E.breakpoints[ds.Rp.Large]?(this.commonService.setScreenSize(_t.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(_t.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Bi.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=E}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[2])).subscribe(E=>{this.appConfig=E}),this.store.select(Oa.N).pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{this.information=E,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,li.Q)(this.unSubs[4]),(0,za.p)(E=>E.type===_t.aU.SET_APPLICATION_SETTINGS||E.type===_t.aU.LOGIN||E.type===_t.aU.LOGOUT)).subscribe(E=>{E.type===_t.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(E.payload.disableAuth?this.store.dispatch((0,Bi.iD)({payload:{password:"disabledAuth",defaultPassword:!1}})):+E.payload.SSO.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),E.type===_t.aU.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),E.type===_t.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,li.Q)(this.unSubs[5])).subscribe(E=>{this.logger.info("Counting Down: "+(11-E))}),this.userIdle.onTimeout().pipe((0,li.Q)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,Bi.Jh)()),this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Bi.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const E=window.location.href;return E.includes("access-key=")?E.substring(E.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(E){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(E){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+E)}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(v1),e.rXU(Ha.Ix),e.rXU(ji.Q),e.rXU(Fd.Q),e.rXU(e.sFG))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-app"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Gd,5),e.GBs(zf,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sideNavigation=Oe.first),e.mGM(Oe=e.lsd())&&(I.sideNavContent=Oe.first)}},standalone:!1,decls:22,vars:15,consts:[["sideNavigation",""],["sideNavContent",""],["outlet","outlet"],["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"bg-primary","rtl-top-toolbar"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["class","font-weight-500",4,"ngIf"],["class","font-size-120 font-weight-500",4,"ngIf"],[3,"backdropClick"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip","matTooltipDisabled"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip"],["width","20","height","20","viewBox","0 0 24 24",1,"icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"font-weight-500"],[1,"font-size-120","font-weight-500"],[1,"rtl-spinner"],["color","accent"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",3),e.nI1(1,"lowercase"),e.nI1(2,"lowercase"),e.j41(3,"mat-toolbar",4)(4,"div"),e.DNE(5,Gu,3,2,"button",5)(6,ju,4,3,"button",6),e.k0s(),e.j41(7,"div"),e.DNE(8,ym,2,1,"span",7)(9,bm,2,1,"span",8),e.k0s(),e.j41(10,"div"),e.nrm(11,"rtl-top-menu"),e.k0s()(),e.j41(12,"mat-sidenav-container",9),e.bIt("backdropClick",function(){return v.eBV(Oe),v.Njj(I.backdropClicked())}),e.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),e.bIt("ChildNavClicked",function(Bt){return v.eBV(Oe),v.Njj(I.onNavigationClicked(Bt))}),e.k0s()(),e.j41(16,"mat-sidenav-content",12,1)(18,"div",13),e.nrm(19,"router-outlet",null,2),e.k0s()()(),e.DNE(21,Hu,4,0,"div",14),e.k0s()}2&D&&(e.Y8G("ngClass",e.l_i(12,G3,e.bMT(1,8,I.selNode.settings.themeColor),e.bMT(2,10,I.selNode.settings.themeMode))),e.R7$(5),e.Y8G("ngIf",I.flgLoggedIn),e.R7$(),e.Y8G("ngIf",!I.smallScreen&&I.flgLoggedIn),e.R7$(2),e.Y8G("ngIf",I.smallScreen),e.R7$(),e.Y8G("ngIf",!I.smallScreen),e.R7$(4),e.Y8G("opened",I.flgSideNavOpened&&I.flgLoggedIn)("mode",I.flgSidenavPinned&&!I.smallScreen?"side":"over"),e.R7$(8),e.Y8G("ngIf",!I.selNode.settings.themeColor))},dependencies:[w.YU,w.bT,Jc.iY,qc.An,zu.LG,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Nd.LG,Nd.US,Nd.El,Tc.KQ,fd.oV,go.Ld,gm,Ud,Ha.n3,w.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[hm.E]}}))}return b(),_})(),Xu=(()=>{var b;class _{constructor(E){this.sessionService=E}intercept(E,D){if(this.sessionService.getItem("token")){const I=E.clone({headers:E.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return D.handle(I)}return D.handle(E)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(ji.Q))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();var Cm=l(7879),Ku=l(9579),j3=l(283),xm=l(3017);const H3={userPersona:_t.HW.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD",blockExplorerUrl:"https://mempool.space"},Yu={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},n0={apiURL:"",apisCallStatus:{Login:{status:_t.wn.UN_INITIATED},IsAuthorized:{status:_t.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:H3,authentication:Yu,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",disableAuth:!1,allowPasswordUpdate:!0,nodes:[{settings:H3,authentication:Yu}]},nodeData:{}},Vf=(0,mi.vy)(n0,(0,mi.on)(Bi.Gd,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Bi.Tn,(b,{payload:_})=>({...n0,apisCallStatus:b.apisCallStatus,appConfig:b.appConfig,selNode:_})),(0,mi.on)(Bi.Np,(b,{payload:_})=>({...b,selNode:_})),(0,mi.on)(Bi.Fl,(b,{payload:_})=>({...b,nodeData:_})),(0,mi.on)(Bi.IK,(b,{payload:_})=>({...b,appConfig:_}))),i0={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchFees:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchClosedChannels:{status:_t.wn.UN_INITIATED},FetchPendingChannels:{status:_t.wn.UN_INITIATED},FetchAllChannels:{status:_t.wn.UN_INITIATED},FetchBalanceBlockchain:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchForwardingHistory:{status:_t.wn.UN_INITIATED},FetchUTXOs:{status:_t.wn.UN_INITIATED},FetchTransactions:{status:_t.wn.UN_INITIATED},FetchLightningTransactions:{status:_t.wn.UN_INITIATED},FetchNetwork:{status:_t.wn.UN_INITIATED}},pageSettings:_t.ZC,information:{},peers:[],fees:{channel_fees:[],day_fee_sum:0,week_fee_sum:0,month_fee_sum:0,daily_tx_count:0,weekly_tx_count:0,monthly_tx_count:0,forwarding_events_history:{}},networkInfo:{},blockchainBalance:{total_balance:-1},lightningBalance:{local:-1,remote:-1},channels:[],channelsSummary:{active:{num_channels:0,capacity:0},inactive:{num_channels:0,capacity:0}},closedChannels:[],pendingChannels:{},pendingChannelsSummary:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},transactions:[],utxos:[],listPayments:{payments:[]},listInvoices:{invoices:[]},allLightningTransactions:{listPaymentsAll:{payments:[],first_index_offset:"",last_index_offset:""},listInvoicesAll:{invoices:[],total_invoices:0,last_index_offset:"",first_index_offset:""}},forwardingHistory:{last_offset_index:0,total_fee_msat:0,forwarding_events:[]}};let Qu=!1,W3=!1;const $u=(0,mi.vy)(i0,(0,mi.on)(Qs.e8,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Qs.p1,b=>({...i0})),(0,mi.on)(Qs.x1,(b,{payload:_})=>({...b,information:_})),(0,mi.on)(Qs.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(Qs.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.pub_key===_.pubkey);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(Qs.Jx,(b,{payload:_})=>{const m=b.listInvoices;return m.invoices?.unshift(_),{...b,listInvoices:m}}),(0,mi.on)(Qs.Dq,(b,{payload:_})=>{const m=b.listInvoices;return m.invoices=m.invoices?.map(E=>E.payment_request===_.payment_request?_:E),{...b,listInvoices:m}}),(0,mi.on)(Qs._$,(b,{payload:_})=>{const m=b.listPayments;return m.payments=m.payments?.map(E=>E.payment_hash===_.payment_hash?_:E),{...b,listPayments:m}}),(0,mi.on)(Qs.Uo,(b,{payload:_})=>({...b,fees:_})),(0,mi.on)(Qs.z2,(b,{payload:_})=>({...b,closedChannels:_})),(0,mi.on)(Qs.cU,(b,{payload:_})=>({...b,pendingChannels:_.pendingChannels,pendingChannelsSummary:_.pendingChannelsSummary})),(0,mi.on)(Qs.dv,(b,{payload:_})=>{let m=0,E=0,D=0,I=0,Oe=0,Ct=0;return _&&_.forEach(Bt=>{Bt.local_balance||(Bt.local_balance=0),!0===Bt.active?(Oe+=+Bt.local_balance,D+=1,Bt.local_balance?m=+m+ +Bt.local_balance:Bt.local_balance=0,Bt.remote_balance?E=+E+ +Bt.remote_balance:Bt.remote_balance=0):(Ct+=+Bt.local_balance,I+=1)}),{...b,channels:_,channelsSummary:{active:{num_channels:D,capacity:Oe},inactive:{num_channels:I,capacity:Ct}},lightningBalance:{local:m,remote:E}}}),(0,mi.on)(Qs.cR,(b,{payload:_})=>{const m=[...b.channels],E=b.channels.findIndex(D=>D.channel_point===_.channelPoint);return E>-1&&m.splice(E,1),{...b,channels:m}}),(0,mi.on)(Qs.DI,(b,{payload:_})=>({...b,blockchainBalance:_})),(0,mi.on)(Qs.J9,(b,{payload:_})=>({...b,networkInfo:_})),(0,mi.on)(Qs.$6,(b,{payload:_})=>(_.total_invoices||(_.total_invoices=b.listInvoices.total_invoices),{...b,listInvoices:_})),(0,mi.on)(Qs.As,(b,{payload:_})=>{if(Qu=!0,_.length&&W3){const m=[...b.utxos];return m.forEach(E=>{const D=_.find(I=>I.tx_hash===E.outpoint?.txid_str);E.label=D&&D.label?D.label:""}),{...b,utxos:m,transactions:_}}return{...b,transactions:_}}),(0,mi.on)(Qs.O8,(b,{payload:_})=>{if(W3=!0,_.length&&Qu){const m=[...b.transactions];_.forEach(E=>{const D=m.find(I=>I.tx_hash===E.outpoint?.txid_str);E.label=D&&D.label?D.label:""})}return{...b,utxos:_}}),(0,mi.on)(Qs.Uj,(b,{payload:_})=>{const m={listInvoicesAll:b.allLightningTransactions.listInvoicesAll,listPaymentsAll:_};return{...b,listPayments:_,allLightningTransactions:m}}),(0,mi.on)(Qs.b1,(b,{payload:_})=>{const m={listInvoicesAll:_.listInvoicesAll,listPaymentsAll:b.listPayments};return{...b,allLightningTransactions:m}}),(0,mi.on)(Qs.kv,(b,{payload:_})=>{const m=[...b.channels,...b.closedChannels];let E=_.forwarding_events?JSON.parse(JSON.stringify(_)):{};return E.forwarding_events&&(E=c1(E,m)),{...b,forwardingHistory:E}}),(0,mi.on)(Qs.NS,(b,{payload:_})=>{const m=[];return _t.ZC.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),c1=(b,_)=>(b.forwarding_events.forEach(m=>{if(_&&_.length>0)for(let E=0;E<_.length;E++){if(_[E].chan_id?.toString()===m.chan_id_in&&(m.alias_in=_[E].remote_alias?_[E].remote_alias:m.chan_id_in,m.alias_out)||_[E].chan_id?.toString()===m.chan_id_out&&(m.alias_out=_[E].remote_alias?_[E].remote_alias:m.chan_id_out,m.alias_in))return;E===_.length-1&&(m.alias_in||(m.alias_in=m.chan_id_in),m.alias_out||(m.alias_out=m.chan_id_out))}else m.alias_in=m.chan_id_in,m.alias_out=m.chan_id_out}),b),d1={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchChannels:{status:_t.wn.UN_INITIATED},FetchUTXOBalances:{status:_t.wn.UN_INITIATED},FetchFeeRatesperkb:{status:_t.wn.UN_INITIATED},FetchFeeRatesperkw:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryS:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryF:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryL:{status:_t.wn.UN_INITIATED},FetchOffers:{status:_t.wn.UN_INITIATED},FetchOfferBookmarks:{status:_t.wn.UN_INITIATED}},pageSettings:_t.mu,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Zu=(0,mi.vy)(d1,(0,mi.on)(zs.no,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(zs.gf,b=>({...d1})),(0,mi.on)(zs.x1,(b,{payload:_})=>({...b,information:_,fees:{feeCollected:_.fees_collected_msat}})),(0,mi.on)(zs.C2,(b,{payload:_})=>_.perkb?{...b,feeRatesPerKB:_}:_.perkw?{...b,feeRatesPerKW:_}:{...b}),(0,mi.on)(zs.EM,(b,{payload:_})=>({...b,utxos:_.utxos||[],balance:_.balance,localRemoteBalance:_.localRemoteBalance})),(0,mi.on)(zs.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(zs.We,(b,{payload:_})=>({...b,peers:[...b.peers,_]})),(0,mi.on)(zs.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.id===_.id);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(zs.dv,(b,{payload:_})=>({...b,activeChannels:_.activeChannels,pendingChannels:_.pendingChannels,inactiveChannels:_.inactiveChannels})),(0,mi.on)(zs.cR,(b,{payload:_})=>{const m=[...b.peers];return m.forEach(E=>{E.id===_.id&&(E.connected=!1,delete E.netaddr)}),{...b,peers:m}}),(0,mi.on)(zs.Uj,(b,{payload:_})=>({...b,payments:_})),(0,mi.on)(zs.kv,(b,{payload:_})=>{const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels],E=a0(_.listForwards,m);switch(_.listForwards=E,_.status){case _t.xk.SETTLED:const D=b.fees;return D.totalTxCount=_.totalForwards||0,{...b,fees:D,forwardingHistory:_};case _t.xk.FAILED:return{...b,failedForwardingHistory:_};case _t.xk.LOCAL_FAILED:return{...b,localFailedForwardingHistory:_};default:return{...b}}}),(0,mi.on)(zs.Jx,(b,{payload:_})=>{const m=b.invoices;return m.invoices?.unshift(_),{...b,invoices:m}}),(0,mi.on)(zs.$6,(b,{payload:_})=>({...b,invoices:_})),(0,mi.on)(zs.Dq,(b,{payload:_})=>{const m=b.invoices;return m.invoices=m.invoices?.map(E=>(E.label===_.label&&(E.amount_received_msat=_.msat,E.payment_preimage=_.preimage,E.status="paid"),E)),{...b,invoices:m}}),(0,mi.on)(zs.qw,(b,{payload:_})=>({...b,offers:_})),(0,mi.on)(zs.kQ,(b,{payload:_})=>{const m=b.offers;return m?.unshift(_),{...b,offers:m}}),(0,mi.on)(zs.Gz,(b,{payload:_})=>{const m=[...b.offers],E=b.offers.findIndex(D=>D.offer_id===_.offer.offer_id);return E>-1&&m.splice(E,1,_.offer),{...b,offers:m}}),(0,mi.on)(zs.Qv,(b,{payload:_})=>({...b,offersBookmarks:_})),(0,mi.on)(zs.Db,(b,{payload:_})=>{const m=[...b.offersBookmarks],E=m.findIndex(D=>D.bolt12===_.bolt12);if(E<0)m?.unshift(_);else{const D={...m[E]};D.title=_.title,D.amountMSat=_.amountMSat,D.lastUpdatedAt=_.lastUpdatedAt,D.description=_.description,D.issuer=_.issuer,m.splice(E,1,D)}return{...b,offersBookmarks:m}}),(0,mi.on)(zs.NU,(b,{payload:_})=>{const m=[...b.offersBookmarks],E=b.offersBookmarks.findIndex(D=>D.bolt12===_.bolt12);return E>-1&&m.splice(E,1),{...b,offersBookmarks:m}}),(0,mi.on)(zs.NS,(b,{payload:_})=>{const m=[];return _t.mu.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),a0=(b,_)=>(b&&b.length>0?b.forEach((m,E)=>{if(_&&_.length>0)for(let D=0;D<_.length;D++){if(_[D].short_channel_id&&_[D].short_channel_id===m.in_channel&&(m.in_channel_alias=_[D].alias?_[D].alias:m.in_channel,m.out_channel_alias)||_[D].short_channel_id&&_[D].short_channel_id?.toString()===m.out_channel&&(m.out_channel_alias=_[D].alias?_[D].alias:m.out_channel,m.in_channel_alias))return;D===_.length-1&&(m.in_channel_alias||(m.in_channel_alias=m.in_channel?m.in_channel:"-"),m.out_channel_alias||(m.out_channel_alias=m.out_channel?m.out_channel:"-"))}else m.in_channel_alias=m.in_channel?m.in_channel:"-",m.out_channel_alias=m.out_channel?m.out_channel:"-"}):b=[],b),Ju={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchFees:{status:_t.wn.UN_INITIATED},FetchChannels:{status:_t.wn.UN_INITIATED},FetchOnchainBalance:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchTransactions:{status:_t.wn.UN_INITIATED}},pageSettings:_t.X8,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},u1=(0,mi.vy)(Ju,(0,mi.on)(Ds.uL,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Ds.Hh,b=>({...Ju})),(0,mi.on)(Ds.x1,(b,{payload:_})=>({...b,information:_})),(0,mi.on)(Ds.Uo,(b,{payload:_})=>({...b,fees:_})),(0,mi.on)(Ds.Tp,(b,{payload:_})=>({...b,activeChannels:_})),(0,mi.on)(Ds.cU,(b,{payload:_})=>({...b,pendingChannels:_})),(0,mi.on)(Ds.I6,(b,{payload:_})=>({...b,inactiveChannels:_})),(0,mi.on)(Ds.ZE,(b,{payload:_})=>({...b,channelsStatus:_})),(0,mi.on)(Ds.Xx,(b,{payload:_})=>({...b,onchainBalance:_})),(0,mi.on)(Ds.N8,(b,{payload:_})=>({...b,lightningBalance:_})),(0,mi.on)(Ds.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(Ds.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.nodeId===_.nodeId);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(Ds.cR,(b,{payload:_})=>{const m=[...b.activeChannels],E=b.activeChannels.findIndex(D=>D.channelId===_.channelId);return E>-1&&m.splice(E,1),{...b,activeChannels:m}}),(0,mi.on)(Ds.Uj,(b,{payload:_})=>{if(_&&_.sent){const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels];_.sent?.map(E=>{const D=b.peers.find(I=>I.nodeId===E.recipientNodeId);return E.recipientNodeAlias=D?D.alias:E.recipientNodeId,E.parts&&E.parts?.map(I=>{const Oe=m.find(Ct=>Ct.channelId===I.toChannelId);return I.toChannelAlias=Oe?Oe.alias:I.toChannelId,E.parts}),_.sent})}if(_&&_.relayed){const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels];_.relayed.forEach(E=>{E=H1(E,m)})}return{...b,payments:_}}),(0,mi.on)(Ds.As,(b,{payload:_})=>({...b,transactions:_})),(0,mi.on)(Ds.Jx,(b,{payload:_})=>{const m=b.invoices;return m?.unshift(_),{...b,invoices:m}}),(0,mi.on)(Ds.$6,(b,{payload:_})=>({...b,invoices:_})),(0,mi.on)(Ds.Dq,(b,{payload:_})=>{let m=b.invoices;return m=m?.map(E=>{if(E.paymentHash===_.paymentHash){if(_.hasOwnProperty("type")){const D=JSON.parse(JSON.stringify(E));return D.amountSettled=_.parts&&_.parts.length&&_.parts.length>0&&_.parts[0].amount?(_.parts[0].amount||0)/1e3:0,D.receivedAt=_.parts&&_.parts.length&&_.parts.length>0&&_.parts[0].timestamp?Math.round((_.parts[0].timestamp||0)/1e3):0,D.status="received",D}return _}return E}),{...b,invoices:m}}),(0,mi.on)(Ds.gZ,(b,{payload:_})=>{let m=b.pendingChannels;return m=m?.map(E=>(E.channelId===_.channelId&&E.nodeId===_.remoteNodeId&&(_.currentState=_.currentState?.replace(/_/g," "),E.state=_.currentState),E)),{...b,pendingChannels:m}}),(0,mi.on)(Ds.yn,(b,{payload:_})=>{const m=b.payments,E=H1(_,[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels]);m.relayed?.unshift(E);const D=(_.amountIn||0)-(_.amountOut||0),I={localBalance:b.lightningBalance.localBalance+D,remoteBalance:b.lightningBalance.remoteBalance-D},Oe=b.channelsStatus;Oe.active&&(Oe.active.capacity=(b.channelsStatus?.active?.capacity||0)+D);const Ct={daily_fee:(b.fees.daily_fee||0)+D,daily_txs:(b.fees.daily_txs||0)+1,weekly_fee:(b.fees.weekly_fee||0)+D,weekly_txs:(b.fees.weekly_txs||0)+1,monthly_fee:(b.fees.monthly_fee||0)+D,monthly_txs:(b.fees.monthly_txs||0)+1},Bt=b.activeChannels;let yn=!1,Yn=!1;for(const jn of Bt){if(jn.channelId===_.fromChannelId){yn=!0;const Fi=(jn.toLocal||0)+(jn.toRemote||0);jn.toLocal=(jn.toLocal||0)+E.amountIn,jn.toRemote=(jn.toRemote||0)-E.amountIn,jn.balancedness=0===Fi?1:+(1-Math.abs((jn.toLocal-jn.toRemote)/Fi)).toFixed(3)}if(jn.channelId===_.toChannelId){Yn=!0;const Fi=(jn.toLocal||0)+(jn.toRemote||0);jn.toLocal=(jn.toLocal||0)-E.amountOut,jn.toRemote=(jn.toRemote||0)+E.amountOut,jn.balancedness=0===Fi?1:+(1-Math.abs((jn.toLocal-jn.toRemote)/Fi)).toFixed(3)}if(Yn&&yn)break}return{...b,payments:m,lightningBalance:I,channelStatus:Oe,fees:Ct,activeChannels:Bt}}),(0,mi.on)(Ds.NS,(b,{payload:_})=>{const m=[];return _t.X8.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),H1=(b,_)=>{if("payment-relayed"===b.type)if(_&&_.length>0)for(let m=0;m<_.length;m++){if(_[m].channelId?.toString()===b.fromChannelId&&(b.fromChannelAlias=_[m].alias?_[m].alias:b.fromChannelId,b.fromShortChannelId=_[m].shortChannelId?_[m].shortChannelId:"",b.toChannelAlias)||_[m].channelId?.toString()===b.toChannelId&&(b.toChannelAlias=_[m].alias?_[m].alias:b.toChannelId,b.toShortChannelId=_[m].shortChannelId?_[m].shortChannelId:"",b.fromChannelAlias))return b;m===_.length-1&&(b.fromChannelAlias||(b.fromChannelAlias=b.fromChannelId?.substring(0,17)+"...",b.fromShortChannelId=""),b.toChannelAlias||(b.toChannelAlias=b.toChannelId?.substring(0,17)+"...",b.toShortChannelId=""))}else b.fromChannelAlias=b.fromChannelId?.substring(0,17)+"...",b.fromShortChannelId="",b.toChannelAlias=b.toChannelId?.substring(0,17)+"...",b.toShortChannelId="";else if(b.type="trampoline-payment-relayed"){if(_&&_.length>0)for(let D=0;D<_.length;D++)b.incoming?.forEach(I=>{_[D].channelId?.toString()===I.channelId&&(I.channelAlias=_[D].alias?_[D].alias:I.channelId,I.shortChannelId=_[D].shortChannelId?_[D].shortChannelId:"")}),b.outgoing?.forEach(I=>{_[D].channelId?.toString()===I.channelId&&(I.channelAlias=_[D].alias?_[D].alias:I.channelId,I.shortChannelId=_[D].shortChannelId?_[D].shortChannelId:"")}),D===_.length-1&&(b.incoming&&b.incoming.length&&b.incoming.length>0&&!b.incoming[0].channelAlias&&b.incoming?.forEach(I=>{I.channelAlias=I.channelId?.substring(0,17)+"...",I.shortChannelId=""}),b.outgoing&&b.outgoing.length&&b.outgoing.length>0&&!b.outgoing[0].channelAlias&&b.outgoing?.forEach(I=>{I.channelAlias=I.channelId?.substring(0,17)+"...",I.shortChannelId=""}));else b.incoming?.forEach(D=>{D.channelAlias=D.channelId?.substring(0,17)+"...",D.shortChannelId=""}),b.outgoing?.forEach(D=>{D.channelAlias=D.channelId?.substring(0,17)+"...",D.shortChannelId=""});const m=b.incoming?.reduce((D,I)=>D+I.amount,0)||0;b.amountIn=Math.round(m/1e3),b.fromChannelId=b.incoming&&b.incoming.length?b.incoming[0].channelId:"",b.fromChannelAlias=b.incoming&&b.incoming.length?b.incoming[0].channelAlias:"",b.fromShortChannelId=b.incoming&&b.incoming.length?b.incoming[0].shortChannelId:"";const E=b.outgoing?.reduce((D,I)=>D+I.amount,0)||0;b.amountOut=Math.round(E/1e3),b.toChannelId=b.outgoing&&b.outgoing.length?b.outgoing[0].channelId:"",b.toChannelAlias=b.outgoing&&b.outgoing.length?b.outgoing[0].channelAlias:"",b.toShortChannelId=b.outgoing&&b.outgoing.length?b.outgoing[0].shortChannelId:""}return b};let X3=!1;(0,O.naY)()&&(X3=!0);let Uf=(()=>{var b;class _{static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275mod=e.$C({type:_,bootstrap:[Wu]}),this.\u0275inj=v.G2t({providers:[(0,nr.$R)((0,nr.ZZ)(),(0,nr.Sx)()),nc({idle:_t.bz-10,timeout:10,ping:12e3}),{provide:nr.a7,useClass:Xu,multi:!0},ji.Q,o1.u,Cm.I,E1.Q,Qo.h,rc],imports:[Mo,Bu.G,Pd,ds.RH,Dt.fM,mi.md.forRoot({root:Vf,lnd:$u,cln:Zu,ecl:u1},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Uo.Vm.forRoot([Ko.H,Ku.L,j3.i,xm.B]),X3?Ls.instrument({connectInZone:!0}):[]]}))}return b(),_})();De().bootstrapModule(Uf).catch(b=>console.error(b))},4740(Zt){!function(pe){"use strict";var l={bytesToHex:function(v){return function i(v){return v.map(function(T){return function d(v,T){return v.length>T?v:Array(T-v.length+1).join("0")+v}(T.toString(16),2)}).join("")}(v)},hexToBytes:function(v){if(v.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===v.indexOf("0x")&&(v=v.slice(2)),v.match(/../g).map(function(T){return parseInt(T,16)})}};Zt.exports?Zt.exports=l:pe.convertHex=l}(this)},820(Zt){!function(pe){"use strict";var l={bytesToString:function(i){return i.map(function(d){return String.fromCharCode(d)}).join("")},stringToBytes:function(i){return i.split("").map(function(d){return d.charCodeAt(0)})}};l.UTF8={bytesToString:function(i){return decodeURIComponent(escape(l.bytesToString(i)))},stringToBytes:function(i){return l.stringToBytes(unescape(encodeURIComponent(i)))}},Zt.exports?Zt.exports=l:pe.convertString=l}(this)},243(Zt){"use strict";var pe={single_source_shortest_paths:function(l,i,d){var v={},T={};T[i]=0;var e,O,f,u,L,B,w=pe.PriorityQueue.make();for(w.push(i,0);!w.empty();)for(f in u=(e=w.pop()).cost,L=l[O=e.value]||{})L.hasOwnProperty(f)&&(B=u+L[f],(typeof T[f]>"u"||T[f]>B)&&(T[f]=B,w.push(f,B),v[f]=O));if(typeof d<"u"&&typeof T[d]>"u"){var le=["Could not find a path from ",i," to ",d,"."].join("");throw new Error(le)}return v},extract_shortest_path_from_predecessor_list:function(l,i){for(var d=[],v=i;v;)d.push(v),v=l[v];return d.reverse(),d},find_path:function(l,i,d){var v=pe.single_source_shortest_paths(l,i,d);return pe.extract_shortest_path_from_predecessor_list(v,d)},PriorityQueue:{make:function(l){var v,i=pe.PriorityQueue,d={};for(v in l=l||{},i)i.hasOwnProperty(v)&&(d[v]=i[v]);return d.queue=[],d.sorter=l.sorter||i.default_sorter,d},default_sorter:function(l,i){return l.cost-i.cost},push:function(l,i){this.queue.push({value:l,cost:i}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Zt.exports=pe},8314(Zt,pe,l){const i=l(2836),d=l(9460),v=l(7030),T=l(6511);function w(e,O,f,u,L){const C=[].slice.call(arguments,1),B=C.length,A="function"==typeof C[B-1];if(!A&&!i())throw new Error("Callback required as last argument");if(!A){if(B<1)throw new Error("Too few arguments provided");return 1===B?(f=O,O=u=void 0):2===B&&!O.getContext&&(u=f,f=O,O=void 0),new Promise(function(Pe,le){try{const Ce=d.create(f,u);Pe(e(Ce,O,u))}catch(Ce){le(Ce)}})}if(B<2)throw new Error("Too few arguments provided");2===B?(L=f,f=O,O=u=void 0):3===B&&(O.getContext&&typeof L>"u"?(L=u,u=void 0):(L=u,u=f,f=O,O=void 0));try{const Pe=d.create(f,u);L(null,e(Pe,O,u))}catch(Pe){L(Pe)}}pe.create=d.create,pe.toCanvas=w.bind(null,v.render),pe.toDataURL=w.bind(null,v.renderToDataURL),pe.toString=w.bind(null,function(e,O,f){return T.render(e,f)})},2836(Zt){Zt.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214(Zt,pe,l){const i=l(9089).getSymbolSize;pe.getRowColCoords=function(v){if(1===v)return[];const T=Math.floor(v/7)+2,w=i(v),e=145===w?26:2*Math.ceil((w-13)/(2*T-2)),O=[w-7];for(let f=1;f>>7-l%8&1)},put:function(l,i){for(let d=0;d>>i-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(l){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),l&&(this.buffer[i]|=128>>>this.length%8),this.length++}},Zt.exports=pe},5941(Zt){function pe(l){if(!l||l<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=l,this.data=new Uint8Array(l*l),this.reservedBit=new Uint8Array(l*l)}pe.prototype.set=function(l,i,d,v){const T=l*this.size+i;this.data[T]=d,v&&(this.reservedBit[T]=!0)},pe.prototype.get=function(l,i){return this.data[l*this.size+i]},pe.prototype.xor=function(l,i,d){this.data[l*this.size+i]^=d},pe.prototype.isReserved=function(l,i){return this.reservedBit[l*this.size+i]},Zt.exports=pe},4969(Zt,pe,l){const i=l(1677);function d(v){this.mode=i.BYTE,this.data="string"==typeof v?(new TextEncoder).encode(v):new Uint8Array(v)}d.getBitsLength=function(T){return 8*T},d.prototype.getLength=function(){return this.data.length},d.prototype.getBitsLength=function(){return d.getBitsLength(this.data.length)},d.prototype.write=function(v){for(let T=0,w=this.data.length;T=0&&d.bit<4},pe.from=function(d,v){if(pe.isValid(d))return d;try{return function l(i){if("string"!=typeof i)throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return pe.L;case"m":case"medium":return pe.M;case"q":case"quartile":return pe.Q;case"h":case"high":return pe.H;default:throw new Error("Unknown EC Level: "+i)}}(d)}catch{return v}}},6269(Zt,pe,l){const i=l(9089).getSymbolSize;pe.getPositions=function(T){const w=i(T);return[[0,0],[w-7,0],[0,w-7]]}},6254(Zt,pe,l){const i=l(9089),T=i.getBCHDigit(1335);pe.getEncodedBits=function(e,O){const f=e.bit<<3|O;let u=f<<10;for(;i.getBCHDigit(u)-T>=0;)u^=1335<=33088&&e<=40956)e-=33088;else{if(!(e>=57408&&e<=60351))throw new Error("Invalid SJIS character: "+this.data[w]+"\nMake sure your charset is UTF-8");e-=49472}e=192*(e>>>8&255)+(255&e),T.put(e,13)}},Zt.exports=v},3361(Zt,pe){pe.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function i(d,v,T){switch(d){case pe.Patterns.PATTERN000:return(v+T)%2==0;case pe.Patterns.PATTERN001:return v%2==0;case pe.Patterns.PATTERN010:return T%3==0;case pe.Patterns.PATTERN011:return(v+T)%3==0;case pe.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(T/3))%2==0;case pe.Patterns.PATTERN101:return v*T%2+v*T%3==0;case pe.Patterns.PATTERN110:return(v*T%2+v*T%3)%2==0;case pe.Patterns.PATTERN111:return(v*T%3+(v+T)%2)%2==0;default:throw new Error("bad maskPattern:"+d)}}pe.isValid=function(v){return null!=v&&""!==v&&!isNaN(v)&&v>=0&&v<=7},pe.from=function(v){return pe.isValid(v)?parseInt(v,10):void 0},pe.getPenaltyN1=function(v){const T=v.size;let w=0,e=0,O=0,f=null,u=null;for(let L=0;L=5&&(w+=e-5+3),f=B,e=1),B=v.get(C,L),B===u?O++:(O>=5&&(w+=O-5+3),u=B,O=1)}e>=5&&(w+=e-5+3),O>=5&&(w+=O-5+3)}return w},pe.getPenaltyN2=function(v){const T=v.size;let w=0;for(let e=0;e=10&&(1488===e||93===e)&&w++,O=O<<1&2047|v.get(u,f),u>=10&&(1488===O||93===O)&&w++}return 40*w},pe.getPenaltyN4=function(v){let T=0;const w=v.data.length;for(let O=0;O=1&&e<10?w.ccBits[0]:e<27?w.ccBits[1]:w.ccBits[2]},pe.getBestModeForData=function(w){return d.testNumeric(w)?pe.NUMERIC:d.testAlphanumeric(w)?pe.ALPHANUMERIC:d.testKanji(w)?pe.KANJI:pe.BYTE},pe.toString=function(w){if(w&&w.id)return w.id;throw new Error("Invalid mode")},pe.isValid=function(w){return w&&w.bit&&w.ccBits},pe.from=function(w,e){if(pe.isValid(w))return w;try{return function v(T){if("string"!=typeof T)throw new Error("Param is not a string");switch(T.toLowerCase()){case"numeric":return pe.NUMERIC;case"alphanumeric":return pe.ALPHANUMERIC;case"kanji":return pe.KANJI;case"byte":return pe.BYTE;default:throw new Error("Unknown mode: "+T)}}(w)}catch{return e}}},6628(Zt,pe,l){const i=l(1677);function d(v){this.mode=i.NUMERIC,this.data=v.toString()}d.getBitsLength=function(T){return 10*Math.floor(T/3)+(T%3?T%3*3+1:0)},d.prototype.getLength=function(){return this.data.length},d.prototype.getBitsLength=function(){return d.getBitsLength(this.data.length)},d.prototype.write=function(T){let w,e,O;for(w=0;w+3<=this.data.length;w+=3)e=this.data.substr(w,3),O=parseInt(e,10),T.put(O,10);const f=this.data.length-w;f>0&&(e=this.data.substr(w),O=parseInt(e,10),T.put(O,3*f+1))},Zt.exports=d},1744(Zt,pe,l){const i=l(6686);pe.mul=function(v,T){const w=new Uint8Array(v.length+T.length-1);for(let e=0;e=0;){const e=w[0];for(let f=0;f>J&1),Ee.set(J<6?J:J<8?J+1:be-15+J,8,De,!0),Ee.set(8,J<8?be-J-1:J<9?15-J-1+1:15-J-1,De,!0);Ee.set(be-8,8,1,!0)}function xe(Ee,V,ce,be){let ne;if(Array.isArray(Ee))ne=A.fromArray(Ee);else{if("string"!=typeof Ee)throw new Error("Invalid data");{let _e=V;if(!_e){const he=A.rawSplit(Ee);_e=L.getBestVersionForData(he,ce)}ne=A.fromString(Ee,_e||40)}}const J=L.getBestVersionForData(ne,ce);if(!J)throw new Error("The amount of data is too big to be stored in a QR Code");if(V){if(V=0&&Re<=6&&(0===Xe||6===Xe)||Xe>=0&&Xe<=6&&(0===Re||6===Re)||Re>=2&&Re<=4&&Xe>=2&&Xe<=4,!0)}}(Xe,V),function le(Ee){const V=Ee.size;for(let ce=8;ce=7&&function Ae(Ee,V){const ce=Ee.size,be=L.getEncodedBits(V);let ne,J,De;for(let Re=0;Re<18;Re++)ne=Math.floor(Re/3),J=Re%3+ce-8-3,De=1==(be>>Re&1),Ee.set(ne,J,De,!0),Ee.set(J,ne,De,!0)}(Xe,V),function W(Ee,V){const ce=Ee.size;let be=-1,ne=ce-1,J=7,De=0;for(let Re=ce-1;Re>0;Re-=2)for(6===Re&&Re--;;){for(let Xe=0;Xe<2;Xe++)if(!Ee.isReserved(ne,Re-Xe)){let _e=!1;De>>J&1)),Ee.set(ne,Re-Xe,_e),J--,-1===J&&(De++,J=7)}if(ne+=be,ne<0||ce<=ne){ne-=be,be=-be;break}}}(Xe,De),isNaN(be)&&(be=O.getBestMask(Xe,j.bind(null,Xe,ce))),O.applyMask(be,Xe),j(Xe,ce,be),{modules:Xe,version:V,errorCorrectionLevel:ce,maskPattern:be,segments:ne}}pe.create=function(V,ce){if(typeof V>"u"||""===V)throw new Error("No input text");let ne,J,be=d.M;return typeof ce<"u"&&(be=d.from(ce.errorCorrectionLevel,d.M),ne=L.from(ce.version),J=O.from(ce.maskPattern),ce.toSJISFunc&&i.setToSJISFunction(ce.toSJISFunc)),xe(V,ne,be,J)}},6289(Zt,pe,l){const i=l(1744);function d(v){this.genPoly=void 0,this.degree=v,this.degree&&this.initialize(this.degree)}d.prototype.initialize=function(T){this.degree=T,this.genPoly=i.generateECPolynomial(this.degree)},d.prototype.encode=function(T){if(!this.genPoly)throw new Error("Encoder not initialized");const w=new Uint8Array(T.length+this.degree);w.set(T);const e=i.mod(w,this.genPoly),O=this.degree-e.length;if(O>0){const f=new Uint8Array(this.degree);return f.set(e,O),f}return e},Zt.exports=d},9359(Zt,pe){const l="[0-9]+";let d="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";d=d.replace(/u/g,"\\u");const v="(?:(?![A-Z0-9 $%*+\\-./:]|"+d+")(?:.|[\r\n]))+";pe.KANJI=new RegExp(d,"g"),pe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),pe.BYTE=new RegExp(v,"g"),pe.NUMERIC=new RegExp(l,"g"),pe.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const T=new RegExp("^"+d+"$"),w=new RegExp("^"+l+"$"),e=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");pe.testKanji=function(f){return T.test(f)},pe.testNumeric=function(f){return w.test(f)},pe.testAlphanumeric=function(f){return e.test(f)}},2868(Zt,pe,l){const i=l(1677),d=l(6628),v=l(1018),T=l(4969),w=l(3264),e=l(9359),O=l(9089),f=l(243);function u(Ae){return unescape(encodeURIComponent(Ae)).length}function L(Ae,j,W){const G=[];let re;for(;null!==(re=Ae.exec(W));)G.push({data:re[0],index:re.index,mode:j,length:re[0].length});return G}function C(Ae){const j=L(e.NUMERIC,i.NUMERIC,Ae),W=L(e.ALPHANUMERIC,i.ALPHANUMERIC,Ae);let G,re;return O.isKanjiModeEnabled()?(G=L(e.BYTE,i.BYTE,Ae),re=L(e.KANJI,i.KANJI,Ae)):(G=L(e.BYTE_KANJI,i.BYTE,Ae),re=[]),j.concat(W,G,re).sort(function(Ee,V){return Ee.index-V.index}).map(function(Ee){return{data:Ee.data,mode:Ee.mode,length:Ee.length}})}function B(Ae,j){switch(j){case i.NUMERIC:return d.getBitsLength(Ae);case i.ALPHANUMERIC:return v.getBitsLength(Ae);case i.KANJI:return w.getBitsLength(Ae);case i.BYTE:return T.getBitsLength(Ae)}}function Ce(Ae,j){let W;const G=i.getBestModeForData(Ae);if(W=i.from(j,G),W!==i.BYTE&&W.bit=0?j[j.length-1]:null;return G&&G.mode===W.mode?(j[j.length-1].data+=W.data,j):(j.push(W),j)},[])}(V))},pe.rawSplit=function(j){return pe.fromArray(C(j,O.isKanjiModeEnabled()))}},9089(Zt,pe){let l;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];pe.getSymbolSize=function(v){if(!v)throw new Error('"version" cannot be null or undefined');if(v<1||v>40)throw new Error('"version" should be in range from 1 to 40');return 4*v+17},pe.getSymbolTotalCodewords=function(v){return i[v]},pe.getBCHDigit=function(d){let v=0;for(;0!==d;)v++,d>>>=1;return v},pe.setToSJISFunction=function(v){if("function"!=typeof v)throw new Error('"toSJISFunc" is not a valid function.');l=v},pe.isKanjiModeEnabled=function(){return typeof l<"u"},pe.toSJIS=function(v){return l(v)}},377(Zt,pe){pe.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}},1252(Zt,pe,l){const i=l(9089),d=l(3677),v=l(7424),T=l(1677),w=l(377),O=i.getBCHDigit(7973);function u(B,A){return T.getCharCountIndicator(B,A)+4}function L(B,A){let Pe=0;return B.forEach(function(le){const Ce=u(le.mode,A);Pe+=Ce+le.getBitsLength()}),Pe}pe.from=function(A,Pe){return w.isValid(A)?parseInt(A,10):Pe},pe.getCapacity=function(A,Pe,le){if(!w.isValid(A))throw new Error("Invalid QR Code version");typeof le>"u"&&(le=T.BYTE);const j=8*(i.getSymbolTotalCodewords(A)-d.getTotalCodewordsCount(A,Pe));if(le===T.MIXED)return j;const W=j-u(le,A);switch(le){case T.NUMERIC:return Math.floor(W/10*3);case T.ALPHANUMERIC:return Math.floor(W/11*2);case T.KANJI:return Math.floor(W/13);default:return Math.floor(W/8)}},pe.getBestVersionForData=function(A,Pe){let le;const Ce=v.from(Pe,v.M);if(Array.isArray(A)){if(A.length>1)return function C(B,A){for(let Pe=1;Pe<=40;Pe++)if(L(B,Pe)<=pe.getCapacity(Pe,A,T.MIXED))return Pe}(A,Ce);if(0===A.length)return 1;le=A[0]}else le=A;return function f(B,A,Pe){for(let le=1;le<=40;le++)if(A<=pe.getCapacity(le,Pe,B))return le}(le.mode,le.getLength(),Ce)},pe.getEncodedBits=function(A){if(!w.isValid(A)||A<7)throw new Error("Invalid QR Code version");let Pe=A<<12;for(;i.getBCHDigit(Pe)-O>=0;)Pe^=7973<"u"&&(!e||!e.getContext)&&(f=e,e=void 0),e||(u=function v(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),f=i.getOptions(f);const L=i.getImageWidth(w.modules.size,f),C=u.getContext("2d"),B=C.createImageData(L,L);return i.qrToImageData(B.data,w,f),function d(T,w,e){T.clearRect(0,0,w.width,w.height),w.style||(w.style={}),w.height=e,w.width=e,w.style.height=e+"px",w.style.width=e+"px"}(C,u,L),C.putImageData(B,0,0),u},pe.renderToDataURL=function(w,e,O){let f=O;return typeof f>"u"&&(!e||!e.getContext)&&(f=e,e=void 0),f||(f={}),pe.render(w,e,f).toDataURL(f.type||"image/png",(f.rendererOpts||{}).quality)}},6511(Zt,pe,l){const i=l(7077);function d(w,e){const O=w.a/255,f=e+'="'+w.hex+'"';return O<1?f+" "+e+'-opacity="'+O.toFixed(2).slice(1)+'"':f}function v(w,e,O){let f=w+e;return typeof O<"u"&&(f+=" "+O),f}pe.render=function(e,O,f){const u=i.getOptions(O),L=e.modules.size,C=e.modules.data,B=L+2*u.margin,A=u.color.light.a?"':"",Pe="0&&A>0&&w[B-1]||(f+=L?v("M",A+O,.5+Pe+O):v("m",u,0),u=0,L=!1),A+1',Ae=''+A+Pe+"\n";return"function"==typeof f&&f(null,Ae),Ae}},7077(Zt,pe){function l(i){if("number"==typeof i&&(i=i.toString()),"string"!=typeof i)throw new Error("Color should be defined as hex string");let d=i.slice().replace("#","").split("");if(d.length<3||5===d.length||d.length>8)throw new Error("Invalid hex color: "+i);(3===d.length||4===d.length)&&(d=Array.prototype.concat.apply([],d.map(function(T){return[T,T]}))),6===d.length&&d.push("F","F");const v=parseInt(d.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:255&v,hex:"#"+d.slice(0,6).join("")}}pe.getOptions=function(d){d||(d={}),d.color||(d.color={});const T=d.width&&d.width>=21?d.width:void 0;return{width:T,scale:T?4:d.scale||4,margin:typeof d.margin>"u"||null===d.margin||d.margin<0?4:d.margin,color:{dark:l(d.color.dark||"#000000ff"),light:l(d.color.light||"#ffffffff")},type:d.type,rendererOpts:d.rendererOpts||{}}},pe.getScale=function(d,v){return v.width&&v.width>=d+2*v.margin?v.width/(d+2*v.margin):v.scale},pe.getImageWidth=function(d,v){const T=pe.getScale(d,v);return Math.floor((d+2*v.margin)*T)},pe.qrToImageData=function(d,v,T){const w=v.modules.size,e=v.modules.data,O=pe.getScale(w,T),f=Math.floor((w+2*T.margin)*O),u=T.margin*O,L=[T.color.light,T.color.dark];for(let C=0;C=u&&B>=u&&Cd});var i=l(1413);class d extends i.B{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const w=super._subscribe(T);return!w.closed&&T.next(this._value),w}getValue(){const{hasError:T,thrownError:w,_value:e}=this;if(T)throw w;return this._throwIfClosed(),e}next(T){super.next(this._value=T)}}},1985(Zt,pe,l){"use strict";l.d(pe,{c:()=>f});var i=l(7707),d=l(8359),v=l(3494),T=l(1203),w=l(1026),e=l(8071),O=l(9786);let f=(()=>{class B{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const le=new B;return le.source=this,le.operator=Pe,le}subscribe(Pe,le,Ce){const Ae=function C(B){return B&&B instanceof i.vU||function L(B){return B&&(0,e.T)(B.next)&&(0,e.T)(B.error)&&(0,e.T)(B.complete)}(B)&&(0,d.Uv)(B)}(Pe)?Pe:new i.Ms(Pe,le,Ce);return(0,O.Y)(()=>{const{operator:j,source:W}=this;Ae.add(j?j.call(Ae,W):W?this._subscribe(Ae):this._trySubscribe(Ae))}),Ae}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(le){Pe.error(le)}}forEach(Pe,le){return new(le=u(le))((Ce,Ae)=>{const j=new i.Ms({next:W=>{try{Pe(W)}catch(G){Ae(G),j.unsubscribe()}},error:Ae,complete:Ce});this.subscribe(j)})}_subscribe(Pe){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(Pe)}[v.s](){return this}pipe(...Pe){return(0,T.m)(Pe)(this)}toPromise(Pe){return new(Pe=u(Pe))((le,Ce)=>{let Ae;this.subscribe(j=>Ae=j,j=>Ce(j),()=>le(Ae))})}}return B.create=A=>new B(A),B})();function u(B){var A;return null!==(A=B??w.$.Promise)&&void 0!==A?A:Promise}},2771(Zt,pe,l){"use strict";l.d(pe,{m:()=>v});var i=l(1413),d=l(6129);class v extends i.B{constructor(w=1/0,e=1/0,O=d.U){super(),this._bufferSize=w,this._windowTime=e,this._timestampProvider=O,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,w),this._windowTime=Math.max(1,e)}next(w){const{isStopped:e,_buffer:O,_infiniteTimeWindow:f,_timestampProvider:u,_windowTime:L}=this;e||(O.push(w),!f&&O.push(u.now()+L)),this._trimBuffer(),super.next(w)}_subscribe(w){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(w),{_infiniteTimeWindow:O,_buffer:f}=this,u=f.slice();for(let L=0;Lf,B:()=>O});var i=l(1985),d=l(8359);const T=(0,l(1853).L)(u=>function(){u(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var w=l(7908),e=l(9786);let O=(()=>{class u extends i.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(C){const B=new f(this,this);return B.operator=C,B}_throwIfClosed(){if(this.closed)throw new T}next(C){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const B of this.currentObservers)B.next(C)}})}error(C){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=C;const{observers:B}=this;for(;B.length;)B.shift().error(C)}})}complete(){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:C}=this;for(;C.length;)C.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0}_trySubscribe(C){return this._throwIfClosed(),super._trySubscribe(C)}_subscribe(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)}_innerSubscribe(C){const{hasError:B,isStopped:A,observers:Pe}=this;return B||A?d.Kn:(this.currentObservers=null,Pe.push(C),new d.yU(()=>{this.currentObservers=null,(0,w.o)(Pe,C)}))}_checkFinalizedStatuses(C){const{hasError:B,thrownError:A,isStopped:Pe}=this;B?C.error(A):Pe&&C.complete()}asObservable(){const C=new i.c;return C.source=this,C}}return u.create=(L,C)=>new f(L,C),u})();class f extends O{constructor(L,C){super(),this.destination=L,this.source=C}next(L){var C,B;null===(B=null===(C=this.destination)||void 0===C?void 0:C.next)||void 0===B||B.call(C,L)}error(L){var C,B;null===(B=null===(C=this.destination)||void 0===C?void 0:C.error)||void 0===B||B.call(C,L)}complete(){var L,C;null===(C=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===C||C.call(L)}_subscribe(L){var C,B;return null!==(B=null===(C=this.source)||void 0===C?void 0:C.subscribe(L))&&void 0!==B?B:d.Kn}}},7707(Zt,pe,l){"use strict";l.d(pe,{Ms:()=>Ce,vU:()=>B});var i=l(8071),d=l(8359),v=l(1026),T=l(5334),w=l(5343);const e=u("C",void 0,void 0);function u(re,xe,Ee){return{kind:re,value:xe,error:Ee}}var L=l(9270),C=l(9786);class B extends d.yU{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,d.Uv)(xe)&&xe.add(this)):this.destination=G}static create(xe,Ee,V){return new Ce(xe,Ee,V)}next(xe){this.isStopped?W(function f(re){return u("N",re,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?W(function O(re){return u("E",void 0,re)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?W(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function Pe(re,xe){return A.call(re,xe)}class le{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:Ee}=this;if(Ee.next)try{Ee.next(xe)}catch(V){Ae(V)}}error(xe){const{partialObserver:Ee}=this;if(Ee.error)try{Ee.error(xe)}catch(V){Ae(V)}else Ae(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(Ee){Ae(Ee)}}}class Ce extends B{constructor(xe,Ee,V){let ce;if(super(),(0,i.T)(xe)||!xe)ce={next:xe??void 0,error:Ee??void 0,complete:V??void 0};else{let be;this&&v.$.useDeprecatedNextContext?(be=Object.create(xe),be.unsubscribe=()=>this.unsubscribe(),ce={next:xe.next&&Pe(xe.next,be),error:xe.error&&Pe(xe.error,be),complete:xe.complete&&Pe(xe.complete,be)}):ce=xe}this.destination=new le(ce)}}function Ae(re){v.$.useDeprecatedSynchronousErrorHandling?(0,C.l)(re):(0,T.m)(re)}function W(re,xe){const{onStoppedNotification:Ee}=v.$;Ee&&L.f.setTimeout(()=>Ee(re,xe))}const G={closed:!0,next:w.l,error:function j(re){throw re},complete:w.l}},8359(Zt,pe,l){"use strict";l.d(pe,{Kn:()=>e,yU:()=>w,Uv:()=>O});var i=l(8071);const v=(0,l(1853).L)(u=>function(C){u(this),this.message=C?`${C.length} errors occurred during unsubscription:\n${C.map((B,A)=>`${A+1}) ${B.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=C});var T=l(7908);class w{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:C}=this;if(C)if(this._parentage=null,Array.isArray(C))for(const Pe of C)Pe.remove(this);else C.remove(this);const{initialTeardown:B}=this;if((0,i.T)(B))try{B()}catch(Pe){L=Pe instanceof v?Pe.errors:[Pe]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const Pe of A)try{f(Pe)}catch(le){L=L??[],le instanceof v?L=[...L,...le.errors]:L.push(le)}}if(L)throw new v(L)}}add(L){var C;if(L&&L!==this)if(this.closed)f(L);else{if(L instanceof w){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(C=this._finalizers)&&void 0!==C?C:[]).push(L)}}_hasParent(L){const{_parentage:C}=this;return C===L||Array.isArray(C)&&C.includes(L)}_addParent(L){const{_parentage:C}=this;this._parentage=Array.isArray(C)?(C.push(L),C):C?[C,L]:L}_removeParent(L){const{_parentage:C}=this;C===L?this._parentage=null:Array.isArray(C)&&(0,T.o)(C,L)}remove(L){const{_finalizers:C}=this;C&&(0,T.o)(C,L),L instanceof w&&L._removeParent(this)}}w.EMPTY=(()=>{const u=new w;return u.closed=!0,u})();const e=w.EMPTY;function O(u){return u instanceof w||u&&"closed"in u&&(0,i.T)(u.remove)&&(0,i.T)(u.add)&&(0,i.T)(u.unsubscribe)}function f(u){(0,i.T)(u)?u():u.unsubscribe()}},1026(Zt,pe,l){"use strict";l.d(pe,{$:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17(Zt,pe,l){"use strict";l.d(pe,{G:()=>e});var i=l(1985),d=l(8359),v=l(9898),T=l(4360),w=l(9974);class e extends i.c{constructor(f,u){super(),this.source=f,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,w.S)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new d.yU;const u=this.getSubject();f.add(this.source.subscribe((0,T._)(u,void 0,()=>{this._teardown(),u.complete()},L=>{this._teardown(),u.error(L)},()=>this._teardown()))),f.closed&&(this._connection=null,f=d.yU.EMPTY)}return f}refCount(){return(0,v.B)()(this)}}},4572(Zt,pe,l){"use strict";l.d(pe,{z:()=>L});var i=l(1985),d=l(3073),v=l(2806),T=l(3669),w=l(6450),e=l(9326),O=l(8496),f=l(4360),u=l(5225);function L(...A){const Pe=(0,e.lI)(A),le=(0,e.ms)(A),{args:Ce,keys:Ae}=(0,d.D)(A);if(0===Ce.length)return(0,v.H)([],Pe);const j=new i.c(function C(A,Pe,le=T.D){return Ce=>{B(Pe,()=>{const{length:Ae}=A,j=new Array(Ae);let W=Ae,G=Ae;for(let re=0;re{const xe=(0,v.H)(A[re],Pe);let Ee=!1;xe.subscribe((0,f._)(Ce,V=>{j[re]=V,Ee||(Ee=!0,G--),G||Ce.next(le(j.slice()))},()=>{--W||Ce.complete()}))},Ce)},Ce)}}(Ce,Pe,Ae?W=>(0,O.e)(Ae,W):T.D));return le?j.pipe((0,w.I)(le)):j}function B(A,Pe,le){A?(0,u.N)(le,A,Pe):Pe()}},8793(Zt,pe,l){"use strict";l.d(pe,{x:()=>w});var i=l(6365),v=l(9326),T=l(2806);function w(...e){return function d(){return(0,i.U)(1)}()((0,T.H)(e,(0,v.lI)(e)))}},9030(Zt,pe,l){"use strict";l.d(pe,{v:()=>v});var i=l(1985),d=l(8750);function v(T){return new i.c(w=>{(0,d.Tg)(T()).subscribe(w)})}},983(Zt,pe,l){"use strict";l.d(pe,{w:()=>v});const v=new(l(1985).c)(e=>e.complete())},7468(Zt,pe,l){"use strict";l.d(pe,{p:()=>f});var i=l(1985),d=l(3073),v=l(8750),T=l(9326),w=l(4360),e=l(6450),O=l(8496);function f(...u){const L=(0,T.ms)(u),{args:C,keys:B}=(0,d.D)(u),A=new i.c(Pe=>{const{length:le}=C;if(!le)return void Pe.complete();const Ce=new Array(le);let Ae=le,j=le;for(let W=0;W{G||(G=!0,j--),Ce[W]=re},()=>Ae--,void 0,()=>{(!Ae||!G)&&(j||Pe.next(B?(0,O.e)(B,Ce):Ce),Pe.complete())}))}});return L?A.pipe((0,e.I)(L)):A}},2806(Zt,pe,l){"use strict";l.d(pe,{H:()=>Ee});var i=l(8750),d=l(941),v=l(9974);function T(V,ce=0){return(0,v.N)((be,ne)=>{ne.add(V.schedule(()=>be.subscribe(ne),ce))})}var O=l(1985),u=l(4761),L=l(8071),C=l(5225);function A(V,ce){if(!V)throw new Error("Iterable cannot be null");return new O.c(be=>{(0,C.N)(be,ce,()=>{const ne=V[Symbol.asyncIterator]();(0,C.N)(be,ce,()=>{ne.next().then(J=>{J.done?be.complete():be.next(J.value)})},0,!0)})})}var Pe=l(5055),le=l(9858),Ce=l(7441),Ae=l(5397),j=l(7953),W=l(591),G=l(5196);function Ee(V,ce){return ce?function xe(V,ce){if(null!=V){if((0,Pe.l)(V))return function w(V,ce){return(0,i.Tg)(V).pipe(T(ce),(0,d.Q)(ce))}(V,ce);if((0,Ce.X)(V))return function f(V,ce){return new O.c(be=>{let ne=0;return ce.schedule(function(){ne===V.length?be.complete():(be.next(V[ne++]),be.closed||this.schedule())})})}(V,ce);if((0,le.y)(V))return function e(V,ce){return(0,i.Tg)(V).pipe(T(ce),(0,d.Q)(ce))}(V,ce);if((0,j.T)(V))return A(V,ce);if((0,Ae.x)(V))return function B(V,ce){return new O.c(be=>{let ne;return(0,C.N)(be,ce,()=>{ne=V[u.l](),(0,C.N)(be,ce,()=>{let J,De;try{({value:J,done:De}=ne.next())}catch(Re){return void be.error(Re)}De?be.complete():be.next(J)},0,!0)}),()=>(0,L.T)(ne?.return)&&ne.return()})}(V,ce);if((0,G.U)(V))return function re(V,ce){return A((0,G.C)(V),ce)}(V,ce)}throw(0,W.L)(V)}(V,ce):(0,i.Tg)(V)}},3726(Zt,pe,l){"use strict";l.d(pe,{R:()=>L});var i=l(8750),d=l(1985),v=l(1397),T=l(7441),w=l(8071),e=l(6450);const O=["addListener","removeListener"],f=["addEventListener","removeEventListener"],u=["on","off"];function L(le,Ce,Ae,j){if((0,w.T)(Ae)&&(j=Ae,Ae=void 0),j)return L(le,Ce,Ae).pipe((0,e.I)(j));const[W,G]=function Pe(le){return(0,w.T)(le.addEventListener)&&(0,w.T)(le.removeEventListener)}(le)?f.map(re=>xe=>le[re](Ce,xe,Ae)):function B(le){return(0,w.T)(le.addListener)&&(0,w.T)(le.removeListener)}(le)?O.map(C(le,Ce)):function A(le){return(0,w.T)(le.on)&&(0,w.T)(le.off)}(le)?u.map(C(le,Ce)):[];if(!W&&(0,T.X)(le))return(0,v.Z)(re=>L(re,Ce,Ae))((0,i.Tg)(le));if(!W)throw new TypeError("Invalid event target");return new d.c(re=>{const xe=(...Ee)=>re.next(1G(xe)})}function C(le,Ce){return Ae=>j=>le[Ae](Ce,j)}},8750(Zt,pe,l){"use strict";l.d(pe,{Tg:()=>A});var i=l(1635),d=l(7441),v=l(9858),T=l(1985),w=l(5055),e=l(7953),O=l(591),f=l(5397),u=l(5196),L=l(8071),C=l(5334),B=l(3494);function A(re){if(re instanceof T.c)return re;if(null!=re){if((0,w.l)(re))return function Pe(re){return new T.c(xe=>{const Ee=re[B.s]();if((0,L.T)(Ee.subscribe))return Ee.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(re);if((0,d.X)(re))return function le(re){return new T.c(xe=>{for(let Ee=0;Ee{re.then(Ee=>{xe.closed||(xe.next(Ee),xe.complete())},Ee=>xe.error(Ee)).then(null,C.m)})}(re);if((0,e.T)(re))return j(re);if((0,f.x)(re))return function Ae(re){return new T.c(xe=>{for(const Ee of re)if(xe.next(Ee),xe.closed)return;xe.complete()})}(re);if((0,u.U)(re))return function W(re){return j((0,u.C)(re))}(re)}throw(0,O.L)(re)}function j(re){return new T.c(xe=>{(function G(re,xe){var Ee,V,ce,be;return(0,i.sH)(this,void 0,void 0,function*(){try{for(Ee=(0,i.xN)(re);!(V=yield Ee.next()).done;)if(xe.next(V.value),xe.closed)return}catch(ne){ce={error:ne}}finally{try{V&&!V.done&&(be=Ee.return)&&(yield be.call(Ee))}finally{if(ce)throw ce.error}}xe.complete()})})(re,xe).catch(Ee=>xe.error(Ee))})}},7786(Zt,pe,l){"use strict";l.d(pe,{h:()=>e});var i=l(6365),d=l(8750),v=l(983),T=l(9326),w=l(2806);function e(...O){const f=(0,T.lI)(O),u=(0,T.R0)(O,1/0),L=O;return L.length?1===L.length?(0,d.Tg)(L[0]):(0,i.U)(u)((0,w.H)(L,f)):v.w}},7673(Zt,pe,l){"use strict";l.d(pe,{of:()=>v});var i=l(9326),d=l(2806);function v(...T){const w=(0,i.lI)(T);return(0,d.H)(T,w)}},8810(Zt,pe,l){"use strict";l.d(pe,{$:()=>v});var i=l(1985),d=l(8071);function v(T,w){const e=(0,d.T)(T)?T:()=>T,O=f=>f.error(e());return new i.c(w?f=>w.schedule(O,0,f):O)}},1807(Zt,pe,l){"use strict";l.d(pe,{O:()=>w});var i=l(1985),d=l(3236),v=l(9470),T=l(8211);function w(e=0,O,f=d.b){let u=-1;return null!=O&&((0,v.m)(O)?f=O:u=O),new i.c(L=>{let C=(0,T.v)(e)?+e-f.now():e;C<0&&(C=0);let B=0;return f.schedule(function(){L.closed||(L.next(B++),0<=u?this.schedule(void 0,u):L.complete())},C)})}},4360(Zt,pe,l){"use strict";l.d(pe,{H:()=>v,_:()=>d});var i=l(7707);function d(T,w,e,O,f){return new v(T,w,e,O,f)}class v extends i.vU{constructor(w,e,O,f,u,L){super(w),this.onFinalize=u,this.shouldUnsubscribe=L,this._next=e?function(C){try{e(C)}catch(B){w.error(B)}}:super._next,this._error=f?function(C){try{f(C)}catch(B){w.error(B)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(C){w.error(C)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var w;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(w=this.onFinalize)||void 0===w||w.call(this))}}}},3798(Zt,pe,l){"use strict";l.d(pe,{Z:()=>O});var i=l(3236),d=l(9974),v=l(8750),T=l(4360),e=l(1807);function O(f,u=i.E){return function w(f){return(0,d.N)((u,L)=>{let C=!1,B=null,A=null,Pe=!1;const le=()=>{if(A?.unsubscribe(),A=null,C){C=!1;const Ae=B;B=null,L.next(Ae)}Pe&&L.complete()},Ce=()=>{A=null,Pe&&L.complete()};u.subscribe((0,T._)(L,Ae=>{C=!0,B=Ae,A||(0,v.Tg)(f(Ae)).subscribe(A=(0,T._)(L,le,Ce))},()=>{Pe=!0,(!C||!A||A.closed)&&L.complete()}))})}(()=>(0,e.O)(f,u))}},9437(Zt,pe,l){"use strict";l.d(pe,{W:()=>T});var i=l(8750),d=l(4360),v=l(9974);function T(w){return(0,v.N)((e,O)=>{let L,f=null,u=!1;f=e.subscribe((0,d._)(O,void 0,void 0,C=>{L=(0,i.Tg)(w(C,T(w)(e))),f?(f.unsubscribe(),f=null,L.subscribe(O)):u=!0})),u&&(f.unsubscribe(),f=null,L.subscribe(O))})}},274(Zt,pe,l){"use strict";l.d(pe,{H:()=>v});var i=l(1397),d=l(8071);function v(T,w){return(0,d.T)(w)?(0,i.Z)(T,w,1):(0,i.Z)(T,1)}},152(Zt,pe,l){"use strict";l.d(pe,{B:()=>T});var i=l(3236),d=l(9974),v=l(4360);function T(w,e=i.E){return(0,d.N)((O,f)=>{let u=null,L=null,C=null;const B=()=>{if(u){u.unsubscribe(),u=null;const Pe=L;L=null,f.next(Pe)}};function A(){const Pe=C+w,le=e.now();if(le{L=Pe,C=e.now(),u||(u=e.schedule(A,w),f.add(u))},()=>{B(),f.complete()},void 0,()=>{L=u=null}))})}},9901(Zt,pe,l){"use strict";l.d(pe,{U:()=>v});var i=l(9974),d=l(4360);function v(T){return(0,i.N)((w,e)=>{let O=!1;w.subscribe((0,d._)(e,f=>{O=!0,e.next(f)},()=>{O||e.next(T),e.complete()}))})}},3294(Zt,pe,l){"use strict";l.d(pe,{F:()=>T});var i=l(3669),d=l(9974),v=l(4360);function T(e,O=i.D){return e=e??w,(0,d.N)((f,u)=>{let L,C=!0;f.subscribe((0,v._)(u,B=>{const A=O(B);(C||!e(L,A))&&(C=!1,L=A,u.next(B))}))})}function w(e,O){return e===O}},5964(Zt,pe,l){"use strict";l.d(pe,{p:()=>v});var i=l(9974),d=l(4360);function v(T,w){return(0,i.N)((e,O)=>{let f=0;e.subscribe((0,d._)(O,u=>T.call(w,u,f++)&&O.next(u)))})}},980(Zt,pe,l){"use strict";l.d(pe,{j:()=>d});var i=l(9974);function d(v){return(0,i.N)((T,w)=>{try{T.subscribe(w)}finally{w.add(v)}})}},1594(Zt,pe,l){"use strict";l.d(pe,{$:()=>O});var i=l(9350),d=l(5964),v=l(6697),T=l(9901),w=l(3774),e=l(3669);function O(f,u){const L=arguments.length>=2;return C=>C.pipe(f?(0,d.p)((B,A)=>f(B,A,C)):e.D,(0,v.s)(1),L?(0,T.U)(u):(0,w.v)(()=>new i.G))}},3557(Zt,pe,l){"use strict";l.d(pe,{w:()=>T});var i=l(9974),d=l(4360),v=l(5343);function T(){return(0,i.N)((w,e)=>{w.subscribe((0,d._)(e,v.l))})}},6354(Zt,pe,l){"use strict";l.d(pe,{T:()=>v});var i=l(9974),d=l(4360);function v(T,w){return(0,i.N)((e,O)=>{let f=0;e.subscribe((0,d._)(O,u=>{O.next(T.call(w,u,f++))}))})}},3703(Zt,pe,l){"use strict";l.d(pe,{u:()=>d});var i=l(6354);function d(v){return(0,i.T)(()=>v)}},6365(Zt,pe,l){"use strict";l.d(pe,{U:()=>v});var i=l(1397),d=l(3669);function v(T=1/0){return(0,i.Z)(d.D,T)}},1397(Zt,pe,l){"use strict";l.d(pe,{Z:()=>f});var i=l(6354),d=l(8750),v=l(9974),T=l(5225),w=l(4360),O=l(8071);function f(u,L,C=1/0){return(0,O.T)(L)?f((B,A)=>(0,i.T)((Pe,le)=>L(B,Pe,A,le))((0,d.Tg)(u(B,A))),C):("number"==typeof L&&(C=L),(0,v.N)((B,A)=>function e(u,L,C,B,A,Pe,le,Ce){const Ae=[];let j=0,W=0,G=!1;const re=()=>{G&&!Ae.length&&!j&&L.complete()},xe=V=>j{Pe&&L.next(V),j++;let ce=!1;(0,d.Tg)(C(V,W++)).subscribe((0,w._)(L,be=>{A?.(be),Pe?xe(be):L.next(be)},()=>{ce=!0},void 0,()=>{if(ce)try{for(j--;Ae.length&&jEe(be)):Ee(be)}re()}catch(be){L.error(be)}}))};return u.subscribe((0,w._)(L,xe,()=>{G=!0,re()})),()=>{Ce?.()}}(B,A,u,C)))}},941(Zt,pe,l){"use strict";l.d(pe,{Q:()=>T});var i=l(5225),d=l(9974),v=l(4360);function T(w,e=0){return(0,d.N)((O,f)=>{O.subscribe((0,v._)(f,u=>(0,i.N)(f,w,()=>f.next(u),e),()=>(0,i.N)(f,w,()=>f.complete(),e),u=>(0,i.N)(f,w,()=>f.error(u),e)))})}},9898(Zt,pe,l){"use strict";l.d(pe,{B:()=>v});var i=l(9974),d=l(4360);function v(){return(0,i.N)((T,w)=>{let e=null;T._refCount++;const O=(0,d._)(w,void 0,void 0,void 0,()=>{if(!T||T._refCount<=0||0<--T._refCount)return void(e=null);const f=T._connection,u=e;e=null,f&&(!u||f===u)&&f.unsubscribe(),w.unsubscribe()});T.subscribe(O),O.closed||(e=T.connect())})}},1943(Zt,pe,l){"use strict";l.d(pe,{S:()=>v});var i=l(9974),d=l(6649);function v(T,w){return(0,i.N)((0,d.S)(T,w,arguments.length>=2,!0))}},6649(Zt,pe,l){"use strict";l.d(pe,{S:()=>d});var i=l(4360);function d(v,T,w,e,O){return(f,u)=>{let L=w,C=T,B=0;f.subscribe((0,i._)(u,A=>{const Pe=B++;C=L?v(C,A,Pe):(L=!0,A),e&&u.next(C)},O&&(()=>{L&&u.next(C),u.complete()})))}}},7647(Zt,pe,l){"use strict";l.d(pe,{u:()=>w});var i=l(8750),d=l(1413),v=l(7707),T=l(9974);function w(O={}){const{connector:f=()=>new d.B,resetOnError:u=!0,resetOnComplete:L=!0,resetOnRefCountZero:C=!0}=O;return B=>{let A,Pe,le,Ce=0,Ae=!1,j=!1;const W=()=>{Pe?.unsubscribe(),Pe=void 0},G=()=>{W(),A=le=void 0,Ae=j=!1},re=()=>{const xe=A;G(),xe?.unsubscribe()};return(0,T.N)((xe,Ee)=>{Ce++,!j&&!Ae&&W();const V=le=le??f();Ee.add(()=>{Ce--,0===Ce&&!j&&!Ae&&(Pe=e(re,C))}),V.subscribe(Ee),!A&&Ce>0&&(A=new v.Ms({next:ce=>V.next(ce),error:ce=>{j=!0,W(),Pe=e(G,u,ce),V.error(ce)},complete:()=>{Ae=!0,W(),Pe=e(G,L),V.complete()}}),(0,i.Tg)(xe).subscribe(A))})(B)}}function e(O,f,...u){if(!0===f)return void O();if(!1===f)return;const L=new v.Ms({next:()=>{L.unsubscribe(),O()}});return(0,i.Tg)(f(...u)).subscribe(L)}},5245(Zt,pe,l){"use strict";l.d(pe,{i:()=>d});var i=l(5964);function d(v){return(0,i.p)((T,w)=>v<=w)}},9172(Zt,pe,l){"use strict";l.d(pe,{Z:()=>T});var i=l(8793),d=l(9326),v=l(9974);function T(...w){const e=(0,d.lI)(w);return(0,v.N)((O,f)=>{(e?(0,i.x)(w,O,e):(0,i.x)(w,O)).subscribe(f)})}},5558(Zt,pe,l){"use strict";l.d(pe,{n:()=>T});var i=l(8750),d=l(9974),v=l(4360);function T(w,e){return(0,d.N)((O,f)=>{let u=null,L=0,C=!1;const B=()=>C&&!u&&f.complete();O.subscribe((0,v._)(f,A=>{u?.unsubscribe();let Pe=0;const le=L++;(0,i.Tg)(w(A,le)).subscribe(u=(0,v._)(f,Ce=>f.next(e?e(A,Ce,le,Pe++):Ce),()=>{u=null,B()}))},()=>{C=!0,B()}))})}},6697(Zt,pe,l){"use strict";l.d(pe,{s:()=>T});var i=l(983),d=l(9974),v=l(4360);function T(w){return w<=0?()=>i.w:(0,d.N)((e,O)=>{let f=0;e.subscribe((0,v._)(O,u=>{++f<=w&&(O.next(u),w<=f&&O.complete())}))})}},6977(Zt,pe,l){"use strict";l.d(pe,{Q:()=>w});var i=l(9974),d=l(4360),v=l(8750),T=l(5343);function w(e){return(0,i.N)((O,f)=>{(0,v.Tg)(e).subscribe((0,d._)(f,()=>f.complete(),T.l)),!f.closed&&O.subscribe(f)})}},8141(Zt,pe,l){"use strict";l.d(pe,{M:()=>w});var i=l(8071),d=l(9974),v=l(4360),T=l(3669);function w(e,O,f){const u=(0,i.T)(e)||O||f?{next:e,error:O,complete:f}:e;return u?(0,d.N)((L,C)=>{var B;null===(B=u.subscribe)||void 0===B||B.call(u);let A=!0;L.subscribe((0,v._)(C,Pe=>{var le;null===(le=u.next)||void 0===le||le.call(u,Pe),C.next(Pe)},()=>{var Pe;A=!1,null===(Pe=u.complete)||void 0===Pe||Pe.call(u),C.complete()},Pe=>{var le;A=!1,null===(le=u.error)||void 0===le||le.call(u,Pe),C.error(Pe)},()=>{var Pe,le;A&&(null===(Pe=u.unsubscribe)||void 0===Pe||Pe.call(u)),null===(le=u.finalize)||void 0===le||le.call(u)}))}):T.D}},3774(Zt,pe,l){"use strict";l.d(pe,{v:()=>T});var i=l(9350),d=l(9974),v=l(4360);function T(e=w){return(0,d.N)((O,f)=>{let u=!1;O.subscribe((0,v._)(f,L=>{u=!0,f.next(L)},()=>u?f.complete():f.error(e())))})}function w(){return new i.G}},3993(Zt,pe,l){"use strict";l.d(pe,{E:()=>O});var i=l(9974),d=l(4360),v=l(8750),T=l(3669),w=l(5343),e=l(9326);function O(...f){const u=(0,e.ms)(f);return(0,i.N)((L,C)=>{const B=f.length,A=new Array(B);let Pe=f.map(()=>!1),le=!1;for(let Ce=0;Ce{A[Ce]=Ae,!le&&!Pe[Ce]&&(Pe[Ce]=!0,(le=Pe.every(T.D))&&(Pe=null))},w.l));L.subscribe((0,d._)(C,Ce=>{if(le){const Ae=[Ce,...A];C.next(u?u(...Ae):Ae)}}))})}},6780(Zt,pe,l){"use strict";l.d(pe,{R:()=>w});var i=l(8359);class d extends i.yU{constructor(O,f){super()}schedule(O,f=0){return this}}const v={setInterval(e,O,...f){const{delegate:u}=v;return u?.setInterval?u.setInterval(e,O,...f):setInterval(e,O,...f)},clearInterval(e){const{delegate:O}=v;return(O?.clearInterval||clearInterval)(e)},delegate:void 0};var T=l(7908);class w extends d{constructor(O,f){super(O,f),this.scheduler=O,this.work=f,this.pending=!1}schedule(O,f=0){var u;if(this.closed)return this;this.state=O;const L=this.id,C=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(C,L,f)),this.pending=!0,this.delay=f,this.id=null!==(u=this.id)&&void 0!==u?u:this.requestAsyncId(C,this.id,f),this}requestAsyncId(O,f,u=0){return v.setInterval(O.flush.bind(O,this),u)}recycleAsyncId(O,f,u=0){if(null!=u&&this.delay===u&&!1===this.pending)return f;null!=f&&v.clearInterval(f)}execute(O,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const u=this._execute(O,f);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,f){let L,u=!1;try{this.work(O)}catch(C){u=!0,L=C||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),L}unsubscribe(){if(!this.closed){const{id:O,scheduler:f}=this,{actions:u}=f;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.o)(u,this),null!=O&&(this.id=this.recycleAsyncId(f,O,null)),this.delay=null,super.unsubscribe()}}}},9687(Zt,pe,l){"use strict";l.d(pe,{q:()=>v});var i=l(6129);class d{constructor(w,e=d.now){this.schedulerActionCtor=w,this.now=e}schedule(w,e=0,O){return new this.schedulerActionCtor(this,w).schedule(O,e)}}d.now=i.U.now;class v extends d{constructor(w,e=d.now){super(w,e),this.actions=[],this._active=!1}flush(w){const{actions:e}=this;if(this._active)return void e.push(w);let O;this._active=!0;do{if(O=w.execute(w.state,w.delay))break}while(w=e.shift());if(this._active=!1,O){for(;w=e.shift();)w.unsubscribe();throw O}}}},3236(Zt,pe,l){"use strict";l.d(pe,{E:()=>v,b:()=>T});var i=l(6780);const v=new(l(9687).q)(i.R),T=v},6129(Zt,pe,l){"use strict";l.d(pe,{U:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},7242(Zt,pe,l){"use strict";l.d(pe,{T:()=>w});var i=l(6780),v=l(9687);const w=new class T extends v.q{}(class d extends i.R{constructor(f,u){super(f,u),this.scheduler=f,this.work=u}schedule(f,u=0){return u>0?super.schedule(f,u):(this.delay=u,this.state=f,this.scheduler.flush(this),this)}execute(f,u){return u>0||this.closed?super.execute(f,u):this._execute(f,u)}requestAsyncId(f,u,L=0){return null!=L&&L>0||null==L&&this.delay>0?super.requestAsyncId(f,u,L):(f.flush(this),0)}})},9270(Zt,pe,l){"use strict";l.d(pe,{f:()=>i});const i={setTimeout(d,v,...T){const{delegate:w}=i;return w?.setTimeout?w.setTimeout(d,v,...T):setTimeout(d,v,...T)},clearTimeout(d){const{delegate:v}=i;return(v?.clearTimeout||clearTimeout)(d)},delegate:void 0}},4761(Zt,pe,l){"use strict";l.d(pe,{l:()=>d});const d=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(Zt,pe,l){"use strict";l.d(pe,{s:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(Zt,pe,l){"use strict";l.d(pe,{G:()=>d});const d=(0,l(1853).L)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(Zt,pe,l){"use strict";l.d(pe,{R0:()=>e,lI:()=>w,ms:()=>T});var i=l(8071),d=l(9470);function v(O){return O[O.length-1]}function T(O){return(0,i.T)(v(O))?O.pop():void 0}function w(O){return(0,d.m)(v(O))?O.pop():void 0}function e(O,f){return"number"==typeof v(O)?O.pop():f}},3073(Zt,pe,l){"use strict";l.d(pe,{D:()=>w});const{isArray:i}=Array,{getPrototypeOf:d,prototype:v,keys:T}=Object;function w(O){if(1===O.length){const f=O[0];if(i(f))return{args:f,keys:null};if(function e(O){return O&&"object"==typeof O&&d(O)===v}(f)){const u=T(f);return{args:u.map(L=>f[L]),keys:u}}}return{args:O,keys:null}}},7908(Zt,pe,l){"use strict";function i(d,v){if(d){const T=d.indexOf(v);0<=T&&d.splice(T,1)}}l.d(pe,{o:()=>i})},1853(Zt,pe,l){"use strict";function i(d){const T=d(w=>{Error.call(w),w.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}l.d(pe,{L:()=>i})},8496(Zt,pe,l){"use strict";function i(d,v){return d.reduce((T,w,e)=>(T[w]=v[e],T),{})}l.d(pe,{e:()=>i})},9786(Zt,pe,l){"use strict";l.d(pe,{Y:()=>v,l:()=>T});var i=l(1026);let d=null;function v(w){if(i.$.useDeprecatedSynchronousErrorHandling){const e=!d;if(e&&(d={errorThrown:!1,error:null}),w(),e){const{errorThrown:O,error:f}=d;if(d=null,O)throw f}}else w()}function T(w){i.$.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=w)}},5225(Zt,pe,l){"use strict";function i(d,v,T,w=0,e=!1){const O=v.schedule(function(){T(),e?d.add(this.schedule(null,w)):this.unsubscribe()},w);if(d.add(O),!e)return O}l.d(pe,{N:()=>i})},3669(Zt,pe,l){"use strict";function i(d){return d}l.d(pe,{D:()=>i})},7441(Zt,pe,l){"use strict";l.d(pe,{X:()=>i});const i=d=>d&&"number"==typeof d.length&&"function"!=typeof d},7953(Zt,pe,l){"use strict";l.d(pe,{T:()=>d});var i=l(8071);function d(v){return Symbol.asyncIterator&&(0,i.T)(v?.[Symbol.asyncIterator])}},8211(Zt,pe,l){"use strict";function i(d){return d instanceof Date&&!isNaN(d)}l.d(pe,{v:()=>i})},8071(Zt,pe,l){"use strict";function i(d){return"function"==typeof d}l.d(pe,{T:()=>i})},5055(Zt,pe,l){"use strict";l.d(pe,{l:()=>v});var i=l(3494),d=l(8071);function v(T){return(0,d.T)(T[i.s])}},5397(Zt,pe,l){"use strict";l.d(pe,{x:()=>v});var i=l(4761),d=l(8071);function v(T){return(0,d.T)(T?.[i.l])}},4402(Zt,pe,l){"use strict";l.d(pe,{A:()=>v});var i=l(1985),d=l(8071);function v(T){return!!T&&(T instanceof i.c||(0,d.T)(T.lift)&&(0,d.T)(T.subscribe))}},9858(Zt,pe,l){"use strict";l.d(pe,{y:()=>d});var i=l(8071);function d(v){return(0,i.T)(v?.then)}},5196(Zt,pe,l){"use strict";l.d(pe,{C:()=>v,U:()=>T});var i=l(1635),d=l(8071);function v(w){return(0,i.AQ)(this,arguments,function*(){const O=w.getReader();try{for(;;){const{value:f,done:u}=yield(0,i.N3)(O.read());if(u)return yield(0,i.N3)(void 0);yield yield(0,i.N3)(f)}}finally{O.releaseLock()}})}function T(w){return(0,d.T)(w?.getReader)}},9470(Zt,pe,l){"use strict";l.d(pe,{m:()=>d});var i=l(8071);function d(v){return v&&(0,i.T)(v.schedule)}},9974(Zt,pe,l){"use strict";l.d(pe,{N:()=>v,S:()=>d});var i=l(8071);function d(T){return(0,i.T)(T?.lift)}function v(T){return w=>{if(d(w))return w.lift(function(e){try{return T(e,this)}catch(O){this.error(O)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(Zt,pe,l){"use strict";l.d(pe,{I:()=>T});var i=l(6354);const{isArray:d}=Array;function T(w){return(0,i.T)(e=>function v(w,e){return d(e)?w(...e):w(e)}(w,e))}},5343(Zt,pe,l){"use strict";function i(){}l.d(pe,{l:()=>i})},1203(Zt,pe,l){"use strict";l.d(pe,{F:()=>d,m:()=>v});var i=l(3669);function d(...T){return v(T)}function v(T){return 0===T.length?i.D:1===T.length?T[0]:function(e){return T.reduce((O,f)=>f(O),e)}}},5334(Zt,pe,l){"use strict";l.d(pe,{m:()=>v});var i=l(1026),d=l(9270);function v(T){d.f.setTimeout(()=>{const{onUnhandledError:w}=i.$;if(!w)throw T;w(T)})}},591(Zt,pe,l){"use strict";function i(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(pe,{L:()=>i})},2852(Zt,pe,l){!function(i){"use strict";var d={};Zt.exports?(d.bytesToHex=l(4740).bytesToHex,d.convertString=l(820),Zt.exports=f):(d.bytesToHex=i.convertHex.bytesToHex,d.convertString=i.convertString,i.sha256=f);var v=[];!function(){function u(A){for(var Pe=Math.sqrt(A),le=2;le<=Pe;le++)if(!(A%le))return!1;return!0}function L(A){return 4294967296*(A-(0|A))|0}for(var C=2,B=0;B<64;)u(C)&&(v[B]=L(Math.pow(C,1/3)),B++),C++}();var T=function(u){for(var L=[],C=0,B=0;C>>5]|=u[C]<<24-B%32;return L},w=function(u){for(var L=[],C=0;C<32*u.length;C+=8)L.push(u[C>>>5]>>>24-C%32&255);return L},e=[],O=function(u,L,C){for(var B=u[0],A=u[1],Pe=u[2],le=u[3],Ce=u[4],Ae=u[5],j=u[6],W=u[7],G=0;G<64;G++){if(G<16)e[G]=0|L[C+G];else{var re=e[G-15],Ee=e[G-2];e[G]=((re<<25|re>>>7)^(re<<14|re>>>18)^re>>>3)+e[G-7]+((Ee<<15|Ee>>>17)^(Ee<<13|Ee>>>19)^Ee>>>10)+e[G-16]}var be=B&A^B&Pe^A&Pe,De=W+((Ce<<26|Ce>>>6)^(Ce<<21|Ce>>>11)^(Ce<<7|Ce>>>25))+(Ce&Ae^~Ce&j)+v[G]+e[G];W=j,j=Ae,Ae=Ce,Ce=le+De|0,le=Pe,Pe=A,A=B,B=De+(((B<<30|B>>>2)^(B<<19|B>>>13)^(B<<10|B>>>22))+be)|0}u[0]=u[0]+B|0,u[1]=u[1]+A|0,u[2]=u[2]+Pe|0,u[3]=u[3]+le|0,u[4]=u[4]+Ce|0,u[5]=u[5]+Ae|0,u[6]=u[6]+j|0,u[7]=u[7]+W|0};function f(u,L){u.constructor===String&&(u=d.convertString.UTF8.stringToBytes(u));var C=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],B=T(u),A=8*u.length;B[A>>5]|=128<<24-A%32,B[15+(A+64>>9<<4)]=A;for(var Pe=0;Pej,If:()=>i,K2:()=>e,Os:()=>w,P:()=>Pe,PZ:()=>Ae,hZ:()=>v,i0:()=>T,i7:()=>u,iF:()=>O,kY:()=>L,kp:()=>d,sf:()=>Ce,wk:()=>f});var i=function(W){return W[W.State=0]="State",W[W.Transition=1]="Transition",W[W.Sequence=2]="Sequence",W[W.Group=3]="Group",W[W.Animate=4]="Animate",W[W.Keyframes=5]="Keyframes",W[W.Style=6]="Style",W[W.Trigger=7]="Trigger",W[W.Reference=8]="Reference",W[W.AnimateChild=9]="AnimateChild",W[W.AnimateRef=10]="AnimateRef",W[W.Query=11]="Query",W[W.Stagger=12]="Stagger",W}(i||{});const d="*";function v(W,G){return{type:i.Trigger,name:W,definitions:G,options:{}}}function T(W,G=null){return{type:i.Animate,styles:G,timings:W}}function w(W,G=null){return{type:i.Group,steps:W,options:G}}function e(W,G=null){return{type:i.Sequence,steps:W,options:G}}function O(W){return{type:i.Style,styles:W,offset:null}}function f(W,G,re){return{type:i.State,name:W,styles:G,options:re}}function u(W){return{type:i.Keyframes,steps:W}}function L(W,G,re=null){return{type:i.Transition,expr:W,animation:G,options:re}}function Pe(W,G,re=null){return{type:i.Query,selector:W,animation:G,options:re}}class Ce{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(G=0,re=0){this.totalTime=G+re}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._originalOnStartFns.push(G),this._onStartFns.push(G)}onDone(G){this._originalOnDoneFns.push(G),this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const re="start"==G?this._onStartFns:this._onDoneFns;re.forEach(xe=>xe()),re.length=0}}class Ae{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(G){this.players=G;let re=0,xe=0,Ee=0;const V=this.players.length;0==V?queueMicrotask(()=>this._onFinish()):this.players.forEach(ce=>{ce.onDone(()=>{++re==V&&this._onFinish()}),ce.onDestroy(()=>{++xe==V&&this._onDestroy()}),ce.onStart(()=>{++Ee==V&&this._onStart()})}),this.totalTime=this.players.reduce((ce,be)=>Math.max(ce,be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const re=G*this.totalTime;this.players.forEach(xe=>{const Ee=xe.totalTime?Math.min(1,re/xe.totalTime):1;xe.setPosition(Ee)})}getPosition(){const G=this.players.reduce((re,xe)=>null===re||xe.totalTime>re.totalTime?xe:re,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const re="start"==G?this._onStartFns:this._onDoneFns;re.forEach(xe=>xe()),re.length=0}}const j="!"},7094(Zt,pe,l){"use strict";l.d(pe,{Ai:()=>ie,GX:()=>_e,Pd:()=>Vt,Q_:()=>Ke,Z7:()=>j,kB:()=>he,sp:()=>Xe});var f=l(2615),u=l(3664),L=l(7705),C=l(9842),B=l(4522),A=l(8968),Pe=l(9046),le=l(4330),Ce=l(2318);let j=(()=>{class St{_platform=(0,f.WQX)(C.O);constructor(){}isDisabled(nt){return nt.hasAttribute("disabled")}isVisible(nt){return function G(St){return!!(St.offsetWidth||St.offsetHeight||"function"==typeof St.getClientRects&&St.getClientRects().length)}(nt)&&"visible"===getComputedStyle(nt).visibility}isTabbable(nt){if(!this._platform.isBrowser)return!1;const ht=function W(St){try{return St.frameElement}catch{return null}}(function Re(St){return St.ownerDocument&&St.ownerDocument.defaultView||window}(nt));if(ht&&(-1===ne(ht)||!this.isVisible(ht)))return!1;let oe=nt.nodeName.toLowerCase(),Ye=ne(nt);return nt.hasAttribute("contenteditable")?-1!==Ye:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function J(St){let ot=St.nodeName.toLowerCase(),nt="input"===ot&&St.type;return"text"===nt||"password"===nt||"select"===ot||"textarea"===ot}(nt))&&("audio"===oe?!!nt.hasAttribute("controls")&&-1!==Ye:"video"===oe?-1!==Ye&&(null!==Ye||this._platform.FIREFOX||nt.hasAttribute("controls")):nt.tabIndex>=0)}isFocusable(nt,ht){return function De(St){return!function xe(St){return function V(St){return"input"==St.nodeName.toLowerCase()}(St)&&"hidden"==St.type}(St)&&(function re(St){let ot=St.nodeName.toLowerCase();return"input"===ot||"select"===ot||"button"===ot||"textarea"===ot}(St)||function Ee(St){return function ce(St){return"a"==St.nodeName.toLowerCase()}(St)&&St.hasAttribute("href")}(St)||St.hasAttribute("contenteditable")||be(St))}(nt)&&!this.isDisabled(nt)&&(ht?.ignoreVisibility||this.isVisible(nt))}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();function be(St){if(!St.hasAttribute("tabindex")||void 0===St.tabIndex)return!1;let ot=St.getAttribute("tabindex");return!(!ot||isNaN(parseInt(ot,10)))}function ne(St){if(!be(St))return null;const ot=parseInt(St.getAttribute("tabindex")||"",10);return isNaN(ot)?-1:ot}class Xe{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(ot){this._enabled=ot,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ot,this._startAnchor),this._toggleAnchorTabIndex(ot,this._endAnchor))}_enabled=!0;constructor(ot,nt,ht,oe,Ye=!1,fe){this._element=ot,this._checker=nt,this._ngZone=ht,this._document=oe,this._injector=fe,Ye||this.attachAnchors()}destroy(){const ot=this._startAnchor,nt=this._endAnchor;ot&&(ot.removeEventListener("focus",this.startAnchorListener),ot.remove()),nt&&(nt.removeEventListener("focus",this.endAnchorListener),nt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusInitialElement(ot)))})}focusFirstTabbableElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusFirstTabbableElement(ot)))})}focusLastTabbableElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusLastTabbableElement(ot)))})}_getRegionBoundary(ot){const nt=this._element.querySelectorAll(`[cdk-focus-region-${ot}], [cdkFocusRegion${ot}], [cdk-focus-${ot}]`);return"start"==ot?nt.length?nt[0]:this._getFirstTabbableElement(this._element):nt.length?nt[nt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ot){const nt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(nt){if(!this._checker.isFocusable(nt)){const ht=this._getFirstTabbableElement(nt);return ht?.focus(ot),!!ht}return nt.focus(ot),!0}return this.focusFirstTabbableElement(ot)}focusFirstTabbableElement(ot){const nt=this._getRegionBoundary("start");return nt&&nt.focus(ot),!!nt}focusLastTabbableElement(ot){const nt=this._getRegionBoundary("end");return nt&&nt.focus(ot),!!nt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ot){if(this._checker.isFocusable(ot)&&this._checker.isTabbable(ot))return ot;const nt=ot.children;for(let ht=0;ht=0;ht--){const oe=nt[ht].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(nt[ht]):null;if(oe)return oe}return null}_createAnchor(){const ot=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ot),ot.classList.add("cdk-visually-hidden"),ot.classList.add("cdk-focus-trap-anchor"),ot.setAttribute("aria-hidden","true"),ot}_toggleAnchorTabIndex(ot,nt){ot?nt.setAttribute("tabindex","0"):nt.removeAttribute("tabindex")}toggleAnchors(ot){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ot,this._startAnchor),this._toggleAnchorTabIndex(ot,this._endAnchor))}_executeOnStable(ot){this._injector?(0,u.mal)(ot,{injector:this._injector}):setTimeout(ot)}}let _e=(()=>{class St{_checker=(0,f.WQX)(j);_ngZone=(0,f.WQX)(u.SKi);_document=(0,f.WQX)(f.qQL);_injector=(0,f.WQX)(f.zZn);constructor(){(0,f.WQX)(A.l).load(Pe.Y)}create(nt,ht=!1){return new Xe(nt,this._checker,this._ngZone,this._document,ht,this._injector)}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),he=(()=>{class St{_elementRef=(0,f.WQX)(u.aKT);_focusTrapFactory=(0,f.WQX)(_e);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(nt){this.focusTrap&&(this.focusTrap.enabled=nt)}autoCapture;constructor(){(0,f.WQX)(C.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(nt){const ht=nt.autoCapture;ht&&!ht.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,B.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(ht){return new(ht||St)};static \u0275dir=u.FsC({type:St,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",L.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",L.L39]},exportAs:["cdkTrapFocus"],features:[u.OA$]})}return St})();const Dt=new f.nKC("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),Le=new f.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let te=0,ie=(()=>{class St{_ngZone=(0,f.WQX)(u.SKi);_defaultOptions=(0,f.WQX)(Le,{optional:!0});_liveElement;_document=(0,f.WQX)(f.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const nt=(0,f.WQX)(Dt,{optional:!0});this._liveElement=nt||this._createLiveElement()}announce(nt,...ht){const oe=this._defaultOptions;let Ye,fe;return 1===ht.length&&"number"==typeof ht[0]?fe=ht[0]:[Ye,fe]=ht,this.clear(),clearTimeout(this._previousTimeout),Ye||(Ye=oe&&oe.politeness?oe.politeness:"polite"),null==fe&&oe&&(fe=oe.duration),this._liveElement.setAttribute("aria-live",Ye),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Qe=>this._currentResolve=Qe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=nt,"number"==typeof fe&&(this._previousTimeout=setTimeout(()=>this.clear(),fe)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const nt="cdk-live-announcer-element",ht=this._document.getElementsByClassName(nt),oe=this._document.createElement("div");for(let Ye=0;Ye .cdk-overlay-container [aria-modal="true"]');for(let oe=0;oe{class St{_platform=(0,f.WQX)(C.O);_hasCheckedHighContrastMode;_document=(0,f.WQX)(f.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,f.WQX)(le.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return F.NONE;const nt=this._document.createElement("div");nt.style.backgroundColor="rgb(1,2,3)",nt.style.position="absolute",this._document.body.appendChild(nt);const ht=this._document.defaultView||window,oe=ht&&ht.getComputedStyle?ht.getComputedStyle(nt):null,Ye=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(nt.remove(),Ye){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return F.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return F.BLACK_ON_WHITE}return F.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const nt=this._document.body.classList;nt.remove($,ve,H),this._hasCheckedHighContrastMode=!0;const ht=this.getHighContrastMode();ht===F.BLACK_ON_WHITE?nt.add($,ve):ht===F.WHITE_ON_BLACK&&nt.add($,H)}}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),Vt=(()=>{class St{constructor(){(0,f.WQX)(Ke)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(ht){return new(ht||St)};static \u0275mod=u.$C({type:St});static \u0275inj=f.G2t({imports:[Ce.w5]})}return St})()},8617(Zt,pe,l){"use strict";l.d(pe,{Ae:()=>Ae,px:()=>Ce,vr:()=>Ee}),l(7094);var f=l(2615),u=l(3664),L=l(9842),C=l(8968),B=l(9046);function Ce(Dt,lt,Le){const te=j(Dt,lt);Le=Le.trim(),!te.some(ie=>ie.trim()===Le)&&(te.push(Le),Dt.setAttribute(lt,te.join(" ")))}function Ae(Dt,lt,Le){const te=j(Dt,lt);Le=Le.trim();const ie=te.filter(P=>P!==Le);ie.length?Dt.setAttribute(lt,ie.join(" ")):Dt.removeAttribute(lt)}function j(Dt,lt){return Dt.getAttribute(lt)?.match(/\S+/g)??[]}l(1413),l(4125);const G="cdk-describedby-message",re="cdk-describedby-host";let xe=0,Ee=(()=>{class Dt{_platform=(0,f.WQX)(L.O);_document=(0,f.WQX)(f.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+xe++;constructor(){(0,f.WQX)(C.l).load(B.Y),this._id=(0,f.WQX)(u.sZ2)+"-"+xe++}describe(Le,te,ie){if(!this._canBeDescribed(Le,te))return;const P=V(te,ie);"string"!=typeof te?(ce(te,this._id),this._messageRegistry.set(P,{messageElement:te,referenceCount:0})):this._messageRegistry.has(P)||this._createMessageElement(te,ie),this._isElementDescribedByMessage(Le,P)||this._addMessageReference(Le,P)}removeDescription(Le,te,ie){if(!te||!this._isElementNode(Le))return;const P=V(te,ie);if(this._isElementDescribedByMessage(Le,P)&&this._removeMessageReference(Le,P),"string"==typeof te){const F=this._messageRegistry.get(P);F&&0===F.referenceCount&&this._deleteMessageElement(P)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Le=this._document.querySelectorAll(`[${re}="${this._id}"]`);for(let te=0;te0!=ie.indexOf(G));Le.setAttribute("aria-describedby",te.join(" "))}_addMessageReference(Le,te){const ie=this._messageRegistry.get(te);Ce(Le,"aria-describedby",ie.messageElement.id),Le.setAttribute(re,this._id),ie.referenceCount++}_removeMessageReference(Le,te){const ie=this._messageRegistry.get(te);ie.referenceCount--,Ae(Le,"aria-describedby",ie.messageElement.id),Le.removeAttribute(re)}_isElementDescribedByMessage(Le,te){const ie=j(Le,"aria-describedby"),P=this._messageRegistry.get(te),F=P&&P.messageElement.id;return!!F&&-1!=ie.indexOf(F)}_canBeDescribed(Le,te){if(!this._isElementNode(Le))return!1;if(te&&"object"==typeof te)return!0;const ie=null==te?"":`${te}`.trim(),P=Le.getAttribute("aria-label");return!(!ie||P&&P.trim()===ie)}_isElementNode(Le){return Le.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(te){return new(te||Dt)};static \u0275prov=f.jDH({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();function V(Dt,lt){return"string"==typeof Dt?`${lt||""}/${Dt}`:Dt}function ce(Dt,lt){Dt.id||(Dt.id=`${G}-${lt}-${xe++}`)}},9090(Zt,pe,l){"use strict";l.d(pe,{A:()=>d});var i=l(2593);class d extends i.l{setActiveItem(T){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(T),this.activeItem&&this.activeItem.setActiveStyles()}}},408(Zt,pe,l){"use strict";function i(d){return Array.isArray(d)?d:[d]}l.d(pe,{F:()=>i})},8203(Zt,pe,l){"use strict";l.d(pe,{jI:()=>u});var e=l(2615),O=l(3664);let u=(()=>{class L{static \u0275fac=function(A){return new(A||L)};static \u0275mod=O.$C({type:L});static \u0275inj=e.G2t({})}return L})()},4330(Zt,pe,l){"use strict";l.d(pe,{D:()=>Ae,Q:()=>G});var i=l(2615),d=l(3664),v=l(1985),T=l(1413),w=l(4572),e=l(8793),O=l(152),f=l(6354),u=l(5245),L=l(9172),C=l(6697),B=l(6977),A=l(9842),Pe=l(408);const le=new Set;let Ce,Ae=(()=>{class xe{_platform=(0,i.WQX)(A.O);_nonce=(0,i.WQX)(d.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):W}matchMedia(V){return(this._platform.WEBKIT||this._platform.BLINK)&&function j(xe,Ee){if(!le.has(xe))try{Ce||(Ce=document.createElement("style"),Ee&&Ce.setAttribute("nonce",Ee),Ce.setAttribute("type","text/css"),document.head.appendChild(Ce)),Ce.sheet&&(Ce.sheet.insertRule(`@media ${xe} {body{ }}`,0),le.add(xe))}catch(V){console.error(V)}}(V,this._nonce),this._matchMedia(V)}static \u0275fac=function(ce){return new(ce||xe)};static \u0275prov=i.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function W(xe){return{matches:"all"===xe||""===xe,media:xe,addListener:()=>{},removeListener:()=>{}}}let G=(()=>{class xe{_mediaMatcher=(0,i.WQX)(Ae);_zone=(0,i.WQX)(d.SKi);_queries=new Map;_destroySubject=new T.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(V){return re((0,Pe.F)(V)).some(be=>this._registerQuery(be).mql.matches)}observe(V){const be=re((0,Pe.F)(V)).map(J=>this._registerQuery(J).observable);let ne=(0,w.z)(be);return ne=(0,e.x)(ne.pipe((0,C.s)(1)),ne.pipe((0,u.i)(1),(0,O.B)(0))),ne.pipe((0,f.T)(J=>{const De={matches:!1,breakpoints:{}};return J.forEach(({matches:Re,query:Xe})=>{De.matches=De.matches||Re,De.breakpoints[Xe]=Re}),De}))}_registerQuery(V){if(this._queries.has(V))return this._queries.get(V);const ce=this._mediaMatcher.matchMedia(V),ne={observable:new v.c(J=>{const De=Re=>this._zone.run(()=>J.next(Re));return ce.addListener(De),()=>{ce.removeListener(De)}}).pipe((0,L.Z)(ce),(0,f.T)(({matches:J})=>({query:V,matches:J})),(0,B.Q)(this._destroySubject)),mql:ce};return this._queries.set(V,ne),ne}static \u0275fac=function(ce){return new(ce||xe)};static \u0275prov=i.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function re(xe){return xe.map(Ee=>Ee.split(",")).reduce((Ee,V)=>Ee.concat(V)).map(Ee=>Ee.trim())}},4085(Zt,pe,l){"use strict";function i(v){return null!=v&&"false"!=`${v}`}function d(v,T=/\s+/){const w=[];if(null!=v){const e=Array.isArray(v)?v:`${v}`.split(T);for(const O of e){const f=`${O}`.trim();f&&w.push(f)}}return w}l.d(pe,{cc:()=>d,he:()=>i})},8045(Zt,pe,l){"use strict";l.d(pe,{x:()=>v});var i=l(4402),d=l(7673);function v(T){return(0,i.A)(T)?T:(0,d.of)(T)}},4117(Zt,pe,l){"use strict";l.d(pe,{q:()=>d,y:()=>v});var i=l(17);class d{}function v(T){return T&&"function"==typeof T.connect&&!(T instanceof i.G)}},1577(Zt,pe,l){"use strict";l.d(pe,{dS:()=>O});var i=l(2615),d=l(3664);const v=new i.nKC("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,i.WQX)(i.qQL)}}),w=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let O=(()=>{class f{get value(){return this.valueSignal()}valueSignal=(0,i.vPA)("ltr");change=new d.bkB;constructor(){const L=(0,i.WQX)(v,{optional:!0});L&&this.valueSignal.set(function e(f){const u=f?.toLowerCase()||"";return"auto"===u&&typeof navigator<"u"&&navigator?.language?w.test(navigator.language)?"rtl":"ltr":"rtl"===u?"rtl":"ltr"}((L.body?L.body.dir:null)||(L.documentElement?L.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(C){return new(C||f)};static \u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},7847(Zt,pe,l){"use strict";l.d(pe,{OE:()=>d,i8:()=>T,o1:()=>v});var i=l(3664);function d(w,e=0){return v(w)?Number(w):2===arguments.length?e:0}function v(w){return!isNaN(parseFloat(w))&&!isNaN(Number(w))}function T(w){return w instanceof i.aKT?w.nativeElement:w}},5735(Zt,pe,l){"use strict";function i(v){return 0===v.buttons||0===v.detail}function d(v){const T=v.touches&&v.touches[0]||v.changedTouches&&v.changedTouches[0];return!(!T||-1!==T.identifier||null!=T.radiusX&&1!==T.radiusX||null!=T.radiusY&&1!==T.radiusY)}l.d(pe,{_:()=>i,w:()=>d})},4123(Zt,pe,l){"use strict";l.d(pe,{B:()=>d});var i=l(2593);class d extends i.l{_origin="program";setFocusOrigin(T){return this._origin=T,this}setActiveItem(T){super.setActiveItem(T),this.activeItem&&this.activeItem.focus(this._origin)}}},6838(Zt,pe,l){"use strict";l.d(pe,{FN:()=>Ee,vR:()=>V});var i=l(2615),d=l(3664),v=l(1413),T=l(4412),w=l(7673),e=l(3294),O=l(5245),f=l(6977),u=l(5735),L=l(438),C=l(4522),B=l(9842),A=l(3300),Pe=l(7847);const le=new i.nKC("cdk-input-modality-detector-options"),Ce={ignoreKeys:[L.A$,L.W3,L.eg,L.Ge,L.FX]},j={passive:!0,capture:!0};let W=(()=>{class ce{_platform=(0,i.WQX)(B.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new T.t(null);_options;_lastTouchMs=0;_onKeydown=ne=>{this._options?.ignoreKeys?.some(J=>J===ne.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.Fb)(ne))};_onMousedown=ne=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,u._)(ne)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.Fb)(ne))};_onTouchstart=ne=>{(0,u.w)(ne)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.Fb)(ne))};constructor(){const ne=(0,i.WQX)(d.SKi),J=(0,i.WQX)(i.qQL),De=(0,i.WQX)(le,{optional:!0});if(this._options={...Ce,...De},this.modalityDetected=this._modality.pipe((0,O.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,e.F)()),this._platform.isBrowser){const Re=(0,i.WQX)(d._9s).createRenderer(null,null);this._listenerCleanups=ne.runOutsideAngular(()=>[Re.listen(J,"keydown",this._onKeydown,j),Re.listen(J,"mousedown",this._onMousedown,j),Re.listen(J,"touchstart",this._onTouchstart,j)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(ne=>ne())}static \u0275fac=function(J){return new(J||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();var G=function(ce){return ce[ce.IMMEDIATE=0]="IMMEDIATE",ce[ce.EVENTUAL=1]="EVENTUAL",ce}(G||{});const re=new i.nKC("cdk-focus-monitor-default-options"),xe=(0,A.B)({passive:!0,capture:!0});let Ee=(()=>{class ce{_ngZone=(0,i.WQX)(d.SKi);_platform=(0,i.WQX)(B.O);_inputModalityDetector=(0,i.WQX)(W);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,i.WQX)(i.qQL);_stopInputModalityDetector=new v.B;constructor(){const ne=(0,i.WQX)(re,{optional:!0});this._detectionMode=ne?.detectionMode||G.IMMEDIATE}_rootNodeFocusAndBlurListener=ne=>{for(let De=(0,C.Fb)(ne);De;De=De.parentElement)"focus"===ne.type?this._onFocus(ne,De):this._onBlur(ne,De)};monitor(ne,J=!1){const De=(0,Pe.i8)(ne);if(!this._platform.isBrowser||1!==De.nodeType)return(0,w.of)();const Re=(0,C.KT)(De)||this._document,Xe=this._elementInfo.get(De);if(Xe)return J&&(Xe.checkChildren=!0),Xe.subject;const _e={checkChildren:J,subject:new v.B,rootNode:Re};return this._elementInfo.set(De,_e),this._registerGlobalListeners(_e),_e.subject}stopMonitoring(ne){const J=(0,Pe.i8)(ne),De=this._elementInfo.get(J);De&&(De.subject.complete(),this._setClasses(J),this._elementInfo.delete(J),this._removeGlobalListeners(De))}focusVia(ne,J,De){const Re=(0,Pe.i8)(ne);Re===this._document.activeElement?this._getClosestElementsInfo(Re).forEach(([_e,he])=>this._originChanged(_e,J,he)):(this._setOrigin(J),"function"==typeof Re.focus&&Re.focus(De))}ngOnDestroy(){this._elementInfo.forEach((ne,J)=>this.stopMonitoring(J))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(ne){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ne)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ne&&this._isLastInteractionFromInputLabel(ne)?"mouse":"program"}_shouldBeAttributedToTouch(ne){return this._detectionMode===G.EVENTUAL||!!ne?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ne,J){ne.classList.toggle("cdk-focused",!!J),ne.classList.toggle("cdk-touch-focused","touch"===J),ne.classList.toggle("cdk-keyboard-focused","keyboard"===J),ne.classList.toggle("cdk-mouse-focused","mouse"===J),ne.classList.toggle("cdk-program-focused","program"===J)}_setOrigin(ne,J=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ne,this._originFromTouchInteraction="touch"===ne&&J,this._detectionMode===G.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ne,J){const De=this._elementInfo.get(J),Re=(0,C.Fb)(ne);!De||!De.checkChildren&&J!==Re||this._originChanged(J,this._getFocusOrigin(Re),De)}_onBlur(ne,J){const De=this._elementInfo.get(J);!De||De.checkChildren&&ne.relatedTarget instanceof Node&&J.contains(ne.relatedTarget)||(this._setClasses(J),this._emitOrigin(De,null))}_emitOrigin(ne,J){ne.subject.observers.length&&this._ngZone.run(()=>ne.subject.next(J))}_registerGlobalListeners(ne){if(!this._platform.isBrowser)return;const J=ne.rootNode,De=this._rootNodeFocusListenerCount.get(J)||0;De||this._ngZone.runOutsideAngular(()=>{J.addEventListener("focus",this._rootNodeFocusAndBlurListener,xe),J.addEventListener("blur",this._rootNodeFocusAndBlurListener,xe)}),this._rootNodeFocusListenerCount.set(J,De+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,f.Q)(this._stopInputModalityDetector)).subscribe(Re=>{this._setOrigin(Re,!0)}))}_removeGlobalListeners(ne){const J=ne.rootNode;if(this._rootNodeFocusListenerCount.has(J)){const De=this._rootNodeFocusListenerCount.get(J);De>1?this._rootNodeFocusListenerCount.set(J,De-1):(J.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xe),J.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xe),this._rootNodeFocusListenerCount.delete(J))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ne,J,De){this._setClasses(ne,J),this._emitOrigin(De,J),this._lastFocusOrigin=J}_getClosestElementsInfo(ne){const J=[];return this._elementInfo.forEach((De,Re)=>{(Re===ne||De.checkChildren&&Re.contains(ne))&&J.push([Re,De])}),J}_isLastInteractionFromInputLabel(ne){const{_mostRecentTarget:J,mostRecentModality:De}=this._inputModalityDetector;if("mouse"!==De||!J||J===ne||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName||ne.disabled)return!1;const Re=ne.labels;if(Re)for(let Xe=0;Xe{class ce{_elementRef=(0,i.WQX)(d.aKT);_focusMonitor=(0,i.WQX)(Ee);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new d.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ne=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ne,1===ne.nodeType&&ne.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(J=>{this._focusOrigin=J,this.cdkFocusChange.emit(J)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(J){return new(J||ce)};static \u0275dir=d.FsC({type:ce,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return ce})()},9726(Zt,pe,l){"use strict";l.d(pe,{g:()=>T});var i=l(2615),d=l(3664);const v={};let T=(()=>{class w{_appId=(0,i.WQX)(d.sZ2);getId(O){return"ng"!==this._appId&&(O+=this._appId),v.hasOwnProperty(O)||(v[O]=0),`${O}${v[O]++}`}static \u0275fac=function(f){return new(f||w)};static \u0275prov=i.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},7336(Zt,pe,l){"use strict";function i(d,...v){return v.length?v.some(T=>d[T]):d.altKey||d.shiftKey||d.ctrlKey||d.metaKey}l.d(pe,{rp:()=>i})},438(Zt,pe,l){"use strict";l.d(pe,{A:()=>P,A$:()=>f,FX:()=>e,Fm:()=>w,G_:()=>d,Ge:()=>pt,Kp:()=>le,LE:()=>W,SJ:()=>V,UQ:()=>Ae,W3:()=>O,Z:()=>wt,_f:()=>C,bn:()=>Dt,dB:()=>Pe,eg:()=>ci,f2:()=>ce,i7:()=>j,n6:()=>G,t6:()=>B,w_:()=>A,wn:()=>v,yZ:()=>Ce});const d=8,v=9,w=13,e=16,O=17,f=18,C=27,B=32,A=33,Pe=34,le=35,Ce=36,Ae=37,j=38,W=39,G=40,V=46,ce=48,Dt=57,P=65,wt=90,pt=91,ci=224},9327(Zt,pe,l){"use strict";l.d(pe,{RH:()=>v,Rp:()=>T});var i=l(2615),d=l(3664);let v=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({})}return w})();const T={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2593(Zt,pe,l){"use strict";l.d(pe,{l:()=>u});var i=l(2615),d=l(3664),v=l(9295),T=l(1413),w=l(8359),e=l(9096),O=l(7336),f=l(438);class u{_items;_activeItemIndex=(0,i.vPA)(-1);_activeItem=(0,i.vPA)(null);_wrap=!1;_typeaheadSubscription=w.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=C=>C.disabled;constructor(C,B){this._items=C,C instanceof d.rOR?this._itemChangesSubscription=C.changes.subscribe(A=>this._itemsChanged(A.toArray())):(0,i.Hps)(C)&&(this._effectRef=(0,v.QZ)(()=>this._itemsChanged(C()),{injector:B}))}tabOut=new T.B;change=new T.B;skipPredicate(C){return this._skipPredicateFn=C,this}withWrap(C=!0){return this._wrap=C,this}withVerticalOrientation(C=!0){return this._vertical=C,this}withHorizontalOrientation(C){return this._horizontal=C,this}withAllowedModifierKeys(C){return this._allowedModifierKeys=C,this}withTypeAhead(C=200){this._typeaheadSubscription.unsubscribe();const B=this._getItemsArray();return this._typeahead=new e.i(B,{debounceInterval:"number"==typeof C?C:void 0,skipPredicate:A=>this._skipPredicateFn(A)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(A=>{this.setActiveItem(A)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(C=!0){return this._homeAndEnd=C,this}withPageUpDown(C=!0,B=10){return this._pageUpAndDown={enabled:C,delta:B},this}setActiveItem(C){const B=this._activeItem();this.updateActiveItem(C),this._activeItem()!==B&&this.change.next(this._activeItemIndex())}onKeydown(C){const B=C.keyCode,Pe=["altKey","ctrlKey","metaKey","shiftKey"].every(le=>!C[le]||this._allowedModifierKeys.indexOf(le)>-1);switch(B){case f.wn:return void this.tabOut.next();case f.n6:if(this._vertical&&Pe){this.setNextItemActive();break}return;case f.i7:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case f.LE:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.UQ:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.yZ:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case f.Kp:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;case f.w_:if(this._pageUpAndDown.enabled&&Pe){const le=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(le>0?le:0,1);break}return;case f.dB:if(this._pageUpAndDown.enabled&&Pe){const le=this._activeItemIndex()+this._pageUpAndDown.delta,Ce=this._getItemsArray().length;this._setActiveItemByIndex(le-1&&A!==this._activeItemIndex()&&(this._activeItemIndex.set(A),this._typeahead?.setCurrentSelectedItemIndex(A))}}}},2318(Zt,pe,l){"use strict";l.d(pe,{Wv:()=>A,w5:()=>Pe});var i=l(2615),d=l(3664),v=l(7705),T=l(1985),w=l(1413),e=l(152),O=l(5964),f=l(6354),u=l(7847);let C=(()=>{class le{create(Ae){return typeof MutationObserver>"u"?null:new MutationObserver(Ae)}static \u0275fac=function(j){return new(j||le)};static \u0275prov=i.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),B=(()=>{class le{_mutationObserverFactory=(0,i.WQX)(C);_observedElements=new Map;_ngZone=(0,i.WQX)(d.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((Ae,j)=>this._cleanupObserver(j))}observe(Ae){const j=(0,u.i8)(Ae);return new T.c(W=>{const re=this._observeElement(j).pipe((0,f.T)(xe=>xe.filter(Ee=>!function L(le){if("characterData"===le.type&&le.target instanceof Comment)return!0;if("childList"===le.type){for(let Ce=0;Ce!!xe.length)).subscribe(xe=>{this._ngZone.run(()=>{W.next(xe)})});return()=>{re.unsubscribe(),this._unobserveElement(j)}})}_observeElement(Ae){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(Ae))this._observedElements.get(Ae).count++;else{const j=new w.B,W=this._mutationObserverFactory.create(G=>j.next(G));W&&W.observe(Ae,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Ae,{observer:W,stream:j,count:1})}return this._observedElements.get(Ae).stream})}_unobserveElement(Ae){this._observedElements.has(Ae)&&(this._observedElements.get(Ae).count--,this._observedElements.get(Ae).count||this._cleanupObserver(Ae))}_cleanupObserver(Ae){if(this._observedElements.has(Ae)){const{observer:j,stream:W}=this._observedElements.get(Ae);j&&j.disconnect(),W.complete(),this._observedElements.delete(Ae)}}static \u0275fac=function(j){return new(j||le)};static \u0275prov=i.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),A=(()=>{class le{_contentObserver=(0,i.WQX)(B);_elementRef=(0,i.WQX)(d.aKT);event=new d.bkB;get disabled(){return this._disabled}set disabled(Ae){this._disabled=Ae,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(Ae){this._debounce=(0,u.OE)(Ae),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Ae=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?Ae.pipe((0,e.B)(this.debounce)):Ae).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(j){return new(j||le)};static \u0275dir=d.FsC({type:le,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",v.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return le})(),Pe=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275mod=d.$C({type:le});static \u0275inj=i.G2t({providers:[C]})}return le})()},3610(Zt,pe,l){"use strict";l.d(pe,{a:()=>B});var i=l(2615),d=l(3664),v=l(1413),T=l(1985),w=l(5964),e=l(2771),O=l(7647),u=l(6977);class C{_box;_destroyed=new v.B;_resizeSubject=new v.B;_resizeObserver;_elementObservables=new Map;constructor(Pe){this._box=Pe,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(le=>this._resizeSubject.next(le)))}observe(Pe){return this._elementObservables.has(Pe)||this._elementObservables.set(Pe,new T.c(le=>{const Ce=this._resizeSubject.subscribe(le);return this._resizeObserver?.observe(Pe,{box:this._box}),()=>{this._resizeObserver?.unobserve(Pe),Ce.unsubscribe(),this._elementObservables.delete(Pe)}}).pipe((0,w.p)(le=>le.some(Ce=>Ce.target===Pe)),function f(A,Pe,le){let Ce,Ae=!1;return A&&"object"==typeof A?({bufferSize:Ce=1/0,windowTime:Pe=1/0,refCount:Ae=!1,scheduler:le}=A):Ce=A??1/0,(0,O.u)({connector:()=>new e.m(Ce,Pe,le),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}({bufferSize:1,refCount:!0}),(0,u.Q)(this._destroyed))),this._elementObservables.get(Pe)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let B=(()=>{class A{_cleanupErrorListener;_observers=new Map;_ngZone=(0,i.WQX)(d.SKi);constructor(){}ngOnDestroy(){for(const[,le]of this._observers)le.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(le,Ce){const Ae=Ce?.box||"content-box";return this._observers.has(Ae)||this._observers.set(Ae,new C(Ae)),this._observers.get(Ae).observe(le)}static \u0275fac=function(Ce){return new(Ce||A)};static \u0275prov=i.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},9338(Zt,pe,l){"use strict";l.d(pe,{WB:()=>kn,$Q:()=>Ni,rW:()=>Gt,rR:()=>ie,Sf:()=>ht,z_:()=>ee,yY:()=>Ye,gA:()=>be,$M:()=>gt,uA:()=>Ue,Y$:()=>Pt,RH:()=>lt});var i=l(2615),d=l(3664),v=l(7705),T=l(7303),w=l(9842),e=l(4522);function O(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var f=l(8968),u=l(1413),L=l(8359);function C(ye){return null==ye?"":"string"==typeof ye?ye:`${ye}px`}var B=l(408),A=l(5718),Pe=l(6939),le=l(7860),Ce=l(5964),Ae=l(9974),j=l(4360),G=l(9726),re=l(1577),xe=l(438),Ee=l(7336),V=l(8203);const ce=(0,le.CZ)();function be(ye){return new ne(ye.get(A.Xj),ye.get(i.qQL))}class ne{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(ke,Se){this._viewportRuler=ke,this._document=Se}attach(){}enable(){if(this._canBeEnabled()){const ke=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ke.style.left||"",this._previousHTMLStyles.top=ke.style.top||"",ke.style.left=C(-this._previousScrollPosition.left),ke.style.top=C(-this._previousScrollPosition.top),ke.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ke=this._document.documentElement,ge=ke.style,N=this._document.body.style,Z=ge.scrollBehavior||"",Me=N.scrollBehavior||"";this._isEnabled=!1,ge.left=this._previousHTMLStyles.left,ge.top=this._previousHTMLStyles.top,ke.classList.remove("cdk-global-scrollblock"),ce&&(ge.scrollBehavior=N.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ce&&(ge.scrollBehavior=Z,N.scrollBehavior=Me)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Se=this._document.documentElement,ge=this._viewportRuler.getViewportSize();return Se.scrollHeight>ge.height||Se.scrollWidth>ge.width}}class Re{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(ke,Se,ge,N){this._scrollDispatcher=ke,this._ngZone=Se,this._viewportRuler=ge,this._config=N}attach(ke){this._overlayRef=ke}enable(){if(this._scrollSubscription)return;const ke=this._scrollDispatcher.scrolled(0).pipe((0,Ce.p)(Se=>!Se||!this._overlayRef.overlayElement.contains(Se.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ke.subscribe(()=>{const Se=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Se-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ke.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class _e{enable(){}disable(){}attach(){}}function he(ye,ke){return ke.some(Se=>ye.bottomSe.bottom||ye.rightSe.right)}function Dt(ye,ke){return ke.some(Se=>ye.topSe.bottom||ye.leftSe.right)}function lt(ye,ke){return new Le(ye.get(A.R),ye.get(A.Xj),ye.get(d.SKi),ke)}class Le{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(ke,Se,ge,N){this._scrollDispatcher=ke,this._viewportRuler=Se,this._ngZone=ge,this._config=N}attach(ke){this._overlayRef=ke}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Se=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ge,height:N}=this._viewportRuler.getViewportSize();he(Se,[{width:ge,height:N,bottom:N,right:ge,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let te=(()=>{class ye{_injector=(0,i.WQX)(i.zZn);constructor(){}noop=()=>new _e;close=Se=>function De(ye,ke){return new Re(ye.get(A.R),ye.get(d.SKi),ye.get(A.Xj),ke)}(this._injector,Se);block=()=>be(this._injector);reposition=Se=>lt(this._injector,Se);static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class ie{positionStrategy;scrollStrategy=new _e;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(ke){if(ke){const Se=Object.keys(ke);for(const ge of Se)void 0!==ke[ge]&&(this[ge]=ke[ge])}}}class ve{connectionPair;scrollableViewProperties;constructor(ke,Se){this.connectionPair=ke,this.scrollableViewProperties=Se}}let Ke=(()=>{class ye{_attachedOverlays=[];_document=(0,i.WQX)(i.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(Se){this.remove(Se),this._attachedOverlays.push(Se)}remove(Se){const ge=this._attachedOverlays.indexOf(Se);ge>-1&&this._attachedOverlays.splice(ge,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),Vt=(()=>{class ye extends Ke{_ngZone=(0,i.WQX)(d.SKi);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cleanupKeydown;add(Se){super.add(Se),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=Se=>{const ge=this._attachedOverlays;for(let N=ge.length-1;N>-1;N--)if(ge[N]._keydownEvents.observers.length>0){this._ngZone.run(()=>ge[N]._keydownEvents.next(Se));break}};static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=d.xGo(ye)))(N||ye)}})();static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),St=(()=>{class ye extends Ke{_platform=(0,i.WQX)(w.O);_ngZone=(0,i.WQX)(d.SKi);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(Se){if(super.add(Se),!this._isAttached){const ge=this._document.body,N={capture:!0},Z=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Z.listen(ge,"pointerdown",this._pointerDownListener,N),Z.listen(ge,"click",this._clickListener,N),Z.listen(ge,"auxclick",this._clickListener,N),Z.listen(ge,"contextmenu",this._clickListener,N)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ge.style.cursor,ge.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(Se=>Se()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=Se=>{this._pointerDownEventTarget=(0,e.Fb)(Se)};_clickListener=Se=>{const ge=(0,e.Fb)(Se),N="click"===Se.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ge;this._pointerDownEventTarget=null;const Z=this._attachedOverlays.slice();for(let Me=Z.length-1;Me>-1;Me--){const at=Z[Me];if(at._outsidePointerEvents.observers.length<1||!at.hasAttached())continue;if(ot(at.overlayElement,ge)||ot(at.overlayElement,N))break;const qe=at._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>qe.next(Se)):qe.next(Se)}};static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=d.xGo(ye)))(N||ye)}})();static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function ot(ye,ke){const Se=typeof ShadowRoot<"u"&&ShadowRoot;let ge=ke;for(;ge;){if(ge===ye)return!0;ge=Se&&ge instanceof ShadowRoot?ge.host:ge.parentNode}return!1}let nt=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275cmp=d.VBU({type:ye,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(ge,N){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return ye})(),ht=(()=>{class ye{_platform=(0,i.WQX)(w.O);_containerElement;_document=(0,i.WQX)(i.qQL);_styleLoader=(0,i.WQX)(f.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Se="cdk-overlay-container";if(this._platform.isBrowser||O()){const N=this._document.querySelectorAll(`.${Se}[platform="server"], .${Se}[platform="test"]`);for(let Z=0;Z{const ke=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(ke,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),ke.style.pointerEvents="none",ke.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Ye{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new u.B;_attachments=new u.B;_detachments=new u.B;_positionStrategy;_scrollStrategy;_locationChanges=L.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new u.B;_outsidePointerEvents=new u.B;_afterNextRenderRef;constructor(ke,Se,ge,N,Z,Me,at,qe,pn,Je=!1,Be,ut){this._portalOutlet=ke,this._host=Se,this._pane=ge,this._config=N,this._ngZone=Z,this._keyboardDispatcher=Me,this._document=at,this._location=qe,this._outsideClickDispatcher=pn,this._animationsDisabled=Je,this._injector=Be,this._renderer=ut,N.scrollStrategy&&(this._scrollStrategy=N.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=N.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(ke){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Se=this._portalOutlet.attach(ke);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,d.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Se?.onDestroy&&Se.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Se}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ke=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ke}dispose(){const ke=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,ke&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ke){ke!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ke,this.hasAttached()&&(ke.attach(this),this.updatePosition()))}updateSize(ke){this._config={...this._config,...ke},this._updateElementSize()}setDirection(ke){this._config={...this._config,direction:ke},this._updateElementDirection()}addPanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!0)}removePanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!1)}getDirection(){const ke=this._config.direction;return ke?"string"==typeof ke?ke:ke.value:"ltr"}updateScrollStrategy(ke){ke!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ke,this.hasAttached()&&(ke.attach(this),ke.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ke=this._pane.style;ke.width=C(this._config.width),ke.height=C(this._config.height),ke.minWidth=C(this._config.minWidth),ke.minHeight=C(this._config.minHeight),ke.maxWidth=C(this._config.maxWidth),ke.maxHeight=C(this._config.maxHeight)}_togglePointerEvents(ke){this._pane.style.pointerEvents=ke?"":"none"}_attachBackdrop(){const ke="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new oe(this._document,this._renderer,this._ngZone,Se=>{this._backdropClick.next(Se)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(ke))}):this._backdropRef.element.classList.add(ke)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(ke,Se,ge){const N=(0,B.F)(Se||[]).filter(Z=>!!Z);N.length&&(ge?ke.classList.add(...N):ke.classList.remove(...N))}_detachContentWhenEmpty(){let ke=!1;try{this._detachContentAfterRenderRef=(0,d.mal)(()=>{ke=!0,this._detachContent()},{injector:this._injector})}catch(Se){if(ke)throw Se;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const ke=this._scrollStrategy;ke?.disable(),ke?.detach?.()}}const fe="cdk-overlay-connected-position-bounding-box",Qe=/([A-Za-z%]+)$/;function gt(ye,ke){return new Gt(ke,ye.get(A.Xj),ye.get(i.qQL),ye.get(w.O),ye.get(ht))}class Gt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new u.B;_resizeSubscription=L.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(ke,Se,ge,N,Z){this._viewportRuler=Se,this._document=ge,this._platform=N,this._overlayContainer=Z,this.setOrigin(ke)}attach(ke){this._validatePositions(),ke.hostElement.classList.add(fe),this._overlayRef=ke,this._boundingBox=ke.hostElement,this._pane=ke.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ke=this._originRect,Se=this._overlayRect,ge=this._viewportRect,N=this._containerRect,Z=[];let Me;for(let at of this._preferredPositions){let qe=this._getOriginPoint(ke,N,at),pn=this._getOverlayPoint(qe,Se,at),Je=this._getOverlayFit(pn,Se,ge,at);if(Je.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(at,qe);this._canFitWithFlexibleDimensions(Je,pn,ge)?Z.push({position:at,origin:qe,overlayRect:Se,boundingBoxRect:this._calculateBoundingBoxRect(qe,at)}):(!Me||Me.overlayFit.visibleAreaqe&&(qe=Je,at=pn)}return this._isPushed=!1,void this._applyPosition(at.position,at.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Me.position,Me.originPoint);this._applyPosition(Me.position,Me.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&rt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(fe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ke=this._lastPosition;if(ke){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Se=this._getOriginPoint(this._originRect,this._containerRect,ke);this._applyPosition(ke,Se)}else this.apply()}withScrollableContainers(ke){return this._scrollables=ke,this}withPositions(ke){return this._preferredPositions=ke,-1===ke.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ke){return this._viewportMargin=ke,this}withFlexibleDimensions(ke=!0){return this._hasFlexibleDimensions=ke,this}withGrowAfterOpen(ke=!0){return this._growAfterOpen=ke,this}withPush(ke=!0){return this._canPush=ke,this}withLockedPosition(ke=!0){return this._positionLocked=ke,this}setOrigin(ke){return this._origin=ke,this}withDefaultOffsetX(ke){return this._offsetX=ke,this}withDefaultOffsetY(ke){return this._offsetY=ke,this}withTransformOriginOn(ke){return this._transformOriginSelector=ke,this}_getOriginPoint(ke,Se,ge){let N,Z;if("center"==ge.originX)N=ke.left+ke.width/2;else{const Me=this._isRtl()?ke.right:ke.left,at=this._isRtl()?ke.left:ke.right;N="start"==ge.originX?Me:at}return Se.left<0&&(N-=Se.left),Z="center"==ge.originY?ke.top+ke.height/2:"top"==ge.originY?ke.top:ke.bottom,Se.top<0&&(Z-=Se.top),{x:N,y:Z}}_getOverlayPoint(ke,Se,ge){let N,Z;return N="center"==ge.overlayX?-Se.width/2:"start"===ge.overlayX?this._isRtl()?-Se.width:0:this._isRtl()?0:-Se.width,Z="center"==ge.overlayY?-Se.height/2:"top"==ge.overlayY?0:-Se.height,{x:ke.x+N,y:ke.y+Z}}_getOverlayFit(ke,Se,ge,N){const Z=Ft(Se);let{x:Me,y:at}=ke,qe=this._getOffset(N,"x"),pn=this._getOffset(N,"y");qe&&(Me+=qe),pn&&(at+=pn);let ut=0-at,Ge=at+Z.height-ge.height,Ot=this._subtractOverflows(Z.width,0-Me,Me+Z.width-ge.width),se=this._subtractOverflows(Z.height,ut,Ge),We=Ot*se;return{visibleArea:We,isCompletelyWithinViewport:Z.width*Z.height===We,fitsInViewportVertically:se===Z.height,fitsInViewportHorizontally:Ot==Z.width}}_canFitWithFlexibleDimensions(ke,Se,ge){if(this._hasFlexibleDimensions){const N=ge.bottom-Se.y,Z=ge.right-Se.x,Me=cn(this._overlayRef.getConfig().minHeight),at=cn(this._overlayRef.getConfig().minWidth);return(ke.fitsInViewportVertically||null!=Me&&Me<=N)&&(ke.fitsInViewportHorizontally||null!=at&&at<=Z)}return!1}_pushOverlayOnScreen(ke,Se,ge){if(this._previousPushAmount&&this._positionLocked)return{x:ke.x+this._previousPushAmount.x,y:ke.y+this._previousPushAmount.y};const N=Ft(Se),Z=this._viewportRect,Me=Math.max(ke.x+N.width-Z.width,0),at=Math.max(ke.y+N.height-Z.height,0),qe=Math.max(Z.top-ge.top-ke.y,0),pn=Math.max(Z.left-ge.left-ke.x,0);let Je=0,Be=0;return Je=N.width<=Z.width?pn||-Me:ke.xOt&&!this._isInitialRender&&!this._growAfterOpen&&(Me=ke.y-Ot/2)}if("end"===Se.overlayX&&!N||"start"===Se.overlayX&&N)ut=ge.width-ke.x+2*this._viewportMargin,Je=ke.x-this._viewportMargin;else if("start"===Se.overlayX&&!N||"end"===Se.overlayX&&N)Be=ke.x,Je=ge.right-ke.x;else{const Ge=Math.min(ge.right-ke.x+ge.left,ke.x),Ot=this._lastBoundingBoxSize.width;Je=2*Ge,Be=ke.x-Ge,Je>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(Be=ke.x-Ot/2)}return{top:Me,left:Be,bottom:at,right:ut,width:Je,height:Z}}_setBoundingBoxStyles(ke,Se){const ge=this._calculateBoundingBoxRect(ke,Se);!this._isInitialRender&&!this._growAfterOpen&&(ge.height=Math.min(ge.height,this._lastBoundingBoxSize.height),ge.width=Math.min(ge.width,this._lastBoundingBoxSize.width));const N={};if(this._hasExactPosition())N.top=N.left="0",N.bottom=N.right=N.maxHeight=N.maxWidth="",N.width=N.height="100%";else{const Z=this._overlayRef.getConfig().maxHeight,Me=this._overlayRef.getConfig().maxWidth;N.height=C(ge.height),N.top=C(ge.top),N.bottom=C(ge.bottom),N.width=C(ge.width),N.left=C(ge.left),N.right=C(ge.right),N.alignItems="center"===Se.overlayX?"center":"end"===Se.overlayX?"flex-end":"flex-start",N.justifyContent="center"===Se.overlayY?"center":"bottom"===Se.overlayY?"flex-end":"flex-start",Z&&(N.maxHeight=C(Z)),Me&&(N.maxWidth=C(Me))}this._lastBoundingBoxSize=ge,rt(this._boundingBox.style,N)}_resetBoundingBoxStyles(){rt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){rt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ke,Se){const ge={},N=this._hasExactPosition(),Z=this._hasFlexibleDimensions,Me=this._overlayRef.getConfig();if(N){const Je=this._viewportRuler.getViewportScrollPosition();rt(ge,this._getExactOverlayY(Se,ke,Je)),rt(ge,this._getExactOverlayX(Se,ke,Je))}else ge.position="static";let at="",qe=this._getOffset(Se,"x"),pn=this._getOffset(Se,"y");qe&&(at+=`translateX(${qe}px) `),pn&&(at+=`translateY(${pn}px)`),ge.transform=at.trim(),Me.maxHeight&&(N?ge.maxHeight=C(Me.maxHeight):Z&&(ge.maxHeight="")),Me.maxWidth&&(N?ge.maxWidth=C(Me.maxWidth):Z&&(ge.maxWidth="")),rt(this._pane.style,ge)}_getExactOverlayY(ke,Se,ge){let N={top:"",bottom:""},Z=this._getOverlayPoint(Se,this._overlayRect,ke);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,ge)),"bottom"===ke.overlayY?N.bottom=this._document.documentElement.clientHeight-(Z.y+this._overlayRect.height)+"px":N.top=C(Z.y),N}_getExactOverlayX(ke,Se,ge){let Me,N={left:"",right:""},Z=this._getOverlayPoint(Se,this._overlayRect,ke);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,ge)),Me=this._isRtl()?"end"===ke.overlayX?"left":"right":"end"===ke.overlayX?"right":"left","right"===Me?N.right=this._document.documentElement.clientWidth-(Z.x+this._overlayRect.width)+"px":N.left=C(Z.x),N}_getScrollVisibility(){const ke=this._getOriginRect(),Se=this._pane.getBoundingClientRect(),ge=this._scrollables.map(N=>N.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Dt(ke,ge),isOriginOutsideView:he(ke,ge),isOverlayClipped:Dt(Se,ge),isOverlayOutsideView:he(Se,ge)}}_subtractOverflows(ke,...Se){return Se.reduce((ge,N)=>ge-Math.max(N,0),ke)}_getNarrowedViewportRect(){const ke=this._document.documentElement.clientWidth,Se=this._document.documentElement.clientHeight,ge=this._viewportRuler.getViewportScrollPosition();return{top:ge.top+this._viewportMargin,left:ge.left+this._viewportMargin,right:ge.left+ke-this._viewportMargin,bottom:ge.top+Se-this._viewportMargin,width:ke-2*this._viewportMargin,height:Se-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ke,Se){return"x"===Se?null==ke.offsetX?this._offsetX:ke.offsetX:null==ke.offsetY?this._offsetY:ke.offsetY}_validatePositions(){}_addPanelClasses(ke){this._pane&&(0,B.F)(ke).forEach(Se=>{""!==Se&&-1===this._appliedPanelClasses.indexOf(Se)&&(this._appliedPanelClasses.push(Se),this._pane.classList.add(Se))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ke=>{this._pane.classList.remove(ke)}),this._appliedPanelClasses=[])}_getOriginRect(){const ke=this._origin;if(ke instanceof d.aKT)return ke.nativeElement.getBoundingClientRect();if(ke instanceof Element)return ke.getBoundingClientRect();const Se=ke.width||0,ge=ke.height||0;return{top:ke.y,bottom:ke.y+ge,left:ke.x,right:ke.x+Se,height:ge,width:Se}}}function rt(ye,ke){for(let Se in ke)ke.hasOwnProperty(Se)&&(ye[Se]=ke[Se]);return ye}function cn(ye){if("number"!=typeof ye&&null!=ye){const[ke,Se]=ye.split(Qe);return Se&&"px"!==Se?null:parseFloat(ke)}return ye||null}function Ft(ye){return{top:Math.floor(ye.top),right:Math.floor(ye.right),bottom:Math.floor(ye.bottom),left:Math.floor(ye.left),width:Math.floor(ye.width),height:Math.floor(ye.height)}}const jt="cdk-global-overlay-wrapper";function Ue(ye){return new wt}class wt{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(ke){const Se=ke.getConfig();this._overlayRef=ke,this._width&&!Se.width&&ke.updateSize({width:this._width}),this._height&&!Se.height&&ke.updateSize({height:this._height}),ke.hostElement.classList.add(jt),this._isDisposed=!1}top(ke=""){return this._bottomOffset="",this._topOffset=ke,this._alignItems="flex-start",this}left(ke=""){return this._xOffset=ke,this._xPosition="left",this}bottom(ke=""){return this._topOffset="",this._bottomOffset=ke,this._alignItems="flex-end",this}right(ke=""){return this._xOffset=ke,this._xPosition="right",this}start(ke=""){return this._xOffset=ke,this._xPosition="start",this}end(ke=""){return this._xOffset=ke,this._xPosition="end",this}width(ke=""){return this._overlayRef?this._overlayRef.updateSize({width:ke}):this._width=ke,this}height(ke=""){return this._overlayRef?this._overlayRef.updateSize({height:ke}):this._height=ke,this}centerHorizontally(ke=""){return this.left(ke),this._xPosition="center",this}centerVertically(ke=""){return this.top(ke),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ke=this._overlayRef.overlayElement.style,Se=this._overlayRef.hostElement.style,ge=this._overlayRef.getConfig(),{width:N,height:Z,maxWidth:Me,maxHeight:at}=ge,qe=!("100%"!==N&&"100vw"!==N||Me&&"100%"!==Me&&"100vw"!==Me),pn=!("100%"!==Z&&"100vh"!==Z||at&&"100%"!==at&&"100vh"!==at),Je=this._xPosition,Be=this._xOffset,ut="rtl"===this._overlayRef.getConfig().direction;let Ge="",Ot="",se="";qe?se="flex-start":"center"===Je?(se="center",ut?Ot=Be:Ge=Be):ut?"left"===Je||"end"===Je?(se="flex-end",Ge=Be):("right"===Je||"start"===Je)&&(se="flex-start",Ot=Be):"left"===Je||"start"===Je?(se="flex-start",Ge=Be):("right"===Je||"end"===Je)&&(se="flex-end",Ot=Be),ke.position=this._cssPosition,ke.marginLeft=qe?"0":Ge,ke.marginTop=pn?"0":this._topOffset,ke.marginBottom=this._bottomOffset,ke.marginRight=qe?"0":Ot,Se.justifyContent=se,Se.alignItems=pn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ke=this._overlayRef.overlayElement.style,Se=this._overlayRef.hostElement,ge=Se.style;Se.classList.remove(jt),ge.justifyContent=ge.alignItems=ke.marginTop=ke.marginBottom=ke.marginLeft=ke.marginRight=ke.position="",this._overlayRef=null,this._isDisposed=!0}}let pt=(()=>{class ye{_injector=(0,i.WQX)(i.zZn);constructor(){}global(){return Ue()}flexibleConnectedTo(Se){return gt(this._injector,Se)}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function Pt(ye,ke){ye.get(f.l).load(nt);const Se=ye.get(ht),ge=ye.get(i.qQL),N=ye.get(G.g),Z=ye.get(d.o8S),Me=ye.get(re.dS),at=ge.createElement("div"),qe=ge.createElement("div");qe.id=N.getId("cdk-overlay-"),qe.classList.add("cdk-overlay-pane"),at.appendChild(qe),Se.getContainerElement().appendChild(at);const pn=new Pe.aI(qe,Z,ye),Je=new ie(ke),Be=ye.get(d.sFG,null,{optional:!0})||ye.get(d._9s).createRenderer(null,null);return Je.direction=Je.direction||Me.value,new Ye(pn,at,qe,Je,ye.get(d.SKi),ye.get(Vt),ge,ye.get(T.aZ),ye.get(St),ke?.disableAnimations??"NoopAnimations"===ye.get(d.bc$,null,{optional:!0}),ye.get(i.uvJ),Be)}let gn=(()=>{class ye{scrollStrategies=(0,i.WQX)(te);_positionBuilder=(0,i.WQX)(pt);_injector=(0,i.WQX)(i.zZn);constructor(){}create(Se){return Pt(this._injector,Se)}position(){return this._positionBuilder}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const ei=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vi=new i.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ye=(0,i.WQX)(i.zZn);return()=>lt(ye)}});let Ni=(()=>{class ye{elementRef=(0,i.WQX)(d.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=d.FsC({type:ye,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return ye})(),kn=(()=>{class ye{_dir=(0,i.WQX)(re.dS,{optional:!0});_injector=(0,i.WQX)(i.zZn);_overlayRef;_templatePortal;_backdropSubscription=L.yU.EMPTY;_attachSubscription=L.yU.EMPTY;_detachSubscription=L.yU.EMPTY;_positionSubscription=L.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,i.WQX)(vi);_disposeOnNavigation=!1;_ngZone=(0,i.WQX)(d.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(Se){this._offsetX=Se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Se){this._offsetY=Se,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Se){this._disposeOnNavigation=Se}backdropClick=new d.bkB;positionChange=new d.bkB;attach=new d.bkB;detach=new d.bkB;overlayKeydown=new d.bkB;overlayOutsideClick=new d.bkB;constructor(){const Se=(0,i.WQX)(d.C4Q),ge=(0,i.WQX)(d.c1b);this._templatePortal=new Pe.VA(Se,ge),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(Se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Se.origin&&this.open&&this._position.apply()),Se.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ei);const Se=this._overlayRef=Pt(this._injector,this._buildConfig());this._attachSubscription=Se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Se.detachments().subscribe(()=>this.detach.emit()),Se.keydownEvents().subscribe(ge=>{this.overlayKeydown.next(ge),ge.keyCode===xe._f&&!this.disableClose&&!(0,Ee.rp)(ge)&&(ge.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ge=>{const N=this._getOriginElement(),Z=(0,e.Fb)(ge);(!N||N!==Z&&!N.contains(Z))&&this.overlayOutsideClick.next(ge)})}_buildConfig(){const Se=this._position=this.positionStrategy||this._createPositionStrategy(),ge=new ie({direction:this._dir||"ltr",positionStrategy:Se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ge.width=this.width),(this.height||0===this.height)&&(ge.height=this.height),(this.minWidth||0===this.minWidth)&&(ge.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ge.minHeight=this.minHeight),this.backdropClass&&(ge.backdropClass=this.backdropClass),this.panelClass&&(ge.panelClass=this.panelClass),ge}_updatePositionStrategy(Se){const ge=this.positions.map(N=>({originX:N.originX,originY:N.originY,overlayX:N.overlayX,overlayY:N.overlayY,offsetX:N.offsetX||this.offsetX,offsetY:N.offsetY||this.offsetY,panelClass:N.panelClass||void 0}));return Se.setOrigin(this._getOrigin()).withPositions(ge).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Se=gt(this._injector,this._getOrigin());return this._updatePositionStrategy(Se),Se}_getOrigin(){return this.origin instanceof Ni?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ni?this.origin.elementRef.nativeElement:this.origin instanceof d.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Se=>{this.backdropClick.emit(Se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function W(ye,ke=!1){return(0,Ae.N)((Se,ge)=>{let N=0;Se.subscribe((0,j._)(ge,Z=>{const Me=ye(Z,N++);(Me||ke)&&ge.next(Z),!Me&&ge.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Se=>{this._ngZone.run(()=>this.positionChange.emit(Se)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=d.FsC({type:ye,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",v.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",v.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",v.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",v.L39],push:[2,"cdkConnectedOverlayPush","push",v.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",v.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[d.OA$]})}return ye})();const vt={provide:vi,useFactory:function Ri(ye){const ke=(0,i.WQX)(i.zZn);return()=>lt(ke)}};let ee=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275mod=d.$C({type:ye});static \u0275inj=i.G2t({providers:[gn,vt],imports:[V.jI,Pe.jc,A.E9,A.E9]})}return ye})()},3300(Zt,pe,l){"use strict";let i;function v(T){return function d(){if(null==i&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>i=!0}))}finally{i=i||!1}return i}()?T:!!T.capture}l.d(pe,{B:()=>v})},9842(Zt,pe,l){"use strict";l.d(pe,{O:()=>w});var i=l(2615),d=l(3664),v=l(177);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let w=(()=>{class e{_platformId=(0,i.WQX)(d.Agw);isBrowser=this._platformId?(0,v.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!T)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(u){return new(u||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},6939(Zt,pe,l){"use strict";l.d(pe,{A8:()=>B,I3:()=>W,VA:()=>A,aI:()=>Ce,bV:()=>Ae,jc:()=>re,lb:()=>le});var d=l(2615),v=l(3664),T=l(7705);class C{_attachedHost;attach(Ee){return this._attachedHost=Ee,Ee.attach(this)}detach(){let Ee=this._attachedHost;null!=Ee&&(this._attachedHost=null,Ee.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ee){this._attachedHost=Ee}}class B extends C{component;viewContainerRef;injector;projectableNodes;constructor(Ee,V,ce,be){super(),this.component=Ee,this.viewContainerRef=V,this.injector=ce,this.projectableNodes=be}}class A extends C{templateRef;viewContainerRef;context;injector;constructor(Ee,V,ce,be){super(),this.templateRef=Ee,this.viewContainerRef=V,this.context=ce,this.injector=be}get origin(){return this.templateRef.elementRef}attach(Ee,V=this.context){return this.context=V,super.attach(Ee)}detach(){return this.context=void 0,super.detach()}}class Pe extends C{element;constructor(Ee){super(),this.element=Ee instanceof v.aKT?Ee.nativeElement:Ee}}class le{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(Ee){return Ee instanceof B?(this._attachedPortal=Ee,this.attachComponentPortal(Ee)):Ee instanceof A?(this._attachedPortal=Ee,this.attachTemplatePortal(Ee)):this.attachDomPortal&&Ee instanceof Pe?(this._attachedPortal=Ee,this.attachDomPortal(Ee)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ee){this._disposeFn=Ee}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ce extends le{outletElement;_appRef;_defaultInjector;constructor(Ee,V,ce){super(),this.outletElement=Ee,this._appRef=V,this._defaultInjector=ce}attachComponentPortal(Ee){let V;if(Ee.viewContainerRef){const ce=Ee.injector||Ee.viewContainerRef.injector,be=ce.get(v.Ab1,null,{optional:!0})||void 0;V=Ee.viewContainerRef.createComponent(Ee.component,{index:Ee.viewContainerRef.length,injector:ce,ngModuleRef:be,projectableNodes:Ee.projectableNodes||void 0}),this.setDisposeFn(()=>V.destroy())}else{const ce=this._appRef,be=Ee.injector||this._defaultInjector||d.zZn.NULL,ne=be.get(d.uvJ,ce.injector);V=(0,T.a0P)(Ee.component,{elementInjector:be,environmentInjector:ne,projectableNodes:Ee.projectableNodes||void 0}),ce.attachView(V.hostView),this.setDisposeFn(()=>{ce.viewCount>0&&ce.detachView(V.hostView),V.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(V)),this._attachedPortal=Ee,V}attachTemplatePortal(Ee){let V=Ee.viewContainerRef,ce=V.createEmbeddedView(Ee.templateRef,Ee.context,{injector:Ee.injector});return ce.rootNodes.forEach(be=>this.outletElement.appendChild(be)),ce.detectChanges(),this.setDisposeFn(()=>{let be=V.indexOf(ce);-1!==be&&V.remove(be)}),this._attachedPortal=Ee,ce}attachDomPortal=Ee=>{const V=Ee.element,ce=this.outletElement.ownerDocument.createComment("dom-portal");V.parentNode.insertBefore(ce,V),this.outletElement.appendChild(V),this._attachedPortal=Ee,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild(V,ce)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ee){return Ee.hostView.rootNodes[0]}}let Ae=(()=>{class xe extends A{constructor(){super((0,d.WQX)(v.C4Q),(0,d.WQX)(v.c1b))}static \u0275fac=function(ce){return new(ce||xe)};static \u0275dir=v.FsC({type:xe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[v.Vt3]})}return xe})(),W=(()=>{class xe extends le{_moduleRef=(0,d.WQX)(v.Ab1,{optional:!0});_document=(0,d.WQX)(d.qQL);_viewContainerRef=(0,d.WQX)(v.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(V){this.hasAttached()&&!V&&!this._isInitialized||(this.hasAttached()&&super.detach(),V&&super.attach(V),this._attachedPortal=V||null)}attached=new v.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(V){V.setAttachedHost(this);const ce=null!=V.viewContainerRef?V.viewContainerRef:this._viewContainerRef,be=ce.createComponent(V.component,{index:ce.length,injector:V.injector||ce.injector,projectableNodes:V.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return ce!==this._viewContainerRef&&this._getRootNode().appendChild(be.hostView.rootNodes[0]),super.setDisposeFn(()=>be.destroy()),this._attachedPortal=V,this._attachedRef=be,this.attached.emit(be),be}attachTemplatePortal(V){V.setAttachedHost(this);const ce=this._viewContainerRef.createEmbeddedView(V.templateRef,V.context,{injector:V.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=V,this._attachedRef=ce,this.attached.emit(ce),ce}attachDomPortal=V=>{const ce=V.element,be=this._document.createComment("dom-portal");V.setAttachedHost(this),ce.parentNode.insertBefore(be,ce),this._getRootNode().appendChild(ce),this._attachedPortal=V,super.setDisposeFn(()=>{be.parentNode&&be.parentNode.replaceChild(ce,be)})};_getRootNode(){const V=this._viewContainerRef.element.nativeElement;return V.nodeType===V.ELEMENT_NODE?V:V.parentNode}static \u0275fac=function(ce){return new(ce||xe)};static \u0275dir=v.FsC({type:xe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[v.Vt3]})}return xe})(),re=(()=>{class xe{static \u0275fac=function(ce){return new(ce||xe)};static \u0275mod=v.$C({type:xe});static \u0275inj=d.G2t({})}return xe})()},9046(Zt,pe,l){"use strict";l.d(pe,{Y:()=>d});var i=l(3664);let d=(()=>{class v{static \u0275fac=function(e){return new(e||v)};static \u0275cmp=i.VBU({type:v,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(e,O){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return v})()},5718(Zt,pe,l){"use strict";l.d(pe,{uv:()=>Z,Gj:()=>bt,R:()=>N,E9:()=>tn,Xj:()=>at});var i=l(2615),d=l(3664),v=l(1413),T=l(7673),w=l(1985),e=l(6780),O=l(8359);const f={schedule(on){let un=requestAnimationFrame,Nt=cancelAnimationFrame;const{delegate:dn}=f;dn&&(un=dn.requestAnimationFrame,Nt=dn.cancelAnimationFrame);const xn=un(Jn=>{Nt=void 0,on(Jn)});return new O.yU(()=>Nt?.(xn))},requestAnimationFrame(...on){const{delegate:un}=f;return(un?.requestAnimationFrame||requestAnimationFrame)(...on)},cancelAnimationFrame(...on){const{delegate:un}=f;return(un?.cancelAnimationFrame||cancelAnimationFrame)(...on)},delegate:void 0};var L=l(9687);new class C extends L.q{flush(un){let Nt;this._active=!0,un?Nt=un.id:(Nt=this._scheduled,this._scheduled=void 0);const{actions:dn}=this;let xn;un=un||dn.shift();do{if(xn=un.execute(un.state,un.delay))break}while((un=dn[0])&&un.id===Nt&&dn.shift());if(this._active=!1,xn){for(;(un=dn[0])&&un.id===Nt&&dn.shift();)un.unsubscribe();throw xn}}}(class u extends e.R{constructor(un,Nt){super(un,Nt),this.scheduler=un,this.work=Nt}requestAsyncId(un,Nt,dn=0){return null!==dn&&dn>0?super.requestAsyncId(un,Nt,dn):(un.actions.push(this),un._scheduled||(un._scheduled=f.requestAnimationFrame(()=>un.flush(void 0))))}recycleAsyncId(un,Nt,dn=0){var xn;if(null!=dn?dn>0:this.delay>0)return super.recycleAsyncId(un,Nt,dn);const{actions:Jn}=un;null!=Nt&&Nt===un._scheduled&&(null===(xn=Jn[Jn.length-1])||void 0===xn?void 0:xn.id)!==Nt&&(f.cancelAnimationFrame(Nt),un._scheduled=void 0)}});let le,Pe=1;const Ce={};function Ae(on){return on in Ce&&(delete Ce[on],!0)}const j={setImmediate(on){const un=Pe++;return Ce[un]=!0,le||(le=Promise.resolve()),le.then(()=>Ae(un)&&on()),un},clearImmediate(on){Ae(on)}},{setImmediate:G,clearImmediate:re}=j,xe={setImmediate(...on){const{delegate:un}=xe;return(un?.setImmediate||G)(...on)},clearImmediate(on){const{delegate:un}=xe;return(un?.clearImmediate||re)(on)},delegate:void 0};new class V extends L.q{flush(un){this._active=!0;const Nt=this._scheduled;this._scheduled=void 0;const{actions:dn}=this;let xn;un=un||dn.shift();do{if(xn=un.execute(un.state,un.delay))break}while((un=dn[0])&&un.id===Nt&&dn.shift());if(this._active=!1,xn){for(;(un=dn[0])&&un.id===Nt&&dn.shift();)un.unsubscribe();throw xn}}}(class Ee extends e.R{constructor(un,Nt){super(un,Nt),this.scheduler=un,this.work=Nt}requestAsyncId(un,Nt,dn=0){return null!==dn&&dn>0?super.requestAsyncId(un,Nt,dn):(un.actions.push(this),un._scheduled||(un._scheduled=xe.setImmediate(un.flush.bind(un,void 0))))}recycleAsyncId(un,Nt,dn=0){var xn;if(null!=dn?dn>0:this.delay>0)return super.recycleAsyncId(un,Nt,dn);const{actions:Jn}=un;null!=Nt&&(null===(xn=Jn[Jn.length-1])||void 0===xn?void 0:xn.id)!==Nt&&(xe.clearImmediate(Nt),un._scheduled===Nt&&(un._scheduled=void 0))}});var ne=l(3798),J=l(5964),De=l(7847),Re=l(9842),Xe=l(1577),_e=l(7860),he=l(8203);let N=(()=>{class on{_ngZone=(0,i.WQX)(d.SKi);_platform=(0,i.WQX)(Re.O);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new v.B;_scrolledCount=0;scrollContainers=new Map;register(Nt){this.scrollContainers.has(Nt)||this.scrollContainers.set(Nt,Nt.elementScrolled().subscribe(()=>this._scrolled.next(Nt)))}deregister(Nt){const dn=this.scrollContainers.get(Nt);dn&&(dn.unsubscribe(),this.scrollContainers.delete(Nt))}scrolled(Nt=20){return this._platform.isBrowser?new w.c(dn=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const xn=Nt>0?this._scrolled.pipe((0,ne.Z)(Nt)).subscribe(dn):this._scrolled.subscribe(dn);return this._scrolledCount++,()=>{xn.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,T.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((Nt,dn)=>this.deregister(dn)),this._scrolled.complete()}ancestorScrolled(Nt,dn){const xn=this.getAncestorScrollContainers(Nt);return this.scrolled(dn).pipe((0,J.p)(Jn=>!Jn||xn.indexOf(Jn)>-1))}getAncestorScrollContainers(Nt){const dn=[];return this.scrollContainers.forEach((xn,Jn)=>{this._scrollableContainsElement(Jn,Nt)&&dn.push(Jn)}),dn}_scrollableContainsElement(Nt,dn){let xn=(0,De.i8)(dn),Jn=Nt.getElementRef().nativeElement;do{if(xn==Jn)return!0}while(xn=xn.parentElement);return!1}static \u0275fac=function(dn){return new(dn||on)};static \u0275prov=i.jDH({token:on,factory:on.\u0275fac,providedIn:"root"})}return on})(),Z=(()=>{class on{elementRef=(0,i.WQX)(d.aKT);scrollDispatcher=(0,i.WQX)(N);ngZone=(0,i.WQX)(d.SKi);dir=(0,i.WQX)(Xe.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new v.B;_renderer=(0,i.WQX)(d.sFG);_cleanupScroll;_elementScrolled=new v.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",Nt=>this._elementScrolled.next(Nt))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Nt){const dn=this.elementRef.nativeElement,xn=this.dir&&"rtl"==this.dir.value;null==Nt.left&&(Nt.left=xn?Nt.end:Nt.start),null==Nt.right&&(Nt.right=xn?Nt.start:Nt.end),null!=Nt.bottom&&(Nt.top=dn.scrollHeight-dn.clientHeight-Nt.bottom),xn&&(0,_e.BD)()!=_e.r5.NORMAL?(null!=Nt.left&&(Nt.right=dn.scrollWidth-dn.clientWidth-Nt.left),(0,_e.BD)()==_e.r5.INVERTED?Nt.left=Nt.right:(0,_e.BD)()==_e.r5.NEGATED&&(Nt.left=Nt.right?-Nt.right:Nt.right)):null!=Nt.right&&(Nt.left=dn.scrollWidth-dn.clientWidth-Nt.right),this._applyScrollToOptions(Nt)}_applyScrollToOptions(Nt){const dn=this.elementRef.nativeElement;(0,_e.CZ)()?dn.scrollTo(Nt):(null!=Nt.top&&(dn.scrollTop=Nt.top),null!=Nt.left&&(dn.scrollLeft=Nt.left))}measureScrollOffset(Nt){const dn="left",Jn=this.elementRef.nativeElement;if("top"==Nt)return Jn.scrollTop;if("bottom"==Nt)return Jn.scrollHeight-Jn.clientHeight-Jn.scrollTop;const xi=this.dir&&"rtl"==this.dir.value;return"start"==Nt?Nt=xi?"right":dn:"end"==Nt&&(Nt=xi?dn:"right"),xi&&(0,_e.BD)()==_e.r5.INVERTED?Nt==dn?Jn.scrollWidth-Jn.clientWidth-Jn.scrollLeft:Jn.scrollLeft:xi&&(0,_e.BD)()==_e.r5.NEGATED?Nt==dn?Jn.scrollLeft+Jn.scrollWidth-Jn.clientWidth:-Jn.scrollLeft:Nt==dn?Jn.scrollLeft:Jn.scrollWidth-Jn.clientWidth-Jn.scrollLeft}static \u0275fac=function(dn){return new(dn||on)};static \u0275dir=d.FsC({type:on,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return on})(),at=(()=>{class on{_platform=(0,i.WQX)(Re.O);_listeners;_viewportSize;_change=new v.B;_document=(0,i.WQX)(i.qQL);constructor(){const Nt=(0,i.WQX)(d.SKi),dn=(0,i.WQX)(d._9s).createRenderer(null,null);Nt.runOutsideAngular(()=>{if(this._platform.isBrowser){const xn=Jn=>this._change.next(Jn);this._listeners=[dn.listen("window","resize",xn),dn.listen("window","orientationchange",xn)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(Nt=>Nt()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Nt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Nt}getViewportRect(){const Nt=this.getViewportScrollPosition(),{width:dn,height:xn}=this.getViewportSize();return{top:Nt.top,left:Nt.left,bottom:Nt.top+xn,right:Nt.left+dn,height:xn,width:dn}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Nt=this._document,dn=this._getWindow(),xn=Nt.documentElement,Jn=xn.getBoundingClientRect();return{top:-Jn.top||Nt.body.scrollTop||dn.scrollY||xn.scrollTop||0,left:-Jn.left||Nt.body.scrollLeft||dn.scrollX||xn.scrollLeft||0}}change(Nt=20){return Nt>0?this._change.pipe((0,ne.Z)(Nt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Nt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Nt.innerWidth,height:Nt.innerHeight}:{width:0,height:0}}static \u0275fac=function(dn){return new(dn||on)};static \u0275prov=i.jDH({token:on,factory:on.\u0275fac,providedIn:"root"})}return on})(),bt=(()=>{class on{static \u0275fac=function(dn){return new(dn||on)};static \u0275mod=d.$C({type:on});static \u0275inj=i.G2t({})}return on})(),tn=(()=>{class on{static \u0275fac=function(dn){return new(dn||on)};static \u0275mod=d.$C({type:on});static \u0275inj=i.G2t({imports:[he.jI,bt,he.jI,bt]})}return on})()},7860(Zt,pe,l){"use strict";l.d(pe,{BD:()=>w,CZ:()=>T,r5:()=>i});var i=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(i||{});let d,v;function T(){if(null==v){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return v=!1,v;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)v=!0;else{const e=Element.prototype.scrollTo;v=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return v}function w(){if("object"!=typeof document||!document)return i.NORMAL;if(null==d){const e=document.createElement("div"),O=e.style;e.dir="rtl",O.width="1px",O.overflow="auto",O.visibility="hidden",O.pointerEvents="none",O.position="absolute";const f=document.createElement("div"),u=f.style;u.width="2px",u.height="1px",e.appendChild(f),document.body.appendChild(e),d=i.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,d=0===e.scrollLeft?i.NEGATED:i.INVERTED),e.remove()}return d}},3869(Zt,pe,l){"use strict";l.d(pe,{C:()=>d});var i=l(1413);class d{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new i.B;constructor(w=!1,e,O=!0,f){this._multiple=w,this._emitChanges=O,this.compareWith=f,e&&e.length&&(w?e.forEach(u=>this._markSelected(u)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...w){this._verifyValueAssignment(w),w.forEach(O=>this._markSelected(O));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...w){this._verifyValueAssignment(w),w.forEach(O=>this._unmarkSelected(O));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...w){this._verifyValueAssignment(w);const e=this.selected,O=new Set(w.map(u=>this._getConcreteValue(u)));w.forEach(u=>this._markSelected(u)),e.filter(u=>!O.has(this._getConcreteValue(u,O))).forEach(u=>this._unmarkSelected(u));const f=this._hasQueuedChanges();return this._emitChangeEvent(),f}toggle(w){return this.isSelected(w)?this.deselect(w):this.select(w)}clear(w=!0){this._unmarkAll();const e=this._hasQueuedChanges();return w&&this._emitChangeEvent(),e}isSelected(w){return this._selection.has(this._getConcreteValue(w))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(w){this._multiple&&this.selected&&this._selected.sort(w)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(w){w=this._getConcreteValue(w),this.isSelected(w)||(this._multiple||this._unmarkAll(),this.isSelected(w)||this._selection.add(w),this._emitChanges&&this._selectedToEmit.push(w))}_unmarkSelected(w){w=this._getConcreteValue(w),this.isSelected(w)&&(this._selection.delete(w),this._emitChanges&&this._deselectedToEmit.push(w))}_unmarkAll(){this.isEmpty()||this._selection.forEach(w=>this._unmarkSelected(w))}_verifyValueAssignment(w){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(w,e){if(this.compareWith){e=e??this._selection;for(let O of e)if(this.compareWith(w,O))return O;return w}return w}}},4522(Zt,pe,l){"use strict";let i;function v(e){if(function d(){if(null==i){const e=typeof document<"u"?document.head:null;i=!(!e||!e.createShadowRoot&&!e.attachShadow)}return i}()){const O=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&O instanceof ShadowRoot)return O}return null}function T(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const O=e.shadowRoot.activeElement;if(O===e)break;e=O}return e}function w(e){return e.composedPath?e.composedPath()[0]:e.target}l.d(pe,{Fb:()=>w,KT:()=>v,vc:()=>T})},7768(Zt,pe,l){"use strict";l.d(pe,{FK:()=>ne,Up:()=>ce,VI:()=>V,nb:()=>G,oX:()=>W,uY:()=>J,v5:()=>be,x8:()=>Ee});var i=l(2615),d=l(3664),v=l(7705),T=l(9295),w=l(9417),e=l(1413),O=l(7673),f=l(9172),u=l(6977),L=l(1577),C=l(9726),B=l(4123),A=l(7336),Pe=l(438),le=l(4522),Ce=l(8203);const Ae=["*"];function j(De,Re){1&De&&d.SdG(0)}let W=(()=>{class De{_elementRef=(0,i.WQX)(d.aKT);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return De})(),G=(()=>{class De{template=(0,i.WQX)(d.C4Q);constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["","cdkStepLabel",""]]})}return De})();const Ee=new i.nKC("STEPPER_GLOBAL_OPTIONS");let V=(()=>{class De{_stepperOptions;_stepper=(0,i.WQX)(ce);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(Xe){this._interacted.set(Xe)}_interacted=(0,i.vPA)(!1);interactedStream=new d.bkB;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(Xe){this._state.set(Xe)}_state=(0,i.vPA)(void 0);get editable(){return this._editable()}set editable(Xe){this._editable.set(Xe)}_editable=(0,i.vPA)(!0);optional=!1;get completed(){const Xe=this._completedOverride(),_e=this._interacted();return Xe??(_e&&(!this.stepControl||this.stepControl.valid))}set completed(Xe){this._completedOverride.set(Xe)}_completedOverride=(0,i.vPA)(null);index=(0,i.vPA)(-1);isSelected=(0,T.EW)(()=>this._stepper.selectedIndex===this.index());indicatorType=(0,T.EW)(()=>{const Xe=this.isSelected(),_e=this.completed,he=this._state()??"number",Dt=this._editable();return this._showError()&&this.hasError&&!Xe?"error":this._displayDefaultIndicatorType?!_e||Xe?"number":Dt?"edit":"done":_e&&!Xe?"done":_e&&Xe?he:Dt&&Xe?"edit":he});isNavigable=(0,T.EW)(()=>{const Xe=this.isSelected();return this.completed||Xe||!this._stepper.linear});get hasError(){return this._customError()??this._getDefaultError()}set hasError(Xe){this._customError.set(Xe)}_customError=(0,i.vPA)(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){const Xe=(0,i.WQX)(Ee,{optional:!0});this._stepperOptions=Xe||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),null!=this._completedOverride()&&this._completedOverride.set(!1),null!=this._customError()&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(Xe=>Xe.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError()}static \u0275fac=function(_e){return new(_e||De)};static \u0275cmp=d.VBU({type:De,selectors:[["cdk-step"]],contentQueries:function(_e,he,Dt){if(1&_e&&(d.wni(Dt,G,5),d.wni(Dt,w.ZU,5)),2&_e){let lt;d.mGM(lt=d.lsd())&&(he.stepLabel=lt.first),d.mGM(lt=d.lsd())&&(he._childForms=lt)}},viewQuery:function(_e,he){if(1&_e&&d.GBs(d.C4Q,7),2&_e){let Dt;d.mGM(Dt=d.lsd())&&(he.content=Dt.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",v.L39],optional:[2,"optional","optional",v.L39],completed:[2,"completed","completed",v.L39],hasError:[2,"hasError","hasError",v.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[d.OA$],ngContentSelectors:Ae,decls:1,vars:0,template:function(_e,he){1&_e&&(d.NAR(),d.PeT(0,j,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return De})(),ce=(()=>{class De{_dir=(0,i.WQX)(L.dS,{optional:!0});_changeDetectorRef=(0,i.WQX)(v.gRc);_elementRef=(0,i.WQX)(d.aKT);_destroyed=new e.B;_keyManager;_steps;steps=new d.rOR;_stepHeader;_sortedHeaders=new d.rOR;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(Xe){this._steps?(this._isValidIndex(Xe),this.selectedIndex!==Xe&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(Xe)&&(Xe>=this.selectedIndex||this.steps.toArray()[Xe].editable)&&this._updateSelectedItemIndex(Xe))):this._selectedIndex.set(Xe)}_selectedIndex=(0,i.vPA)(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Xe){this.selectedIndex=Xe&&this.steps?this.steps.toArray().indexOf(Xe):-1}selectionChange=new d.bkB;selectedIndexChange=new d.bkB;_groupId=(0,i.WQX)(C.g).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(Xe){this._orientation=Xe,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Xe)}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe((0,f.Z)(this._steps),(0,u.Q)(this._destroyed)).subscribe(Xe=>{this.steps.reset(Xe.filter(_e=>_e._stepper===this)),this.steps.forEach((_e,he)=>_e.index.set(he)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe((0,f.Z)(this._stepHeader),(0,u.Q)(this._destroyed)).subscribe(Xe=>{this._sortedHeaders.reset(Xe.toArray().sort((_e,he)=>_e._elementRef.nativeElement.compareDocumentPosition(he._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new B.B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:(0,O.of)()).pipe((0,f.Z)(this._layoutDirection()),(0,u.Q)(this._destroyed)).subscribe(Xe=>this._keyManager?.withHorizontalOrientation(Xe)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){const Xe=this.steps.toArray().slice(0,this._selectedIndex());for(const _e of Xe)_e._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(Xe=>Xe.reset()),this._stateChanged()}_getStepLabelId(Xe){return`${this._groupId}-label-${Xe}`}_getStepContentId(Xe){return`${this._groupId}-content-${Xe}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Xe){const _e=Xe-this._selectedIndex();return _e<0?"rtl"===this._layoutDirection()?"next":"previous":_e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(Xe){const _e=this.steps.toArray(),he=this._selectedIndex();this.selectionChange.emit({selectedIndex:Xe,previouslySelectedIndex:he,selectedStep:_e[Xe],previouslySelectedStep:_e[he]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(Xe):this._keyManager.updateActiveItem(Xe)),this._selectedIndex.set(Xe),this.selectedIndexChange.emit(Xe),this._stateChanged()}_onKeydown(Xe){const _e=(0,A.rp)(Xe),he=Xe.keyCode,Dt=this._keyManager;null==Dt?.activeItemIndex||_e||he!==Pe.t6&&he!==Pe.Fm?Dt?.setFocusOrigin("keyboard").onKeydown(Xe):(this.selectedIndex=Dt.activeItemIndex,Xe.preventDefault())}_anyControlsInvalidOrPending(Xe){return!!(this.linear&&Xe>=0)&&this.steps.toArray().slice(0,Xe).some(_e=>{const he=_e.stepControl;return(he?he.invalid||he.pending||!_e.interacted:!_e.completed)&&!_e.optional&&!_e._completedOverride()})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Xe=this._elementRef.nativeElement,_e=(0,le.vc)();return Xe===_e||Xe.contains(_e)}_isValidIndex(Xe){return Xe>-1&&(!this.steps||Xe{class De{_stepper=(0,i.WQX)(ce);type="submit";constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(_e,he){1&_e&&d.bIt("click",function(){return he._stepper.next()}),2&_e&&d.Avn("type",he.type)},inputs:{type:"type"}})}return De})(),ne=(()=>{class De{_stepper=(0,i.WQX)(ce);type="button";constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(_e,he){1&_e&&d.bIt("click",function(){return he._stepper.previous()}),2&_e&&d.Avn("type",he.type)},inputs:{type:"type"}})}return De})(),J=(()=>{class De{static \u0275fac=function(_e){return new(_e||De)};static \u0275mod=d.$C({type:De});static \u0275inj=i.G2t({imports:[Ce.jI]})}return De})()},8968(Zt,pe,l){"use strict";l.d(pe,{l:()=>w});var i=l(2615),d=l(7705),v=l(3664);const T=new WeakMap;let w=(()=>{class e{_appRef;_injector=(0,i.WQX)(i.zZn);_environmentInjector=(0,i.WQX)(i.uvJ);load(f){const u=this._appRef=this._appRef||this._injector.get(v.o8S);let L=T.get(u);L||(L={loaders:new Set,refs:[]},T.set(u,L),u.onDestroy(()=>{T.get(u)?.refs.forEach(C=>C.destroy()),T.delete(u)})),L.loaders.has(f)||(L.loaders.add(f),L.refs.push((0,d.a0P)(f,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(u){return new(u||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},4125(Zt,pe,l){"use strict";l.d(pe,{Z2:()=>B});var i=l(2615),d=l(3664),v=l(1413),T=l(8359),w=l(4402),e=l(7673),O=l(6697),f=l(9096),u=l(8045);class L{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=le=>!1;_trackByFn=le=>le;_items=[];_typeahead;_typeaheadSubscription=T.yU.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||0===this._items.length)return;let le=0;for(let Ae=0;Ae{this._items=Ae.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):(0,w.A)(le)?le.subscribe(Ae=>{this._items=Ae,this._typeahead?.setItems(Ae),this._updateActiveItemIndex(Ae),this._initializeFocus()}):(this._items=le,this._initializeFocus()),"boolean"==typeof Ce.shouldActivationFollowFocus&&(this._shouldActivationFollowFocus=Ce.shouldActivationFollowFocus),Ce.horizontalOrientation&&(this._horizontalOrientation=Ce.horizontalOrientation),Ce.skipPredicate&&(this._skipPredicateFn=Ce.skipPredicate),Ce.trackBy&&(this._trackByFn=Ce.trackBy),typeof Ce.typeAheadDebounceInterval<"u"&&this._setTypeAhead(Ce.typeAheadDebounceInterval)}change=new v.B;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(le){switch(le.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":"rtl"===this._horizontalOrientation?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":"rtl"===this._horizontalOrientation?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if("*"===le.key){this._expandAllItemsAtCurrentItemLevel();break}return void this._typeahead?.handleKey(le)}this._typeahead?.reset(),le.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(le,Ce={}){Ce.emitChangeEvent??=!0;let Ae="number"==typeof le?le:this._items.findIndex(G=>this._trackByFn(G)===this._trackByFn(le));if(Ae<0||Ae>=this._items.length)return;const j=this._items[Ae];if(null!==this._activeItem&&this._trackByFn(j)===this._trackByFn(this._activeItem))return;const W=this._activeItem;this._activeItem=j??null,this._activeItemIndex=Ae,this._typeahead?.setCurrentSelectedItemIndex(Ae),this._activeItem?.focus(),W?.unfocus(),Ce.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(le){const Ce=this._activeItem;if(!Ce)return;const Ae=le.findIndex(j=>this._trackByFn(j)===this._trackByFn(Ce));Ae>-1&&Ae!==this._activeItemIndex&&(this._activeItemIndex=Ae,this._typeahead?.setCurrentSelectedItemIndex(Ae))}_setTypeAhead(le){this._typeahead=new f.i(this._items,{debounceInterval:"number"==typeof le?le:void 0,skipPredicate:Ce=>this._skipPredicateFn(Ce)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Ce=>{this.focusItem(Ce)})}_findNextAvailableItemIndex(le){for(let Ce=le+1;Ce=0;Ce--)if(!this._skipPredicateFn(this._items[Ce]))return Ce;return le}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{const le=this._activeItem.getParent();if(!le||this._skipPredicateFn(le))return;this.focusItem(le)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?(0,u.x)(this._activeItem.getChildren()).pipe((0,O.s)(1)).subscribe(le=>{const Ce=le.find(Ae=>!this._skipPredicateFn(Ae));Ce&&this.focusItem(Ce)}):this._activeItem.expand())}_isCurrentItemExpanded(){return!!this._activeItem&&("boolean"==typeof this._activeItem.isExpanded?this._activeItem.isExpanded:this._activeItem.isExpanded())}_isItemDisabled(le){return"boolean"==typeof le.isDisabled?le.isDisabled:le.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;const le=this._activeItem.getParent();let Ce;Ce=le?(0,u.x)(le.getChildren()):(0,e.of)(this._items.filter(Ae=>null===Ae.getParent())),Ce.pipe((0,O.s)(1)).subscribe(Ae=>{for(const j of Ae)j.expand()})}_activateCurrentItem(){this._activeItem?.activate()}}const B=new i.nKC("tree-key-manager",{providedIn:"root",factory:function C(){return(Pe,le)=>new L(Pe,le)}})},2279(Zt,pe,l){"use strict";l.d(pe,{kZ:()=>Xe,s3:()=>Ke,NL:()=>F,Dc:()=>ht,xn:()=>ve,Sz:()=>Dt,a$:()=>_e,aI:()=>St,Hy:()=>ot,XO:()=>Re});var i=l(3869),d=l(4402),v=l(1413),T=l(4412),w=l(7673),e=l(4572),O=l(983),f=l(8793),u=l(6697),L=l(5964),C=l(6977),B=l(9172),A=l(8141),Pe=l(5558),le=l(6354),Ce=l(6649),Ae=l(9974);function j(oe,Ye){return(0,Ae.N)((0,Ce.S)(oe,Ye,arguments.length>=2,!1,!0))}var W=l(274),G=l(3294),re=l(3664),xe=l(2615),Ee=l(7705),V=l(4125),ce=l(1577),be=l(4117),ne=l(8045);class J{dataNodes;expansionModel=new i.C(!0);trackBy;getLevel;isExpandable;getChildren;toggle(Ye){this.expansionModel.toggle(this._trackByValue(Ye))}expand(Ye){this.expansionModel.select(this._trackByValue(Ye))}collapse(Ye){this.expansionModel.deselect(this._trackByValue(Ye))}isExpanded(Ye){return this.expansionModel.isSelected(this._trackByValue(Ye))}toggleDescendants(Ye){this.expansionModel.isSelected(this._trackByValue(Ye))?this.collapseDescendants(Ye):this.expandDescendants(Ye)}collapseAll(){this.expansionModel.clear()}expandDescendants(Ye){let fe=[Ye];fe.push(...this.getDescendants(Ye)),this.expansionModel.select(...fe.map(Qe=>this._trackByValue(Qe)))}collapseDescendants(Ye){let fe=[Ye];fe.push(...this.getDescendants(Ye)),this.expansionModel.deselect(...fe.map(Qe=>this._trackByValue(Qe)))}_trackByValue(Ye){return this.trackBy?this.trackBy(Ye):Ye}}class Re extends J{getChildren;options;constructor(Ye,fe){super(),this.getChildren=Ye,this.options=fe,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();const Ye=this.dataNodes.reduce((fe,Qe)=>[...fe,...this.getDescendants(Qe),Qe],[]);this.expansionModel.select(...Ye.map(fe=>this._trackByValue(fe)))}getDescendants(Ye){const fe=[];return this._getDescendants(fe,Ye),fe.splice(1)}_getDescendants(Ye,fe){Ye.push(fe);const Qe=this.getChildren(fe);Array.isArray(Qe)?Qe.forEach(gt=>this._getDescendants(Ye,gt)):(0,d.A)(Qe)&&Qe.pipe((0,u.s)(1),(0,L.p)(Boolean)).subscribe(gt=>{for(const Gt of gt)this._getDescendants(Ye,Gt)})}}const Xe=new xe.nKC("CDK_TREE_NODE_OUTLET_NODE");let _e=(()=>{class oe{viewContainer=(0,xe.WQX)(re.c1b);_node=(0,xe.WQX)(Xe,{optional:!0});constructor(){}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeOutlet",""]]})}return oe})();class he{$implicit;level;index;count;constructor(Ye){this.$implicit=Ye}}let Dt=(()=>{class oe{template=(0,xe.WQX)(re.C4Q);when;constructor(){}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]}})}return oe})();function ie(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}let F=(()=>{class oe{_differs=(0,xe.WQX)(Ee._q3);_changeDetectorRef=(0,xe.WQX)(Ee.gRc);_elementRef=(0,xe.WQX)(re.aKT);_dir=(0,xe.WQX)(ce.dS);_onDestroy=new v.B;_dataDiffer;_defaultNodeDef;_dataSubscription;_levels=new Map;_parents=new Map;_ariaSets=new Map;get dataSource(){return this._dataSource}set dataSource(fe){this._dataSource!==fe&&this._switchDataSource(fe)}_dataSource;treeControl;levelAccessor;childrenAccessor;trackBy;expansionKey;_nodeOutlet;_nodeDefs;viewChange=new T.t({start:0,end:Number.MAX_VALUE});_expansionModel;_flattenedNodes=new T.t([]);_nodeType=new T.t(null);_nodes=new T.t(new Map);_keyManagerNodes=new T.t([]);_keyManagerFactory=(0,xe.WQX)(V.Z2);_keyManager;_viewInit=!1;constructor(){}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._nodes.complete(),this._keyManagerNodes.complete(),this._nodeType.complete(),this._flattenedNodes.complete(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){const fe=this._nodeDefs.filter(Qe=>!Qe.when);this._defaultNodeDef=fe[0]}_setNodeTypeIfUnset(fe){null===this._nodeType.value&&this._nodeType.next(fe)}_switchDataSource(fe){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),fe||this._nodeOutlet.viewContainer.clear(),this._dataSource=fe,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new i.C(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let fe;(0,be.y)(this._dataSource)?fe=this._dataSource.connect(this):(0,d.A)(this._dataSource)?fe=this._dataSource:Array.isArray(this._dataSource)&&(fe=(0,w.of)(this._dataSource)),fe&&(this._dataSubscription=this._getRenderData(fe).pipe((0,C.Q)(this._onDestroy)).subscribe(Qe=>{this._renderDataChanges(Qe)}))}_getRenderData(fe){const Qe=this._getExpansionModel();return(0,e.z)([fe,this._nodeType,Qe.changed.pipe((0,B.Z)(null),(0,A.M)(gt=>{this._emitExpansionChanges(gt)}))]).pipe((0,Pe.n)(([gt,Gt])=>null===Gt?(0,w.of)({renderNodes:gt,flattenedNodes:null,nodeType:Gt}):this._computeRenderingData(gt,Gt).pipe((0,le.T)(rt=>({...rt,nodeType:Gt})))))}_renderDataChanges(fe){null!==fe.nodeType?(this._updateCachedData(fe.flattenedNodes),this.renderNodeChanges(fe.renderNodes),this._updateKeyManagerItems(fe.flattenedNodes)):this.renderNodeChanges(fe.renderNodes)}_emitExpansionChanges(fe){if(!fe)return;const Qe=this._nodes.value;for(const gt of fe.added)Qe.get(gt)?._emitExpansionState(!0);for(const gt of fe.removed)Qe.get(gt)?._emitExpansionState(!1)}_initializeKeyManager(){const fe=(0,e.z)([this._keyManagerNodes,this._nodes]).pipe((0,le.T)(([gt,Gt])=>gt.reduce((rt,cn)=>{const Ft=Gt.get(this._getExpansionKey(cn));return Ft&&rt.push(Ft),rt},[])));this._keyManager=this._keyManagerFactory(fe,{trackBy:gt=>this._getExpansionKey(gt.data),skipPredicate:gt=>!!gt.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value})}_initializeDataDiffer(){const fe=this.trackBy??((Qe,gt)=>this._getExpansionKey(gt));this._dataDiffer=this._differs.find([]).create(fe)}_checkTreeControlUsage(){}renderNodeChanges(fe,Qe=this._dataDiffer,gt=this._nodeOutlet.viewContainer,Gt){const rt=Qe.diff(fe);!rt&&!this._viewInit||(rt?.forEachOperation((cn,Ft,Sn)=>{if(null==cn.previousIndex)this.insertNode(fe[Sn],Sn,gt,Gt);else if(null==Sn)gt.remove(Ft);else{const Qn=gt.get(Ft);gt.move(Qn,Sn)}}),rt?.forEachIdentityChange(cn=>{const Ft=cn.item;null!=cn.currentIndex&&(gt.get(cn.currentIndex).context.$implicit=Ft)}),Gt?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(fe,Qe){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Gt=>Gt.when&&Gt.when(Qe,fe))||this._defaultNodeDef}insertNode(fe,Qe,gt,Gt){const rt=this._getLevelAccessor(),cn=this._getNodeDef(fe,Qe),Ft=this._getExpansionKey(fe),Sn=new he(fe);Sn.index=Qe,Gt??=this._parents.get(Ft)??void 0,Sn.level=rt?rt(fe):void 0!==Gt&&this._levels.has(this._getExpansionKey(Gt))?this._levels.get(this._getExpansionKey(Gt))+1:0,this._levels.set(Ft,Sn.level),(gt||this._nodeOutlet.viewContainer).createEmbeddedView(cn.template,Sn,Qe),ve.mostRecentTreeNode&&(ve.mostRecentTreeNode.data=fe)}isExpanded(fe){return!(!this.treeControl?.isExpanded(fe)&&!this._expansionModel?.isSelected(this._getExpansionKey(fe)))}toggle(fe){this.treeControl?this.treeControl.toggle(fe):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(fe))}expand(fe){this.treeControl?this.treeControl.expand(fe):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(fe))}collapse(fe){this.treeControl?this.treeControl.collapse(fe):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(fe))}toggleDescendants(fe){this.treeControl?this.treeControl.toggleDescendants(fe):this._expansionModel&&(this.isExpanded(fe)?this.collapseDescendants(fe):this.expandDescendants(fe))}expandDescendants(fe){if(this.treeControl)this.treeControl.expandDescendants(fe);else if(this._expansionModel){const Qe=this._expansionModel;Qe.select(this._getExpansionKey(fe)),this._getDescendants(fe).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(gt=>{Qe.select(...gt.map(Gt=>this._getExpansionKey(Gt)))})}}collapseDescendants(fe){if(this.treeControl)this.treeControl.collapseDescendants(fe);else if(this._expansionModel){const Qe=this._expansionModel;Qe.deselect(this._getExpansionKey(fe)),this._getDescendants(fe).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(gt=>{Qe.deselect(...gt.map(Gt=>this._getExpansionKey(Gt)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._forEachExpansionKey(fe=>this._expansionModel?.select(...fe))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._forEachExpansionKey(fe=>this._expansionModel?.deselect(...fe))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(fe){const Qe=this._getLevelAccessor(),gt=this._expansionModel??this.treeControl?.expansionModel;if(!gt)return(0,w.of)([]);const Gt=this._getExpansionKey(fe),rt=gt.changed.pipe((0,Pe.n)(Ft=>Ft.added.includes(Gt)?(0,w.of)(!0):Ft.removed.includes(Gt)?(0,w.of)(!1):O.w),(0,B.Z)(this.isExpanded(fe)));if(Qe)return(0,e.z)([rt,this._flattenedNodes]).pipe((0,le.T)(([Ft,Sn])=>Ft?this._findChildrenByLevel(Qe,Sn,fe,1):[]));const cn=this._getChildrenAccessor();if(cn)return(0,ne.x)(cn(fe)??[]);throw ie()}_findChildrenByLevel(fe,Qe,gt,Gt){const rt=this._getExpansionKey(gt),cn=Qe.findIndex(h=>this._getExpansionKey(h)===rt),Ft=fe(gt),Sn=Ft+Gt,Qn=[];for(let h=cn+1;hthis._getExpansionKey(Gt)===gt)+1}_getNodeParent(fe){const Qe=this._parents.get(this._getExpansionKey(fe.data));return Qe&&this._nodes.value.get(this._getExpansionKey(Qe))}_getNodeChildren(fe){return this._getDirectChildren(fe.data).pipe((0,le.T)(Qe=>Qe.reduce((gt,Gt)=>{const rt=this._nodes.value.get(this._getExpansionKey(Gt));return rt&>.push(rt),gt},[])))}_sendKeydownToKeyManager(fe){if(fe.target===this._elementRef.nativeElement)this._keyManager.onKeydown(fe);else{const Qe=this._nodes.getValue();for(const[,gt]of Qe)if(fe.target===gt._elementRef.nativeElement){this._keyManager.onKeydown(fe);break}}}_getDescendants(fe){if(this.treeControl)return(0,w.of)(this.treeControl.getDescendants(fe));if(this.levelAccessor){const Qe=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,fe,1/0);return(0,w.of)(Qe)}if(this.childrenAccessor)return this._getAllChildrenRecursively(fe).pipe(j((Qe,gt)=>(Qe.push(...gt),Qe),[]));throw ie()}_getAllChildrenRecursively(fe){return this.childrenAccessor?(0,ne.x)(this.childrenAccessor(fe)).pipe((0,u.s)(1),(0,Pe.n)(Qe=>{for(const gt of Qe)this._parents.set(this._getExpansionKey(gt),fe);return(0,w.of)(...Qe).pipe((0,W.H)(gt=>(0,f.x)((0,w.of)([gt]),this._getAllChildrenRecursively(gt))))})):(0,w.of)([])}_getExpansionKey(fe){return this.expansionKey?.(fe)??fe}_getAriaSet(fe){const Qe=this._getExpansionKey(fe),gt=this._parents.get(Qe),Gt=gt?this._getExpansionKey(gt):null;return this._ariaSets.get(Gt)??[fe]}_findParentForNode(fe,Qe,gt){if(!gt.length)return null;const Gt=this._levels.get(this._getExpansionKey(fe))??0;for(let rt=Qe-1;rt>=0;rt--){const cn=gt[rt];if((this._levels.get(this._getExpansionKey(cn))??0){const rt=this._getExpansionKey(Gt);this._parents.has(rt)||this._parents.set(rt,null),this._levels.set(rt,Qe);const cn=(0,ne.x)(gt(Gt));return(0,f.x)((0,w.of)([Gt]),cn.pipe((0,u.s)(1),(0,A.M)(Ft=>{this._ariaSets.set(rt,[...Ft??[]]);for(const Sn of Ft??[]){const Qn=this._getExpansionKey(Sn);this._parents.set(Qn,Gt),this._levels.set(Qn,Qe+1)}}),(0,Pe.n)(Ft=>Ft?this._flattenNestedNodesWithExpansion(Ft,Qe+1).pipe((0,le.T)(Sn=>this.isExpanded(Gt)?Sn:[])):(0,w.of)([]))))}),j((Gt,rt)=>(Gt.push(...rt),Gt),[])):(0,w.of)([...fe])}_computeRenderingData(fe,Qe){if(this.childrenAccessor&&"flat"===Qe)return this._clearPreviousCache(),this._ariaSets.set(null,[...fe]),this._flattenNestedNodesWithExpansion(fe).pipe((0,le.T)(gt=>({renderNodes:gt,flattenedNodes:gt})));if(this.levelAccessor&&"nested"===Qe){const gt=this.levelAccessor;return(0,w.of)(fe.filter(Gt=>0===gt(Gt))).pipe((0,le.T)(Gt=>({renderNodes:Gt,flattenedNodes:fe})),(0,A.M)(({flattenedNodes:Gt})=>{this._calculateParents(Gt)}))}return"flat"===Qe?(0,w.of)({renderNodes:fe,flattenedNodes:fe}).pipe((0,A.M)(({flattenedNodes:gt})=>{this._calculateParents(gt)})):(this._clearPreviousCache(),this._ariaSets.set(null,[...fe]),this._flattenNestedNodesWithExpansion(fe).pipe((0,le.T)(gt=>({renderNodes:fe,flattenedNodes:gt}))))}_updateCachedData(fe){this._flattenedNodes.next(fe)}_updateKeyManagerItems(fe){this._keyManagerNodes.next(fe)}_calculateParents(fe){const Qe=this._getLevelAccessor();if(Qe){this._clearPreviousCache();for(let gt=0;gt{Qe.push(this._getExpansionKey(Gt.data)),gt.push(this._getDescendants(Gt.data))}),gt.length>0?(0,e.z)(gt).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(Gt=>{Gt.forEach(rt=>rt.forEach(cn=>Qe.push(this._getExpansionKey(cn)))),fe(Qe)}):fe(Qe)}_clearPreviousCache(){this._parents.clear(),this._levels.clear(),this._ariaSets.clear()}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275cmp=re.VBU({type:oe,selectors:[["cdk-tree"]],contentQueries:function(Qe,gt,Gt){if(1&Qe&&re.wni(Gt,Dt,5),2&Qe){let rt;re.mGM(rt=re.lsd())&&(gt._nodeDefs=rt)}},viewQuery:function(Qe,gt){if(1&Qe&&re.GBs(_e,7),2&Qe){let Gt;re.mGM(Gt=re.lsd())&&(gt._nodeOutlet=Gt.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(Qe,gt){1&Qe&&re.bIt("keydown",function(rt){return gt._sendKeydownToKeyManager(rt)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Qe,gt){1&Qe&&re.eu8(0,0)},dependencies:[_e],encapsulation:2})}return oe})(),ve=(()=>{class oe{_elementRef=(0,xe.WQX)(re.aKT);_tree=(0,xe.WQX)(F);_tabindex=-1;_type="flat";get role(){return"treeitem"}set role(fe){}get isExpandable(){return this._isExpandable()}set isExpandable(fe){this._inputIsExpandable=fe,(!this.data||this._isExpandable)&&this._inputIsExpandable&&(this._inputIsExpanded?this.expand():!1===this._inputIsExpanded&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(fe){this._inputIsExpanded=fe,fe?this.expand():this.collapse()}isDisabled;typeaheadLabel;getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}activation=new re.bkB;expandedChange=new re.bkB;static mostRecentTreeNode=null;_destroyed=new v.B;_dataChanges=new v.B;_inputIsExpandable=!1;_inputIsExpanded=void 0;_shouldFocus=!0;_parentNodeAriaLevel;get data(){return this._data}set data(fe){fe!==this._data&&(this._data=fe,this._dataChanges.next())}_data;get isLeafNode(){return void 0!==this._tree.treeControl?.isExpandable&&!this._tree.treeControl.isExpandable(this._data)||void 0===this._tree.treeControl?.isExpandable&&0===this._tree.treeControl?.getDescendants(this._data).length}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}_changeDetectorRef=(0,xe.WQX)(Ee.gRc);constructor(){oe.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=function H(oe){let Ye=oe.parentElement;for(;Ye&&!$(Ye);)Ye=Ye.parentElement;return Ye?Ye.classList.contains("cdk-nested-tree-node")?(0,Ee.Udg)(Ye.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe((0,le.T)(()=>this.isExpanded),(0,G.F)(),(0,C.Q)(this._destroyed)).pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._tree._setNodeTypeIfUnset(this._type),this._tree._registerNode(this)}ngOnDestroy(){oe.mostRecentTreeNode===this&&(oe.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(fe){this.expandedChange.emit(fe)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(Qe,gt){1&Qe&&re.bIt("click",function(){return gt._setActiveItem()})("focus",function(){return gt._focusItem()}),2&Qe&&(re.Avn("tabIndex",gt._tabindex),re.BMQ("aria-expanded",gt._getAriaExpanded())("aria-level",gt.level+1)("aria-posinset",gt._getPositionInSet())("aria-setsize",gt._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",Ee.L39],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",Ee.L39],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"]})}return oe})();function $(oe){const Ye=oe.classList;return!(!Ye?.contains("cdk-nested-tree-node")&&!Ye?.contains("cdk-tree"))}let Ke=(()=>{class oe extends ve{_type="nested";_differs=(0,xe.WQX)(Ee._q3);_dataDiffer;_children;nodeOutlet;constructor(){super()}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe((0,C.Q)(this._destroyed)).subscribe(fe=>this.updateChildrenNodes(fe)),this.nodeOutlet.changes.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(fe){const Qe=this._getNodeOutlet();fe&&(this._children=fe),Qe&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Qe.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const fe=this._getNodeOutlet();fe&&(fe.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const fe=this.nodeOutlet;return fe&&fe.find(Qe=>!Qe._node||Qe._node===this)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["cdk-nested-tree-node"]],contentQueries:function(Qe,gt,Gt){if(1&Qe&&re.wni(Gt,_e,5),2&Qe){let rt;re.mGM(rt=re.lsd())&&(gt.nodeOutlet=rt)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],features:[re.Jv_([{provide:ve,useExisting:oe},{provide:Xe,useExisting:oe}]),re.Vt3]})}return oe})();const Vt=/([A-Za-z%]+)$/;let St=(()=>{class oe{_treeNode=(0,xe.WQX)(ve);_tree=(0,xe.WQX)(F);_element=(0,xe.WQX)(re.aKT);_dir=(0,xe.WQX)(ce.dS,{optional:!0});_currentPadding;_destroyed=new v.B;indentUnits="px";get level(){return this._level}set level(fe){this._setLevelInput(fe)}_level;get indent(){return this._indent}set indent(fe){this._setIndentInput(fe)}_indent=40;constructor(){this._setPadding(),this._dir?.change.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),this._treeNode._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const fe=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,Qe=null==this._level?fe:this._level;return"number"==typeof Qe?`${Qe*this._indent}${this.indentUnits}`:null}_setPadding(fe=!1){const Qe=this._paddingIndent();if(Qe!==this._currentPadding||fe){const gt=this._element.nativeElement,Gt=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",rt="paddingLeft"===Gt?"paddingRight":"paddingLeft";gt.style[Gt]=Qe||"",gt.style[rt]="",this._currentPadding=Qe}}_setLevelInput(fe){this._level=isNaN(fe)?null:fe,this._setPadding()}_setIndentInput(fe){let Qe=fe,gt="px";if("string"==typeof fe){const Gt=fe.split(Vt);Qe=Gt[0],gt=Gt[1]||gt}this.indentUnits=gt,this._indent=(0,Ee.Udg)(Qe),this._setPadding()}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",Ee.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]}})}return oe})(),ot=(()=>{class oe{_tree=(0,xe.WQX)(F);_treeNode=(0,xe.WQX)(ve);recursive=!1;constructor(){}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(Qe,gt){1&Qe&&re.bIt("click",function(rt){return gt._toggle(),rt.stopPropagation()})("keydown.Enter",function(rt){return gt._toggle(),rt.preventDefault()})("keydown.Space",function(rt){return gt._toggle(),rt.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",Ee.L39]}})}return oe})(),ht=(()=>{class oe{static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275mod=re.$C({type:oe});static \u0275inj=xe.G2t({})}return oe})()},9096(Zt,pe,l){"use strict";l.d(pe,{i:()=>f});var i=l(1413),d=l(152),v=l(5964),T=l(6354),w=l(8141),e=l(438);class f{_letterKeyStream=new i.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new i.B;selectedItem=this._selectedItem;constructor(L,C){const B="number"==typeof C?.debounceInterval?C.debounceInterval:200;C?.skipPredicate&&(this._skipPredicateFn=C.skipPredicate),this.setItems(L),this._setupKeyHandler(B)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(L){this._selectedItemIndex=L}setItems(L){this._items=L}handleKey(L){const C=L.keyCode;L.key&&1===L.key.length?this._letterKeyStream.next(L.key.toLocaleUpperCase()):(C>=e.A&&C<=e.Z||C>=e.f2&&C<=e.bn)&&this._letterKeyStream.next(String.fromCharCode(C))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(L){this._letterKeyStream.pipe((0,w.M)(C=>this._pressedLetters.push(C)),(0,d.B)(L),(0,v.p)(()=>this._pressedLetters.length>0),(0,T.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(C=>{for(let B=1;Bd});var i=l(2615);let d=(()=>{class v{_listeners=[];notify(w,e){for(let O of this._listeners)O(w,e)}listen(w){return this._listeners.push(w),()=>{this._listeners=this._listeners.filter(e=>w!==e)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(e){return new(e||v)};static \u0275prov=i.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},177(Zt,pe,l){"use strict";l.d(pe,{AJ:()=>Ee,UE:()=>ce,Vy:()=>be,Xr:()=>J});var re=l(2615);const Ee="browser";function ce(qt){return qt===Ee}function be(qt){return"server"===qt}let J=(()=>{class qt{static \u0275prov=(0,re.jDH)({token:qt,providedIn:"root",factory:()=>new De((0,re.WQX)(re.qQL),window)})}return qt})();class De{document;window;offset=()=>[0,0];constructor(En,Wn){this.document=En,this.window=Wn}setOffset(En){this.offset=Array.isArray(En)?()=>En:En}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(En,Wn){this.window.scrollTo({...Wn,left:En[0],top:En[1]})}scrollToAnchor(En,Wn){const ri=function Re(qt,En){const Wn=qt.getElementById(En)||qt.getElementsByName(En)[0];if(Wn)return Wn;if("function"==typeof qt.createTreeWalker&&qt.body&&"function"==typeof qt.body.attachShadow){const ri=qt.createTreeWalker(qt.body,NodeFilter.SHOW_ELEMENT);let Rn=ri.currentNode;for(;Rn;){const Hn=Rn.shadowRoot;if(Hn){const Pi=Hn.getElementById(En)||Hn.querySelector(`[name="${En}"]`);if(Pi)return Pi}Rn=ri.nextNode()}}return null}(this.document,En);ri&&(this.scrollToElement(ri,Wn),ri.focus())}setHistoryScrollRestoration(En){try{this.window.history.scrollRestoration=En}catch{console.warn((0,re.OsK)(2400,!1))}}scrollToElement(En,Wn){const ri=En.getBoundingClientRect(),Rn=ri.left+this.window.pageXOffset,Hn=ri.top+this.window.pageYOffset,Pi=this.offset();this.window.scrollTo({...Wn,left:Rn-Pi[0],top:Hn-Pi[1]})}}},2200(Zt,pe,l){"use strict";l.d(pe,{B3:()=>Yt,GH:()=>ii,Jj:()=>Vn,MD:()=>Ca,P9:()=>yi,PV:()=>ia,Pc:()=>ra,QX:()=>en,Sq:()=>Tt,T3:()=>Un,TG:()=>Hn,YU:()=>xn,bT:()=>ae,e1:()=>bi,fG:()=>Qi,fw:()=>u,lG:()=>da,ux:()=>fi,vh:()=>En});var T=l(7705),w=l(2615),e=l(3664),O=l(9295),f=l(7303);let u=(()=>{class Fe extends f.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Ve,Et){super(),this._platformLocation=Ve,null!=Et&&(this._baseHref=Et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ve){this._removeListenerFns.push(this._platformLocation.onPopState(Ve),this._platformLocation.onHashChange(Ve))}getBaseHref(){return this._baseHref}path(Ve=!1){const Et=this._platformLocation.hash??"#";return Et.length>0?Et.substring(1):Et}prepareExternalUrl(Ve){const Et=(0,f.om)(this._baseHref,Ve);return Et.length>0?"#"+Et:Et}pushState(Ve,Et,Jt,ti){const di=this.prepareExternalUrl(Jt+(0,f.Q)(ti))||this._platformLocation.pathname;this._platformLocation.pushState(Ve,Et,di)}replaceState(Ve,Et,Jt,ti){const di=this.prepareExternalUrl(Jt+(0,f.Q)(ti))||this._platformLocation.pathname;this._platformLocation.replaceState(Ve,Et,di)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ve=0){this._platformLocation.historyGo?.(Ve)}static \u0275fac=function(Et){return new(Et||Fe)(w.KVO(f.Vw),w.KVO(f.kB,8))};static \u0275prov=w.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var C=function(Fe){return Fe[Fe.Decimal=0]="Decimal",Fe[Fe.Percent=1]="Percent",Fe[Fe.Currency=2]="Currency",Fe[Fe.Scientific=3]="Scientific",Fe}(C||{}),A=function(Fe){return Fe[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe}(A||{}),Pe=function(Fe){return Fe[Fe.Narrow=0]="Narrow",Fe[Fe.Abbreviated=1]="Abbreviated",Fe[Fe.Wide=2]="Wide",Fe[Fe.Short=3]="Short",Fe}(Pe||{}),le=function(Fe){return Fe[Fe.Short=0]="Short",Fe[Fe.Medium=1]="Medium",Fe[Fe.Long=2]="Long",Fe[Fe.Full=3]="Full",Fe}(le||{});function ce(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.DateFormat],Wt)}function be(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.TimeFormat],Wt)}function ne(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.DateTimeFormat],Wt)}function J(Fe,Wt){const Ve=(0,e.kBR)(Fe),Et=Ve[e.NSC.NumberSymbols][Wt];if(typeof Et>"u"){if(12===Wt)return Ve[e.NSC.NumberSymbols][0];if(13===Wt)return Ve[e.NSC.NumberSymbols][1]}return Et}function lt(Fe){if(!Fe[e.NSC.ExtraData])throw new w.buA(2303,!1)}function P(Fe,Wt){for(let Ve=Wt;Ve>-1;Ve--)if(typeof Fe[Ve]<"u")return Fe[Ve];throw new w.buA(2304,!1)}function F(Fe){const[Wt,Ve]=Fe.split(":");return{hours:+Wt,minutes:+Ve}}const Ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Vt={},St=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function nt(Fe,Wt,Ve,Et){let Jt=function Ri(Fe){if(ee(Fe))return Fe;if("number"==typeof Fe&&!isNaN(Fe))return new Date(Fe);if("string"==typeof Fe){if(Fe=Fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Fe)){const[Jt,ti=1,di=1]=Fe.split("-").map(Ii=>+Ii);return Ye(Jt,ti-1,di)}const Ve=parseFloat(Fe);if(!isNaN(Fe-Ve))return new Date(Ve);let Et;if(Et=Fe.match(Ke))return function vt(Fe){const Wt=new Date(0);let Ve=0,Et=0;const Jt=Fe[8]?Wt.setUTCFullYear:Wt.setFullYear,ti=Fe[8]?Wt.setUTCHours:Wt.setHours;Fe[9]&&(Ve=Number(Fe[9]+Fe[10]),Et=Number(Fe[9]+Fe[11])),Jt.call(Wt,Number(Fe[1]),Number(Fe[2])-1,Number(Fe[3]));const di=Number(Fe[4]||0)-Ve,Ii=Number(Fe[5]||0)-Et,ca=Number(Fe[6]||0),nn=Math.floor(1e3*parseFloat("0."+(Fe[7]||0)));return ti.call(Wt,di,Ii,ca,nn),Wt}(Et)}const Wt=new Date(Fe);if(!ee(Wt))throw new w.buA(2311,!1);return Wt}(Fe);(function ht(Fe){if(Fe.length>256)throw new w.buA(2300,!1)})(Wt),Wt=fe(Ve,Wt)||Wt;let Ii,di=[];for(;Wt;){if(Ii=St.exec(Wt),!Ii){di.push(Wt);break}{di=di.concat(Ii.slice(1));const ni=di.pop();if(!ni)break;Wt=ni}}let ca=Jt.getTimezoneOffset();Et&&(ca=vi(Et,ca),Jt=function kn(Fe,Wt){const Jt=Fe.getTimezoneOffset();return function Ni(Fe,Wt){return(Fe=new Date(Fe.getTime())).setMinutes(Fe.getMinutes()+Wt),Fe}(Fe,-1*(vi(Wt,Jt)-Jt))}(Jt,Et));let nn="";return di.forEach(ni=>{const U=function ei(Fe){if(gn[Fe])return gn[Fe];let Wt;switch(Fe){case"G":case"GG":case"GGG":Wt=Ft(3,Pe.Abbreviated);break;case"GGGG":Wt=Ft(3,Pe.Wide);break;case"GGGGG":Wt=Ft(3,Pe.Narrow);break;case"y":Wt=rt(0,1,0,!1,!0);break;case"yy":Wt=rt(0,2,0,!0,!0);break;case"yyy":Wt=rt(0,3,0,!1,!0);break;case"yyyy":Wt=rt(0,4,0,!1,!0);break;case"Y":Wt=Pt(1);break;case"YY":Wt=Pt(2,!0);break;case"YYY":Wt=Pt(3);break;case"YYYY":Wt=Pt(4);break;case"M":case"L":Wt=rt(1,1,1);break;case"MM":case"LL":Wt=rt(1,2,1);break;case"MMM":Wt=Ft(2,Pe.Abbreviated);break;case"MMMM":Wt=Ft(2,Pe.Wide);break;case"MMMMM":Wt=Ft(2,Pe.Narrow);break;case"LLL":Wt=Ft(2,Pe.Abbreviated,A.Standalone);break;case"LLLL":Wt=Ft(2,Pe.Wide,A.Standalone);break;case"LLLLL":Wt=Ft(2,Pe.Narrow,A.Standalone);break;case"w":Wt=pt(1);break;case"ww":Wt=pt(2);break;case"W":Wt=pt(1,!0);break;case"d":Wt=rt(2,1);break;case"dd":Wt=rt(2,2);break;case"c":case"cc":Wt=rt(7,1);break;case"ccc":Wt=Ft(1,Pe.Abbreviated,A.Standalone);break;case"cccc":Wt=Ft(1,Pe.Wide,A.Standalone);break;case"ccccc":Wt=Ft(1,Pe.Narrow,A.Standalone);break;case"cccccc":Wt=Ft(1,Pe.Short,A.Standalone);break;case"E":case"EE":case"EEE":Wt=Ft(1,Pe.Abbreviated);break;case"EEEE":Wt=Ft(1,Pe.Wide);break;case"EEEEE":Wt=Ft(1,Pe.Narrow);break;case"EEEEEE":Wt=Ft(1,Pe.Short);break;case"a":case"aa":case"aaa":Wt=Ft(0,Pe.Abbreviated);break;case"aaaa":Wt=Ft(0,Pe.Wide);break;case"aaaaa":Wt=Ft(0,Pe.Narrow);break;case"b":case"bb":case"bbb":Wt=Ft(0,Pe.Abbreviated,A.Standalone,!0);break;case"bbbb":Wt=Ft(0,Pe.Wide,A.Standalone,!0);break;case"bbbbb":Wt=Ft(0,Pe.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":Wt=Ft(0,Pe.Abbreviated,A.Format,!0);break;case"BBBB":Wt=Ft(0,Pe.Wide,A.Format,!0);break;case"BBBBB":Wt=Ft(0,Pe.Narrow,A.Format,!0);break;case"h":Wt=rt(3,1,-12);break;case"hh":Wt=rt(3,2,-12);break;case"H":Wt=rt(3,1);break;case"HH":Wt=rt(3,2);break;case"m":Wt=rt(4,1);break;case"mm":Wt=rt(4,2);break;case"s":Wt=rt(5,1);break;case"ss":Wt=rt(5,2);break;case"S":Wt=rt(6,1);break;case"SS":Wt=rt(6,2);break;case"SSS":Wt=rt(6,3);break;case"Z":case"ZZ":case"ZZZ":Wt=Qn(0);break;case"ZZZZZ":Wt=Qn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Wt=Qn(1);break;case"OOOO":case"ZZZZ":case"zzzz":Wt=Qn(2);break;default:return null}return gn[Fe]=Wt,Wt}(ni);nn+=U?U(Jt,Ve,ca):"''"===ni?"'":ni.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),nn}function Ye(Fe,Wt,Ve){const Et=new Date(0);return Et.setFullYear(Fe,Wt,Ve),Et.setHours(0,0,0),Et}function fe(Fe,Wt){const Ve=function j(Fe){return(0,e.kBR)(Fe)[e.NSC.LocaleId]}(Fe);if(Vt[Ve]??={},Vt[Ve][Wt])return Vt[Ve][Wt];let Et="";switch(Wt){case"shortDate":Et=ce(Fe,le.Short);break;case"mediumDate":Et=ce(Fe,le.Medium);break;case"longDate":Et=ce(Fe,le.Long);break;case"fullDate":Et=ce(Fe,le.Full);break;case"shortTime":Et=be(Fe,le.Short);break;case"mediumTime":Et=be(Fe,le.Medium);break;case"longTime":Et=be(Fe,le.Long);break;case"fullTime":Et=be(Fe,le.Full);break;case"short":const Jt=fe(Fe,"shortTime"),ti=fe(Fe,"shortDate");Et=Qe(ne(Fe,le.Short),[Jt,ti]);break;case"medium":const di=fe(Fe,"mediumTime"),Ii=fe(Fe,"mediumDate");Et=Qe(ne(Fe,le.Medium),[di,Ii]);break;case"long":const ca=fe(Fe,"longTime"),nn=fe(Fe,"longDate");Et=Qe(ne(Fe,le.Long),[ca,nn]);break;case"full":const ni=fe(Fe,"fullTime"),U=fe(Fe,"fullDate");Et=Qe(ne(Fe,le.Full),[ni,U])}return Et&&(Vt[Ve][Wt]=Et),Et}function Qe(Fe,Wt){return Wt&&(Fe=Fe.replace(/\{([^}]+)}/g,function(Ve,Et){return null!=Wt&&Et in Wt?Wt[Et]:Ve})),Fe}function gt(Fe,Wt,Ve="-",Et,Jt){let ti="";(Fe<0||Jt&&Fe<=0)&&(Jt?Fe=1-Fe:(Fe=-Fe,ti=Ve));let di=String(Fe);for(;di.length0||Ii>-Ve)&&(Ii+=Ve),3===Fe)0===Ii&&-12===Ve&&(Ii=12);else if(6===Fe)return function Gt(Fe,Wt){return gt(Fe,3).substring(0,Wt)}(Ii,Wt);const ca=J(di,5);return gt(Ii,Wt,ca,Et,Jt)}}function Ft(Fe,Wt,Ve=A.Format,Et=!1){return function(Jt,ti){return function Sn(Fe,Wt,Ve,Et,Jt,ti){switch(Ve){case 2:return function re(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe),ti=P([Et[e.NSC.MonthsFormat],Et[e.NSC.MonthsStandalone]],Wt);return P(ti,Ve)}(Wt,Jt,Et)[Fe.getMonth()];case 1:return function G(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe),ti=P([Et[e.NSC.DaysFormat],Et[e.NSC.DaysStandalone]],Wt);return P(ti,Ve)}(Wt,Jt,Et)[Fe.getDay()];case 0:const di=Fe.getHours(),Ii=Fe.getMinutes();if(ti){const nn=function Le(Fe){const Wt=(0,e.kBR)(Fe);return lt(Wt),(Wt[e.NSC.ExtraData][2]||[]).map(Et=>"string"==typeof Et?F(Et):[F(Et[0]),F(Et[1])])}(Wt),ni=function te(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe);lt(Et);const ti=P([Et[e.NSC.ExtraData][0],Et[e.NSC.ExtraData][1]],Wt)||[];return P(ti,Ve)||[]}(Wt,Jt,Et),U=nn.findIndex(tt=>{if(Array.isArray(tt)){const[Ze,Xt]=tt,Nn=di>=Ze.hours&&Ii>=Ze.minutes,Ki=di0?Math.floor(Jt/60):Math.ceil(Jt/60);switch(Fe){case 0:return(Jt>=0?"+":"")+gt(di,2,ti)+gt(Math.abs(Jt%60),2,ti);case 1:return"GMT"+(Jt>=0?"+":"")+gt(di,1,ti);case 2:return"GMT"+(Jt>=0?"+":"")+gt(di,2,ti)+":"+gt(Math.abs(Jt%60),2,ti);case 3:return 0===Et?"Z":(Jt>=0?"+":"")+gt(di,2,ti)+":"+gt(Math.abs(Jt%60),2,ti);default:throw new w.buA(2310,!1)}}}function wt(Fe){const Wt=Fe.getDay(),Ve=0===Wt?-3:4-Wt;return Ye(Fe.getFullYear(),Fe.getMonth(),Fe.getDate()+Ve)}function pt(Fe,Wt=!1){return function(Ve,Et){let Jt;if(Wt){const ti=new Date(Ve.getFullYear(),Ve.getMonth(),1).getDay()-1,di=Ve.getDate();Jt=1+Math.floor((di+ti)/7)}else{const ti=wt(Ve),di=function Ue(Fe){const Wt=Ye(Fe,0,1).getDay();return Ye(Fe,0,1+(Wt<=4?4:11)-Wt)}(ti.getFullYear()),Ii=ti.getTime()-di.getTime();Jt=1+Math.round(Ii/6048e5)}return gt(Jt,Fe,J(Et,5))}}function Pt(Fe,Wt=!1){return function(Ve,Et){return gt(wt(Ve).getFullYear(),Fe,J(Et,5),Wt)}}const gn={};function vi(Fe,Wt){Fe=Fe.replace(/:/g,"");const Ve=Date.parse("Jan 01, 1970 00:00:00 "+Fe)/6e4;return isNaN(Ve)?Wt:Ve}function ee(Fe){return Fe instanceof Date&&!isNaN(Fe.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function bt(Fe){const Wt=parseInt(Fe);if(isNaN(Wt))throw new w.buA(2305,!1);return Wt}const Nt=/\s+/,dn=[];let xn=(()=>{class Fe{_ngEl;_renderer;initialClasses=dn;rawClass;stateMap=new Map;constructor(Ve,Et){this._ngEl=Ve,this._renderer=Et}set klass(Ve){this.initialClasses=null!=Ve?Ve.trim().split(Nt):dn}set ngClass(Ve){this.rawClass="string"==typeof Ve?Ve.trim().split(Nt):Ve}ngDoCheck(){for(const Et of this.initialClasses)this._updateState(Et,!0);const Ve=this.rawClass;if(Array.isArray(Ve)||Ve instanceof Set)for(const Et of Ve)this._updateState(Et,!0);else if(null!=Ve)for(const Et of Object.keys(Ve))this._updateState(Et,!!Ve[Et]);this._applyStateDiff()}_updateState(Ve,Et){const Jt=this.stateMap.get(Ve);void 0!==Jt?(Jt.enabled!==Et&&(Jt.changed=!0,Jt.enabled=Et),Jt.touched=!0):this.stateMap.set(Ve,{enabled:Et,changed:!0,touched:!0})}_applyStateDiff(){for(const Ve of this.stateMap){const Et=Ve[0],Jt=Ve[1];Jt.changed?(this._toggleClass(Et,Jt.enabled),Jt.changed=!1):Jt.touched||(Jt.enabled&&this._toggleClass(Et,!1),this.stateMap.delete(Et)),Jt.touched=!1}}_toggleClass(Ve,Et){(Ve=Ve.trim()).length>0&&Ve.split(Nt).forEach(Jt=>{Et?this._renderer.addClass(this._ngEl.nativeElement,Jt):this._renderer.removeClass(this._ngEl.nativeElement,Jt)})}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.aKT),e.rXU(e.sFG))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Fe})();class Yi{$implicit;ngForOf;index;count;constructor(Wt,Ve,Et,Jt){this.$implicit=Wt,this.ngForOf=Ve,this.index=Et,this.count=Jt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Tt=(()=>{class Fe{_viewContainer;_template;_differs;set ngForOf(Ve){this._ngForOf=Ve,this._ngForOfDirty=!0}set ngForTrackBy(Ve){this._trackByFn=Ve}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Ve,Et,Jt){this._viewContainer=Ve,this._template=Et,this._differs=Jt}set ngForTemplate(Ve){Ve&&(this._template=Ve)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ve=this._ngForOf;!this._differ&&Ve&&(this._differ=this._differs.find(Ve).create(this.ngForTrackBy))}if(this._differ){const Ve=this._differ.diff(this._ngForOf);Ve&&this._applyChanges(Ve)}}_applyChanges(Ve){const Et=this._viewContainer;Ve.forEachOperation((Jt,ti,di)=>{if(null==Jt.previousIndex)Et.createEmbeddedView(this._template,new Yi(Jt.item,this._ngForOf,-1,-1),null===di?void 0:di);else if(null==di)Et.remove(null===ti?void 0:ti);else if(null!==ti){const Ii=Et.get(ti);Et.move(Ii,di),At(Ii,Jt)}});for(let Jt=0,ti=Et.length;Jt{At(Et.get(Jt.currentIndex),Jt)})}static ngTemplateContextGuard(Ve,Et){return!0}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(T._q3))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Fe})();function At(Fe,Wt){Fe.context.$implicit=Wt.item}let ae=(()=>{class Fe{_viewContainer;_context=new Lt;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(Ve,Et){this._viewContainer=Ve,this._thenTemplateRef=Et}set ngIf(Ve){this._context.$implicit=this._context.ngIf=Ve,this._updateView()}set ngIfThen(Ve){Ht(Ve),this._thenTemplateRef=Ve,this._thenViewRef=null,this._updateView()}set ngIfElse(Ve){Ht(Ve),this._elseTemplateRef=Ve,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Ve,Et){return!0}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Fe})();class Lt{$implicit=null;ngIf=null}function Ht(Fe,Wt){if(Fe&&!Fe.createEmbeddedView)throw new w.buA(2020,!1)}class _n{_viewContainerRef;_templateRef;_created=!1;constructor(Wt,Ve){this._viewContainerRef=Wt,this._templateRef=Ve}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Wt){Wt&&!this._created?this.create():!Wt&&this._created&&this.destroy()}}let fi=(()=>{class Fe{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(Ve){this._ngSwitch=Ve,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ve){this._defaultViews.push(Ve)}_matchCase(Ve){const Et=Ve===this._ngSwitch;return this._lastCasesMatched||=Et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Et}_updateDefaultCases(Ve){if(this._defaultViews.length>0&&Ve!==this._defaultUsed){this._defaultUsed=Ve;for(const Et of this._defaultViews)Et.enforceState(Ve)}}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return Fe})(),bi=(()=>{class Fe{ngSwitch;_view;ngSwitchCase;constructor(Ve,Et,Jt){this.ngSwitch=Jt,Jt._addCase(),this._view=new _n(Ve,Et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(fi,9))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return Fe})(),Qi=(()=>{class Fe{constructor(Ve,Et,Jt){Jt._addDefault(new _n(Ve,Et))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(fi,9))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitchDefault",""]]})}return Fe})(),Yt=(()=>{class Fe{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Ve,Et,Jt){this._ngEl=Ve,this._differs=Et,this._renderer=Jt}set ngStyle(Ve){this._ngStyle=Ve,!this._differ&&Ve&&(this._differ=this._differs.find(Ve).create())}ngDoCheck(){if(this._differ){const Ve=this._differ.diff(this._ngStyle);Ve&&this._applyChanges(Ve)}}_setStyle(Ve,Et){const[Jt,ti]=Ve.split("."),di=-1===Jt.indexOf("-")?void 0:e.czy.DashCase;null!=Et?this._renderer.setStyle(this._ngEl.nativeElement,Jt,ti?`${Et}${ti}`:Et,di):this._renderer.removeStyle(this._ngEl.nativeElement,Jt,di)}_applyChanges(Ve){Ve.forEachRemovedItem(Et=>this._setStyle(Et.key,null)),Ve.forEachAddedItem(Et=>this._setStyle(Et.key,Et.currentValue)),Ve.forEachChangedItem(Et=>this._setStyle(Et.key,Et.currentValue))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.aKT),e.rXU(T.MKu),e.rXU(e.sFG))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return Fe})(),Un=(()=>{class Fe{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(Ve){this._viewContainerRef=Ve}ngOnChanges(Ve){if(this._shouldRecreateView(Ve)){const Et=this._viewContainerRef;if(this._viewRef&&Et.remove(Et.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Jt=this._createContextForwardProxy();this._viewRef=Et.createEmbeddedView(this.ngTemplateOutlet,Jt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ve){return!!Ve.ngTemplateOutlet||!!Ve.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ve,Et,Jt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Et,Jt),get:(Ve,Et,Jt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Et,Jt)}})}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[e.OA$]})}return Fe})();function Fn(Fe,Wt){return new w.buA(2100,!1)}class ci{createSubscription(Wt,Ve,Et){return(0,O.O8)(()=>Wt.subscribe({next:Ve,error:Et}))}dispose(Wt){(0,O.O8)(()=>Wt.unsubscribe())}}class rn{createSubscription(Wt,Ve,Et){return Wt.then(Jt=>Ve?.(Jt),Jt=>Et?.(Jt)),{unsubscribe:()=>{Ve=null,Et=null}}}dispose(Wt){Wt.unsubscribe()}}const In=new rn,Mn=new ci;let Vn=(()=>{class Fe{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,w.WQX)(w.ZTf);constructor(Ve){this._ref=Ve}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ve){if(!this._obj){if(Ve)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ve)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ve!==this._obj?(this._dispose(),this.transform(Ve)):this._latestValue}_subscribe(Ve){this._obj=Ve,this._strategy=this._selectStrategy(Ve),this._subscription=this._strategy.createSubscription(Ve,Et=>this._updateLatestValue(Ve,Et),Et=>this.applicationErrorHandler(Et))}_selectStrategy(Ve){if((0,e.yLl)(Ve))return In;if((0,e.cdK)(Ve))return Mn;throw Fn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ve,Et){Ve===this._obj&&(this._latestValue=Et,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(T.gRc,16))};static \u0275pipe=e.EJ8({name:"async",type:Fe,pure:!1})}return Fe})(),ii=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.toLowerCase()}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"lowercase",type:Fe,pure:!0})}return Fe})();const Bn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ia=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.replace(Bn,Et=>Et[0].toUpperCase()+Et.slice(1).toLowerCase())}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"titlecase",type:Fe,pure:!0})}return Fe})(),ra=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.toUpperCase()}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"uppercase",type:Fe,pure:!0})}return Fe})();const ha=new w.nKC(""),qt=new w.nKC("");let En=(()=>{class Fe{locale;defaultTimezone;defaultOptions;constructor(Ve,Et,Jt){this.locale=Ve,this.defaultTimezone=Et,this.defaultOptions=Jt}transform(Ve,Et,Jt,ti){if(null==Ve||""===Ve||Ve!=Ve)return null;try{return nt(Ve,Et??this.defaultOptions?.dateFormat??"mediumDate",ti||this.locale,Jt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(di){throw Fn()}}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.xe9,16),e.rXU(ha,24),e.rXU(qt,24))};static \u0275pipe=e.EJ8({name:"date",type:Fe,pure:!0})}return Fe})(),Hn=(()=>{class Fe{transform(Ve){return JSON.stringify(Ve,null,2)}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"json",type:Fe,pure:!1})}return Fe})(),da=(()=>{class Fe{differs;constructor(Ve){this.differs=Ve}differ;keyValues=[];compareFn=Ta;transform(Ve,Et=Ta){if(!Ve||!(Ve instanceof Map)&&"object"!=typeof Ve)return null;this.differ??=this.differs.find(Ve).create();const Jt=this.differ.diff(Ve),ti=Et!==this.compareFn;return Jt&&(this.keyValues=[],Jt.forEachItem(di=>{this.keyValues.push(function Pi(Fe,Wt){return{key:Fe,value:Wt}}(di.key,di.currentValue))})),(Jt||ti)&&(Et&&this.keyValues.sort(Et),this.compareFn=Et),this.keyValues}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(T.MKu,16))};static \u0275pipe=e.EJ8({name:"keyvalue",type:Fe,pure:!1})}return Fe})();function Ta(Fe,Wt){const Ve=Fe.key,Et=Wt.key;if(Ve===Et)return 0;if(null==Ve)return 1;if(null==Et)return-1;if("string"==typeof Ve&&"string"==typeof Et)return Ve{class Fe{_locale;constructor(Ve){this._locale=Ve}transform(Ve,Et,Jt){if(!function bn(Fe){return!(null==Fe||""===Fe||Fe!=Fe)}(Ve))return null;Jt||=this._locale;try{return function ut(Fe,Wt,Ve){return function pn(Fe,Wt,Ve,Et,Jt,ti,di=!1){let Ii="",ca=!1;if(isFinite(Fe)){let nn=function se(Fe){let Et,Jt,ti,di,Ii,Wt=Math.abs(Fe)+"",Ve=0;for((Jt=Wt.indexOf("."))>-1&&(Wt=Wt.replace(".","")),(ti=Wt.search(/e/i))>0?(Jt<0&&(Jt=ti),Jt+=+Wt.slice(ti+1),Wt=Wt.substring(0,ti)):Jt<0&&(Jt=Wt.length),ti=0;"0"===Wt.charAt(ti);ti++);if(ti===(Ii=Wt.length))Et=[0],Jt=1;else{for(Ii--;"0"===Wt.charAt(Ii);)Ii--;for(Jt-=ti,Et=[],di=0;ti<=Ii;ti++,di++)Et[di]=Number(Wt.charAt(ti))}return Jt>22&&(Et=Et.splice(0,21),Ve=Jt-1,Jt=1),{digits:Et,exponent:Ve,integerLen:Jt}}(Fe);di&&(nn=function Ot(Fe){if(0===Fe.digits[0])return Fe;const Wt=Fe.digits.length-Fe.integerLen;return Fe.exponent?Fe.exponent+=2:(0===Wt?Fe.digits.push(0,0):1===Wt&&Fe.digits.push(0),Fe.integerLen+=2),Fe}(nn));let ni=Wt.minInt,U=Wt.minFrac,tt=Wt.maxFrac;if(ti){const Ua=ti.match(ye);if(null===Ua)throw new w.buA(2306,!1);const $a=Ua[1],ns=Ua[3],Ga=Ua[5];null!=$a&&(ni=bt($a)),null!=ns&&(U=bt(ns)),null!=Ga?tt=bt(Ga):null!=ns&&U>tt&&(tt=U);const As=100;if(ni>As||U>As||tt>As)throw new w.buA(2306,!1)}!function We(Fe,Wt,Ve){if(Wt>Ve)throw new w.buA(2307,!1);let Et=Fe.digits,Jt=Et.length-Fe.integerLen;const ti=Math.min(Math.max(Wt,Jt),Ve);let di=ti+Fe.integerLen,Ii=Et[di];if(di>0){Et.splice(Math.max(Fe.integerLen,di));for(let U=di;U=5)if(di-1<0){for(let U=0;U>di;U--)Et.unshift(0),Fe.integerLen++;Et.unshift(1),Fe.integerLen++}else Et[di-1]++;for(;Jt=nn?Xt.pop():ca=!1),tt>=10?1:0},0);ni&&(Et.unshift(ni),Fe.integerLen++)}(nn,U,tt);let Ze=nn.digits,Xt=nn.integerLen;const Nn=nn.exponent;let Ki=[];for(ca=Ze.every(Ua=>!Ua);Xt0?Ki=Ze.splice(Xt,Ze.length):(Ki=Ze,Ze=[0]);const _a=[];for(Ze.length>=Wt.lgSize&&_a.unshift(Ze.splice(-Wt.lgSize,Ze.length).join(""));Ze.length>Wt.gSize;)_a.unshift(Ze.splice(-Wt.gSize,Ze.length).join(""));Ze.length&&_a.unshift(Ze.join("")),Ii=_a.join(J(Ve,Et)),Ki.length&&(Ii+=J(Ve,Jt)+Ki.join("")),Nn&&(Ii+=J(Ve,6)+"+"+Nn)}else Ii=J(Ve,9);return Ii=Fe<0&&!ca?Wt.negPre+Ii+Wt.negSuf:Wt.posPre+Ii+Wt.posSuf,Ii}(Fe,function Ge(Fe,Wt="-"){const Ve={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Et=Fe.split(";"),Jt=Et[0],ti=Et[1],di=-1!==Jt.indexOf(".")?Jt.split("."):[Jt.substring(0,Jt.lastIndexOf("0")+1),Jt.substring(Jt.lastIndexOf("0")+1)],Ii=di[0],ca=di[1]||"";Ve.posPre=Ii.substring(0,Ii.indexOf("#"));for(let ni=0;ni{class Fe{transform(Ve,Et,Jt){if(null==Ve)return null;if("string"!=typeof Ve&&!Array.isArray(Ve))throw Fn();return Ve.slice(Et,Jt)}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"slice",type:Fe,pure:!1})}return Fe})(),Ca=(()=>{class Fe{static \u0275fac=function(Et){return new(Et||Fe)};static \u0275mod=e.$C({type:Fe});static \u0275inj=w.G2t({})}return Fe})()},7303(Zt,pe,l){"use strict";l.d(pe,{Q:()=>B,Sm:()=>le,Vw:()=>O,aZ:()=>Ce,hb:()=>A,hj:()=>f,ig:()=>w,kB:()=>Pe,om:()=>L,qj:()=>e,rb:()=>T});var i=l(2615),d=l(1413);let v=null;function T(){return v}function w(re){v??=re}class e{}let O=(()=>{class re{historyGo(Ee){throw new Error("")}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>(0,i.WQX)(u),providedIn:"platform"})}return re})();const f=new i.nKC("");let u=(()=>{class re extends O{_location;_history;_doc=(0,i.WQX)(i.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(Ee){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",Ee,!1),()=>V.removeEventListener("popstate",Ee)}onHashChange(Ee){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",Ee,!1),()=>V.removeEventListener("hashchange",Ee)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ee){this._location.pathname=Ee}pushState(Ee,V,ce){this._history.pushState(Ee,V,ce)}replaceState(Ee,V,ce){this._history.replaceState(Ee,V,ce)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ee=0){this._history.go(Ee)}getState(){return this._history.state}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>new re,providedIn:"platform"})}return re})();function L(re,xe){return re?xe?re.endsWith("/")?xe.startsWith("/")?re+xe.slice(1):re+xe:xe.startsWith("/")?re+xe:`${re}/${xe}`:re:xe}function C(re){const xe=re.search(/#|\?|$/);return"/"===re[xe-1]?re.slice(0,xe-1)+re.slice(xe):re}function B(re){return re&&"?"!==re[0]?`?${re}`:re}let A=(()=>{class re{historyGo(Ee){throw new Error("")}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>(0,i.WQX)(le),providedIn:"root"})}return re})();const Pe=new i.nKC("");let le=(()=>{class re extends A{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Ee,V){super(),this._platformLocation=Ee,this._baseHref=V??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(i.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ee){this._removeListenerFns.push(this._platformLocation.onPopState(Ee),this._platformLocation.onHashChange(Ee))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ee){return L(this._baseHref,Ee)}path(Ee=!1){const V=this._platformLocation.pathname+B(this._platformLocation.search),ce=this._platformLocation.hash;return ce&&Ee?`${V}${ce}`:V}pushState(Ee,V,ce,be){const ne=this.prepareExternalUrl(ce+B(be));this._platformLocation.pushState(Ee,V,ne)}replaceState(Ee,V,ce,be){const ne=this.prepareExternalUrl(ce+B(be));this._platformLocation.replaceState(Ee,V,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ee=0){this._platformLocation.historyGo?.(Ee)}static \u0275fac=function(V){return new(V||re)(i.KVO(O),i.KVO(Pe,8))};static \u0275prov=i.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})(),Ce=(()=>{class re{_subject=new d.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Ee){this._locationStrategy=Ee;const V=this._locationStrategy.getBaseHref();this._basePath=function G(re){if(new RegExp("^(https?:)?//").test(re)){const[,Ee]=re.split(/\/\/[^\/]+/);return Ee}return re}(C(W(V))),this._locationStrategy.onPopState(ce=>{this._subject.next({url:this.path(!0),pop:!0,state:ce.state,type:ce.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ee=!1){return this.normalize(this._locationStrategy.path(Ee))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ee,V=""){return this.path()==this.normalize(Ee+B(V))}normalize(Ee){return re.stripTrailingSlash(function j(re,xe){if(!re||!xe.startsWith(re))return xe;const Ee=xe.substring(re.length);return""===Ee||["/",";","?","#"].includes(Ee[0])?Ee:xe}(this._basePath,W(Ee)))}prepareExternalUrl(Ee){return Ee&&"/"!==Ee[0]&&(Ee="/"+Ee),this._locationStrategy.prepareExternalUrl(Ee)}go(Ee,V="",ce=null){this._locationStrategy.pushState(ce,"",Ee,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ee+B(V)),ce)}replaceState(Ee,V="",ce=null){this._locationStrategy.replaceState(ce,"",Ee,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ee+B(V)),ce)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ee=0){this._locationStrategy.historyGo?.(Ee)}onUrlChange(Ee){return this._urlChangeListeners.push(Ee),this._urlChangeSubscription??=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}),()=>{const V=this._urlChangeListeners.indexOf(Ee);this._urlChangeListeners.splice(V,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ee="",V){this._urlChangeListeners.forEach(ce=>ce(Ee,V))}subscribe(Ee,V,ce){return this._subject.subscribe({next:Ee,error:V??void 0,complete:ce??void 0})}static normalizeQueryParams=B;static joinWithSlash=L;static stripTrailingSlash=C;static \u0275fac=function(V){return new(V||re)(i.KVO(A))};static \u0275prov=i.jDH({token:re,factory:()=>function Ae(){return new Ce((0,i.KVO)(A))}(),providedIn:"root"})}return re})();function W(re){return re.replace(/\/index.html$/,"")}},9330(Zt,pe,l){"use strict";l.d(pe,{$R:()=>Yi,Nl:()=>De,Qq:()=>Qe,Sx:()=>we,ZZ:()=>fi,a7:()=>pt,q1:()=>Qi});var O=l(467),f=l(2615),u=l(3664),L=l(274),C=l(5964),B=l(980),A=l(6354),Pe=l(5558),le=l(1985),Ae=(l(2806),l(7673)),j=l(2512);class W{}class G{}class re{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(an){an?"string"==typeof an?this.lazyInit=()=>{this.headers=new Map,an.split("\n").forEach(Yt=>{const Un=Yt.indexOf(":");if(Un>0){const zn=Yt.slice(0,Un),Fn=Yt.slice(Un+1).trim();this.addHeaderEntry(zn,Fn)}})}:typeof Headers<"u"&&an instanceof Headers?(this.headers=new Map,an.forEach((Yt,Un)=>{this.addHeaderEntry(Un,Yt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(an).forEach(([Yt,Un])=>{this.setHeaderEntries(Yt,Un)})}:this.headers=new Map}has(an){return this.init(),this.headers.has(an.toLowerCase())}get(an){this.init();const Yt=this.headers.get(an.toLowerCase());return Yt&&Yt.length>0?Yt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(an){return this.init(),this.headers.get(an.toLowerCase())||null}append(an,Yt){return this.clone({name:an,value:Yt,op:"a"})}set(an,Yt){return this.clone({name:an,value:Yt,op:"s"})}delete(an,Yt){return this.clone({name:an,value:Yt,op:"d"})}maybeSetNormalizedName(an,Yt){this.normalizedNames.has(Yt)||this.normalizedNames.set(Yt,an)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(an=>this.applyUpdate(an)),this.lazyUpdate=null))}copyFrom(an){an.init(),Array.from(an.headers.keys()).forEach(Yt=>{this.headers.set(Yt,an.headers.get(Yt)),this.normalizedNames.set(Yt,an.normalizedNames.get(Yt))})}clone(an){const Yt=new re;return Yt.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,Yt.lazyUpdate=(this.lazyUpdate||[]).concat([an]),Yt}applyUpdate(an){const Yt=an.name.toLowerCase();switch(an.op){case"a":case"s":let Un=an.value;if("string"==typeof Un&&(Un=[Un]),0===Un.length)return;this.maybeSetNormalizedName(an.name,Yt);const zn=("a"===an.op?this.headers.get(Yt):void 0)||[];zn.push(...Un),this.headers.set(Yt,zn);break;case"d":const Fn=an.value;if(Fn){let ci=this.headers.get(Yt);if(!ci)return;ci=ci.filter(rn=>-1===Fn.indexOf(rn)),0===ci.length?(this.headers.delete(Yt),this.normalizedNames.delete(Yt)):this.headers.set(Yt,ci)}else this.headers.delete(Yt),this.normalizedNames.delete(Yt)}}addHeaderEntry(an,Yt){const Un=an.toLowerCase();this.maybeSetNormalizedName(an,Un),this.headers.has(Un)?this.headers.get(Un).push(Yt):this.headers.set(Un,[Yt])}setHeaderEntries(an,Yt){const Un=(Array.isArray(Yt)?Yt:[Yt]).map(Fn=>Fn.toString()),zn=an.toLowerCase();this.headers.set(zn,Un),this.maybeSetNormalizedName(an,zn)}forEach(an){this.init(),Array.from(this.normalizedNames.keys()).forEach(Yt=>an(this.normalizedNames.get(Yt),this.headers.get(Yt)))}}class Ee{encodeKey(an){return ne(an)}encodeValue(an){return ne(an)}decodeKey(an){return decodeURIComponent(an)}decodeValue(an){return decodeURIComponent(an)}}const ce=/%(\d[a-f0-9])/gi,be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ne(It){return encodeURIComponent(It).replace(ce,(an,Yt)=>be[Yt]??an)}function J(It){return`${It}`}class De{map;encoder;updates=null;cloneFrom=null;constructor(an={}){if(this.encoder=an.encoder||new Ee,an.fromString){if(an.fromObject)throw new f.buA(2805,!1);this.map=function V(It,an){const Yt=new Map;return It.length>0&&It.replace(/^\?/,"").split("&").forEach(zn=>{const Fn=zn.indexOf("="),[ci,rn]=-1==Fn?[an.decodeKey(zn),""]:[an.decodeKey(zn.slice(0,Fn)),an.decodeValue(zn.slice(Fn+1))],In=Yt.get(ci)||[];In.push(rn),Yt.set(ci,In)}),Yt}(an.fromString,this.encoder)}else an.fromObject?(this.map=new Map,Object.keys(an.fromObject).forEach(Yt=>{const Un=an.fromObject[Yt],zn=Array.isArray(Un)?Un.map(J):[J(Un)];this.map.set(Yt,zn)})):this.map=null}has(an){return this.init(),this.map.has(an)}get(an){this.init();const Yt=this.map.get(an);return Yt?Yt[0]:null}getAll(an){return this.init(),this.map.get(an)||null}keys(){return this.init(),Array.from(this.map.keys())}append(an,Yt){return this.clone({param:an,value:Yt,op:"a"})}appendAll(an){const Yt=[];return Object.keys(an).forEach(Un=>{const zn=an[Un];Array.isArray(zn)?zn.forEach(Fn=>{Yt.push({param:Un,value:Fn,op:"a"})}):Yt.push({param:Un,value:zn,op:"a"})}),this.clone(Yt)}set(an,Yt){return this.clone({param:an,value:Yt,op:"s"})}delete(an,Yt){return this.clone({param:an,value:Yt,op:"d"})}toString(){return this.init(),this.keys().map(an=>{const Yt=this.encoder.encodeKey(an);return this.map.get(an).map(Un=>Yt+"="+this.encoder.encodeValue(Un)).join("&")}).filter(an=>""!==an).join("&")}clone(an){const Yt=new De({encoder:this.encoder});return Yt.cloneFrom=this.cloneFrom||this,Yt.updates=(this.updates||[]).concat(an),Yt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(an=>this.map.set(an,this.cloneFrom.map.get(an))),this.updates.forEach(an=>{switch(an.op){case"a":case"s":const Yt=("a"===an.op?this.map.get(an.param):void 0)||[];Yt.push(J(an.value)),this.map.set(an.param,Yt);break;case"d":if(void 0===an.value){this.map.delete(an.param);break}{let Un=this.map.get(an.param)||[];const zn=Un.indexOf(J(an.value));-1!==zn&&Un.splice(zn,1),Un.length>0?this.map.set(an.param,Un):this.map.delete(an.param)}}}),this.cloneFrom=this.updates=null)}}class Xe{map=new Map;set(an,Yt){return this.map.set(an,Yt),this}get(an){return this.map.has(an)||this.map.set(an,an.defaultValue()),this.map.get(an)}delete(an){return this.map.delete(an),this}has(an){return this.map.has(an)}keys(){return this.map.keys()}}function he(It){return typeof ArrayBuffer<"u"&&It instanceof ArrayBuffer}function Dt(It){return typeof Blob<"u"&&It instanceof Blob}function lt(It){return typeof FormData<"u"&&It instanceof FormData}const te="Content-Type",ie="Accept",P="X-Request-URL",F="text/plain",ve="application/json",H=`${ve}, ${F}, */*`;class ${url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(an,Yt,Un,zn){let Fn;if(this.url=Yt,this.method=an.toUpperCase(),function _e(It){switch(It){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||zn?(this.body=void 0!==Un?Un:null,Fn=zn):Fn=Un,Fn){if(this.reportProgress=!!Fn.reportProgress,this.withCredentials=!!Fn.withCredentials,this.keepalive=!!Fn.keepalive,Fn.responseType&&(this.responseType=Fn.responseType),Fn.headers&&(this.headers=Fn.headers),Fn.context&&(this.context=Fn.context),Fn.params&&(this.params=Fn.params),Fn.priority&&(this.priority=Fn.priority),Fn.cache&&(this.cache=Fn.cache),Fn.credentials&&(this.credentials=Fn.credentials),"number"==typeof Fn.timeout){if(Fn.timeout<1||!Number.isInteger(Fn.timeout))throw new f.buA(2822,"");this.timeout=Fn.timeout}Fn.mode&&(this.mode=Fn.mode),Fn.redirect&&(this.redirect=Fn.redirect),Fn.integrity&&(this.integrity=Fn.integrity),void 0!==Fn.referrer&&(this.referrer=Fn.referrer),this.transferCache=Fn.transferCache}if(this.headers??=new re,this.context??=new Xe,this.params){const ci=this.params.toString();if(0===ci.length)this.urlWithParams=Yt;else{const rn=Yt.indexOf("?");this.urlWithParams=Yt+(-1===rn?"?":rnRn.set(Hn,an.setHeaders[Hn]),En)),an.setParams&&(Wn=Object.keys(an.setParams).reduce((Rn,Hn)=>Rn.set(Hn,an.setParams[Hn]),Wn)),new $(Yt,Un,fa,{params:Wn,headers:En,context:ri,reportProgress:qt,responseType:zn,withCredentials:ha,transferCache:ia,keepalive:Fn,cache:rn,priority:ci,timeout:ra,mode:In,redirect:Mn,credentials:Vn,referrer:ii,integrity:Bn})}}var Ke=function(It){return It[It.Sent=0]="Sent",It[It.UploadProgress=1]="UploadProgress",It[It.ResponseHeader=2]="ResponseHeader",It[It.DownloadProgress=3]="DownloadProgress",It[It.Response=4]="Response",It[It.User=5]="User",It}(Ke||{});class Vt{headers;status;statusText;url;ok;type;redirected;constructor(an,Yt=200,Un="OK"){this.headers=an.headers||new re,this.status=void 0!==an.status?an.status:Yt,this.statusText=an.statusText||Un,this.url=an.url||null,this.redirected=an.redirected,this.ok=this.status>=200&&this.status<300}}class St extends Vt{constructor(an={}){super(an)}type=Ke.ResponseHeader;clone(an={}){return new St({headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0})}}class ot extends Vt{body;constructor(an={}){super(an),this.body=void 0!==an.body?an.body:null}type=Ke.Response;clone(an={}){return new ot({body:void 0!==an.body?an.body:this.body,headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0,redirected:an.redirected??this.redirected})}}class nt extends Vt{name="HttpErrorResponse";message;error;ok=!1;constructor(an){super(an,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${an.url||"(unknown url)"}`:`Http failure response for ${an.url||"(unknown url)"}: ${an.status} ${an.statusText}`,this.error=an.error||null}}function fe(It,an){return{body:an,headers:It.headers,context:It.context,observe:It.observe,params:It.params,reportProgress:It.reportProgress,responseType:It.responseType,withCredentials:It.withCredentials,credentials:It.credentials,transferCache:It.transferCache,timeout:It.timeout,keepalive:It.keepalive,priority:It.priority,cache:It.cache,mode:It.mode,redirect:It.redirect,integrity:It.integrity,referrer:It.referrer}}let Qe=(()=>{class It{handler;constructor(Yt){this.handler=Yt}request(Yt,Un,zn={}){let Fn;if(Yt instanceof $)Fn=Yt;else{let In,Mn;In=zn.headers instanceof re?zn.headers:new re(zn.headers),zn.params&&(Mn=zn.params instanceof De?zn.params:new De({fromObject:zn.params})),Fn=new $(Yt,Un,void 0!==zn.body?zn.body:null,{headers:In,context:zn.context,params:Mn,reportProgress:zn.reportProgress,responseType:zn.responseType||"json",withCredentials:zn.withCredentials,transferCache:zn.transferCache,keepalive:zn.keepalive,priority:zn.priority,cache:zn.cache,mode:zn.mode,redirect:zn.redirect,credentials:zn.credentials,referrer:zn.referrer,integrity:zn.integrity,timeout:zn.timeout})}const ci=(0,Ae.of)(Fn).pipe((0,L.H)(In=>this.handler.handle(In)));if(Yt instanceof $||"events"===zn.observe)return ci;const rn=ci.pipe((0,C.p)(In=>In instanceof ot));switch(zn.observe||"body"){case"body":switch(Fn.responseType){case"arraybuffer":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&!(In.body instanceof ArrayBuffer))throw new f.buA(2806,!1);return In.body}));case"blob":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&!(In.body instanceof Blob))throw new f.buA(2807,!1);return In.body}));case"text":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&"string"!=typeof In.body)throw new f.buA(2808,!1);return In.body}));default:return rn.pipe((0,A.T)(In=>In.body))}case"response":return rn;default:throw new f.buA(2809,!1)}}delete(Yt,Un={}){return this.request("DELETE",Yt,Un)}get(Yt,Un={}){return this.request("GET",Yt,Un)}head(Yt,Un={}){return this.request("HEAD",Yt,Un)}jsonp(Yt,Un){return this.request("JSONP",Yt,{params:(new De).append(Un,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Yt,Un={}){return this.request("OPTIONS",Yt,Un)}patch(Yt,Un,zn={}){return this.request("PATCH",Yt,fe(zn,Un))}post(Yt,Un,zn={}){return this.request("POST",Yt,fe(zn,Un))}put(Yt,Un,zn={}){return this.request("PUT",Yt,fe(zn,Un))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(W))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const gt=/^\)\]\}',?\n/;function Gt(It){if(It.url)return It.url;const an=P.toLocaleLowerCase();return It.headers.get(an)}const rt=new f.nKC("");let cn=(()=>{class It{fetchImpl=(0,f.WQX)(Ft,{optional:!0})?.fetch??((...Yt)=>globalThis.fetch(...Yt));ngZone=(0,f.WQX)(u.SKi);destroyRef=(0,f.WQX)(f.abz);handle(Yt){return new le.c(Un=>{const zn=new AbortController;let Fn;return this.doRequest(Yt,zn.signal,Un).then(Sn,ci=>Un.error(new nt({error:ci}))),Yt.timeout&&(Fn=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{zn.signal.aborted||zn.abort(new DOMException("signal timed out","TimeoutError"))},Yt.timeout))),()=>{void 0!==Fn&&clearTimeout(Fn),zn.abort()}})}doRequest(Yt,Un,zn){var Fn=this;return(0,O.A)(function*(){const ci=Fn.createRequestInit(Yt);let rn;try{const fa=Fn.ngZone.runOutsideAngular(()=>Fn.fetchImpl(Yt.urlWithParams,{signal:Un,...ci}));(function h(It){It.then(Sn,Sn)})(fa),zn.next({type:Ke.Sent}),rn=yield fa}catch(fa){return void zn.error(new nt({error:fa,status:fa.status??0,statusText:fa.statusText,url:Yt.urlWithParams,headers:fa.headers}))}const In=new re(rn.headers),Mn=rn.statusText,Vn=Gt(rn)??Yt.urlWithParams;let ii=rn.status,Bn=null;if(Yt.reportProgress&&zn.next(new St({headers:In,status:ii,statusText:Mn,url:Vn})),rn.body){const fa=rn.headers.get("content-length"),ha=[],qt=rn.body.getReader();let Wn,ri,En=0;const Rn=typeof Zone<"u"&&Zone.current;let Hn=!1;if(yield Fn.ngZone.runOutsideAngular((0,O.A)(function*(){for(;;){if(Fn.destroyRef.destroyed){yield qt.cancel(),Hn=!0;break}const{done:da,value:Ta}=yield qt.read();if(da)break;if(ha.push(Ta),En+=Ta.length,Yt.reportProgress){ri="text"===Yt.responseType?(ri??"")+(Wn??=new TextDecoder).decode(Ta,{stream:!0}):void 0;const en=()=>zn.next({type:Ke.DownloadProgress,total:fa?+fa:void 0,loaded:En,partialText:ri});Rn?Rn.run(en):en()}}})),Hn)return void zn.complete();const Pi=Fn.concatChunks(ha,En);try{const da=rn.headers.get(te)??"";Bn=Fn.parseBody(Yt,Pi,da,ii)}catch(da){return void zn.error(new nt({error:da,headers:new re(rn.headers),status:rn.status,statusText:rn.statusText,url:Gt(rn)??Yt.urlWithParams}))}}0===ii&&(ii=Bn?200:0);const ra=rn.redirected;ii>=200&&ii<300?(zn.next(new ot({body:Bn,headers:In,status:ii,statusText:Mn,url:Vn,redirected:ra})),zn.complete()):zn.error(new nt({error:Bn,headers:In,status:ii,statusText:Mn,url:Vn,redirected:ra}))})()}parseBody(Yt,Un,zn,Fn){switch(Yt.responseType){case"json":const ci=(new TextDecoder).decode(Un).replace(gt,"");if(""===ci)return null;try{return JSON.parse(ci)}catch(rn){if(Fn<200||Fn>=300)return ci;throw rn}case"text":return(new TextDecoder).decode(Un);case"blob":return new Blob([Un],{type:zn});case"arraybuffer":return Un.buffer}}createRequestInit(Yt){const Un={};let zn;if(zn=Yt.credentials,Yt.withCredentials&&(zn="include"),Yt.headers.forEach((Fn,ci)=>Un[Fn]=ci.join(",")),Yt.headers.has(ie)||(Un[ie]=H),!Yt.headers.has(te)){const Fn=Yt.detectContentTypeHeader();null!==Fn&&(Un[te]=Fn)}return{body:Yt.serializeBody(),method:Yt.method,headers:Un,credentials:zn,keepalive:Yt.keepalive,cache:Yt.cache,priority:Yt.priority,mode:Yt.mode,redirect:Yt.redirect,referrer:Yt.referrer,integrity:Yt.integrity}}concatChunks(Yt,Un){const zn=new Uint8Array(Un);let Fn=0;for(const ci of Yt)zn.set(ci,Fn),Fn+=ci.length;return zn}static \u0275fac=function(Un){return new(Un||It)};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();class Ft{}function Sn(){}function jt(It,an){return an(It)}function Ue(It,an){return(Yt,Un)=>an.intercept(Yt,{handle:zn=>It(zn,Un)})}const pt=new f.nKC(""),Pt=new f.nKC(""),gn=new f.nKC(""),ei=new f.nKC("",{providedIn:"root",factory:()=>!0});function vi(){let It=null;return(an,Yt)=>{null===It&&(It=((0,f.WQX)(pt,{optional:!0})??[]).reduceRight(Ue,jt));const Un=(0,f.WQX)(f.u5s);if((0,f.WQX)(ei)){const Fn=Un.add();return It(an,Yt).pipe((0,B.j)(Fn))}return It(an,Yt)}}let kn=(()=>{class It extends W{backend;injector;chain=null;pendingTasks=(0,f.WQX)(f.u5s);contributeToStability=(0,f.WQX)(ei);constructor(Yt,Un){super(),this.backend=Yt,this.injector=Un}handle(Yt){if(null===this.chain){const Un=Array.from(new Set([...this.injector.get(Pt),...this.injector.get(gn,[])]));this.chain=Un.reduceRight((zn,Fn)=>function wt(It,an,Yt){return(Un,zn)=>(0,f.N4e)(Yt,()=>an(Un,Fn=>It(Fn,zn)))}(zn,Fn,this.injector),jt)}if(this.contributeToStability){const Un=this.pendingTasks.add();return this.chain(Yt,zn=>this.backend.handle(zn)).pipe((0,B.j)(Un))}return this.chain(Yt,Un=>this.backend.handle(Un))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(G),f.KVO(f.uvJ))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const pn=/^\)\]\}',?\n/,Je=RegExp(`^${P}:`,"m");let Ge=(()=>{class It{xhrFactory;constructor(Yt){this.xhrFactory=Yt}handle(Yt){if("JSONP"===Yt.method)throw new f.buA(-2800,!1);const Un=this.xhrFactory;return(0,Ae.of)(null).pipe((0,Pe.n)(()=>new le.c(Fn=>{const ci=Un.build();if(ci.open(Yt.method,Yt.urlWithParams),Yt.withCredentials&&(ci.withCredentials=!0),Yt.headers.forEach((ha,qt)=>ci.setRequestHeader(ha,qt.join(","))),Yt.headers.has(ie)||ci.setRequestHeader(ie,H),!Yt.headers.has(te)){const ha=Yt.detectContentTypeHeader();null!==ha&&ci.setRequestHeader(te,ha)}if(Yt.timeout&&(ci.timeout=Yt.timeout),Yt.responseType){const ha=Yt.responseType.toLowerCase();ci.responseType="json"!==ha?ha:"text"}const rn=Yt.serializeBody();let In=null;const Mn=()=>{if(null!==In)return In;const ha=ci.statusText||"OK",qt=new re(ci.getAllResponseHeaders()),En=function Be(It){return"responseURL"in It&&It.responseURL?It.responseURL:Je.test(It.getAllResponseHeaders())?It.getResponseHeader(P):null}(ci)||Yt.url;return In=new St({headers:qt,status:ci.status,statusText:ha,url:En}),In},Vn=()=>{let{headers:ha,status:qt,statusText:En,url:Wn}=Mn(),ri=null;204!==qt&&(ri=typeof ci.response>"u"?ci.responseText:ci.response),0===qt&&(qt=ri?200:0);let Rn=qt>=200&&qt<300;if("json"===Yt.responseType&&"string"==typeof ri){const Hn=ri;ri=ri.replace(pn,"");try{ri=""!==ri?JSON.parse(ri):null}catch(Pi){ri=Hn,Rn&&(Rn=!1,ri={error:Pi,text:ri})}}Rn?(Fn.next(new ot({body:ri,headers:ha,status:qt,statusText:En,url:Wn||void 0})),Fn.complete()):Fn.error(new nt({error:ri,headers:ha,status:qt,statusText:En,url:Wn||void 0}))},ii=ha=>{const{url:qt}=Mn(),En=new nt({error:ha,status:ci.status||0,statusText:ci.statusText||"Unknown Error",url:qt||void 0});Fn.error(En)};let Bn=ii;Yt.timeout&&(Bn=ha=>{const{url:qt}=Mn(),En=new nt({error:new DOMException("Request timed out","TimeoutError"),status:ci.status||0,statusText:ci.statusText||"Request timeout",url:qt||void 0});Fn.error(En)});let ia=!1;const ra=ha=>{ia||(Fn.next(Mn()),ia=!0);let qt={type:Ke.DownloadProgress,loaded:ha.loaded};ha.lengthComputable&&(qt.total=ha.total),"text"===Yt.responseType&&ci.responseText&&(qt.partialText=ci.responseText),Fn.next(qt)},fa=ha=>{let qt={type:Ke.UploadProgress,loaded:ha.loaded};ha.lengthComputable&&(qt.total=ha.total),Fn.next(qt)};return ci.addEventListener("load",Vn),ci.addEventListener("error",ii),ci.addEventListener("timeout",Bn),ci.addEventListener("abort",ii),Yt.reportProgress&&(ci.addEventListener("progress",ra),null!==rn&&ci.upload&&ci.upload.addEventListener("progress",fa)),ci.send(rn),Fn.next({type:Ke.Sent}),()=>{ci.removeEventListener("error",ii),ci.removeEventListener("abort",ii),ci.removeEventListener("load",Vn),ci.removeEventListener("timeout",Bn),Yt.reportProgress&&(ci.removeEventListener("progress",ra),null!==rn&&ci.upload&&ci.upload.removeEventListener("progress",fa)),ci.readyState!==ci.DONE&&ci.abort()}})))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(j.N))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const Ot=new f.nKC(""),We=new f.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),tn=new f.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class on{}let un=(()=>{class It{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(Yt,Un){this.doc=Yt,this.cookieName=Un}getToken(){const Yt=this.doc.cookie||"";return Yt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,j.b)(Yt,this.cookieName),this.lastCookieString=Yt),this.lastToken}static \u0275fac=function(Un){return new(Un||It)(f.KVO(f.qQL),f.KVO(We))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const Nt=/^(?:https?:)?\/\//i;function dn(It,an){if(!(0,f.WQX)(Ot)||"GET"===It.method||"HEAD"===It.method||Nt.test(It.url))return an(It);const Yt=(0,f.WQX)(on).getToken(),Un=(0,f.WQX)(tn);return null!=Yt&&!It.headers.has(Un)&&(It=It.clone({headers:It.headers.set(Un,Yt)})),an(It)}var Jn=function(It){return It[It.Interceptors=0]="Interceptors",It[It.LegacyInterceptors=1]="LegacyInterceptors",It[It.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",It[It.NoXsrfProtection=3]="NoXsrfProtection",It[It.JsonpSupport=4]="JsonpSupport",It[It.RequestsMadeViaParent=5]="RequestsMadeViaParent",It[It.Fetch=6]="Fetch",It}(Jn||{});function xi(It,an){return{\u0275kind:It,\u0275providers:an}}function Yi(...It){const an=[Qe,Ge,kn,{provide:W,useExisting:kn},{provide:G,useFactory:()=>(0,f.WQX)(rt,{optional:!0})??(0,f.WQX)(Ge)},{provide:Pt,useValue:dn,multi:!0},{provide:Ot,useValue:!0},{provide:on,useClass:un}];for(const Yt of It)an.push(...Yt.\u0275providers);return(0,f.EmA)(an)}const At=new f.nKC("");function we(){return xi(Jn.LegacyInterceptors,[{provide:At,useFactory:vi},{provide:Pt,useExisting:At,multi:!0}])}function fi(){return xi(Jn.Fetch,[cn,{provide:rt,useExisting:cn},{provide:G,useExisting:cn}])}let Qi=(()=>{class It{static \u0275fac=function(Un){return new(Un||It)};static \u0275mod=u.$C({type:It});static \u0275inj=f.G2t({providers:[Yi(we())]})}return It})()},2512(Zt,pe,l){"use strict";function i(v,T){T=encodeURIComponent(T);for(const w of v.split(";")){const e=w.indexOf("="),[O,f]=-1==e?[w,""]:[w.slice(0,e),w.slice(e+1)];if(O.trim()===T)return decodeURIComponent(f)}return null}l.d(pe,{N:()=>d,b:()=>i});class d{}},7705(Zt,pe,l){"use strict";l.d(pe,{ES_:()=>Ze,HJs:()=>Io,Hbi:()=>mi,L39:()=>ai,MKu:()=>Mo,Udg:()=>Gi,_q3:()=>Ss,a0P:()=>Rl,cCO:()=>Xt,ebz:()=>As,fpN:()=>nr,gRc:()=>Oi,geq:()=>Er,hFB:()=>$a,naY:()=>Ne,oH4:()=>Xs,sbv:()=>zo,uEv:()=>Gl});var Ve=l(2615),Et=l(8440),Jt=l(3664),ti=l(9295);const di=Symbol("InputSignalNode#UNSET"),Ii={...Et.s0,transformFn:void 0,applyValueToInputSignal(yt,je){(0,Et.j2)(yt,je)}};function nn(yt,je){const ct=Object.create(Ii);function Qt(){if((0,Et.mK)(ct),ct.value===di)throw new Ve.buA(-950,null);return ct.value}return ct.value=yt,ct.transformFn=je?.transform,Qt[Et.bh]=ct,Qt}class Ze{attributeName;constructor(je){this.attributeName=je}__NG_ELEMENT_ID__=()=>(0,Jt.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const Xt=new Ve.nKC("");function _a(yt,je){return nn(yt,je)}Xt.__NG_ELEMENT_ID__=yt=>{const je=(0,Ve.Mx4)();if(null===je)throw new Ve.buA(204,!1);if(2&je.type)return je.value;if(8&yt)return null;throw new Ve.buA(204,!1)};const $a=(_a.required=function Ua(yt){return nn(di,yt)},_a);function ns(yt,je){return(0,Jt.mU9)(je)}const As=(ns.required=function Ga(yt,je){return(0,Jt.hnC)(je)},ns);function mr(yt,je){return(0,Jt.mU9)(je)}const zo=(mr.required=function fr(yt,je){return(0,Jt.hnC)(je)},mr);function gr(yt,je){const ct=Object.create(Ii),Qt=new ti.Zf;function Pn(){return(0,Et.mK)(ct),bo(ct.value),ct.value}return ct.value=yt,Pn[Et.bh]=ct,Pn.asReadonly=Ve.HO5.bind(Pn),Pn.set=$n=>{ct.equal(ct.value,$n)||((0,Et.j2)(ct,$n),Qt.emit($n))},Pn.update=$n=>{bo(ct.value),Pn.set($n(ct.value))},Pn.subscribe=Qt.subscribe.bind(Qt),Pn.destroyRef=Qt.destroyRef,Pn}function bo(yt){if(yt===di)throw new Ve.buA(952,!1)}function Zs(yt,je){return gr(yt)}const Er=(Zs.required=function jr(yt){return gr(di)},Zs),is=new Ve.nKC(""),Hs=new Ve.nKC("");function Ws(yt){return!yt.moduleRef}let Ui;function xs(){Ui=vr}function vr(yt,je){const ct=yt.injector.get(Jt.o8S);if(yt._bootstrapComponents.length>0)yt._bootstrapComponents.forEach(Qt=>ct.bootstrap(Qt));else{if(!yt.instance.ngDoBootstrap)throw new Ve.buA(-403,!1);yt.instance.ngDoBootstrap(ct)}je.push(yt)}let Pa=(()=>{class yt{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(ct){this._injector=ct}bootstrapModuleFactory(ct,Qt){const Pn=Qt?.scheduleInRootZone,Ci=Qt?.ignoreChangesOutsideZone,wi=[(0,Jt.SdI)({ngZoneFactory:()=>(0,Jt.G5x)(Qt?.ngZone,{...(0,Jt.cZr)({eventCoalescing:Qt?.ngZoneEventCoalescing,runCoalescing:Qt?.ngZoneRunCoalescing}),scheduleInRootZone:Pn}),ignoreChangesOutsideZone:Ci}),{provide:Ve.hk6,useExisting:Jt.Ts$},Ve.gv8],$i=(0,Jt.VzW)(ct.moduleType,this.injector,wi);return xs(),function Mr(yt){const je=Ws(yt)?yt.r3Injector:yt.moduleRef.injector,ct=je.get(Jt.SKi);return ct.run(()=>{Ws(yt)?yt.r3Injector.resolveInjectorInitializers():yt.moduleRef.resolveInjectorInitializers();const Qt=je.get(Ve.ZTf);let Pn;if(ct.runOutsideAngular(()=>{Pn=ct.onError.subscribe({next:Qt})}),Ws(yt)){const $n=()=>je.destroy(),Ci=yt.platformInjector.get(is);Ci.add($n),je.onDestroy(()=>{Pn.unsubscribe(),Ci.delete($n)})}else{const $n=()=>yt.moduleRef.destroy(),Ci=yt.platformInjector.get(is);Ci.add($n),yt.moduleRef.onDestroy(()=>{(0,Jt.TFI)(yt.allPlatformModules,yt.moduleRef),Pn.unsubscribe(),Ci.delete($n)})}return function qs(yt,je,ct){try{const Qt=ct();return(0,Jt.yLl)(Qt)?Qt.catch(Pn=>{throw je.runOutsideAngular(()=>yt(Pn)),Pn}):Qt}catch(Qt){throw je.runOutsideAngular(()=>yt(Qt)),Qt}}(Qt,ct,()=>{const $n=je.get(Ve.rev),Ci=$n.add(),wi=je.get(Jt.H1s);return wi.runInitializers(),wi.donePromise.then(()=>{const $i=je.get(Jt.xe9,Jt.DkB);if((0,Jt.e6s)($i||Jt.DkB),!je.get(Hs,!0))return Ws(yt)?je.get(Jt.o8S):(yt.allPlatformModules.push(yt.moduleRef),yt.moduleRef);if(Ws(yt)){const va=je.get(Jt.o8S);return void 0!==yt.rootComponent&&va.bootstrap(yt.rootComponent),va}return Ui?.(yt.moduleRef,yt.allPlatformModules),yt.moduleRef}).finally(()=>{$n.remove(Ci)})})})}({moduleRef:$i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(ct,Qt=[]){const Pn=(0,Jt.lJT)({},Qt);return xs(),function qo(yt,je,ct){const Qt=new Jt.Co$(ct);return Promise.resolve(Qt)}(0,0,ct).then($n=>this.bootstrapModuleFactory($n,Pn))}onDestroy(ct){this._destroyListeners.push(ct)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve.buA(404,!1);this._modules.slice().forEach(Qt=>Qt.destroy()),this._destroyListeners.forEach(Qt=>Qt());const ct=this._injector.get(is,null);ct&&(ct.forEach(Qt=>Qt()),ct.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(Qt){return new(Qt||yt)((0,Ve.KVO)(Ve.zZn))};static \u0275prov=(0,Ve.jDH)({token:yt,factory:yt.\u0275fac,providedIn:"platform"})}return yt})(),yr=null;function Xs(yt,je,ct=[]){const Qt=`Platform: ${je}`,Pn=new Ve.nKC(Qt);return($n=[])=>{let Ci=Za();if(!Ci){const wi=[...ct,...$n,{provide:Pn,useValue:!0}];Ci=yt?.(wi)??function er(yt){if(Za())throw new Ve.buA(400,!1);(0,Jt.pl0)(),(0,Jt.ypd)(),yr=yt;const je=yt.get(Pa);return function Hr(yt){const je=yt.get(Jt.PLl,null);(0,Ve.N4e)(yt,()=>{je?.forEach(ct=>ct())})}(yt),je}(function wa(yt=[],je){return Ve.zZn.create({name:je,providers:[{provide:Ve.GBX,useValue:"platform"},{provide:is,useValue:new Set([()=>yr=null])},...yt]})}(wi,Qt))}return function ja(){const je=Za();if(!je)throw new Ve.buA(-401,!1);return je}()}}function Za(){return yr?.get(Pa)??null}function Ne(){return!1}let Oi=(()=>class yt{static __NG_ELEMENT_ID__=ua})();function ua(yt){return function Es(yt,je,ct){if((0,Ve.Qs1)(yt)&&!ct){const Qt=(0,Ve.KdJ)(yt.index,je);return new Jt.NCX(Qt,Qt)}return 175&yt.type?new Jt.NCX(je[Ve.b5C],je):null}((0,Ve.Mx4)(),(0,Ve.OAn)(),!(16&~yt))}class $e{constructor(){}supports(je){return(0,Jt.ozJ)(je)}create(je){return new Ln(je)}}const mn=(yt,je)=>je;class Ln{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(je){this._trackByFn=je||mn}forEachItem(je){let ct;for(ct=this._itHead;null!==ct;ct=ct._next)je(ct)}forEachOperation(je){let ct=this._itHead,Qt=this._removalsHead,Pn=0,$n=null;for(;ct||Qt;){const Ci=!Qt||ct&&ct.currentIndex{Ci=this._trackByFn(Pn,wi),null!==ct&&Object.is(ct.trackById,Ci)?(Qt&&(ct=this._verifyReinsertion(ct,wi,Ci,Pn)),Object.is(ct.item,wi)||this._addIdentityChange(ct,wi)):(ct=this._mismatch(ct,wi,Ci,Pn),Qt=!0),ct=ct._next,Pn++}),this.length=Pn;return this._truncate(ct),this.collection=je,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let je;for(je=this._previousItHead=this._itHead;null!==je;je=je._next)je._nextPrevious=je._next;for(je=this._additionsHead;null!==je;je=je._nextAdded)je.previousIndex=je.currentIndex;for(this._additionsHead=this._additionsTail=null,je=this._movesHead;null!==je;je=je._nextMoved)je.previousIndex=je.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(je,ct,Qt,Pn){let $n;return null===je?$n=this._itTail:($n=je._prev,this._remove(je)),null!==(je=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Qt,null))?(Object.is(je.item,ct)||this._addIdentityChange(je,ct),this._reinsertAfter(je,$n,Pn)):null!==(je=null===this._linkedRecords?null:this._linkedRecords.get(Qt,Pn))?(Object.is(je.item,ct)||this._addIdentityChange(je,ct),this._moveAfter(je,$n,Pn)):je=this._addAfter(new Ei(ct,Qt),$n,Pn),je}_verifyReinsertion(je,ct,Qt,Pn){let $n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Qt,null);return null!==$n?je=this._reinsertAfter($n,je._prev,Pn):je.currentIndex!=Pn&&(je.currentIndex=Pn,this._addToMoves(je,Pn)),je}_truncate(je){for(;null!==je;){const ct=je._next;this._addToRemovals(this._unlink(je)),je=ct}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(je,ct,Qt){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(je);const Pn=je._prevRemoved,$n=je._nextRemoved;return null===Pn?this._removalsHead=$n:Pn._nextRemoved=$n,null===$n?this._removalsTail=Pn:$n._prevRemoved=Pn,this._insertAfter(je,ct,Qt),this._addToMoves(je,Qt),je}_moveAfter(je,ct,Qt){return this._unlink(je),this._insertAfter(je,ct,Qt),this._addToMoves(je,Qt),je}_addAfter(je,ct,Qt){return this._insertAfter(je,ct,Qt),this._additionsTail=null===this._additionsTail?this._additionsHead=je:this._additionsTail._nextAdded=je,je}_insertAfter(je,ct,Qt){const Pn=null===ct?this._itHead:ct._next;return je._next=Pn,je._prev=ct,null===Pn?this._itTail=je:Pn._prev=je,null===ct?this._itHead=je:ct._next=je,null===this._linkedRecords&&(this._linkedRecords=new cs),this._linkedRecords.put(je),je.currentIndex=Qt,je}_remove(je){return this._addToRemovals(this._unlink(je))}_unlink(je){null!==this._linkedRecords&&this._linkedRecords.remove(je);const ct=je._prev,Qt=je._next;return null===ct?this._itHead=Qt:ct._next=Qt,null===Qt?this._itTail=ct:Qt._prev=ct,je}_addToMoves(je,ct){return je.previousIndex===ct||(this._movesTail=null===this._movesTail?this._movesHead=je:this._movesTail._nextMoved=je),je}_addToRemovals(je){return null===this._unlinkedRecords&&(this._unlinkedRecords=new cs),this._unlinkedRecords.put(je),je.currentIndex=null,je._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=je,je._prevRemoved=null):(je._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=je),je}_addIdentityChange(je,ct){return je.item=ct,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=je:this._identityChangesTail._nextIdentityChange=je,je}}class Ei{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(je,ct){this.item=je,this.trackById=ct}}class xa{_head=null;_tail=null;add(je){null===this._head?(this._head=this._tail=je,je._nextDup=null,je._prevDup=null):(this._tail._nextDup=je,je._prevDup=this._tail,je._nextDup=null,this._tail=je)}get(je,ct){let Qt;for(Qt=this._head;null!==Qt;Qt=Qt._nextDup)if((null===ct||ct<=Qt.currentIndex)&&Object.is(Qt.trackById,je))return Qt;return null}remove(je){const ct=je._prevDup,Qt=je._nextDup;return null===ct?this._head=Qt:ct._nextDup=Qt,null===Qt?this._tail=ct:Qt._prevDup=ct,null===this._head}}class cs{map=new Map;put(je){const ct=je.trackById;let Qt=this.map.get(ct);Qt||(Qt=new xa,this.map.set(ct,Qt)),Qt.add(je)}get(je,ct){const Pn=this.map.get(je);return Pn?Pn.get(je,ct):null}remove(je){const ct=je.trackById;return this.map.get(ct).remove(je)&&this.map.delete(ct),je}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qr(yt,je,ct){const Qt=yt.previousIndex;if(null===Qt)return Qt;let Pn=0;return ct&&Qt{if(ct&&ct.key===Pn)this._maybeAddToChanges(ct,Qt),this._appendAfter=ct,ct=ct._next;else{const $n=this._getOrCreateRecordForKey(Pn,Qt);ct=this._insertBeforeOrAppend(ct,$n)}}),ct){ct._prev&&(ct._prev._next=null),this._removalsHead=ct;for(let Qt=ct;null!==Qt;Qt=Qt._nextRemoved)Qt===this._mapHead&&(this._mapHead=null),this._records.delete(Qt.key),Qt._nextRemoved=Qt._next,Qt.previousValue=Qt.currentValue,Qt.currentValue=null,Qt._prev=null,Qt._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(je,ct){if(je){const Qt=je._prev;return ct._next=je,ct._prev=Qt,je._prev=ct,Qt&&(Qt._next=ct),je===this._mapHead&&(this._mapHead=ct),this._appendAfter=je,je}return this._appendAfter?(this._appendAfter._next=ct,ct._prev=this._appendAfter):this._mapHead=ct,this._appendAfter=ct,null}_getOrCreateRecordForKey(je,ct){if(this._records.has(je)){const Pn=this._records.get(je);this._maybeAddToChanges(Pn,ct);const $n=Pn._prev,Ci=Pn._next;return $n&&($n._next=Ci),Ci&&(Ci._prev=$n),Pn._next=null,Pn._prev=null,Pn}const Qt=new el(je);return this._records.set(je,Qt),Qt.currentValue=ct,this._addToAdditions(Qt),Qt}_reset(){if(this.isDirty){let je;for(this._previousMapHead=this._mapHead,je=this._previousMapHead;null!==je;je=je._next)je._nextPrevious=je._next;for(je=this._changesHead;null!==je;je=je._nextChanged)je.previousValue=je.currentValue;for(je=this._additionsHead;null!=je;je=je._nextAdded)je.previousValue=je.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(je,ct){Object.is(ct,je.currentValue)||(je.previousValue=je.currentValue,je.currentValue=ct,this._addToChanges(je))}_addToAdditions(je){null===this._additionsHead?this._additionsHead=this._additionsTail=je:(this._additionsTail._nextAdded=je,this._additionsTail=je)}_addToChanges(je){null===this._changesHead?this._changesHead=this._changesTail=je:(this._changesTail._nextChanged=je,this._changesTail=je)}_forEach(je,ct){je instanceof Map?je.forEach(ct):Object.keys(je).forEach(Qt=>ct(je[Qt],Qt))}}class el{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(je){this.key=je}}function Ml(){return new Ss([new $e])}let Ss=(()=>{class yt{factories;static \u0275prov=(0,Ve.jDH)({token:yt,providedIn:"root",factory:Ml});constructor(ct){this.factories=ct}static create(ct,Qt){if(null!=Qt){const Pn=Qt.factories.slice();ct=ct.concat(Pn)}return new yt(ct)}static extend(ct){return{provide:yt,useFactory:()=>{const Qt=(0,Ve.WQX)(yt,{optional:!0,skipSelf:!0});return yt.create(ct,Qt||Ml())}}}find(ct){const Qt=this.factories.find(Pn=>Pn.supports(ct));if(null!=Qt)return Qt;throw new Ve.buA(901,!1)}}return yt})();function Eo(){return new Mo([new xo])}let Mo=(()=>{class yt{static \u0275prov=(0,Ve.jDH)({token:yt,providedIn:"root",factory:Eo});factories;constructor(ct){this.factories=ct}static create(ct,Qt){if(Qt){const Pn=Qt.factories.slice();ct=ct.concat(Pn)}return new yt(ct)}static extend(ct){return{provide:yt,useFactory:()=>{const Qt=(0,Ve.WQX)(yt,{optional:!0,skipSelf:!0});return yt.create(ct,Qt||Eo())}}}find(ct){const Qt=this.factories.find(Pn=>Pn.supports(ct));if(Qt)return Qt;throw new Ve.buA(901,!1)}}return yt})();const nr=Xs(null,"core",[]);let mi=(()=>{class yt{constructor(ct){}static \u0275fac=function(Qt){return new(Qt||yt)((0,Ve.KVO)(Jt.o8S))};static \u0275mod=(0,Jt.$C)({type:yt});static \u0275inj=(0,Ve.G2t)({})}return yt})();function ai(yt){return"boolean"==typeof yt?yt:null!=yt&&"false"!==yt}function Gi(yt,je=NaN){return isNaN(parseFloat(yt))||isNaN(Number(yt))?je:Number(yt)}const vl=Symbol("NOT_SET"),al=new Set,Lo={...Et.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:vl,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase((0,Et.mK)(sa),sa.value),sa.signal[Et.bh]=sa,sa.registerCleanupFn=va=>(sa.cleanup??=new Set).add(va),this.nodes[wi]=sa,this.hooks[wi]=va=>sa.phaseFn(va)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const je of this.nodes)if(je)try{for(const ct of je.cleanup??al)ct()}finally{(0,Et.XR)(je)}}}function Gl(yt,je){const ct=je?.injector??(0,Ve.WQX)(Ve.zZn),Qt=ct.get(Ve.hk6),Pn=ct.get(Jt.cf$),$n=ct.get(Jt.a8H,null,{optional:!0});Pn.impl??=ct.get(Jt.ziy);let Ci=yt;"function"==typeof Ci&&(Ci={mixedReadWrite:yt});const wi=ct.get(Ve.r4V,null,{optional:!0}),$i=new Ol(Pn.impl,[Ci.earlyRead,Ci.write,Ci.mixedReadWrite,Ci.read],wi?.view,Qt,ct,$n?.snapshot(null));return Pn.impl.register($i),$i}function Rl(yt,je){const ct=(0,Ve.xUg)(yt),Qt=je.elementInjector||(0,Ve.WB9)();return new Jt.eHC(ct).create(Qt,je.projectableNodes,je.hostElement,je.environmentInjector,je.directives,je.bindings)}function Io(yt){const je=(0,Ve.xUg)(yt);if(!je)return null;const ct=new Jt.eHC(je);return{get selector(){return ct.selector},get type(){return ct.componentType},get inputs(){return ct.inputs},get outputs(){return ct.outputs},get ngContentSelectors(){return ct.ngContentSelectors},get isStandalone(){return je.standalone},get isSignal(){return je.signals}}}},3664(Zt,pe,l){"use strict";l.d(pe,{$C:()=>_p,$Ln:()=>c_,AVh:()=>Ph,Ab1:()=>Xd,Agw:()=>Go,Avn:()=>mf,B1s:()=>si,BIS:()=>jo,BMQ:()=>Yp,C4Q:()=>U1,C5r:()=>Y6,C6U:()=>D8,C7A:()=>Os,Co$:()=>mp,DH7:()=>r5,DNE:()=>ph,DUP:()=>bl,DkB:()=>u6,Dyx:()=>W_,E5c:()=>B6,EFF:()=>Nh,EJ8:()=>zm,FsC:()=>Bm,FuF:()=>km,G5x:()=>Pc,GBs:()=>M8,H1s:()=>Bp,HbH:()=>B8,Hgh:()=>a6,JRh:()=>F6,Jt5:()=>d6,Jv_:()=>g5,KED:()=>z9,LHq:()=>Ef,Lme:()=>N6,NAR:()=>E8,NCX:()=>o1,NOj:()=>Q0,NSC:()=>S0,NYb:()=>C7,NyB:()=>w8,OA$:()=>tn,OR8:()=>zc,Ocv:()=>dy,Ol2:()=>Nm,PLl:()=>Uo,PYC:()=>Cn,PYt:()=>hl,PeT:()=>gh,QTQ:()=>ho,Ql9:()=>ay,R50:()=>V6,R7$:()=>t1,RPW:()=>_t,RV6:()=>Q_,SKi:()=>ms,SdG:()=>E6,SdI:()=>Z5,SpI:()=>Bh,TFI:()=>Eh,Ts$:()=>ag,UQu:()=>iy,V5L:()=>kf,VBU:()=>pp,VeQ:()=>Tl,VkB:()=>u5,Vt3:()=>uh,VwU:()=>bf,VzW:()=>fp,WPN:()=>lr,XpG:()=>C8,Xx1:()=>ye,Y8G:()=>lf,YEm:()=>ds,Z7z:()=>j_,Zhj:()=>lp,_9s:()=>xl,_9u:()=>zl,_jY:()=>Yr,_qm:()=>jr,_ys:()=>i1,a8H:()=>rc,aCM:()=>st,aKT:()=>Ps,ai1:()=>h5,bIt:()=>yf,bMT:()=>I5,bVm:()=>b4,bc$:()=>Tr,bkB:()=>oc,brH:()=>k5,c1b:()=>$o,cDI:()=>ks,cZr:()=>tg,cdK:()=>u_,cf$:()=>Sd,czy:()=>A1,d80:()=>sy,dOL:()=>l_,e6s:()=>bv,eHC:()=>c0,eq3:()=>Tf,eu8:()=>r6,eux:()=>y4,fX1:()=>G_,gXe:()=>Bi,giA:()=>$m,gil:()=>_s,hnC:()=>Qr,i5U:()=>K6,iLQ:()=>m_,iWE:()=>ft,j41:()=>Ih,jOp:()=>Kp,k0s:()=>cf,kBR:()=>c6,kS0:()=>_a,kdw:()=>Se,lJ4:()=>b5,lJT:()=>p_,l_i:()=>C5,lsd:()=>T8,mGM:()=>S8,mNQ:()=>d5,mU9:()=>p0,mal:()=>T2,mxI:()=>Mf,n$t:()=>G0,nI1:()=>A5,nI4:()=>mu,nM4:()=>Cp,nVh:()=>z_,npT:()=>pd,nrm:()=>i6,o8S:()=>Zm,ozJ:()=>Z3,p2i:()=>Zn,phd:()=>E7,pl0:()=>f_,qex:()=>uf,rAh:()=>Dn,rOR:()=>Vo,rXU:()=>m1,rj2:()=>df,sFG:()=>W1,sMw:()=>x5,sZ2:()=>nr,sdS:()=>A8,sgu:()=>dp,tSv:()=>K0,tvf:()=>Wo,uiO:()=>N,utN:()=>Yf,vDg:()=>Qf,vxM:()=>V_,w6W:()=>Fm,wEZ:()=>Cf,wni:()=>M6,wr$:()=>Zc,xGo:()=>Ze,xc7:()=>I6,xe9:()=>q5,yLl:()=>d_,y_5:()=>ee,ypd:()=>M7,ziy:()=>S2,zoo:()=>M2});var Qn=l(467),h=l(2615),jt=l(8440),Ue=l(1413),wt=l(8359),pt=l(6354);function Pt(t){return{toString:t}.toString()}const gn="__annotations__",ei="__parameters__",vi="__prop__metadata__";function Ni(t,n,a,o,p){return Pt(()=>{const M=kn(n);function k(...z){if(this instanceof k)return M.call(this,...z),this;const Y=new k(...z);return function(it){return p&&p(it,...z),(it.hasOwnProperty(gn)?it[gn]:Object.defineProperty(it,gn,{value:[]})[gn]).push(Y),it}}return a&&(k.prototype=Object.create(a.prototype)),k.prototype.ngMetadataName=t,k.annotationCls=k,k})}function kn(t){return function(...a){if(t){const o=t(...a);for(const p in o)this[p]=o[p]}}}function Ri(t,n,a){return Pt(()=>{const o=kn(n);function p(...M){if(this instanceof p)return o.apply(this,M),this;const k=new p(...M);return z.annotation=k,z;function z(Y,ze,it){const zt=Y.hasOwnProperty(ei)?Y[ei]:Object.defineProperty(Y,ei,{value:[]})[ei];for(;zt.length<=it;)zt.push(null);return(zt[it]=zt[it]||[]).push(k),Y}}return p.prototype.ngMetadataName=t,p.annotationCls=p,p})}const ee=(0,h.z6V)(Ri("Inject",t=>({token:t})),-1),ye=(0,h.z6V)(Ri("Optional"),8),ke=(0,h.z6V)(Ri("Self"),2),Se=(0,h.z6V)(Ri("SkipSelf"),4),ge=(0,h.z6V)(Ri("Host"),1);function N(t){const n=h.laP.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Z={\u0275\u0275defineInjectable:h.jDH,\u0275\u0275defineInjector:h.G2t,\u0275\u0275inject:h.KVO,\u0275\u0275invalidFactoryDep:h.dmw,resolveForwardRef:h.nl4},Me=Function;function at(t){return"function"==typeof t}const qe=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,pn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Je=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Be=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ge{_reflect;constructor(n){this._reflect=n||h.laP.Reflect}factory(n){return(...a)=>new n(...a)}_zipTypesAndAnnotations(n,a){let o;o=(0,h.WfI)(typeof n>"u"?a.length:n.length);for(let p=0;p"u"?[]:n[p]&&n[p]!=Object?[n[p]]:[],a&&null!=a[p]&&(o[p]=o[p].concat(a[p]));return o}_ownParameters(n,a){if(function ut(t){return qe.test(t)||Be.test(t)||pn.test(t)&&!Je.test(t)}(n.toString()))return null;if(n.parameters&&n.parameters!==a.parameters)return n.parameters;const p=n.ctorParameters;if(p&&p!==a.ctorParameters){const z="function"==typeof p?p():p,Y=z.map(it=>it&&it.type),ze=z.map(it=>it&&Ot(it.decorators));return this._zipTypesAndAnnotations(Y,ze)}const M=n.hasOwnProperty(ei)&&n[ei],k=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return k||M?this._zipTypesAndAnnotations(k,M):(0,h.WfI)(n.length)}parameters(n){if(!at(n))return[];const a=se(n);let o=this._ownParameters(n,a);return!o&&a!==Object&&(o=this.parameters(a)),o||[]}_ownAnnotations(n,a){if(n.annotations&&n.annotations!==a.annotations){let o=n.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return n.decorators&&n.decorators!==a.decorators?Ot(n.decorators):n.hasOwnProperty(gn)?n[gn]:null}annotations(n){if(!at(n))return[];const a=se(n),o=this._ownAnnotations(n,a)||[];return(a!==Object?this.annotations(a):[]).concat(o)}_ownPropMetadata(n,a){if(n.propMetadata&&n.propMetadata!==a.propMetadata){let o=n.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(n.propDecorators&&n.propDecorators!==a.propDecorators){const o=n.propDecorators,p={};return Object.keys(o).forEach(M=>{p[M]=Ot(o[M])}),p}return n.hasOwnProperty(vi)?n[vi]:null}propMetadata(n){if(!at(n))return{};const a=se(n),o={};if(a!==Object){const M=this.propMetadata(a);Object.keys(M).forEach(k=>{o[k]=M[k]})}const p=this._ownPropMetadata(n,a);return p&&Object.keys(p).forEach(M=>{const k=[];o.hasOwnProperty(M)&&k.push(...o[M]),k.push(...p[M]),o[M]=k}),o}ownPropMetadata(n){return at(n)&&this._ownPropMetadata(n,se(n))||{}}hasLifecycleHook(n,a){return n instanceof Me&&a in n.prototype}}function Ot(t){return t?t.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function se(t){const n=t.prototype?Object.getPrototypeOf(t.prototype):null;return(n?n.constructor:null)||Object}class We{previousValue;currentValue;firstChange;constructor(n,a,o){this.previousValue=n,this.currentValue=a,this.firstChange=o}isFirstChange(){return this.firstChange}}function bt(t,n,a,o){null!==n?n.applyValueToInputSignal(n,o):t[a]=o}const tn=(()=>{const t=()=>on;return t.ngInherit=!0,t})();function on(t){return t.type.prototype.ngOnChanges&&(t.setInput=Nt),un}function un(){const t=xn(this),n=t?.current;if(n){const a=t.previous;if(a===h.MZA)t.previous=n;else for(let o in n)a[o]=n[o];t.current=null,this.ngOnChanges(n)}}function Nt(t,n,a,o,p){const M=this.declaredInputs[o],k=xn(t)||function Jn(t,n){return t[dn]=n}(t,{previous:h.MZA,current:null}),z=k.current||(k.current={}),Y=k.previous,ze=Y[M];z[M]=new We(ze&&ze.currentValue,a,Y===h.MZA),bt(t,n,p,a)}const dn="__ngSimpleChanges__";function xn(t){return t[dn]||null}const xi=[],we=function(t,n=null,a){for(let o=0;o=o)break}else n[Y]<0&&(t[h.wVl]+=65536),(z>14>16&&(3&t[h.Wg1])===n&&(t[h.Wg1]+=16384,Qi(z,M)):Qi(z,M)}class an{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,a,o,p){this.factory=n,this.name=p,this.canSeeViewProviders=a,this.injectImpl=o}}function Un(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function Vn(t){return 3===t||4===t||6===t}function ii(t){return 64===t.charCodeAt(0)}function Bn(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let a=-1;for(let o=0;on){k=M-1;break}}}for(;M>16}(t),o=n;for(;a>0;)o=o[h.X5O],a--;return o}let En=!0;function Wn(t){const n=En;return En=t,n}let Pi=0;const da={};function en(t,n){const a=oi(t,n);if(-1!==a)return a;const o=n[h.eDl];o.firstCreatePass&&(t.injectorIndex=n.length,vn(o.data,t),vn(n,null),vn(o.blueprint,null));const p=bn(t,n),M=t.injectorIndex;if(ra(p)){const k=fa(p),z=qt(p,n),Y=z[h.eDl].data;for(let ze=0;ze<8;ze++)n[M+ze]=z[k+ze]|Y[k+ze]}return n[M+8]=p,M}function vn(t,n){t.push(0,0,0,0,0,0,0,0,n)}function oi(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function bn(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let a=0,o=null,p=n;for(;null!==p;){if(o=Ki(p),null===o)return-1;if(a++,p=p[h.X5O],-1!==o.injectorIndex)return o.injectorIndex|a<<16}return-1}function Kn(t,n,a){!function Ta(t,n,a){let o;"string"==typeof a?o=a.charCodeAt(0)||0:a.hasOwnProperty(h.p9y)&&(o=a[h.p9y]),null==o&&(o=a[h.p9y]=Pi++);const p=255&o;n.data[t+(p>>5)]|=1<=0?255&n:tt:n}(a);if("function"==typeof M){if(!(0,h.ihb)(n,t,o))return 1&o?Wi(p,a,o):Ca(n,a,o,p);try{let k;if(k=M(o),null!=k||8&o)return k;(0,h.$Hz)(a)}finally{(0,h.niQ)()}}else if("number"==typeof M){let k=null,z=oi(t,n),Y=-1,ze=1&o?n[h.b5C][h.qlT]:null;for((-1===z||4&o)&&(Y=-1===z?bn(t,n):n[z+8],-1!==Y&&ca(o,!1)?(k=n[h.eDl],z=fa(Y),n=qt(Y,n)):z=-1);-1!==z;){const it=n[h.eDl];if(Ii(M,z,it.data)){const zt=Ve(z,n,a,k,o,ze);if(zt!==da)return zt}Y=n[z+8],-1!==Y&&ca(o,n[h.eDl].data[z+8]===ze)&&Ii(M,z,n)?(k=it,z=fa(Y),n=qt(Y,n)):z=-1}}return p}function Ve(t,n,a,o,p,M){const k=n[h.eDl],z=k.data[t+8],it=Et(z,k,a,null==o?(0,h.Qs1)(z)&&En:o!=k&&!!(3&z.type),1&p&&M===z);return null!==it?ti(n,k,it,z,p):da}function Et(t,n,a,o,p){const M=t.providerIndexes,k=n.data,z=1048575&M,Y=t.directiveStart,it=M>>20,hn=p?z+it:t.directiveEnd;for(let fn=o?z:z+it;fn=Y&&qn.type===a)return fn}if(p){const fn=k[Y];if(fn&&(0,h.JlV)(fn)&&fn.type===a)return Y}return null}function ti(t,n,a,o,p){let M=t[a];const k=n.data;if(M instanceof an){const z=M;if(z.resolving){const fn=(0,h.PP7)(k[a]);throw(0,h.PQT)(fn)}const Y=Wn(z.canSeeViewProviders);z.resolving=!0;const zt=z.injectImpl?(0,h.a2B)(z.injectImpl):null;(0,h.ihb)(t,o,0);try{M=t[a]=z.factory(void 0,p,k,t,o),n.firstCreatePass&&a>=o.directiveStart&&function ae(t,n,a){const{ngOnChanges:o,ngOnInit:p,ngDoCheck:M}=n.type.prototype;if(o){const k=on(n);(a.preOrderHooks??=[]).push(t,k),(a.preOrderCheckHooks??=[]).push(t,k)}p&&(a.preOrderHooks??=[]).push(0-t,p),M&&((a.preOrderHooks??=[]).push(t,M),(a.preOrderCheckHooks??=[]).push(t,M))}(a,k[a],n)}finally{null!==zt&&(0,h.a2B)(zt),Wn(Y),z.resolving=!1,(0,h.niQ)()}}return M}function Ii(t,n,a){return!!(a[n+(t>>5)]&1<{const n=t.prototype.constructor,a=n[h.zSs]||Xt(n),o=Object.prototype;let p=Object.getPrototypeOf(t.prototype).constructor;for(;p&&p!==o;){const M=p[h.zSs]||Xt(p);if(M&&M!==a)return M;p=Object.getPrototypeOf(p)}return M=>new M})}function Xt(t){return(0,h.Jzi)(t)?()=>{const n=Xt((0,h.nl4)(t));return n&&n()}:(0,h.wGu)(t)}function Ki(t){const n=t[h.eDl],a=n.type;return 2===a?n.declTNode:1===a?t[h.qlT]:null}function _a(t){return function yi(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const a=t.attrs;if(a){const o=a.length;let p=0;for(;p({attributeName:t,__NG_ELEMENT_ID__:()=>_a(t)}));let $a=null;function Ga(t){return As(function ns(){return $a=$a||new Ge}().parameters(t))}function As(t){return t.map(n=>function hr(t){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let a=0;afunction mr(t,n){let a=null,o=null;t.hasOwnProperty(h.yAH)||Object.defineProperty(t,h.yAH,{get:()=>(null===a&&(a=N().compileInjectable(Z,`ng:///${t.name}/\u0275prov.js`,function Zs(t,n){const a=n||{providedIn:null},o={name:t.name,type:t,typeArgumentCount:0,providedIn:a.providedIn};return(zo(a)||gr(a))&&void 0!==a.deps&&(o.deps=As(a.deps)),zo(a)?o.useClass=a.useClass:function pr(t){return fr in t}(a)?o.useValue=a.useValue:gr(a)?o.useFactory=a.useFactory:function bo(t){return void 0!==t.useExisting}(a)&&(o.useExisting=a.useExisting),o}(t,n))),a)}),t.hasOwnProperty(h.zSs)||Object.defineProperty(t,h.zSs,{get:()=>{if(null===o){const p=N();o=p.compileFactory(Z,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Ga(t),target:p.FactoryTarget.Injectable})}return o},configurable:!0})}(t,n));function Er(){return Ka((0,h.Mx4)(),(0,h.OAn)())}function Ka(t,n){return new Ps((0,h.d31)(t,n))}let Ps=(()=>class t{nativeElement;constructor(a){this.nativeElement=a}static __NG_ELEMENT_ID__=Er})();function kr(t){return t instanceof Ps?t.nativeElement:t}function js(){return this._results[Symbol.iterator]()}class Vo{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ue.B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,a){return this._results.reduce(n,a)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,a){this.dirty=!1;const o=(0,h.Bqz)(n);(this._changesDetected=!(0,h.ng7)(this._results,o,a))&&(this._results=o,this.length=o.length,this.last=o[this.length-1],this.first=o[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=js}function Js(t){return!(128&~t.flags)}var ls=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ls||{});const is=new Map;let Hs=0;function xs(t){is.delete(t[h.ID])}const Xs="__ngContext__";function wa(t,n){(0,h.q$2)(n)?(t[Xs]=n[h.ID],function Mr(t){is.set(t[h.ID],t)}(n)):t[Xs]=n}function Oi(t){return Es(t[h.EJG])}function ua(t){return Es(t[h.K29])}function Es(t){for(;null!==t&&!(0,h.A0l)(t);)t=t[h.K29];return t}let pl;function zl(t){pl=t}function ds(){if(void 0!==pl)return pl;if(typeof document<"u")return document;throw new h.buA(210,!1)}const nr=new h.nKC("",{providedIn:"root",factory:()=>mi}),mi="ng",Uo=new h.nKC(""),Go=new h.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Tr=new h.nKC(""),jo=new h.nKC("",{providedIn:"root",factory:()=>ds().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),mo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Tl=new h.nKC("",{providedIn:"root",factory:()=>mo});function za(){const t=new us;return t.store=function Dl(t,n){const a=t.getElementById(n+"-state");if("SCRIPT"===a?.tagName&&a.textContent)try{return JSON.parse(a.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+n,o)}return{}}(ds(),(0,h.WQX)(nr)),t}let us=(()=>{class t{static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:za});store={};onSerializeCallbacks={};get(a,o){return void 0!==this.store[a]?this.store[a]:o}set(a,o){this.store[a]=o}remove(a){delete this.store[a]}hasKey(a){return this.store.hasOwnProperty(a)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(a,o){this.onSerializeCallbacks[a]=o}toJson(){for(const a in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(a))try{this.store[a]=this.onSerializeCallbacks[a]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/!1}),ir=new h.nKC(""),Wo=new h.nKC(""),nl={passive:!0,capture:!0},X=new WeakMap,de=new WeakMap,Q=new WeakMap,me=["click","keydown"],et=["mouseenter","mouseover","focusin"];let Mt=null,Kt=0;class Tn{callbacks=new Set;listener=()=>{for(const n of this.callbacks)n()}}function ai(t,n){let a=de.get(t);if(!a){a=new Tn,de.set(t,a);for(const o of me)t.addEventListener(o,a.listener,nl)}return a.callbacks.add(n),()=>{const{callbacks:o,listener:p}=a;if(o.delete(n),0===o.size){de.delete(t);for(const M of me)t.removeEventListener(M,p,nl)}}}function Gi(t,n){let a=X.get(t);if(!a){a=new Tn,X.set(t,a);for(const o of et)t.addEventListener(o,a.listener,nl)}return a.callbacks.add(n),()=>{const{callbacks:o,listener:p}=a;if(o.delete(n),0===o.size){for(const M of et)t.removeEventListener(M,p,nl);X.delete(t)}}}const wo=new h.nKC("");function Ao(t){return!(32&~t.flags)}function Wl(t){let n=t._lView;return 2===n[h.eDl].type?null:((0,h.EFk)(n)&&(n=n[h.Yw1]),n)}function oa(t){return t.get(ir,!1,{optional:!0})}function ui(t,n){const a=t.contentQueries;if(null!==a){const o=(0,jt.Ht)(null);try{for(let p=0;pt,createScript:t=>t,createScriptURL:t=>t})}catch{}return br}function Yl(t){return Yo()?.createHTML(t)||t}function y1(){if(void 0===Fl&&(Fl=null,h.laP.trustedTypes))try{Fl=h.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fl}function ld(t){return y1()?.createHTML(t)||t}function a2(t){return y1()?.createScript(t)||t}function A0(t){return y1()?.createScriptURL(t)||t}class Ic{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h.ok8})`}}class T4 extends Ic{getTypeName(){return"HTML"}}class L0 extends Ic{getTypeName(){return"Style"}}class I0 extends Ic{getTypeName(){return"Script"}}class Te extends Ic{getTypeName(){return"URL"}}class dt extends Ic{getTypeName(){return"ResourceURL"}}function st(t){return t instanceof Ic?t.changingThisBreaksApplicationSecurity:t}function ft(t,n){const a=function $t(t){return t instanceof Ic&&t.getTypeName()||null}(t);if(null!=a&&a!==n){if("ResourceURL"===a&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${a} (see ${h.ok8})`)}return a===n}function Cn(t){return new T4(t)}function Dn(t){return new L0(t)}function Zn(t){return new I0(t)}function si(t){return new Te(t)}function _t(t){return new dt(t)}function ji(t){const n=new Ja(t);return function Ba(){try{return!!(new window.DOMParser).parseFromString(Yl(""),"text/html")}catch{return!1}}()?new Hi(n):n}class Hi{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const a=(new window.DOMParser).parseFromString(Yl(n),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(n):(a.firstChild?.remove(),a)}catch{return null}}}class Ja{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const a=this.inertDocument.createElement("template");return a.innerHTML=Yl(n),a}}const wr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _s(t){return(t=String(t)).match(wr)?t:"unsafe:"+t}function vs(t){const n={};for(const a of t.split(","))n[a]=!0;return n}function rr(...t){const n={};for(const a of t)for(const o in a)a.hasOwnProperty(o)&&(n[o]=!0);return n}const Bs=vs("area,br,col,hr,img,wbr"),ol=vs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kr=vs("rp,rt"),vc=rr(Bs,rr(ol,vs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rr(Kr,vs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),rr(Kr,ol)),s2=vs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),r2=rr(s2,vs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),o2=vs("script,style,template");class cd{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let a=n.firstChild,o=!0,p=[];for(;a;)if(a.nodeType===Node.ELEMENT_NODE?o=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,o&&a.firstChild)p.push(a),a=k0(a);else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let M=w4(a);if(M){a=M;break}a=p.pop()}return this.buf.join("")}startElement(n){const a=zr(n).toLowerCase();if(!vc.hasOwnProperty(a))return this.sanitizedSomething=!0,!o2.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const o=n.attributes;for(let p=0;p"),!0}endElement(n){const a=zr(n).toLowerCase();vc.hasOwnProperty(a)&&!Bs.hasOwnProperty(a)&&(this.buf.push(""))}chars(n){this.buf.push(R0(n))}}function w4(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw O0(n);return n}function k0(t){const n=t.firstChild;if(n&&function b1(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw O0(n);return n}function zr(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function O0(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const A4=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xa=/([^\#-~ |!])/g;function R0(t){return t.replace(/&/g,"&").replace(A4,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Xa,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let yc;function Zc(t,n){let a=null;try{yc=yc||ji(t);let o=n?String(n):"";a=yc.getInertBodyElement(o);let p=5,M=o;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,o=M,M=a.innerHTML,a=yc.getInertBodyElement(o)}while(o!==M);return Yl((new cd).sanitizeChildren(l2(a)||a))}finally{if(a){const o=l2(a)||a;for(;o.firstChild;)o.firstChild.remove()}}}function l2(t){return"content"in t&&function Qo(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const or=/^>|^->||--!>|)/g;function ud(t,n){return t.createText(n)}function P0(t,n,a){t.setValue(n,a)}function c2(t,n){return t.createComment(function bc(t){return t.replace(or,n=>n.replace(dd,"\u200b$1\u200b"))}(n))}function hd(t,n,a){return t.createElement(n,a)}function Cc(t,n,a,o,p){t.insertBefore(n,a,o,p)}function F0(t,n,a){t.appendChild(n,a)}function d2(t,n,a,o,p){null!==o?Cc(t,n,a,o,p):F0(t,n,a)}function C1(t,n,a,o){t.removeChild(null,n,a,o)}function zs(t,n,a){const{mergedAttrs:o,classes:p,styles:M}=a;null!==o&&function Mn(t,n,a){let o=0;for(;o-1){let M;for(;++pM?"":p[it+1].toLowerCase(),2&o&&ze!==zt){if(ul(o))return!1;k=!0}}}}else{if(!k&&!ul(o)&&!ul(Y))return!1;if(k&&ul(Y))continue;k=!1,o=Y|1&o}}return ul(o)||k}function ul(t){return!(1&t)}function Z0(t,n,a,o){if(null===n)return-1;let p=0;if(o||!a){let M=!1;for(;p-1)for(a++;a0?'="'+z+'"':"")+"]"}else 8&o?p+="."+k:4&o&&(p+=" "+k);else""!==p&&!ul(k)&&(n+=v2(M,p),p=""),o=k,M=M||!ul(o);a++}return""!==p&&(n+=v2(M,p)),n}const qa={};function xc(t,n,a,o,p,M,k,z,Y,ze,it){const zt=h.Yw1+o,hn=zt+p,fn=function y2(t,n){const a=[];for(let o=0;o-1?1:1e3;return parseFloat(t)*n}function Ec(t,n){return t.getPropertyValue(n).split(",").map(o=>o.trim())}function Mc(t,n){return void 0!==t&&t.duration>n.duration}function tu(t){return(null!=t.animationName||null!=t.propertyName)&&t.duration>0}function iu(t,n,a){if(!a)return;const o=t.getAnimations();return 0===o.length?function nu(t,n){const a=getComputedStyle(t),o=function Cd(t){const n=Ec(t,"animation-name"),a=Ec(t,"animation-delay"),o=Ec(t,"animation-duration"),p={animationName:"",propertyName:void 0,duration:0};for(let M=0;Mp.duration&&(p.animationName=n[M],p.duration=k)}return p}(a),p=function eu(t){const n=Ec(t,"transition-property"),a=Ec(t,"transition-duration"),o=Ec(t,"transition-delay"),p={propertyName:"",duration:0,animationName:void 0};for(let M=0;Mp.duration&&(p.propertyName=n[M],p.duration=k)}return p}(a),M=o.duration>p.duration?o:p;Mc(n.get(t),M)||tu(M)&&n.set(t,M)}(t,n):function au(t,n,a){let o={animationName:void 0,propertyName:void 0,duration:0};for(const p of a){const M=p.effect?.getTiming(),k="number"==typeof M?.duration?M.duration:0;let Y,ze,z=(M?.delay??0)+k;p.animationName?ze=p.animationName:Y=p.transitionProperty,z>=o.duration&&(o={animationName:ze,propertyName:Y,duration:z})}Mc(n.get(t),o)||tu(o)&&n.set(t,o)}(t,n,o)}const bl=new Set;var L1=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(L1||{});const rc=new h.nKC(""),I1=new Set;function Yr(t){I1.has(t)||(I1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}const n1=!1,oc=class su extends Ue.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,(0,h.M6u)()&&(this.destroyRef=(0,h.WQX)(h.abz,{optional:!0})??void 0,this.pendingTasks=(0,h.WQX)(h.rev,{optional:!0})??void 0)}emit(n){const a=(0,jt.Ht)(null);try{super.next(n)}finally{(0,jt.Ht)(a)}}subscribe(n,a,o){let p=n,M=a||(()=>null),k=o;if(n&&"object"==typeof n){const Y=n;p=Y.next?.bind(Y),M=Y.error?.bind(Y),k=Y.complete?.bind(Y)}this.__isAsync&&(M=this.wrapInTimeout(M),p&&(p=this.wrapInTimeout(p)),k&&(k=this.wrapInTimeout(k)));const z=super.subscribe({next:p,error:M,complete:k});return n instanceof wt.yU&&n.add(z),z}wrapInTimeout(n){return a=>{const o=this.pendingTasks?.add();setTimeout(()=>{try{n(a)}finally{void 0!==o&&this.pendingTasks?.remove(o)}})}}};function k1(t){let n,a;function o(){t=h.lQ1;try{void 0!==a&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(a),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),o()}),"function"==typeof requestAnimationFrame&&(a=requestAnimationFrame(()=>{t(),o()})),()=>o()}function C2(t){return queueMicrotask(()=>t()),()=>{t=h.lQ1}}const x2="isAngularZone",xd=x2+"_ID";let Q4=0;class ms{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new oc(!1);onMicrotaskEmpty=new oc(!1);onStable=new oc(!1);onError=new oc(!1);constructor(n){const{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:p=!1,scheduleInRootZone:M=n1}=n;if(typeof Zone>"u")throw new h.buA(908,!1);Zone.assertZonePatched();const k=this;k._nesting=0,k._outer=k._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(k._inner=k._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(k._inner=k._inner.fork(Zone.longStackTraceZoneSpec)),k.shouldCoalesceEventChangeDetection=!p&&o,k.shouldCoalesceRunChangeDetection=p,k.callbackScheduled=!1,k.scheduleInRootZone=M,function ou(t){const n=()=>{!function ru(t){function n(){k1(()=>{t.callbackScheduled=!1,lu(t),t.isCheckStableRunning=!0,lc(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),lu(t))}(t)},a=Q4++;t._inner=t._inner.fork({name:"angular",properties:{[x2]:!0,[xd]:a,[xd+a]:!0},onInvokeTask:(o,p,M,k,z,Y)=>{if(function cu(t){return Md(t,"__ignore_ng_zone__")}(Y))return o.invokeTask(M,k,z,Y);try{return O1(t),o.invokeTask(M,k,z,Y)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===k.type||t.shouldCoalesceRunChangeDetection)&&n(),Ed(t)}},onInvoke:(o,p,M,k,z,Y,ze)=>{try{return O1(t),o.invoke(M,k,z,Y,ze)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function E2(t){return Md(t,"__scheduler_tick__")}(Y)&&n(),Ed(t)}},onHasTask:(o,p,M,k)=>{o.hasTask(M,k),p===M&&("microTask"==k.change?(t._hasPendingMicrotasks=k.microTask,lu(t),lc(t)):"macroTask"==k.change&&(t.hasPendingMacrotasks=k.macroTask))},onHandleError:(o,p,M,k)=>(o.handleError(M,k),t.runOutsideAngular(()=>t.onError.emit(k)),!1)})}(k)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(x2)}static assertInAngularZone(){if(!ms.isInAngularZone())throw new h.buA(909,!1)}static assertNotInAngularZone(){if(ms.isInAngularZone())throw new h.buA(909,!1)}run(n,a,o){return this._inner.run(n,a,o)}runTask(n,a,o,p){const M=this._inner,k=M.scheduleEventTask("NgZoneEvent: "+p,n,$4,h.lQ1,h.lQ1);try{return M.runTask(k,a,o)}finally{M.cancelTask(k)}}runGuarded(n,a,o){return this._inner.runGuarded(n,a,o)}runOutsideAngular(n){return this._outer.run(n)}}const $4={};function lc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function lu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function O1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ed(t){t._nesting--,lc(t)}class Sc{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new oc;onMicrotaskEmpty=new oc;onStable=new oc;onError=new oc;run(n,a,o){return n.apply(a,o)}runGuarded(n,a,o){return n.apply(a,o)}runOutsideAngular(n){return n()}runTask(n,a,o,p){return n.apply(a,o)}}function Md(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}function Pc(t="zone.js",n){return"noop"===t?new Sc:"zone.js"===t?new ms(n):t}let Sd=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();const M2=[0,1,2,3];let S2=(()=>{class t{ngZone=(0,h.WQX)(ms);scheduler=(0,h.WQX)(h.hk6);errorHandler=(0,h.WQX)(h.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,h.WQX)(rc,{optional:!0})}execute(){const a=this.sequences.size>0;a&&we(16),this.executing=!0;for(const o of M2)for(const p of this.sequences)if(!p.erroredOrDestroyed&&p.hooks[o])try{p.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,p.hooks[o])(p.pipelinedValue),p.snapshot))}catch(M){p.erroredOrDestroyed=!0,this.errorHandler?.handleError(M)}this.executing=!1;for(const o of this.sequences)o.afterRun(),o.once&&(this.sequences.delete(o),o.destroy());for(const o of this.deferredRegistrations)this.sequences.add(o);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),a&&we(17)}register(a){const{view:o}=a;void 0!==o?((o[h.JEi]??=[]).push(a),(0,h.blu)(o),o[h.Wg1]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,o){return o?o.run(L1.AFTER_NEXT_RENDER,a):a()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();class i1{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,a,o,p,M,k=null){this.impl=n,this.hooks=a,this.view=o,this.once=p,this.snapshot=k,this.unregisterOnDestroy=M?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[h.JEi];n&&(this.view[h.JEi]=n.filter(a=>a!==this))}}function T2(t,n){const a=n?.injector??(0,h.WQX)(h.zZn);return Yr("NgAfterNextRender"),hu(t,a,n,!0)}function hu(t,n,a,o){const p=n.get(Sd);p.impl??=n.get(S2);const M=n.get(rc,null,{optional:!0}),k=!0!==a?.manualCleanup?n.get(h.abz):null,z=n.get(h.r4V,null,{optional:!0}),Y=new i1(p.impl,function uu(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),z?.view,o,k,M?.snapshot(null));return p.impl.register(Y),Y}const mu={destroy(){}},R1=new h.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function fu(t,n,a){const o=t.get(R1);if(Array.isArray(n))for(const p of n)o.queue.add(p),a?.detachedLeaveAnimationFns?.push(p);else o.queue.add(n),a?.detachedLeaveAnimationFns?.push(n);o.scheduler&&o.scheduler(t)}function Z4(t){const n=t.get(R1);n.isScheduled||(T2(()=>{n.isScheduled=!1;for(let a of n.queue)a();n.queue.clear()},{injector:t}),n.isScheduled=!0)}function D2(t){const n=t.get(R1);n.scheduler=Z4,n.scheduler(t)}function P1(t,n){for(const[a,o]of n)fu(t,o.animateFns)}function S(t,n,a,o){const p=t?.[h.Isx]?.enter;null!==n&&p&&p.has(a.index)&&P1(o,p)}function F1(t,n,a,o,p,M,k,z){if(null!=p){let Y,ze=!1;(0,h.A0l)(p)?Y=p:(0,h.q$2)(p)&&(ze=!0,p=p[h.jgP]);const it=(0,h.IvY)(p);0===t&&null!==o?(S(z,o,M,a),null==k?F0(n,o,it):Cc(n,o,it,k||null,!0)):1===t&&null!==o?(S(z,o,M,a),Cc(n,o,it,k||null,!0)):2===t?pu(z,M,a,zt=>{C1(n,it,ze,zt)}):3===t&&pu(z,M,a,()=>{n.destroyNode(it)}),null!=Y&&function O2(t,n,a,o,p,M,k){const z=o[h.s6P];z!==(0,h.IvY)(o)&&F1(n,t,a,M,z,p,k);for(let ze=h.Y20;ze=0?o[z]():o[-z].unsubscribe(),k+=2}else a[k].call(o[a[k+1]]);null!==o&&(n[h.VVG]=null);const p=n[h.Czx];if(null!==p){n[h.Czx]=null;for(let k=0;k{if(p.leave&&p.leave.has(n.index)){const k=p.leave.get(n.index),z=[];if(k){for(let Y=0;Y{t[h.Isx].running=void 0,bl.delete(t),n(!0)}):n(!1)}(t,o)}else t&&bl.delete(t),o(!1)},p)}function I2(t,n,a){return gu(t,n.parent,a)}function gu(t,n,a){let o=n;for(;null!==o&&168&o.type;)o=(n=o).parent;if(null===o)return a[h.jgP];if((0,h.Qs1)(o)){const{encapsulation:p}=t.data[o.directiveStart+o.componentOffset];if(p===Bi.None||p===Bi.Emulated)return null}return(0,h.d31)(o,a)}function t3(t,n,a){return _u(t,n,a)}function n3(t,n,a){return 40&t.type?(0,h.d31)(t,a):null}let vu,_u=n3;function i3(t,n){_u=t,vu=n}function yu(t,n,a,o){const p=I2(t,o,n),M=n[h.GpT],z=t3(o.parent||n[h.qlT],o,n);if(null!=p)if(Array.isArray(a))for(let Y=0;Yh.Yw1&&X4(t,n,h.Yw1,!1),we(k?2:0,p,a),a(o,p)}finally{(0,h.ypq)(M),we(k?3:1,p,a)}}function R2(t,n,a){(function c3(t,n,a){const o=a.directiveStart,p=a.directiveEnd;(0,h.Qs1)(a)&&function W4(t,n,a){const o=(0,h.d31)(n,t),p=q0(a),M=t[h.M0L].rendererFactory,k=yd(t,M1(t,p,null,S1(a),o,n,null,M.createRenderer(o,a),null,null,null));t[n.index]=k}(n,a,t.data[o+a.componentOffset]),t.firstCreatePass||en(a,n);const M=a.initialInputs;for(let k=o;knull;function P2(t,n,a,o,p,M){Id(t,n[h.eDl],n,a,o)?(0,h.Qs1)(t)&&N2(n,t.index):(3&t.type&&(a=function Mu(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(a)),F2(t,n,a,o,p,M))}function F2(t,n,a,o,p,M){if(3&t.type){const k=(0,h.d31)(t,n);o=null!=M?M(o,t.value||"",a):o,p.setProperty(k,a,o)}}function N2(t,n){const a=(0,h.KdJ)(n,t);16&a[h.Wg1]||(a[h.Wg1]|=64)}function Su(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function z2(t,n){const a=t.directiveRegistry;let o=null;if(a)for(let p=0;p{(0,h.blu)(t.lView)},consumerOnSignalRead(){this.lView[h.Iaj]=this}},y3={...jt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=(0,h._0$)(t.lView);for(;n&&!U2(n[h.eDl]);)n=(0,h._0$)(n);n&&(0,h.HAh)(n)},consumerOnSignalRead(){this.lView[h.Iaj]=this}};function U2(t){return 2!==t.type}function ku(t){if(null===t[h.tQN])return;let n=!0;for(;n;){let a=!1;for(const o of t[h.tQN])o.dirty&&(a=!0,null===o.zone||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));n=a&&!!(8192&t[h.Wg1])}}function G2(t,n=0){const o=t[h.M0L].rendererFactory;o.begin?.();try{!function j2(t,n){const a=(0,h.yP_)();try{(0,h.cBl)(!0),H2(t,n);let o=0;for(;(0,h.dMS)(t);){if(100===o)throw new h.buA(103,!1);o++,H2(t,1)}}finally{(0,h.cBl)(a)}}(t,n)}finally{o.end?.()}}function Vr(t,n,a,o){if((0,h.EPY)(n))return;const p=n[h.Wg1];(0,h.ID8)(n);let z=!0,Y=null,ze=null;U2(t)?(ze=function Au(t){return t[h.Iaj]??function _3(t){const n=wu.pop()??Object.create(v3);return n.lView=t,n}(t)}(n),Y=(0,jt.Bg)(ze)):null===(0,jt.nR)()?(z=!1,ze=function Iu(t){const n=t[h.Iaj]??Object.create(y3);return n.lView=t,n}(n),Y=(0,jt.Bg)(ze)):n[h.Iaj]&&((0,jt.XR)(n[h.Iaj]),n[h.Iaj]=null);try{(0,h.HUe)(n),(0,h.Kw3)(t.bindingStartIndex),null!==a&&o3(t,n,a,2,o);const it=!(3&~p);if(it){const fn=t.preOrderCheckHooks;null!==fn&&Ht(n,fn,null)}else{const fn=t.preOrderHooks;null!==fn&&_n(n,fn,0,null),fi(n,0)}if(function b3(t){for(let n=Oi(t);null!==n;n=ua(n)){if(!(2&n[h.Wg1]))continue;const a=n[h.nfM];for(let o=0;o0&&(a[p-1][h.K29]=n),o0&&(t[a-1][h.K29]=o[h.K29]);const M=(0,h.E6O)(t,h.Y20+n);J4(o[h.eDl],o);const k=M[h.Ds7];null!==k&&k.detachView(M[h.eDl]),o[h.f7T]=null,o[h.K29]=null,o[h.Wg1]&=-129}return o}function co(t,n){const a=t[h.nfM],o=n[h.f7T];((0,h.q$2)(o)||n[h.b5C]!==o[h.f7T][h.b5C])&&(t[h.Wg1]|=2),null===a?t[h.nfM]=[n]:a.push(n)}class o1{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,a=n[h.eDl];return z1(a,n,a.firstChild,[])}constructor(n,a){this._lView=n,this._cdRefInjectingView=a}get context(){return this._lView[h.SKP]}set context(n){this._lView[h.SKP]=n}get destroyed(){return(0,h.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[h.f7T];if((0,h.A0l)(n)){const a=n[h.bm_],o=a?a.indexOf(this):-1;o>-1&&(V1(n,o),(0,h.E6O)(a,o))}this._attachedToViewContainer=!1}Td(this._lView[h.eDl],this._lView)}onDestroy(n){(0,h.ik5)(this._lView,n)}markForCheck(){r1(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[h.Wg1]&=-129}reattach(){(0,h._gW)(this._lView),this._lView[h.Wg1]|=128}detectChanges(){this._lView[h.Wg1]|=1024,G2(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new h.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=(0,h.EFk)(this._lView),a=this._lView[h.rQE];null!==a&&!n&&w2(a,this._lView),q4(this._lView[h.eDl],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new h.buA(902,!1);this._appRef=n;const a=(0,h.EFk)(this._lView),o=this._lView[h.rQE];null!==o&&!a&&co(o,this._lView),(0,h._gW)(this._lView)}}let U1=(()=>class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=E3;constructor(a,o,p){this._declarationLView=a,this._declarationTContainer=o,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,o){return this.createEmbeddedViewImpl(a,o)}createEmbeddedViewImpl(a,o,p){const M=cc(this._declarationLView,this._declarationTContainer,a,{embeddedViewInjector:o,dehydratedView:p});return new o1(M)}})();function E3(){return Od((0,h.Mx4)(),(0,h.OAn)())}function Od(t,n){return 4&t.type?new U1(n,t,Ka(t,n)):null}function zu(t,n,a){const o=n.insertBeforeIndex,p=Array.isArray(o)?o[0]:o;return null===p?n3(t,0,a):(0,h.IvY)(a[p])}function Nd(t,n,a,o,p){const M=n.insertBeforeIndex;if(Array.isArray(M)){let k=o,z=null;if(3&n.type||(z=k,k=p),null!==k&&-1===n.componentOffset)for(let Y=1;Y1)for(let a=t.length-2;a>=0;a--){const o=t[a];Dc(o)||L3(o,n)&&null===I3(o)&&k3(o,n.index)}}function Dc(t){return!(64&t.type)}function L3(t,n){return Dc(n)||t.index>n.index}function I3(t){const n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function k3(t,n){const a=t.insertBeforeIndex;Array.isArray(a)?a[0]=n:(i3(zu,Nd),t.insertBeforeIndex=n)}function zd(t,n){const a=t.data[n];return null===a||"string"==typeof a?null:a.hasOwnProperty("currentCaseLViewIndex")?a:a.value}function P3(t,n,a){const o=Bd(t,a,64,null,null);return mm(n,o),o}function Z2(t,n){const a=n[t.currentCaseLViewIndex];return null===a?a:a<0?~a:a}function Vu(t){return t>>>17}function Uu(t){return(131070&t)>>>1}function J2(t,n,a){t.index=0;const o=Z2(n,a);t.removes=null!==o?n.remove[o]:h.Mlv}function Vd(t){if(t.index0?t.lView[n]:(t.stack.push(t.index,t.removes),J2(t,t.lView[h.eDl].data[~n],t.lView),Vd(t))}return 0===t.stack.length?(t.lView=void 0,null):(t.removes=t.stack.pop(),t.index=t.stack.pop(),Vd(t))}function z3(){const t={stack:[],index:-1};return function n(a,o){for(t.lView=o;t.stack.length;)t.stack.pop();return J2(t,a.value,o),Vd.bind(null,t)}}function m(t,n,a){for(const o of a.node.cases[a.case]){const p=n.get(o.index-h.Yw1);p&&C1(t,p,!1)}}function E(t){const n=t[h.qFA]??[],o=t[h.f7T][h.GpT],p=[];for(const M of n)void 0!==M.data.di?p.push(M):I(M,o);t[h.qFA]=p}function D(t){const{lContainer:n}=t,a=n[h.qFA];if(null===a)return;const p=n[h.f7T][h.GpT];for(const M of a)I(M,p)}function I(t,n){let a=0,o=t.firstChild;if(o){const p=t.data.r;for(;aclass t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function K3(){const t=(0,h.OAn)(),n=(0,h.Mx4)(),a=(0,h.KdJ)(n.index,t);return((0,h.q$2)(a)?a:t)[h.GpT]}()})(),h1=(()=>{class t{static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>null})}return t})();function X1(t){return void 0!==t.ngModule}function zc(t){return!!(0,h.phH)(t)}function K1(t){return!!(0,h.oyA)(t)}function aa(t){return!!(0,h.HaV)(t)}function la(t){return!!(0,h.xUg)(t)}function Ya(t,n){if((0,h.Jzi)(t)&&!(t=(0,h.nl4)(t)))throw new Error(`Expected forwardRef function, imported from "${(0,h.PP7)(n)}", to return a standalone entity or NgModule but got "${(0,h.PP7)(t)||t}".`);if(null==(0,h.phH)(t)){const a=(0,h.xUg)(t)||(0,h.HaV)(t)||(0,h.oyA)(t);if(null==a)throw X1(t)?new Error(`A module with providers was imported from "${(0,h.PP7)(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,h.PP7)(t)}" type, imported from "${(0,h.PP7)(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!a.standalone)throw new Error(`The "${(0,h.PP7)(t)}" ${function ya(t){return(0,h.xUg)(t)?"component":(0,h.HaV)(t)?"directive":(0,h.oyA)(t)?"pipe":"type"}(t)}, imported from "${(0,h.PP7)(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class uo{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const a=(0,h.phH)(n);if(a?.declarations)for(const o of Ql(a.declarations))la(o)&&this.ownerNgModule.set(o,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,a){this.resolveNgModulesDecls();const o=(0,h.xUg)(n);if(null===o)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(o.standalone){const p=this.getStandaloneComponentScope(n,a);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(n));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(n,a){if(!zc(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const a=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,a),a}computeNgModuleScope(n){const a=(0,h.WbQ)(n),o={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of Ql(a.imports))if(zc(p)){const M=this.getNgModuleScope(p);_o(M.exported.directives,o.compilation.directives),_o(M.exported.pipes,o.compilation.pipes)}else{if(!(0,h.QuC)(p)){o.compilation.isPoisoned=!0;break}if(aa(p)||la(p))o.compilation.directives.add(p);else{if(!K1(p))throw new h.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");o.compilation.pipes.add(p)}}if(!o.compilation.isPoisoned)for(const p of Ql(a.declarations)){if(zc(p)||(0,h.QuC)(p)){o.compilation.isPoisoned=!0;break}K1(p)?o.compilation.pipes.add(p):o.compilation.directives.add(p)}for(const p of Ql(a.exports))if(zc(p)){const M=this.getNgModuleScope(p);_o(M.exported.directives,o.exported.directives),_o(M.exported.pipes,o.exported.pipes),_o(M.exported.directives,o.compilation.directives),_o(M.exported.pipes,o.compilation.pipes)}else K1(p)?o.exported.pipes.add(p):o.exported.directives.add(p);return o}getStandaloneComponentScope(n,a){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const o=this.computeStandaloneComponentScope(n,a);return this.standaloneComponentsScopeCache.set(n,o),o}computeStandaloneComponentScope(n,a){const o={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const p of(0,h.Bqz)(a??[])){const M=(0,h.nl4)(p);try{Ya(M,n)}catch{return o.compilation.isPoisoned=!0,o}if(zc(M)){o.compilation.ngModules.add(M);const k=this.getNgModuleScope(M);if(k.exported.isPoisoned)return o.compilation.isPoisoned=!0,o;_o(k.exported.directives,o.compilation.directives),_o(k.exported.pipes,o.compilation.pipes)}else if(K1(M))o.compilation.pipes.add(M);else{if(!aa(M)&&!la(M))return o.compilation.isPoisoned=!0,o;o.compilation.directives.add(M)}}return o}isOrphanComponent(n){const a=(0,h.xUg)(n);return!(!a||a.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function _o(t,n){for(const a of t)n.add(a)}const vo=new uo,dc={};class ys{injector;parentInjector;constructor(n,a){this.injector=n,this.parentInjector=a}get(n,a,o){const p=this.injector.get(n,dc,o);return p!==dc||a===dc?p:this.parentInjector.get(n,a,o)}}function Y1(t,n,a){let o=a?t.styles:null,p=a?t.classes:null,M=0;if(null!==n)for(let k=0;k0&&(a.directiveToIndex=new Map);for(let hn=0;hn0;){const a=t[--n];if("number"==typeof a&&a<0)return a}return 0})(k)!=z&&k.push(z),k.push(a,o,M)}}(t,n,o,T1(t,a,p.hostVars,qa),p)}function gg(t,n,a){if(a){if(n.exportAs)for(let o=0;oY?z[Y]:null}"string"==typeof k&&(M+=2)}return null}(n,a,M,t.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=k,it.__ngLastListenerFn__=k,ze=!0;else{const zt=(0,h.d31)(t,a),hn=o?o(zt):zt,fn=p.listen(hn,M,z);(function _g(t){return t.startsWith("animation")||t.startsWith("transition")})(M)||Jf(o?Si=>o((0,h.IvY)(Si[t.index])):t.index,n,a,M,z,fn,!1)}return ze}function Jf(t,n,a,o,p,M,k){const z=n.firstCreatePass?(0,h.vNG)(n):null,Y=(0,h.d_l)(a),ze=Y.length;Y.push(p,M),z&&z.push(o,t,ze,(ze+1)*(k?-1:1))}function q3(t,n,a,o,p,M){const z=n[h.eDl],zt=n[a][z.data[a].outputs[o]].subscribe(M);Jf(t.index,z,n,p,M,zt,!0)}const $1=Symbol("BINDING");class tp extends ps{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const a=(0,h.xUg)(n);return new c0(a,this.ngModule)}}class c0 extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function Tg(t){return Object.keys(t).map(n=>{const[a,o,p]=t[n],M={propName:a,templateName:n,isSignal:0!==(o&D1.SignalBased)};return p&&(M.transform=p),M})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function Dg(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,a){super(),this.componentDef=n,this.ngModule=a,this.componentType=n.type,this.selector=function j4(t){return t.map(G4).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!a}create(n,a,o,p,M,k){we(22);const z=(0,jt.Ht)(null);try{const Y=this.componentDef,ze=function sp(t,n,a,o){const p=t?["ng-version","20.3.26"]:function H4(t){const n=[],a=[];let o=1,p=2;for(;o{if(1&a&&t)for(const o of t)o.create();if(2&a&&n)for(const o of n)o.update()}:null}(M,k),1,z,Y,null,null,null,[p],null)}(o,Y,k,M),it=function Ag(t,n,a){let o=n instanceof h.uvJ?n:n?.injector;return o&&null!==t.getStandaloneInjector&&(o=t.getStandaloneInjector(o)||o),o?new ys(a,o):a}(Y,p||this.ngModule,n),zt=function Lg(t){const n=t.get(xl,null);if(null===n)throw new h.buA(407,!1);return{rendererFactory:n,sanitizer:t.get(h1,null),changeDetectionScheduler:t.get(h.hk6,null),ngReflect:!1}}(it),hn=zt.rendererFactory.createRenderer(null,Y),fn=o?function a1(t,n,a,o){const M=o.get(Ul,!1)||a===Bi.ShadowDom,k=t.selectRootElement(n,M);return function Cu(t){xu(t)}(k),k}(hn,o,Y.encapsulation,it):function np(t,n){const a=function ap(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return hd(n,a,"svg"===a?h.jNX:"math"===a?h.rJ1:null)}(Y,hn);!function ip(t){if("script"===t?.toLowerCase())throw new h.buA(905,!1)}(fn?.tagName);const qn=k?.some(wc)||M?.some(na=>"function"!=typeof na&&na.bindings.some(wc)),Si=M1(null,ze,null,512|S1(Y),null,null,zt,hn,it,null,null);Si[h.Yw1]=fn,(0,h.ID8)(Si);let Xi=null;try{const na=r0(h.Yw1,Si,2,"#host",()=>ze.directiveRegistry,!0,0);zs(hn,fn,na),wa(fn,Si),R2(ze,Si,na),Wa(ze,na,Si),Q3(ze,na),void 0!==a&&function eh(t,n,a){const o=t.projection=[];for(let p=0;pclass t{static __NG_ELEMENT_ID__=rp})();function rp(){return Ac((0,h.Mx4)(),(0,h.OAn)())}const Tm=$o,Dm=class extends Tm{_lContainer;_hostTNode;_hostLView;constructor(n,a,o){super(),this._lContainer=n,this._hostTNode=a,this._hostLView=o}get element(){return Ka(this._hostTNode,this._hostLView)}get injector(){return new U(this._hostTNode,this._hostLView)}get parentInjector(){const n=bn(this._hostTNode,this._hostLView);if(ra(n)){const a=qt(n,this._hostLView),o=fa(n);return new U(a[h.eDl].data[o+8],a)}return new U(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const a=qu(this._lContainer);return null!==a&&a[n]||null}get length(){return this._lContainer.length-h.Y20}createEmbeddedView(n,a,o){let p,M;"number"==typeof o?p=o:null!=o&&(p=o.index,M=o.injector);const z=n.createEmbeddedViewImpl(a||{},M,null);return this.insertImpl(z,p,Nc(this._hostTNode,null)),z}createComponent(n,a,o,p,M,k,z){const Y=n&&!at(n);let ze;if(Y)ze=a;else{const Xi=a||{};ze=Xi.index,o=Xi.injector,p=Xi.projectableNodes,M=Xi.environmentInjector||Xi.ngModuleRef,k=Xi.directives,z=Xi.bindings}const it=Y?n:new c0((0,h.xUg)(n)),zt=o||this.parentInjector;if(!M&&null==it.ngModule){const na=(Y?zt:this.parentInjector).get(h.uvJ,null);na&&(M=na)}(0,h.xUg)(it.componentType??{});const Si=it.create(zt,p,null,M,k,z);return this.insertImpl(Si.hostView,ze,Nc(this._hostTNode,null)),Si}insert(n,a){return this.insertImpl(n,a,!0)}insertImpl(n,a,o){const p=n._lView;if((0,h.ITl)(p)){const z=this.indexOf(n);if(-1!==z)this.detach(z);else{const Y=p[h.f7T],ze=new Dm(Y,Y[h.qlT],Y[h.f7T]);ze.detach(ze.indexOf(n))}}const M=this._adjustIndex(a),k=this._lContainer;return Bc(k,p,M,o),n.attachToViewContainerRef(),(0,h.EYC)(d0(k),M,n),n}move(n,a){return this.insert(n,a)}indexOf(n){const a=qu(this._lContainer);return null!==a?a.indexOf(n):-1}remove(n){const a=this._adjustIndex(n,-1),o=V1(this._lContainer,a);o&&((0,h.E6O)(d0(this._lContainer),a),Td(o[h.eDl],o))}detach(n){const a=this._adjustIndex(n,-1),o=V1(this._lContainer,a);return o&&null!=(0,h.E6O)(d0(this._lContainer),a)?new o1(o):null}_adjustIndex(n,a=0){return n??this.length+a}};function qu(t){return t[h.bm_]}function d0(t){return t[h.bm_]||(t[h.bm_]=[])}function Ac(t,n){let a;const o=n[t.index];return(0,h.A0l)(o)?a=o:(a=Fu(o,n,null,t),n[t.index]=a,yd(n,a)),ma(a,n,t,o),new Dm(a,t,n)}let ma=function th(t,n,a,o){if(t[h.s6P])return;let p;p=8&a.type?(0,h.IvY)(o):function u0(t,n){const a=t[h.GpT],o=a.createComment(""),p=(0,h.d31)(n,t),M=a.parentNode(p);return Cc(a,M,o,a.nextSibling(p),!1),o}(n,a),t[h.s6P]=p};class ah{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new ah(this.queryList)}setDirty(){this.queryList.setDirty()}}class t4{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const a=n.queries;if(null!==a){const o=null!==n.contentQueries?n.contentQueries[0]:a.length,p=[];for(let M=0;Mn.trim())}(n):n}}class h0{queries;constructor(n=[]){this.queries=n}elementStart(n,a){for(let o=0;o0)o.push(k[z/2]);else{const ze=M[z+1],it=n[-Y];for(let zt=h.Y20;zt{o._dirtyCounter();const M=function a4(t,n){const a=t._lView,o=t._queryIndex;if(void 0===a||void 0===o||4&a[h.Wg1])return n?void 0:h.Mlv;const p=n4(a,o),M=ch(a,o);return p.reset(M,kr),n?p.first:p._changesDetected||void 0===t._flatValue?t._flatValue=p.toArray():t._flatValue}(o,t);if(n&&void 0===M)throw new h.buA(-951,!1);return M});return o=p[jt.bh],o._dirtyCounter=(0,h.vPA)(0),o._flatValue=void 0,p}function p0(t){return f0(!0,!1)}function Qr(t){return f0(!0,!0)}function km(t){return f0(!1,!1)}function Wd(t,n){const a=t[jt.bh];a._lView=(0,h.OAn)(),a._queryIndex=n,a._queryList=n4(a._lView,n),a._queryList.onDirty(()=>a._dirtyCounter.update(o=>o+1))}function lp(t){const n=[],a=new Map;function o(p){let M=a.get(p);if(!M){const k=t(p);a.set(p,M=k.then(z=>function Pm(t,n){return"string"==typeof n?n:void 0!==n.status&&200!==n.status?Promise.reject(new h.buA(918,!1)):n.text()}(0,z)))}return M}return q1.forEach((p,M)=>{const k=[];p.templateUrl&&k.push(o(p.templateUrl).then(ze=>{p.template=ze}));const z="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=z,p.styleUrl&&p.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(p.styleUrls?.length){const ze=p.styles.length,it=p.styleUrls;p.styleUrls.forEach((zt,hn)=>{z.push(""),k.push(o(zt).then(fn=>{z[ze+hn]=fn,it.splice(it.indexOf(zt),1),0==it.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&k.push(o(p.styleUrl).then(ze=>{z.push(ze),p.styleUrl=void 0}));const Y=Promise.all(k).then(()=>function r4(t){Gc.delete(t)}(M));n.push(Y)}),function s4(){const t=q1;q1=new Map}(),Promise.all(n).then(()=>{})}let q1=new Map;const Gc=new Set;function dp(){return 0===q1.size}const o4=new Map;function dh(t,n){(function up(t,n,a){if(n&&n!==a)throw new Error(`Duplicate module registered for ${t} - ${(0,h.AsM)(n)} vs ${(0,h.AsM)(n.name)}`)})(n,o4.get(n)||null,t),o4.set(n,t)}let Xd=class{},hl=class{};function Fm(t,n){return new c4(t,n??null,[])}class c4 extends Xd{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new tp(this);constructor(n,a,o,p=!0){super(),this.ngModuleType=n,this._parent=a;const M=(0,h.phH)(n);this._bootstrapComponents=Ql(M.bootstrap),this._r3Injector=(0,h.Pz9)(n,a,[{provide:Xd,useValue:this},{provide:ps,useValue:this.componentFactoryResolver},...o],(0,h.AsM)(n),new Set(["environment"])),p&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class mp extends hl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new c4(this.moduleType,n,[])}}function fp(t,n,a){return new c4(t,n,a,!1)}class Og extends Xd{injector;componentFactoryResolver=new tp(this);instance=null;constructor(n){super();const a=new h.e5P([...n.providers,{provide:Xd,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],n.parent||(0,h.WB9)(),n.debugName,new Set(["environment"]));this.injector=a,n.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Nm(t,n,a=null){return new Og({providers:t,parent:n,debugName:a,runEnvironmentInitializers:!0}).injector}let Rg=(()=>{class t{_injector;cachedInjectors=new Map;constructor(a){this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const o=(0,h.jXY)(!1,a.type),p=o.length>0?Nm([o],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,p)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,h.jDH)({token:t,providedIn:"environment",factory:()=>new t((0,h.KVO)(h.uvJ))})}return t})();function pp(t){return Pt(()=>{const n=jc(t),a={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?p=>p.get(Rg).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Bi.Emulated,styles:t.styles||h.Mlv,_:null,schemas:t.schemas||null,tView:null,id:""};n.standalone&&Yr("NgStandalone"),f1(a);const o=t.dependencies;return a.directiveDefs=d4(o,gp),a.pipeDefs=d4(o,h.oyA),a.id=function Ng(t){let n=0;const o=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const M of o.join("|"))n=Math.imul(31,n)+M.charCodeAt(0)|0;return n+=2147483648,"c"+n}(a),a})}function gp(t){return(0,h.xUg)(t)||(0,h.HaV)(t)}function _p(t){return Pt(()=>({type:t.type,bootstrap:t.bootstrap||h.Mlv,declarations:t.declarations||h.Mlv,imports:t.imports||h.Mlv,exports:t.exports||h.Mlv,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Pg(t,n){if(null==t)return h.MZA;const a={};for(const o in t)if(t.hasOwnProperty(o)){const p=t[o];let M,k,z,Y;Array.isArray(p)?(z=p[0],M=p[1],k=p[2]??M,Y=p[3]||null):(M=p,k=p,z=D1.None,Y=null),a[M]=[o,z,Y],n[M]=k}return a}function vp(t){if(null==t)return h.MZA;const n={};for(const a in t)t.hasOwnProperty(a)&&(n[t[a]]=a);return n}function Bm(t){return Pt(()=>{const n=jc(t);return f1(n),n})}function zm(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function jc(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||h.MZA,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||h.Mlv,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Pg(t.inputs,n),outputs:vp(t.outputs),debugInfo:null}}function f1(t){t.features?.forEach(n=>n(t))}function d4(t,n){return t?()=>{const a="function"==typeof t?t():t,o=[];for(const p of a){const M=n(p);null!==M&&o.push(M)}return o}:null}function yp(t){return Object.getPrototypeOf(t.prototype).constructor}function uh(t){let n=yp(t.type),a=!0;const o=[t];for(;n;){let p;if((0,h.JlV)(t))p=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new h.buA(903,!1);p=n.\u0275dir}if(p){if(a){o.push(p);const k=t;k.inputs=hh(t.inputs),k.declaredInputs=hh(t.declaredInputs),k.outputs=hh(t.outputs);const z=p.hostBindings;z&&Vg(t,z);const Y=p.viewQuery,ze=p.contentQueries;if(Y&&bp(t,Y),ze&&zg(t,ze),Bg(t,p),(0,h.dwj)(t.outputs,p.outputs),(0,h.JlV)(p)&&p.data.animation){const it=t.data;it.animation=(it.animation||[]).concat(p.data.animation)}}const M=p.features;if(M)for(let k=0;k=0;o--){const p=t[o];p.hostVars=n+=p.hostVars,p.hostAttrs=Bn(p.hostAttrs,a=Bn(a,p.hostAttrs))}}(o)}function Bg(t,n){for(const a in n.inputs){if(!n.inputs.hasOwnProperty(a)||t.inputs.hasOwnProperty(a))continue;const o=n.inputs[a];void 0!==o&&(t.inputs[a]=o,t.declaredInputs[a]=n.declaredInputs[a])}}function hh(t){return t===h.MZA?{}:t===h.Mlv?[]:t}function bp(t,n){const a=t.viewQuery;t.viewQuery=a?(o,p)=>{n(o,p),a(o,p)}:n}function zg(t,n){const a=t.contentQueries;t.contentQueries=a?(o,p,M)=>{n(o,p,M),a(o,p,M)}:n}function Vg(t,n){const a=t.hostBindings;t.hostBindings=a?(o,p)=>{n(o,p),a(o,p)}:n}const Um=["providersResolver"],g0=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Cp(t){const n=a=>{const o=Array.isArray(t);null===a.hostDirectives?(a.resolveHostDirectives=Ug,a.hostDirectives=o?t.map(mh):[t]):o?a.hostDirectives.unshift(...t.map(mh)):a.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function Ug(t){const n=[];let a=!1,o=null,p=null;for(let M=0;M{Q.has(t)&&(o.callbacks.delete(n),0===o.callbacks.size&&(Mt?.unobserve(t),Q.delete(t),Kt--),0===Kt&&(Mt?.disconnect(),Mt=null))}}(t,()=>o.run(n),()=>o.runOutsideAngular(()=>function La(){return new IntersectionObserver(t=>{for(const n of t)n.isIntersecting&&Q.has(n.target)&&Q.get(n.target).listener()})}()))}function td(t,n,a,o,p,M,k){const z=t[h.YEL],Y=z.get(ms);let ze;ze=function du(t,n){const a=n?.injector??(0,h.WQX)(h.zZn);return Yr("NgAfterRender"),hu(t,a,n,!1)}({read:function it(){if((0,h.EPY)(t))return void ze.destroy();const zt=Bl(t,n),hn=zt[1];if(hn!==_0.Initial&&hn!==Is.Placeholder)return void ze.destroy();const fn=function Ch(t,n,a){return null==a?t:a>=0?(0,h.jRZ)(a,t):t[n.index][h.Y20]??null}(t,n,o);if(!fn||(ze.destroy(),(0,h.EPY)(fn)))return;const qn=function $g(t,n){return(0,h.vaC)(h.Yw1+n,t)}(fn,a),Si=p(qn,()=>{Y.run(()=>{t!==fn&&(0,h.DyX)(fn,Si),M()})},z);t!==fn&&(0,h.ik5)(fn,Si),f4(k,zt,Si)}},{injector:z})}function p4(t,n){const a=n.get(g);return a.add(t),()=>a.remove(t)}let g=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,h.WQX)(ms);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(a){(this.executingCallbacks?this.deferred:this.current).add(a),null===this.idleId&&this.scheduleIdleCallback()}remove(a){const{current:o,deferred:p}=this;o.delete(a),p.delete(a),0===o.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const a=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(a))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();function c(t){return(n,a)=>r(t,n,a)}function r(t,n,a){const o=a.get(y),p=a.get(ms);return o.add(t,n,p),()=>o.remove(n)}let y=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(a,o,p){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+a,o),this.scheduleTimer(p)}remove(a){const{current:o,deferred:p}=this;-1===this.removeFromQueue(o,a)&&this.removeFromQueue(p,a),0===o.length&&0===p.length&&this.clearTimeout()}addToQueue(a,o,p){let M=a.length;for(let k=0;ko){M=k;break}(0,h.llW)(a,M,o,p)}removeFromQueue(a,o){let p=-1;for(let M=0;M-1&&(0,h.gsJ)(a,p,2),p}scheduleTimer(a){const o=()=>{this.clearTimeout(),this.executingCallbacks=!0;const M=[...this.current],k=Date.now();for(let Y=0;Y=0&&(0,h.gsJ)(this.current,0,z+1),this.executingCallbacks=!1,this.deferred.length>0){for(let Y=0;Y0){const M=Date.now(),k=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-k>16){this.clearTimeout();const z=Math.max(k-M,16);this.invokeTimerAt=k,this.timeoutId=a.runOutsideAngular(()=>setTimeout(()=>a.run(o),z))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})(),x=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(a,o,p,M){if(!this.cachedInjectors.has(a)){const k=p.length>0?Nm(p,o,M):null;this.cachedInjectors.set(a,k)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,h.jDH)({token:t,providedIn:"environment",factory:()=>new t})}return t})();const ue=new h.nKC("");function xt(t,n,a){return t.get(x).getOrCreateInjector(n,t,a,"")}function sn(t,n,a,o=!1){const p=a[h.f7T],M=p[h.eDl];if((0,h.EPY)(p))return;const k=Bl(p,n),Y=k[7];if(!(null!==Y&&t0&&(it=function Rt(t,n,a){if(t instanceof ys){const p=t.injector,k=xt(t.parentInjector,n,a);return new ys(p,k)}const o=t.get(h.uvJ);if(o!==t){const p=xt(o,n,a);return new ys(t,p)}return xt(t,n,a)}(p[h.YEL],qn,Si))}const{dehydratedView:zt,dehydratedViewIx:hn}=function wn(t,n){const a=t[h.qFA]?.findIndex(p=>p.data.s===n[1])??-1;return{dehydratedView:a>-1?t[h.qFA][a]:null,dehydratedViewIx:a}}(a,n),fn=cc(p,Y,null,{injector:it,dehydratedView:zt});if(Bc(a,fn,ze,Nc(Y,zt)),r1(fn,2),hn>-1&&a[h.qFA]?.splice(hn,1),(t===Is.Complete||t===Is.Error)&&Array.isArray(n[8])){for(const qn of n[8])qn();n[8]=null}}we(21)}function _i(t,n,a,o,p){const M=Date.now(),z=yo(p[h.eDl],o);if(null===n[2]||n[2]<=M){n[2]=null;const Y=yh(z),ze=null!==n[3];if(t!==Is.Loading||null===Y||ze){t>Is.Loading&&ze&&(n[3](),n[3]=null,n[0]=null),An(t,n,a,o,p);const it=Km(z,t);null!==it&&(n[2]=M+it,pi(it,n,o,a,p))}else{n[0]=t;const it=pi(Y,n,o,a,p);n[3]=it}}else n[0]=t}function pi(t,n,a,o,p){return r(t,()=>{const k=n[0];n[2]=null,n[0]=null,null!==k&&sn(k,a,o)},p[h.YEL])}function Ji(t,n){return t{t.loadingState===Ur.COMPLETE?sn(Is.Complete,n,a):t.loadingState===Ur.FAILED&&sn(Is.Error,n,a)})}let pa=null;function ks(t,n,a,o){return Pt(()=>{const p=t;null!==n&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...n):p.decorators=n),null!==a&&(p.ctorParameters=a),null!==o&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...o}:o)})}let Os=(()=>{class t{log(a){console.log(a)}warn(a){console.warn(a)}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const l_=new h.nKC(""),c_=new h.nKC("");let Np,C7=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(a,o,p){this._ngZone=a,this.registry=o,(0,h.M6u)()&&(this._destroyRef=(0,h.WQX)(h.abz,{optional:!0})??void 0),Np||(function x7(t){Np=t}(p),p.addToWindow(o)),this._watchAngularEvents(),a.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const a=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),o=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ms.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{a.unsubscribe(),o.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(a)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,o,p){let M=-1;o&&o>0&&(M=setTimeout(()=>{this._callbacks=this._callbacks.filter(k=>k.timeoutId!==M),a()},o)),this._callbacks.push({doneCb:a,timeoutId:M,updateCb:p})}whenStable(a,o,p){if(p&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(a,o,p),this._runCallbacksIfReady()}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,o,p){return[]}static \u0275fac=function(o){return new(o||t)((0,h.KVO)(ms),(0,h.KVO)($m),(0,h.KVO)(c_))};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac})}return t})(),$m=(()=>{class t{_applications=new Map;registerApplication(a,o){this._applications.set(a,o)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,o=!0){return Np?.findTestabilityInTree(this,a,o)??null}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function d_(t){return!!t&&"function"==typeof t.then}function u_(t){return!!t&&"function"==typeof t.subscribe}const h_=new h.nKC("");function E7(t){return(0,h.EmA)([{provide:h_,multi:!0,useValue:t}])}let Bp=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((a,o)=>{this.resolve=a,this.reject=o});appInits=(0,h.WQX)(h_,{optional:!0})??[];injector=(0,h.WQX)(h.zZn);constructor(){}runInitializers(){if(this.initialized)return;const a=[];for(const p of this.appInits){const M=(0,h.N4e)(this.injector,p);if(d_(M))a.push(M);else if(u_(M)){const k=new Promise((z,Y)=>{M.subscribe({complete:z,error:Y})});a.push(k)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{o()}).catch(p=>{this.reject(p)}),0===a.length&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const m_=new h.nKC("");function f_(){}function M7(){(0,jt.KO)(()=>{throw new h.buA(600,"")})}function p_(t,n){return Array.isArray(n)?n.reduce(p_,t):{...t,...n}}let Zm=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,h.WQX)(h.ZTf);afterRenderManager=(0,h.WQX)(Sd);zonelessEnabled=(0,h.WQX)(h.Evm);rootEffectScheduler=(0,h.WQX)(h.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ue.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,h.WQX)(h.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,pt.T)(a=>!a))}constructor(){(0,h.WQX)(rc,{optional:!0})}whenStable(){let a;return new Promise(o=>{a=this.isStable.subscribe({next:p=>{p&&o()}})}).finally(()=>{a.unsubscribe()})}_injector=(0,h.WQX)(h.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(a,o){return this.bootstrapImpl(a,o)}bootstrapImpl(a,o,p=h.zZn.NULL){return this._injector.get(ms).run(()=>{we(10);const k=a instanceof Fa;if(!this._injector.get(Bp).done)throw new h.buA(405,"");let Y;Y=k?a:this._injector.get(ps).resolveComponentFactory(a),this.componentTypes.push(Y.componentType);const ze=function S7(t){return t.isBoundToModule}(Y)?void 0:this._injector.get(Xd),zt=Y.create(p,[],o||Y.selector,ze),hn=zt.location.nativeElement,fn=zt.injector.get(l_,null);return fn?.registerApplication(hn),zt.onDestroy(()=>{this.detachView(zt.hostView),Eh(this.components,zt),fn?.unregisterApplication(hn)}),this._loadComponent(zt),we(11,zt),zt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){we(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(L1.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new h.buA(101,!1);const a=(0,jt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,jt.Ht)(a),this.afterTick.next(),we(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(xl,null,{optional:!0}));let a=0;for(;0!==this.dirtyFlags&&a++<10;)we(14),this.synchronizeOnce(),we(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let a=!1;if(7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:p}of this.allViews)(o||(0,h.dMS)(p))&&(G2(p,o&&!this.zonelessEnabled?0:1),a=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}a||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:a})=>(0,h.dMS)(a))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(a){const o=a;this._views.push(o),o.attachToAppRef(this)}detachView(a){const o=a;Eh(this._views,o),o.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView);try{this.tick()}catch(p){this.internalErrorHandler(p)}this.components.push(a),this._injector.get(m_,[]).forEach(p=>p(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Eh(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new h.buA(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Eh(t,n){const a=t.indexOf(n);a>-1&&t.splice(a,1)}function Vp(){let t,n;return{promise:new Promise((o,p)=>{t=o,n=p}),resolve:t,reject:n}}function Jm(t){const n=(0,h.OAn)(),a=(0,h.Mx4)();if(Xn(n,a),!__(0,n))return;const o=n[h.YEL];f4(0,Bl(n,a),t(()=>sd(0,n,a),o))}function Up(t){const n=(0,h.OAn)(),a=n[h.YEL],o=(0,h.Mx4)(),M=yo(n[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&f4(1,Bl(n,o),t(()=>Mh(M,n,o),a))}function g_(t,n,a){const o=n[h.YEL],p=Bl(n,a),M=p[6];f4(2,p,t(()=>x0(o,M),o))}function Mh(t,n,a){Gp(t,n,a)}function Gp(t,n,a){const o=n[h.YEL],p=n[h.eDl];if(t.loadingState!==Ur.NOT_STARTED)return t.loadingPromise??Promise.resolve();const M=Bl(n,a),k=function Ip(t,n){return(0,h.XRZ)(t,n.primaryTmplIndex+h.Yw1)}(p,t);t.loadingState=Ur.IN_PROGRESS,vh(1,M);let z=t.dependencyResolverFn;const Y=o.get(h.u5s).add();return z?(t.loadingPromise=Promise.allSettled(z()).then(ze=>{let it=!1;const zt=[],hn=[];for(const fn of ze){if("fulfilled"!==fn.status){it=!0;break}{const qn=fn.value,Si=(0,h.xUg)(qn)||(0,h.HaV)(qn);if(Si)zt.push(Si);else{const Xi=(0,h.oyA)(qn);Xi&&hn.push(Xi)}}}if(it){if(t.loadingState=Ur.FAILED,null===t.errorTmplIndex){const qn=new h.buA(-750,!1);B1(n,qn)}}else{t.loadingState=Ur.COMPLETE;const fn=k.tView;if(zt.length>0){fn.directiveRegistry=Ym(fn.directiveRegistry,zt);const qn=zt.map(Xi=>Xi.type),Si=(0,h.jXY)(!1,...qn);t.providers=Si}hn.length>0&&(fn.pipeRegistry=Ym(fn.pipeRegistry,hn))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,Y()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Ur.COMPLETE,Y()}),t.loadingPromise)}function __(t,n){return n[h.YEL].get(ue,null,{optional:!0})?.behavior!==wp.Manual}function sd(t,n,a){const o=n[h.eDl],p=n[a.index];if(!__(0,n))return;const M=Bl(n,a),k=yo(o,a);switch(Xm(M),k.loadingState){case Ur.NOT_STARTED:sn(Is.Loading,a,p),Gp(k,n,a),k.loadingState===Ur.IN_PROGRESS&&Vi(k,a,p);break;case Ur.IN_PROGRESS:sn(Is.Loading,a,p),Vi(k,a,p);break;case Ur.COMPLETE:sn(Is.Complete,a,p);break;case Ur.FAILED:sn(Is.Error,a,p)}}function x0(t,n,a){return jp.apply(this,arguments)}function jp(){return(jp=(0,Qn.A)(function*(t,n,a){const o=t.get(wo);if(o.hydrating.has(n))return;const{parentBlockPromise:M,hydrationQueue:k}=function _1(t,n){const a=n.get(wo),p=n.get(us).get("__nghDeferData__",{});let M=!1,k=t,z=null;const Y=[];for(;!M&&k;){M=a.has(k);const ze=a.hydrating.get(k);if(null===z&&null!=ze){z=ze.promise;break}Y.unshift(k),k=p[k].p}return{parentBlockPromise:z,hydrationQueue:Y}}(n,t);if(0===k.length)return;null!==M&&k.shift(),function y_(t,n){for(let a of n)t.hydrating.set(a,Vp())}(o,k),null!==M&&(yield M);const z=k[0];o.has(z)?yield Hp(t,k,a):o.awaitParentBlock(z,(0,Qn.A)(function*(){return yield Hp(t,k,a)}))})).apply(this,arguments)}function Hp(t,n,a){return Wp.apply(this,arguments)}function Wp(){return(Wp=(0,Qn.A)(function*(t,n,a){const o=t.get(wo),p=o.hydrating,M=t.get(h.rev),k=M.add();for(let Y=0;Y-1?a.get(n[o]):null;p&&Oe(p.lContainer)}function v_(t,n){const a=n.hydrating;for(const o in t)a.get(o)?.reject();n.cleanup(t)}function w7(t){return new Promise(n=>T2(n,{injector:t}))}function A7(t){return qm.apply(this,arguments)}function qm(){return(qm=(0,Qn.A)(function*(t){const{tNode:n,lView:a}=t,o=Bl(a,n);return new Promise(p=>{(function L7(t,n){Array.isArray(t[8])||(t[8]=[]),t[8].push(n)})(o,p),sd(0,a,n)})})).apply(this,arguments)}function $r(t,n,a){return 0===t?C_(n,a):2!==t||!C_(n,a)}function C_(t,n){const a=t[h.YEL],o=yo(t[h.eDl],n),p=oa(a),M=function b_(t){return null!=t&&!(1&~t)}(o.flags),z=null!==Bl(t,n)[6];return!(M&&z&&p)}function Qd(t,n){const a=yo(t,n);return a.hydrateTriggers??=new Map}function Kp(t,n){const a=(0,h.OAn)();if(cr(a,(0,h.xbp)(),n)){const p=(0,h.klJ)(),M=(0,h.CpD)();if(Id(M,p,a,t,n))(0,h.Qs1)(M)&&N2(a,M.index);else{const z=(0,h.d31)(M,a);wd(a[h.GpT],z,null,M.value,t,n,null)}}return Kp}function Yp(t,n,a,o){const p=(0,h.OAn)();return cr(p,(0,h.xbp)(),n)&&((0,h.klJ)(),function u3(t,n,a,o,p,M){const k=(0,h.d31)(t,n);wd(n[h.GpT],k,M,t.value,a,o,p)}((0,h.CpD)(),p,t,n,a,o)),Yp}const Y7=new h.nKC("",{providedIn:"root",factory:()=>!1}),Q7=new h.nKC("",{providedIn:"root",factory:()=>I_}),I_=4e3,$d=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function ef(t){return t[h.YEL].get(Y7,!1)}function Qp(t){const n=g4.get(t);if(n){for(const a of n.cleanupFns)a();g4.delete(t)}E0.delete(t)}const O_=()=>{},g4=new WeakMap,E0=new WeakMap,_4=new WeakMap;function $p(t,n){const a=_4.get(t);if(a&&a.length>0){const o=a.findIndex(p=>p===n);o>-1&&a.splice(o,1)}0===a?.length&&_4.delete(t)}function Th(t,n){const a=_4.get(t)?.shift(),o=n[h.rQE];if(o){const M=Dd(t.index,o)?.previousSibling;a&&M&&a===M&&a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function R_(t,n){_4.has(t)?_4.get(t)?.push(n):_4.set(t,[n])}function v4(t){const n=t[h.Isx]??={};return n.enter??=new Map}function M0(t){const n=t[h.Isx]??={};return n.leave??=new Map}function P_(t){const n="function"==typeof t?t():t;let a=Array.isArray(n)?n:null;return"string"==typeof n&&(a=n.trim().split(/\s+/).filter(o=>o)),a}function F_(t,n){const a=E0.get(n);return void 0===a||n===t.target&&(void 0!==a.animationName&&t.animationName===a.animationName||void 0!==a.propertyName&&t.propertyName===a.propertyName)}function tf(t,n,a){const o=t.get(n.index)??{animateFns:[]};o.animateFns.push(a),t.set(n.index,o)}function nf(t,n){if(t)for(const a of t)a();for(const a of n)a()}function Zp(t,n){const a=M0(t).get(n.index);a&&(a.resolvers=void 0)}function Dh(t,n,a,o,p){$p(n,a),nf(o,p),Zp(t,n)}class rv{destroy(n){}updateValue(n,a){}swap(n,a){const o=Math.min(n,a),p=Math.max(n,a),M=this.detach(p);if(p-o>1){const k=this.detach(o);this.attach(o,M),this.attach(p,k)}else this.attach(o,M)}move(n,a){this.attach(a,this.detach(n))}}function qp(t,n,a,o,p){return t===a&&Object.is(n,o)?1:Object.is(p(t,n),p(a,o))?-1:0}function sf(t,n,a,o){return!(void 0===n||!n.has(o)||(t.attach(a,n.get(o)),n.delete(o),0))}function N_(t,n,a,o,p){if(sf(t,n,o,a(o,p)))t.updateValue(o,p);else{const M=t.create(o,p);t.attach(o,M)}}function B_(t,n,a,o){const p=new Set;for(let M=n;M<=a;M++)p.add(o(M,t.at(M)));return p}class e6{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const a=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(n,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,a){if(this.kvMap.has(n)){let o=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(o);)o=p.get(o);p.set(o,a)}else this.kvMap.set(n,a)}forEach(n){for(let[a,o]of this.kvMap)if(n(o,a),void 0!==this._vMap){const p=this._vMap;for(;p.has(o);)o=p.get(o),n(o,a)}}}function z_(t,n,a,o,p,M,k,z){Yr("NgControlFlow");const Y=(0,h.OAn)(),ze=(0,h.klJ)();return Kd(Y,ze,t,n,a,o,p,(0,h.db4)(ze.consts,M),256,k,z),rf}function rf(t,n,a,o,p,M,k,z){Yr("NgControlFlow");const Y=(0,h.OAn)(),ze=(0,h.klJ)();return Kd(Y,ze,t,n,a,o,p,(0,h.db4)(ze.consts,M),512,k,z),rf}function V_(t,n){Yr("NgControlFlow");const a=(0,h.OAn)(),o=(0,h.xbp)(),p=a[o]!==qa?a[o]:-1,M=-1!==p?of(a,h.Yw1+p):void 0;if(cr(a,o,t)){const z=(0,jt.Ht)(null);try{if(void 0!==M&&W2(M,0),-1!==t){const Y=h.Yw1+t,ze=of(a,Y),it=t6(a[h.eDl],Y),zt=null;Bc(ze,cc(a,it,n,{dehydratedView:zt}),0,Nc(it,zt))}}finally{(0,jt.Ht)(z)}}else if(void 0!==M){const z=Nu(M,0);void 0!==z&&(z[h.SKP]=n)}}class U_{lContainer;$implicit;$index;constructor(n,a,o){this.lContainer=n,this.$implicit=a,this.$index=o}get $count(){return this.lContainer.length-h.Y20}}function G_(t,n){return n}class cv{hasEmptyBlock;trackByFn;liveCollection;constructor(n,a,o){this.hasEmptyBlock=n,this.trackByFn=a,this.liveCollection=o}}function j_(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn){Yr("NgControlFlow");const fn=(0,h.OAn)(),qn=(0,h.klJ)(),Si=void 0!==Y,Xi=(0,h.OAn)(),na=z?k.bind(Xi[h.b5C][h.SKP]):k,Di=new cv(Si,na);Xi[h.Yw1+t]=Di,Kd(fn,qn,t+1,n,a,o,p,(0,h.db4)(qn.consts,M),256),Si&&Kd(fn,qn,t+2,Y,ze,it,zt,(0,h.db4)(qn.consts,hn),512)}class H_ extends rv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,a,o){super(),this.lContainer=n,this.hostLView=a,this.templateTNode=o}get length(){return this.lContainer.length-h.Y20}at(n){return this.getLView(n)[h.SKP].$implicit}attach(n,a){const o=a[h.tcA];this.needsIndexUpdate||=n!==this.length,Bc(this.lContainer,a,n,Nc(this.templateTNode,o)),function dv(t,n){if(t.length<=h.Y20)return;const o=t[h.Y20+n],p=o?o[h.Isx]:void 0;o&&p&&p.detachedLeaveAnimationFns&&p.detachedLeaveAnimationFns.length>0&&(function $h(t,n){const a=t.get(R1);if(n.detachedLeaveAnimationFns){for(const o of n.detachedLeaveAnimationFns)a.queue.delete(o);n.detachedLeaveAnimationFns=void 0}}(o[h.YEL],p),bl.delete(o),p.detachedLeaveAnimationFns=void 0)}(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function uv(t,n){if(t.length<=h.Y20)return;const o=t[h.Y20+n],p=o?o[h.Isx]:void 0;p&&p.leave&&p.leave.size>0&&(p.detachedLeaveAnimationFns=[])}(this.lContainer,n),function hv(t,n){return V1(t,n)}(this.lContainer,n)}create(n,a){const p=cc(this.hostLView,this.templateTNode,new U_(this.lContainer,a,n),{dehydratedView:null});return this.operationsCounter?.recordCreate(),p}destroy(n){Td(n[h.eDl],n),this.operationsCounter?.recordDestroy()}updateValue(n,a){this.getLView(n)[h.SKP].$implicit=a}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{t.destroy(Y)})}(Y,t,M.trackByFn),Y.updateIndexes(),M.hasEmptyBlock){const ze=(0,h.xbp)(),it=0===Y.length;if(cr(o,ze,it)){const zt=a+2,hn=of(o,zt);if(it){const fn=t6(p,zt),qn=null;Bc(hn,cc(o,fn,void 0,{dehydratedView:qn}),0,Nc(fn,qn))}else p.firstUpdatePass&&E(hn),W2(hn,0)}}}finally{(0,jt.Ht)(n)}}function of(t,n){return t[n]}function t6(t,n){return(0,h.XRZ)(t,n)}function lf(t,n,a){const o=(0,h.OAn)();return cr(o,(0,h.xbp)(),n)&&((0,h.klJ)(),P2((0,h.CpD)(),o,t,n,o[h.GpT],a)),lf}function n6(t,n,a,o,p){Id(n,t,a,p?"class":"style",o)}function Ih(t,n,a,o){const p=(0,h.OAn)(),M=p[h.eDl],k=t+h.Yw1,z=M.firstCreatePass?r0(k,p,2,n,z2,(0,h.ckz)(),a,o):M.data[k];if(Ad(z,p,t,n,s6),(0,h.yoD)(z)){const Y=p[h.eDl];R2(Y,p,z),Wa(Y,z,p)}return null!=o&&N1(p,z),Ih}function cf(){const t=(0,h.klJ)(),a=Ld((0,h.Mx4)());return t.firstCreatePass&&Q3(t,a),(0,h.UhH)(a)&&(0,h.krE)(),(0,h.N79)(),null!=a.classesWithoutHost&&function Fn(t){return!!(8&t.flags)}(a)&&n6(t,a,(0,h.OAn)(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function ci(t){return!!(16&t.flags)}(a)&&n6(t,a,(0,h.OAn)(),a.stylesWithoutHost,!1),cf}function i6(t,n,a,o){return Ih(t,n,a,o),cf(),i6}function df(t,n,a,o){const p=(0,h.OAn)(),M=p[h.eDl],k=t+h.Yw1,z=M.firstCreatePass?$3(k,M,2,n,a,o):M.data[k];return Ad(z,p,t,n,s6),null!=o&&N1(p,z),df}function y4(){const n=Ld((0,h.Mx4)());return(0,h.UhH)(n)&&(0,h.krE)(),(0,h.N79)(),y4}function a6(t,n,a,o){return df(t,n,a,o),y4(),a6}let s6=(t,n,a,o,p)=>((0,h.m7n)(!0),hd(n[h.GpT],o,(0,h.UaU)()));function uf(t,n,a){const o=(0,h.OAn)(),p=o[h.eDl],M=t+h.Yw1,k=p.firstCreatePass?r0(M,o,8,"ng-container",z2,(0,h.ckz)(),n,a):p.data[M];if(Ad(k,o,t,"ng-container",o6),(0,h.yoD)(k)){const z=o[h.eDl];R2(z,o,k),Wa(z,k,o)}return null!=a&&N1(o,k),uf}function b4(){const t=(0,h.klJ)(),a=Ld((0,h.Mx4)());return t.firstCreatePass&&Q3(t,a),b4}function r6(t,n,a){return uf(t,n,a),b4(),r6}function hf(t,n,a){const o=(0,h.OAn)(),p=o[h.eDl],M=t+h.Yw1,k=p.firstCreatePass?$3(M,p,8,"ng-container",n,a):p.data[M];return Ad(k,o,t,"ng-container",o6),null!=a&&N1(o,k),hf}function K_(){return Ld((0,h.Mx4)()),b4}let o6=(t,n,a,o,p)=>((0,h.m7n)(!0),c2(n[h.GpT],""));function Q_(){return(0,h.OAn)()}function mf(t,n,a){const o=(0,h.OAn)();return cr(o,(0,h.xbp)(),n)&&((0,h.klJ)(),F2((0,h.CpD)(),o,t,n,o[h.GpT],a)),mf}const ff=void 0;var gv=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ff,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ff,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ff,"{1} 'at' {0}",ff],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function l6(t){const n=Math.floor(Math.abs(t)),a=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===a?1:5}];let C4={};function c6(t){const n=function _v(t){return t.toLowerCase().replace(/_/g,"-")}(t);let a=Z_(n);if(a)return a;const o=n.split("-")[0];if(a=Z_(o),a)return a;if("en"===o)return gv;throw new h.buA(701,!1)}function d6(t){return c6(t)[S0.PluralCase]}function Z_(t){if(!(t in C4)){const n=h.laP.ng&&h.laP.ng.common&&h.laP.ng.common.locales&&h.laP.ng.common.locales[t];return void 0!==n&&(C4[t]=n),n}return C4[t]}var S0=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(S0||{});const J_=["zero","one","two","few","many"],u6="en-US",pf={marker:"element"},gf={marker:"ICU"};var Zl=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Zl||{});let q_=u6;function bv(t){"string"==typeof t&&(q_=t.toLowerCase().replace(/_/g,"-"))}let kh=0,x4=0;let T0=(t,n,a,o)=>((0,h.m7n)(!0),function e8(t,n,a){const o=t[h.GpT];switch(a){case Node.COMMENT_NODE:return c2(o,n);case Node.TEXT_NODE:return ud(o,n);case Node.ELEMENT_NODE:return hd(o,n,null)}}(t,a,o));function t8(t,n,a,o){const p=a[h.GpT];let k,M=null;for(let z=0;z>>1,a),null,null,fn,qn,null)}else switch(Y){case gf:const ze=n[++z],it=n[++z];null===a[it]&&wa(a[it]=T0(a,0,ze,Node.COMMENT_NODE),a);break;case pf:const zt=n[++z],hn=n[++z];null===a[hn]&&wa(a[hn]=T0(a,0,zt,Node.ELEMENT_NODE),a)}}}function h6(t,n,a,o,p){for(let M=0;M>>2;switch(3&it){case 1:const hn=a[++ze],fn=a[++ze],qn=t.data[zt];if("string"==typeof qn)wd(n[h.GpT],n[zt],null,qn,hn,Y,fn);else{const Xi=(0,h._px)();(0,h.ypq)(zt);try{P2(qn,n,hn,Y,n[h.GpT],fn)}finally{(0,h.ypq)(Xi)}}break;case 0:const Si=n[zt];null!==Si&&P0(n[h.GpT],Si,Y);break;case 2:Tv(t,zd(t,zt),n,Y);break;case 3:n8(t,zd(t,zt),o,n)}}}}else{const Y=a[M+1];if(Y>0&&!(3&~Y)){const it=zd(t,Y>>>2);n[it.currentCaseLViewIndex]<0&&n8(t,it,o,n)}}M+=z}}function n8(t,n,a,o){let p=o[n.currentCaseLViewIndex];if(null!==p){let M=kh;p<0&&(p=o[n.currentCaseLViewIndex]=~p,M=-1),h6(t,o,n.update[p],a,M)}}function Tv(t,n,a,o){const p=function Dv(t,n){let a=t.cases.indexOf(n);if(-1===a)switch(t.type){case 1:{const o=function vv(t,n){const a=d6(n)(parseInt(t,10)),o=J_[a];return void 0!==o?o:"other"}(n,function Cv(){return q_}());a=t.cases.indexOf(o),-1===a&&"other"!==o&&(a=t.cases.indexOf("other"));break}case 0:a=t.cases.indexOf("other")}return-1===a?null:a}(n,o);if(Z2(n,a)!==p&&(m6(t,n,a),a[n.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const k=a[n.anchorIdx];k&&t8(t,n.create[p],a,k)}}function m6(t,n,a){let o=Z2(n,a);if(null!==o){const p=n.remove[o];for(let M=0;M0){const z=(0,h.vaC)(k,a);null!==z&&C1(a[h.GpT],z)}else m6(t,zd(t,~k),a)}}}const _f=/\ufffd(\d+):?\d*\ufffd/gi,Av=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,a8=/\ufffd(\d+)\ufffd/,f6=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,p6=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Lv=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Iv=/\uE500/g;function r8(t,n,a,o,p,M,k){const z=T1(t,o,1,null);let Y=z<a.length&&a.push(Y)}return{type:o,mainBinding:p,cases:n,values:a}}function v6(t){if(!t)return[];let n=0;const a=[],o=[],p=/[{}]/g;let M;for(p.lastIndex=0;M=p.exec(t);){const z=M.index;if("}"==M[0]){if(a.pop(),0==a.length){const Y=t.substring(n,z);f6.test(Y)?o.push(Nv(Y)):o.push(Y),n=z+1}}else{if(0==a.length){const Y=t.substring(n,z);o.push(Y),n=z+1}a.push("{")}}const k=t.substring(n);return o.push(k),o}function Bv(t,n,a,o,p,M,k,z,Y){const ze=[],it=[],zt=[];a.cases.push(k),a.create.push(ze),a.remove.push(it),a.update.push(zt);const fn=ji(ds()).getInertBodyElement(z),qn=l2(fn)||fn;return qn?l8(t,n,a,o,p,ze,it,zt,qn,M,Y,0):0}function l8(t,n,a,o,p,M,k,z,Y,ze,it,zt){let hn=0,fn=Y.firstChild;for(;fn;){const qn=T1(n,o,1,null);switch(fn.nodeType){case Node.ELEMENT_NODE:const Si=fn,Xi=Si.tagName.toLowerCase();if(vc.hasOwnProperty(Xi)){y6(M,pf,Xi,ze,qn),n.data[qn]=Xi;const Jo=Si.attributes;for(let rd=0;rd>>Zl.SHIFT;let zt=t[it],hn=!1;null===zt&&(zt=t[it]=T0(t,0,n[M],(k&Zl.COMMENT)===Zl.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),hn=(0,h.SX7)()),ze&&null!==a&&hn&&Cc(p,a,zt,o,!1)}})(p,Y.create,it,z&&8&z.type?p[z.index]:null),(0,h.xyx)(!0)}function _8(){(0,h.xyx)(!1)}function yf(t,n,a){const o=(0,h.OAn)(),p=(0,h.klJ)(),M=(0,h.Mx4)();return x6(p,o,o[h.GpT],M,t,n,a),yf}function bf(t,n,a){const o=(0,h.OAn)(),p=(0,h.klJ)(),M=(0,h.Mx4)();return(3&M.type||a)&&Zf(M,p,o,a,o[h.GpT],t,n,l0(M,o,n)),bf}function x6(t,n,a,o,p,M,k){let z=!0,Y=null;if((3&o.type||k)&&(Y??=l0(o,n,M),Zf(o,t,n,k,a,p,M,Y)&&(z=!1)),z){const ze=o.outputs?.[p],it=o.hostDirectiveOutputs?.[p];if(it&&it.length)for(let zt=0;zt>17&32767}function S6(t){return 2|t}function Jd(t){return(131068&t)>>2}function T6(t,n){return-131069&t|n<<2}function D6(t){return 1|t}function L8(t,n,a,o){const p=t[a+1],M=null===n;let k=o?Zd(p):Jd(p),z=!1;for(;0!==k&&(!1===z||M);){const ze=t[k+1];e9(t[k],n)&&(z=!0,t[k+1]=o?D6(ze):S6(ze)),k=o?Zd(ze):Jd(ze)}z&&(t[a+1]=o?S6(p):D6(p))}function e9(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&(0,h.FRF)(t,n)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function I8(t){return t.substring(Bo.key,Bo.keyEnd)}function k8(t){return t.substring(Bo.value,Bo.valueEnd)}function A6(t,n){const a=Bo.textEnd;return a===n?-1:(n=Bo.keyEnd=function L6(t,n,a){for(;n32;)n++;return n}(t,Bo.key=n,a),E4(t,n,a))}function O8(t,n){const a=Bo.textEnd;let o=Bo.key=E4(t,n,a);return a===o?-1:(o=Bo.keyEnd=function i9(t,n,a){let o;for(;n=65&&(-33&o)<=90||o>=48&&o<=57);)n++;return n}(t,o,a),o=P8(t,o,a),o=Bo.value=E4(t,o,a),o=Bo.valueEnd=function a9(t,n,a){let o=-1,p=-1,M=-1,k=n,z=k;for(;k32&&(z=k),M=p,p=o,o=-33&Y}return z}(t,o,a),P8(t,o,a))}function R8(t){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=t.length}function E4(t,n,a){for(;n=0;a=O8(n,a))O6(t,I8(n),k8(n))}function B8(t){U8(d9,z8,t,!0)}function z8(t,n){for(let a=function t9(t){return R8(t),A6(t,E4(t,0,Bo.textEnd))}(n);a>=0;a=A6(n,a))(0,h.ezK)(t,I8(n),!0)}function V8(t,n,a,o){const p=(0,h.OAn)(),M=(0,h.klJ)(),k=(0,h.b$O)(2);M.firstUpdatePass&&j8(M,t,k,o),n!==qa&&cr(p,k,n)&&W8(M,M.data[(0,h._px)()],p,p[h.GpT],t,p[k+1]=function h9(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=(0,h.AsM)(st(t)))),t}(n,a),o,k)}function U8(t,n,a,o){const p=(0,h.klJ)(),M=(0,h.b$O)(2);p.firstUpdatePass&&j8(p,null,M,o);const k=(0,h.OAn)();if(a!==qa&&cr(k,M,a)){const z=p.data[(0,h._px)()];if(K8(z,o)&&!G8(p,M)){let Y=o?z.classesWithoutHost:z.stylesWithoutHost;null!==Y&&(a=(0,h.n$e)(Y,a||"")),n6(p,z,k,a,o)}else!function u9(t,n,a,o,p,M,k,z){p===qa&&(p=h.Mlv);let Y=0,ze=0,it=0=t.expandoStartIndex}function j8(t,n,a,o){const p=t.data;if(null===p[a+1]){const M=p[(0,h._px)()],k=G8(t,a);K8(M,o)&&null===n&&!k&&(n=!1),n=function H8(t,n,a,o){const p=(0,h.MT)(t);let M=o?n.residualClasses:n.residualStyles;if(null===p)0===(o?n.classBindings:n.styleBindings)&&(a=M4(a=k6(null,t,n,a,o),n.attrs,o),M=null);else{const k=n.directiveStylingLast;if(-1===k||t[k]!==p)if(a=k6(p,t,n,a,o),null===M){let Y=function r9(t,n,a){const o=a?n.classBindings:n.styleBindings;if(0!==Jd(o))return t[Zd(o)]}(t,n,o);void 0!==Y&&Array.isArray(Y)&&(Y=k6(null,t,n,Y[1],o),Y=M4(Y,n.attrs,o),function o9(t,n,a,o){t[Zd(a?n.classBindings:n.styleBindings)]=o}(t,n,o,Y))}else M=function l9(t,n,a){let o;const p=n.directiveEnd;for(let M=1+n.directiveStylingLast;M0)&&(ze=!0)):it=a,p)if(0!==Y){const hn=Zd(t[z+1]);t[o+1]=xf(hn,z),0!==hn&&(t[hn+1]=T6(t[hn+1],o)),t[z+1]=function Zv(t,n){return 131071&t|n<<17}(t[z+1],o)}else t[o+1]=xf(z,0),0!==z&&(t[z+1]=T6(t[z+1],o)),z=o;else t[o+1]=xf(Y,0),0===z?z=o:t[Y+1]=T6(t[Y+1],o),Y=o;ze&&(t[o+1]=S6(t[o+1])),L8(t,it,o,!0),L8(t,it,o,!1),function w6(t,n,a,o,p){const M=p?t.residualClasses:t.residualStyles;null!=M&&"string"==typeof n&&(0,h.FRF)(M,n)>=0&&(a[o+1]=D6(a[o+1]))}(n,it,t,o,M),k=xf(z,Y),M?n.classBindings=k:n.styleBindings=k}(p,M,n,a,k,o)}}function k6(t,n,a,o,p){let M=null;const k=a.directiveEnd;let z=a.directiveStylingLast;for(-1===z?z=a.directiveStart:z++;z0;){const Y=t[p],ze=Array.isArray(Y),it=ze?Y[1]:Y,zt=null===it;let hn=a[p+1];hn===qa&&(hn=zt?h.Mlv:void 0);let fn=zt?(0,h.K7h)(hn,o):it===o?hn:void 0;if(ze&&!Fh(fn)&&(fn=(0,h.K7h)(Y,o)),Fh(fn)&&(z=fn,k))return z;const qn=t[p+1];p=k?Zd(qn):Jd(qn)}if(null!==n){let Y=M?n.residualClasses:n.residualStyles;null!=Y&&(z=(0,h.K7h)(Y,o))}return z}function Fh(t){return void 0!==t}function K8(t,n){return!!(t.flags&(n?8:16))}function Nh(t,n=""){const a=(0,h.OAn)(),o=(0,h.klJ)(),p=t+h.Yw1,M=o.firstCreatePass?Tc(o,p,1,n,null):o.data[p],k=Y8(o,a,M,n,t);a[p]=k,(0,h.SX7)()&&yu(o,a,k,M),(0,h.iMd)(M,!1)}let Y8=(t,n,a,o,p)=>((0,h.m7n)(!0),ud(n[h.GpT],o));function R6(t,n){let a=!1,o=(0,h.c$7)();for(let M=1;M>20;if((0,h.Y3W)(t)||!t.multi){const fn=new an(ze,p,m1,null),qn=j6(Y,n,p?it:it+hn,zt);-1===qn?(Kn(en(z,k),M,Y),G6(M,t,n.length),n.push(Y),z.directiveStart++,z.directiveEnd++,p&&(z.providerIndexes+=1048576),a.push(fn),k.push(fn)):(a[qn]=fn,k[qn]=fn)}else{const fn=j6(Y,n,it+hn,zt),qn=j6(Y,n,it,it+hn),Xi=qn>=0&&a[qn];if(p&&!Xi||!p&&!(fn>=0&&a[fn])){Kn(en(z,k),M,Y);const na=function E9(t,n,a,o,p){const k=new an(t,a,m1,null);return k.multi=[],k.index=n,k.componentProviders=0,p5(k,p,o&&!a),k}(p?x9:H6,a.length,p,o,ze);!p&&Xi&&(a[qn].providerFactory=na),G6(M,t,n.length,0),n.push(Y),z.directiveStart++,z.directiveEnd++,p&&(z.providerIndexes+=1048576),a.push(na),k.push(na)}else G6(M,t,fn>-1?fn:qn,p5(a[p?qn:fn],ze,!p&&o));!p&&o&&Xi&&a[qn].componentProviders++}}}function G6(t,n,a,o){const p=(0,h.Y3W)(n),M=(0,h.MME)(n);if(p||M){const Y=(M?(0,h.nl4)(n.useClass):n).prototype.ngOnDestroy;if(Y){const ze=t.destroyHooks||(t.destroyHooks=[]);if(!p&&n.multi){const it=ze.indexOf(a);-1===it?ze.push(a,[o,Y]):ze[it+1].push(o,Y)}else ze.push(a,Y)}}}function p5(t,n,a){return a&&t.componentProviders++,t.multi.push(n)-1}function j6(t,n,a,o){for(let p=a;p{a.providersResolver=(o,p)=>function C9(t,n,a){const o=(0,h.klJ)();if(o.firstCreatePass){const p=(0,h.JlV)(t);U6(a,o.data,o.blueprint,p,!0),U6(n,o.data,o.blueprint,p,!1)}}(o,p?p(t):t,n)}}function Sf(t){if("function"==typeof t)return t;const n=(0,h.Bqz)(t);return n.some(h.Jzi)?()=>n.map(h.nl4).map(y5):n.map(y5)}function y5(t){return X1(t)?t.ngModule:t}function b5(t,n,a){const o=(0,h.gxQ)()+t,p=(0,h.OAn)();return p[o]===qa?Uc(p,o,a?n.call(a):n()):o0(p,o)}function Tf(t,n,a,o){return S5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o)}function C5(t,n,a,o,p){return T5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p)}function x5(t,n,a,o,p,M){return D5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p,M)}function zh(t,n){const a=t[n];return a===qa?void 0:a}function S5(t,n,a,o,p,M){const k=n+a;return cr(t,k,p)?Uc(t,k+1,M?o.call(M,p):o(p)):zh(t,k+1)}function T5(t,n,a,o,p,M,k){const z=n+a;return Q1(t,z,p,M)?Uc(t,z+2,k?o.call(k,p,M):o(p,M)):zh(t,z+2)}function D5(t,n,a,o,p,M,k,z){const Y=n+a;return J3(t,Y,p,M,k)?Uc(t,Y+3,z?o.call(z,p,M,k):o(p,M,k)):zh(t,Y+3)}function X6(t,n,a,o,p,M,k,z,Y){const ze=n+a;return uc(t,ze,p,M,k,z)?Uc(t,ze+4,Y?o.call(Y,p,M,k,z):o(p,M,k,z)):zh(t,ze+4)}function w5(t,n,a,o,p,M){let k=n+a,z=!1;for(let Y=0;Y=0;a--){const o=n[a];if(t===o.name)return o}}(n,a.pipeRegistry),a.data[p]=o,o.onDestroy&&(a.destroyHooks??=[]).push(p,o.onDestroy)):o=a.data[p];const M=o.factory||(o.factory=(0,h.wGu)(o.type,!0)),z=(0,h.a2B)(m1);try{const Y=Wn(!1),ze=M();return Wn(Y),(0,h.M_e)(a,(0,h.OAn)(),p,ze),ze}finally{(0,h.a2B)(z)}}function I5(t,n,a){const o=t+h.Yw1,p=(0,h.OAn)(),M=(0,h.Hh6)(p,o);return Vh(p,o)?S5(p,(0,h.gxQ)(),n,M.transform,a,M):M.transform(a)}function K6(t,n,a,o){const p=t+h.Yw1,M=(0,h.OAn)(),k=(0,h.Hh6)(M,p);return Vh(M,p)?T5(M,(0,h.gxQ)(),n,k.transform,a,o,k):k.transform(a,o)}function k5(t,n,a,o,p){const M=t+h.Yw1,k=(0,h.OAn)(),z=(0,h.Hh6)(k,M);return Vh(k,M)?D5(k,(0,h.gxQ)(),n,z.transform,a,o,p,z):z.transform(a,o,p)}function Vh(t,n){return t[h.eDl].data[n].pure}function Y6(t,n){return Od(t,n)}function Df(t,n,a,o,p){const M=p[h.eDl];if(M!==o.tView)for(let k=h.Yw1;k{if(o.encapsulation===Bi.ShadowDom){const qn=k.cloneNode(!1);k.replaceWith(qn),k=qn}const zt=q0(a),hn=M1(z,zt,M,S1(a),k,Y,null,null,null,null,null);(function P5(t,n,a,o){for(let p=h.Yw1;pR5(t,n,it))}(t,n,a,o,p)}function R5(t,n,a){try{a()}catch(o){if(null!==n&&o.message){const M=o.message+(o.stack?"\n"+o.stack:"");t?.hot?.send?.("angular:invalidate",{id:n,message:M,error:!0})}throw o}}const qd={\u0275\u0275animateEnter:function af(t){if(Yr("NgAnimateEnter"),!$d)return af;const n=(0,h.OAn)();if(ef(n))return af;const a=(0,h.Mx4)();return Th(a,n),tf(v4(n),a,()=>function ev(t,n,a){const o=(0,h.d31)(n,t),p=t[h.GpT],M=t[h.YEL].get(ms),k=P_(a),z=[],Y=it=>{if(it.target!==o)return;const zt=it instanceof AnimationEvent?"animationend":"transitionend";M.runOutsideAngular(()=>{p.listen(o,zt,ze)})},ze=it=>{it.target===o&&function tv(t,n,a){const o=g4.get(n);if(t.target===n&&o&&F_(t,n)){t.stopImmediatePropagation();for(const p of o.classList)a.removeClass(n,p);Qp(n)}}(it,o,p)};if(k&&k.length>0){M.runOutsideAngular(()=>{z.push(p.listen(o,"animationstart",Y)),z.push(p.listen(o,"transitionstart",Y))}),function Z7(t,n,a){const o=g4.get(t);if(o){for(const p of n)o.classList.push(p);for(const p of a)o.cleanupFns.push(p)}else g4.set(t,{classList:n,cleanupFns:a})}(o,k,z);for(const it of k)p.addClass(o,it);M.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(iu(o,E0,$d),!E0.has(o)){for(const it of k)p.removeClass(o,it);Qp(o)}})})}}(n,a,t)),D2(n[h.YEL]),P1(n[h.YEL],v4(n)),af},\u0275\u0275animateEnterListener:function wh(t){if(Yr("NgAnimateEnter"),!$d)return wh;const n=(0,h.OAn)();if(ef(n))return wh;const a=(0,h.Mx4)();return Th(a,n),tf(v4(n),a,()=>function nv(t,n,a){const o=(0,h.d31)(n,t);a.call(t[h.SKP],{target:o,animationComplete:O_})}(n,a,t)),D2(n[h.YEL]),P1(n[h.YEL],v4(n)),wh},\u0275\u0275animateLeave:function Ah(t){if(Yr("NgAnimateLeave"),!$d)return Ah;const n=(0,h.OAn)();if(ef(n))return Ah;const o=(0,h.Mx4)();return Th(o,n),tf(M0(n),o,()=>function iv(t,n,a){const{promise:o,resolve:p}=Vp(),M=(0,h.d31)(n,t),k=t[h.GpT],z=t[h.YEL].get(ms);bl.add(t),(M0(t).get(n.index).resolvers??=[]).push(p);const Y=P_(a);return Y&&Y.length>0?function Lh(t,n,a,o,p,M){!function J7(t,n){if(!$d)return;const a=g4.get(t);if(a&&a.classList.length>0&&function q7(t,n){for(const a of n)if(t.classList.contains(a))return!0;return!1}(t,a.classList))for(const o of a.classList)n.removeClass(t,o);Qp(t)}(t,p);const k=[],z=M0(a).get(n.index)?.resolvers,Y=ze=>{if(ze.target===t&&(ze instanceof CustomEvent||F_(ze,t))){if(ze.stopImmediatePropagation(),E0.delete(t),$p(n,t),Array.isArray(n.projection))for(const it of o)p.removeClass(t,it);nf(z,k),Zp(a,n)}};M.runOutsideAngular(()=>{k.push(p.listen(t,"animationend",Y)),k.push(p.listen(t,"transitionend",Y))}),R_(n,t);for(const ze of o)p.addClass(t,ze);M.runOutsideAngular(()=>{requestAnimationFrame(()=>{iu(t,E0,$d),E0.has(t)||($p(n,t),nf(z,k),Zp(a,n))})})}(M,n,t,Y,k,z):p(),{promise:o,resolve:p}}(n,o,t)),D2(n[h.YEL]),Ah},\u0275\u0275animateLeaveListener:function Jp(t){if(Yr("NgAnimateLeave"),!$d)return Jp;const n=(0,h.OAn)(),a=(0,h.Mx4)();return Th(a,n),bl.add(n),tf(M0(n),a,()=>function av(t,n,a){const{promise:o,resolve:p}=Vp(),M=(0,h.d31)(n,t),k=[],z=t[h.GpT],Y=ef(t),ze=t[h.YEL].get(ms),it=t[h.YEL].get(Q7);(M0(t).get(n.index).resolvers??=[]).push(p);const zt=M0(t).get(n.index)?.resolvers;if(Y)Dh(t,n,M,zt,k);else{const hn=setTimeout(()=>Dh(t,n,M,zt,k),it),fn={target:M,animationComplete:()=>{Dh(t,n,M,zt,k),clearTimeout(hn)}};R_(n,M),ze.runOutsideAngular(()=>{k.push(z.listen(M,"animationend",()=>{Dh(t,n,M,zt,k),clearTimeout(hn)},{once:!0}))}),a.call(t[h.SKP],fn)}return{promise:o,resolve:p}}(n,a,t)),D2(n[h.YEL]),Jp},\u0275\u0275attribute:Yp,\u0275\u0275defineComponent:pp,\u0275\u0275defineDirective:Bm,\u0275\u0275defineInjectable:h.jDH,\u0275\u0275defineInjector:h.G2t,\u0275\u0275defineNgModule:_p,\u0275\u0275definePipe:zm,\u0275\u0275directiveInject:m1,\u0275\u0275getInheritedFactory:Ze,\u0275\u0275inject:h.KVO,\u0275\u0275injectAttribute:_a,\u0275\u0275invalidFactory:ho,\u0275\u0275invalidFactoryDep:h.dmw,\u0275\u0275templateRefExtractor:Y6,\u0275\u0275resetView:h.Njj,\u0275\u0275HostDirectivesFeature:Cp,\u0275\u0275NgOnChangesFeature:tn,\u0275\u0275ProvidersFeature:g5,\u0275\u0275CopyDefinitionFeature:function u4(t){let a,n=yp(t.type);a=(0,h.JlV)(t)?n.\u0275cmp:n.\u0275dir;const o=t;for(const p of Um)o[p]=a[p];if((0,h.JlV)(a))for(const p of g0)o[p]=a[p]},\u0275\u0275InheritDefinitionFeature:uh,\u0275\u0275ExternalStylesFeature:function _5(t){return n=>{t.length<1||(n.getExternalStyles=a=>t.map(p=>p+"?ngcomp"+(a?"="+encodeURIComponent(a):"")+"&e="+n.encapsulation))}},\u0275\u0275nextContext:C8,\u0275\u0275namespaceHTML:h.joV,\u0275\u0275namespaceMathML:h.By9,\u0275\u0275namespaceSVG:h.qSk,\u0275\u0275enableBindings:h.cSN,\u0275\u0275disableBindings:h.fuf,\u0275\u0275elementStart:Ih,\u0275\u0275elementEnd:cf,\u0275\u0275element:i6,\u0275\u0275elementContainerStart:uf,\u0275\u0275elementContainerEnd:b4,\u0275\u0275domElement:a6,\u0275\u0275domElementStart:df,\u0275\u0275domElementEnd:y4,\u0275\u0275domElementContainer:function Y_(t,n,a){return hf(t,n,a),K_(),Y_},\u0275\u0275domElementContainerStart:hf,\u0275\u0275domElementContainerEnd:K_,\u0275\u0275domTemplate:gh,\u0275\u0275domListener:bf,\u0275\u0275elementContainer:r6,\u0275\u0275pureFunction0:b5,\u0275\u0275pureFunction1:Tf,\u0275\u0275pureFunction2:C5,\u0275\u0275pureFunction3:x5,\u0275\u0275pureFunction4:function S9(t,n,a,o,p,M,k){return X6((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p,M,k)},\u0275\u0275pureFunction5:function E5(t,n,a,o,p,M,k,z){const Y=(0,h.gxQ)()+t,ze=(0,h.OAn)(),it=uc(ze,Y,a,o,p,M);return cr(ze,Y+4,k)||it?Uc(ze,Y+5,z?n.call(z,a,o,p,M,k):n(a,o,p,M,k)):o0(ze,Y+5)},\u0275\u0275pureFunction6:function T9(t,n,a,o,p,M,k,z,Y){const ze=(0,h.gxQ)()+t,it=(0,h.OAn)(),zt=uc(it,ze,a,o,p,M);return Q1(it,ze+4,k,z)||zt?Uc(it,ze+6,Y?n.call(Y,a,o,p,M,k,z):n(a,o,p,M,k,z)):o0(it,ze+6)},\u0275\u0275pureFunction7:function M5(t,n,a,o,p,M,k,z,Y,ze){const it=(0,h.gxQ)()+t,zt=(0,h.OAn)();let hn=uc(zt,it,a,o,p,M);return J3(zt,it+4,k,z,Y)||hn?Uc(zt,it+7,ze?n.call(ze,a,o,p,M,k,z,Y):n(a,o,p,M,k,z,Y)):o0(zt,it+7)},\u0275\u0275pureFunction8:function D9(t,n,a,o,p,M,k,z,Y,ze,it){const zt=(0,h.gxQ)()+t,hn=(0,h.OAn)(),fn=uc(hn,zt,a,o,p,M);return uc(hn,zt+4,k,z,Y,ze)||fn?Uc(hn,zt+8,it?n.call(it,a,o,p,M,k,z,Y,ze):n(a,o,p,M,k,z,Y,ze)):o0(hn,zt+8)},\u0275\u0275pureFunctionV:function w9(t,n,a,o){return w5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o)},\u0275\u0275getCurrentView:Q_,\u0275\u0275restoreView:h.eBV,\u0275\u0275listener:yf,\u0275\u0275projection:E6,\u0275\u0275syntheticHostProperty:function $_(t,n,a){const o=(0,h.OAn)();if(cr(o,(0,h.xbp)(),n)){const M=(0,h.klJ)(),k=(0,h.CpD)();F2(k,o,t,n,Tu((0,h.MT)(M.data),k,o),a)}return $_},\u0275\u0275syntheticHostListener:function b8(t,n){const a=(0,h.Mx4)(),o=(0,h.OAn)(),p=(0,h.klJ)();return x6(p,o,Tu((0,h.MT)(p.data),a,o),a,t,n),b8},\u0275\u0275pipeBind1:I5,\u0275\u0275pipeBind2:K6,\u0275\u0275pipeBind3:k5,\u0275\u0275pipeBind4:function L9(t,n,a,o,p,M){const k=t+h.Yw1,z=(0,h.OAn)(),Y=(0,h.Hh6)(z,k);return Vh(z,k)?X6(z,(0,h.gxQ)(),n,Y.transform,a,o,p,M,Y):Y.transform(a,o,p,M)},\u0275\u0275pipeBindV:function O5(t,n,a){const o=t+h.Yw1,p=(0,h.OAn)(),M=(0,h.Hh6)(p,o);return Vh(p,o)?w5(p,(0,h.gxQ)(),n,M.transform,a,M):M.transform.apply(M,a)},\u0275\u0275projectionDef:E8,\u0275\u0275domProperty:mf,\u0275\u0275ariaProperty:Kp,\u0275\u0275property:lf,\u0275\u0275pipe:A5,\u0275\u0275queryRefresh:S8,\u0275\u0275queryAdvance:w8,\u0275\u0275viewQuery:M8,\u0275\u0275viewQuerySignal:Cf,\u0275\u0275loadQuery:T8,\u0275\u0275contentQuery:M6,\u0275\u0275contentQuerySignal:D8,\u0275\u0275reference:A8,\u0275\u0275classMap:B8,\u0275\u0275styleMap:function N8(t){U8(O6,s9,t,!1)},\u0275\u0275styleProp:I6,\u0275\u0275classProp:Ph,\u0275\u0275advance:t1,\u0275\u0275template:ph,\u0275\u0275conditional:V_,\u0275\u0275conditionalCreate:z_,\u0275\u0275conditionalBranchCreate:rf,\u0275\u0275defer:function E_(t,n,a,o,p,M,k,z,Y,ze){const it=(0,h.OAn)(),zt=(0,h.klJ)(),hn=t+h.Yw1,fn=Kd(it,zt,t,null,0,0),qn=it[h.YEL],Si=oa(qn);if(zt.firstCreatePass){Yr("NgDefer");const rd={primaryTmplIndex:n,loadingTmplIndex:o??null,placeholderTmplIndex:p??null,errorTmplIndex:M??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:a??null,loadingState:Ur.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:ze??0};Y?.(zt,rd,z,k),function Lp(t,n,a){const o=y0(n);t.data[o]=a}(zt,hn,rd)}const Xi=it[hn];let na=null,Di=null;if(Xi[h.qFA]?.length>0){const rd=Xi[h.qFA][0].data;Di=rd.di??null,na=rd.s}const gs=[null,_0.Initial,null,null,null,null,Di,na,null,null];!function Kg(t,n,a){t[y0(n)]=a}(it,hn,gs);let Jo=null;null!==Di&&Si&&(Jo=qn.get(wo),Jo.add(Di,{lView:it,tNode:fn,lContainer:Xi}));const xr=()=>{Xm(gs),null!==Di&&Jo?.cleanup([Di])};f4(0,gs,()=>(0,h.DyX)(it,xr)),(0,h.ik5)(it,xr)},\u0275\u0275deferWhen:function M_(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if($r(0,n,a)&&cr(n,(0,h.xbp)(),t)){const p=(0,jt.Ht)(null);try{const M=!!t,z=Bl(n,a)[1];!1===M&&z===_0.Initial?Xn(n,a):!0===M&&(z===_0.Initial||z===Is.Placeholder)&&sd(0,n,a)}finally{(0,jt.Ht)(p)}}},\u0275\u0275deferOnIdle:function N7(){$r(0,(0,h.OAn)(),(0,h.Mx4)())&&Jm(p4)},\u0275\u0275deferOnImmediate:function S_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(0,t,n)&&(null===yo(t[h.eDl],n).loadingTmplIndex&&Xn(t,n),sd(0,t,n))},\u0275\u0275deferOnTimer:function U7(t){$r(0,(0,h.OAn)(),(0,h.Mx4)())&&Jm(c(t))},\u0275\u0275deferOnHover:function w_(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,Gi,()=>sd(0,a,o),0))},\u0275\u0275deferOnInteraction:function Sh(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,ai,()=>sd(0,a,o),0))},\u0275\u0275deferOnViewport:function K7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,bh,()=>sd(0,a,o),0))},\u0275\u0275deferPrefetchWhen:function R7(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if($r(1,n,a)&&cr(n,(0,h.xbp)(),t)){const p=(0,jt.Ht)(null);try{const M=!!t,z=yo(n[h.eDl],a);!0===M&&z.loadingState===Ur.NOT_STARTED&&Mh(z,n,a)}finally{(0,jt.Ht)(p)}}},\u0275\u0275deferPrefetchOnIdle:function B7(){$r(1,(0,h.OAn)(),(0,h.Mx4)())&&Up(p4)},\u0275\u0275deferPrefetchOnImmediate:function T_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();if(!$r(1,t,n))return;const o=yo(t[h.eDl],n);o.loadingState===Ur.NOT_STARTED&&Gp(o,t,n)},\u0275\u0275deferPrefetchOnTimer:function D_(t){$r(1,(0,h.OAn)(),(0,h.Mx4)())&&Up(c(t))},\u0275\u0275deferPrefetchOnHover:function j7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,Gi,()=>Mh(M,a,o),1)},\u0275\u0275deferPrefetchOnInteraction:function W7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,ai,()=>Mh(M,a,o),1)},\u0275\u0275deferPrefetchOnViewport:function A_(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,bh,()=>Mh(M,a,o),1)},\u0275\u0275deferHydrateWhen:function P7(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if(!$r(2,n,a))return;const o=(0,h.xbp)();if(Qd((0,h.klJ)(),a).set(6,null),cr(n,o,t)){const k=n[h.YEL],z=(0,jt.Ht)(null);try{1==!!t&&x0(k,Bl(n,a)[6])}finally{(0,jt.Ht)(z)}}},\u0275\u0275deferHydrateNever:function F7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(7,null)},\u0275\u0275deferHydrateOnIdle:function z7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&(Qd((0,h.klJ)(),n).set(0,null),g_(p4,t,n))},\u0275\u0275deferHydrateOnImmediate:function V7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&(Qd((0,h.klJ)(),n).set(1,null),x0(t[h.YEL],Bl(t,n)[6]))},\u0275\u0275deferHydrateOnTimer:function G7(t){const n=(0,h.OAn)(),a=(0,h.Mx4)();$r(2,n,a)&&(Qd((0,h.klJ)(),a).set(5,{delay:t}),g_(c(t),n,a))},\u0275\u0275deferHydrateOnHover:function H7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function X7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(3,null)},\u0275\u0275deferHydrateOnViewport:function L_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function ea(t,n,a,o){const p=t.consts;null!=a&&(n.placeholderBlockConfig=(0,h.db4)(p,a)),null!=o&&(n.loadingBlockConfig=(0,h.db4)(p,o)),null===pa&&(pa=_i)},\u0275\u0275repeater:W_,\u0275\u0275repeaterCreate:j_,\u0275\u0275repeaterTrackByIndex:function lv(t){return t},\u0275\u0275repeaterTrackByIdentity:G_,\u0275\u0275componentInstance:function sv(){return(0,h.OAn)()[h.b5C][h.SKP]},\u0275\u0275text:Nh,\u0275\u0275textInterpolate:F6,\u0275\u0275textInterpolate1:Bh,\u0275\u0275textInterpolate2:N6,\u0275\u0275textInterpolate3:B6,\u0275\u0275textInterpolate4:Ef,\u0275\u0275textInterpolate5:function n5(t,n,a,o,p,M,k,z,Y,ze,it){const zt=(0,h.OAn)(),hn=J8(zt,t,n,a,o,p,M,k,z,Y,ze,it);return hn!==qa&&g1(zt,(0,h._px)(),hn),n5},\u0275\u0275textInterpolate6:function i5(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn){const fn=(0,h.OAn)(),qn=q8(fn,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn);return qn!==qa&&g1(fn,(0,h._px)(),qn),i5},\u0275\u0275textInterpolate7:function a5(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn){const Si=(0,h.OAn)(),Xi=e5(Si,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn);return Xi!==qa&&g1(Si,(0,h._px)(),Xi),a5},\u0275\u0275textInterpolate8:function z6(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi){const na=(0,h.OAn)(),Di=t5(na,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi);return Di!==qa&&g1(na,(0,h._px)(),Di),z6},\u0275\u0275textInterpolateV:function s5(t){const n=(0,h.OAn)(),a=R6(n,t);return a!==qa&&g1(n,(0,h._px)(),a),s5},\u0275\u0275i18n:function C6(t,n,a){g8(t,n,a),_8()},\u0275\u0275i18nAttributes:function Kv(t,n){const a=(0,h.klJ)(),o=(0,h.db4)(a.consts,n);!function Rv(t,n,a){const o=(0,h.Mx4)(),p=o.index,M=[];if(t.firstCreatePass&&null===t.data[n]){for(let k=0;k0){const o=t.data[a];h6(t,n,Array.isArray(o)?o:o.update,(0,h.c$7)()-x4-1,kh)}kh=0,x4=0}((0,h.klJ)(),(0,h.OAn)(),t+h.Yw1)},\u0275\u0275i18nPostprocess:function Yv(t,n={}){return function p8(t,n={}){let a=t;if(m8.test(t)){const o={},p=[0];a=a.replace(Gv,(M,k,z)=>{const Y=k||z,ze=o[Y]||[];if(ze.length||(Y.split("|").forEach(Si=>{const Xi=Si.match(Xv),na=Xi?parseInt(Xi[1],10):0,Di=Wv.test(Si);ze.push([na,Di,Si])}),o[Y]=ze),!ze.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Y}`);const it=p[p.length-1];let zt=0;for(let Si=0;Sin.hasOwnProperty(M)?`${p}${n[M]}${Y}`:o),a=a.replace(f8,(o,p)=>n.hasOwnProperty(p)?n[p]:o),a=a.replace(Hv,(o,p)=>{if(n.hasOwnProperty(p)){const M=n[p];if(!M.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${p}`);return M.shift()}return o})),a}(t,n)},\u0275\u0275resolveWindow:K0,\u0275\u0275resolveDocument:function N4(t){return t.ownerDocument},\u0275\u0275resolveBody:function _d(t){return t.ownerDocument.body},\u0275\u0275setComponentScope:function M9(t,n,a){const o=t.\u0275cmp;o.directiveDefs=d4(n,gp),o.pipeDefs=d4(a,h.oyA)},\u0275\u0275setNgModuleScope:function v5(t,n){return Pt(()=>{const a=(0,h.WbQ)(t);a.declarations=Sf(n.declarations||h.Mlv),a.imports=Sf(n.imports||h.Mlv),a.exports=Sf(n.exports||h.Mlv),n.bootstrap&&(a.bootstrap=Sf(n.bootstrap)),vo.registerNgModule(t,n)})},\u0275\u0275registerNgModuleType:dh,\u0275\u0275getComponentDepsFactory:function I9(t,n){return()=>{try{return vo.getComponentDependencies(t,n).dependencies}catch(a){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,a),a}}},\u0275setClassDebugInfo:function k9(t,n){const a=(0,h.xUg)(t);null!==a&&(a.debugInfo=n)},\u0275\u0275declareLet:function l5(t){const n=(0,h.klJ)(),a=(0,h.OAn)(),o=t+h.Yw1,p=Tc(n,o,128,null,null);return(0,h.iMd)(p,!1),(0,h.M_e)(n,a,o,o5),l5},\u0275\u0275storeLet:function c5(t){Yr("NgLet");const n=(0,h.klJ)(),a=(0,h.OAn)(),o=(0,h._px)();return(0,h.M_e)(n,a,o,t),t},\u0275\u0275readContextLet:function f9(t){const n=(0,h.VPL)(),a=(0,h.Hh6)(n,h.Yw1+t);if(a===o5)throw new h.buA(314,!1);return a},\u0275\u0275attachSourceLocations:function p9(t,n){const a=(0,h.klJ)(),o=(0,h.OAn)(),p=o[h.GpT],M="data-ng-source-location";for(const[k,z,Y,ze]of n){(0,h.XRZ)(a,k+h.Yw1);const zt=(0,h.vaC)(k+h.Yw1,o);zt.hasAttribute(M)||p.setAttribute(zt,M,`${t}@o:${z},l:${Y},c:${ze}`)}},\u0275\u0275interpolate:d5,\u0275\u0275interpolate1:u5,\u0275\u0275interpolate2:h5,\u0275\u0275interpolate3:function m5(t,n,a,o,p,M,k=""){return Z8((0,h.OAn)(),t,n,a,o,p,M,k)},\u0275\u0275interpolate4:function g9(t,n,a,o,p,M,k,z,Y=""){return P6((0,h.OAn)(),t,n,a,o,p,M,k,z,Y)},\u0275\u0275interpolate5:function _9(t,n,a,o,p,M,k,z,Y,ze,it=""){return J8((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it)},\u0275\u0275interpolate6:function v9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn=""){return q8((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn)},\u0275\u0275interpolate7:function y9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn=""){return e5((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn)},\u0275\u0275interpolate8:function b9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi=""){return t5((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi)},\u0275\u0275interpolateV:function f5(t){return R6((0,h.OAn)(),t)},\u0275\u0275sanitizeHtml:pd,\u0275\u0275sanitizeStyle:u2,\u0275\u0275sanitizeResourceUrl:h2,\u0275\u0275sanitizeScript:m2,\u0275\u0275validateAttribute:f2,\u0275\u0275sanitizeUrl:z0,\u0275\u0275sanitizeUrlOrResourceUrl:G0,\u0275\u0275trustConstantHtml:function L4(t){return Yl(t[0])},\u0275\u0275trustConstantResourceUrl:function V0(t){return function i2(t){return Yo()?.createScriptURL(t)||t}(t[0])},forwardRef:h.Rfq,resolveForwardRef:h.nl4,\u0275\u0275twoWayProperty:V6,\u0275\u0275twoWayBindingSet:r5,\u0275\u0275twoWayListener:Mf,\u0275\u0275replaceMetadata:function R9(t,n,a,o,p=null,M=null){const k=(0,h.xUg)(t);n.apply(null,[t,a,...o]);const{newDef:z,oldDef:Y}=function P9(t,n){const a={...t};return{newDef:Object.assign(t,n,{directiveDefs:a.directiveDefs,pipeDefs:a.pipeDefs,setInput:a.setInput,type:a.type}),oldDef:a}}(k,(0,h.xUg)(t));if(t[h.CQl]=z,Y.tView){const ze=function vr(){return is}().values();for(const it of ze)(0,h.EFk)(it)&&null===it[h.f7T]&&Df(p,M,z,Y,it)}},\u0275\u0275getReplaceMetadataURL:function O9(t,n,a){const o=`./@ng/component?c=${t}&t=${encodeURIComponent(n)}`;return new URL(o,a).href}};let e2=null;function z9(t){null!==e2&&(t.defaultEncapsulation!==e2.defaultEncapsulation||t.preserveWhitespaces!==e2.preserveWhitespaces)||(e2=t)}const Uh=[];function Lf(t){return X1(t)?t.ngModule:t}const iy=Ni("NgModule",t=>t,void 0,0,(t,n)=>function j9(t,n={}){(function H9(t,n){const o=(0,h.Bqz)(n.declarations||h.Mlv);let p=null;Object.defineProperty(t,h.hmW,{configurable:!0,get:()=>(null===p&&(p=N().compileNgModule(qd,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:(0,h.Bqz)(n.bootstrap||h.Mlv).map(h.nl4),declarations:o.map(h.nl4),imports:(0,h.Bqz)(n.imports||h.Mlv).map(h.nl4).map(Lf),exports:(0,h.Bqz)(n.exports||h.Mlv).map(h.nl4).map(Lf),schemas:n.schemas?(0,h.Bqz)(n.schemas):null,id:n.id||null}),p.schemas||(p.schemas=[])),p)});let M=null;Object.defineProperty(t,h.zSs,{get:()=>{if(null===M){const z=N();M=z.compileFactory(qd,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:Ga(t),target:z.FactoryTarget.NgModule,typeArgumentCount:0})}return M},configurable:!1});let k=null;Object.defineProperty(t,h.ONQ,{get:()=>{if(null===k){const z={name:t.name,type:t,providers:n.providers||h.Mlv,imports:[(n.imports||h.Mlv).map(h.nl4),(n.exports||h.Mlv).map(h.nl4)]};k=N().compileInjector(qd,`ng:///${t.name}/\u0275inj.js`,z)}return k},configurable:!1})})(t,n),void 0!==n.id&&dh(t,n.id),function G9(t,n){Uh.push({moduleType:t,ngModule:n})}(t,n)}(t,n));class $5{ngModuleFactory;componentFactories;constructor(n,a){this.ngModuleFactory=n,this.componentFactories=a}}let ay=(()=>{class t{compileModuleSync(a){return new mp(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const o=this.compileModuleSync(a),M=Ql((0,h.phH)(a).declarations).reduce((k,z)=>{const Y=(0,h.xUg)(z);return Y&&k.push(new c0(Y)),k},[]);return new $5(o,M)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const sy=new h.nKC("");let ry=(()=>{class t{zone=(0,h.WQX)(ms);changeDetectionScheduler=(0,h.WQX)(h.hk6);applicationRef=(0,h.WQX)(Zm);applicationErrorHandler=(0,h.WQX)(h.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(a){this.applicationErrorHandler(a)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const kf=new h.nKC("",{factory:()=>!1});function Z5({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:a}){return t??=()=>new ms({...tg(),scheduleInRootZone:a}),[{provide:ms,useFactory:t},{provide:h.Z63,multi:!0,useFactory:()=>{const o=(0,h.WQX)(ry,{optional:!0});return()=>o.initialize()}},{provide:h.Z63,multi:!0,useFactory:()=>{const o=(0,h.WQX)(ly);return()=>{o.initialize()}}},!0===n?{provide:h.Jy$,useValue:!0}:[],{provide:h.AQb,useValue:a??n1},{provide:h.ZTf,useFactory:()=>{const o=(0,h.WQX)(ms),p=(0,h.WQX)(h.uvJ);let M;return k=>{o.runOutsideAngular(()=>{p.destroyed&&!M?setTimeout(()=>{throw k}):(M??=p.get(h.zcH),M.handleError(k))})}}}]}function tg(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let ly=(()=>{class t{subscription=new wt.yU;initialized=!1;zone=(0,h.WQX)(ms);pendingTasks=(0,h.WQX)(h.rev);initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ms.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ms.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ag=(()=>{class t{applicationErrorHandler=(0,h.WQX)(h.ZTf);appRef=(0,h.WQX)(Zm);taskService=(0,h.WQX)(h.rev);ngZone=(0,h.WQX)(ms);zonelessEnabled=(0,h.WQX)(h.Evm);tracing=(0,h.WQX)(rc,{optional:!0});disableScheduling=(0,h.WQX)(h.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new wt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xd):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,h.WQX)(h.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sc||!this.zoneIsDefined)}notify(a){if(!this.zonelessEnabled&&5===a)return;let o=!1;switch(a){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,o=!0;break;case 12:this.appRef.dirtyFlags|=16,o=!0;break;case 11:o=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(o))return;const p=this.useMicrotaskScheduler?C2:k1;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){this.taskService.remove(a),this.applicationErrorHandler(o)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,C2(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const q5=new h.nKC("",{providedIn:"root",factory:()=>(0,h.WQX)(q5,{optional:!0,skipSelf:!0})||function cy(){return typeof $localize<"u"&&$localize.locale||u6}()}),dy=new h.nKC("",{providedIn:"root",factory:()=>"USD"})},9295(Zt,pe,l){"use strict";l.d(pe,{Zf:()=>Ce,EW:()=>W,QZ:()=>re,O8:()=>j}),l(467);var d=l(2615),v=l(8440);const u={...v.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class Ce{destroyed=!1;listeners=null;errorHandler=(0,d.WQX)(d.zcH,{optional:!0});destroyRef=(0,d.WQX)(d.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe($){if(this.destroyed)throw new d.buA(953,!1);return(this.listeners??=[]).push($),{unsubscribe:()=>{const Ke=this.listeners?.indexOf($);void 0!==Ke&&-1!==Ke&&this.listeners?.splice(Ke,1)}}}emit($){if(this.destroyed)return void console.warn((0,d.OsK)(953,!1));if(null===this.listeners)return;const Ke=(0,v.Ht)(null);try{for(const Vt of this.listeners)try{Vt($)}catch(St){this.errorHandler?.handleError(St)}}finally{(0,v.Ht)(Ke)}}}function j(H){return function f(H){const $=(0,v.Ht)(null);try{return H()}finally{(0,v.Ht)($)}}(H)}function W(H,$){return(0,v.KZ)(H,$?.equal)}class G{[v.bh];constructor($){this[v.bh]=$}destroy(){this[v.bh].destroy()}}function re(H,$){const Ke=$?.injector??(0,d.WQX)(d.zZn);let St,Vt=!0!==$?.manualCleanup?Ke.get(d.abz):null;const ot=Ke.get(d.r4V,null,{optional:!0}),nt=Ke.get(d.hk6);return null!==ot?(St=function ce(H,$,Ke){const Vt=Object.create(V);return Vt.view=H,Vt.zone=typeof Zone<"u"?Zone.current:null,Vt.notifier=$,Vt.fn=ne(Vt,Ke),H[d.tQN]??=new Set,H[d.tQN].add(Vt),Vt.consumerMarkedDirty(Vt),Vt}(ot.view,nt,H),Vt instanceof d.KXn&&Vt._lView===ot.view&&(Vt=null)):St=function be(H,$,Ke){const Vt=Object.create(Ee);return Vt.fn=ne(Vt,H),Vt.scheduler=$,Vt.notifier=Ke,Vt.zone=typeof Zone<"u"?Zone.current:null,Vt.scheduler.add(Vt),Vt.notifier.notify(12),Vt}(H,Ke.get(d.VML),nt),St.injector=Ke,null!==Vt&&(St.onDestroyFn=Vt.onDestroy(()=>St.destroy())),new G(St)}const xe={...u,cleanupFns:void 0,zone:null,onDestroyFn:d.lQ1,run(){const H=(0,d.cBl)(!1);try{!function L(H){if(H.dirty=!1,H.version>0&&!(0,v.si)(H))return;H.version++;const $=(0,v.Bg)(H);try{H.cleanup(),H.fn()}finally{(0,v.Wu)(H,$)}}(this)}finally{(0,d.cBl)(H)}},cleanup(){if(!this.cleanupFns?.length)return;const H=(0,v.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,v.Ht)(H)}}},Ee={...xe,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,v.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},V={...xe,consumerMarkedDirty(){this.view[d.Wg1]|=8192,(0,d.blu)(this.view),this.notifier.notify(13)},destroy(){(0,v.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[d.tQN]?.delete(this)}};function ne(H,$){return()=>{$(Ke=>(H.cleanupFns??=[]).push(Ke))}}Error,Error},2615(Zt,pe,l){"use strict";let i;function d(){return i}function v(K){const Ie=i;return i=K,Ie}l.d(pe,{JEi:()=>er,Isx:()=>Xs,EJG:()=>_r,Yrj:()=>rs,VVG:()=>Zr,Y20:()=>Hr,SKP:()=>qo,hk6:()=>gc,eVN:()=>Wr,b5C:()=>is,rQE:()=>Hs,X5O:()=>ls,qFA:()=>Za,qQL:()=>sa,abz:()=>va,tQN:()=>Pa,pcR:()=>qs,oMQ:()=>xs,Mlv:()=>Wn,MZA:()=>En,M0L:()=>Co,Z63:()=>ri,VML:()=>Oa,uvJ:()=>Ki,zcH:()=>Ls,Wg1:()=>Ka,Yw1:()=>wa,jgP:()=>jr,tcA:()=>Vo,ID:()=>Ui,YEL:()=>Jr,B9r:()=>Hn,GBX:()=>U,ZTf:()=>gi,nKC:()=>Qn,zZn:()=>$i,rJ1:()=>nr,nfM:()=>Fs,s6P:()=>Or,K29:()=>kr,CQl:()=>ke,p9y:()=>Me,zSs:()=>Z,ONQ:()=>Sn,hmW:()=>N,yAH:()=>Ft,KXn:()=>oa,oTH:()=>Pi,Czx:()=>vr,f7T:()=>Ps,wVl:()=>Ws,GYQ:()=>nc,u5s:()=>Ha,rev:()=>lo,Ds7:()=>Mr,e5P:()=>_a,Iaj:()=>yr,GpT:()=>Js,buA:()=>le,AQb:()=>ic,jNX:()=>ds,eDl:()=>Er,qlT:()=>js,bm_:()=>Rr,RxE:()=>C,r4V:()=>Kc,ok8:()=>Pe,Evm:()=>Yc,Jy$:()=>v1,laP:()=>j,EYC:()=>Mn,ng7:()=>ci,llW:()=>ia,gsJ:()=>Bn,GZS:()=>Ei,iYM:()=>$,PEr:()=>Ss,z7f:()=>Vt,LZP:()=>St,Xln:()=>Dt,yzR:()=>el,TWe:()=>Ml,LIA:()=>he,GWr:()=>F,pbo:()=>ve,bBq:()=>cs,Af3:()=>Zs,zQk:()=>tr,oZy:()=>Eo,tF7:()=>ot,ZFY:()=>we,cP4:()=>qr,MdC:()=>Ms,XvL:()=>ie,KET:()=>xa,Tkx:()=>zl,iw4:()=>lt,tdH:()=>Xl,pr_:()=>ht,IAh:()=>te,U45:()=>Re,WrV:()=>Xe,kNT:()=>nt,MI:()=>pl,biv:()=>Sl,ZQF:()=>Le,Cv0:()=>_e,W0r:()=>Ln,R2n:()=>mn,O8q:()=>On,VKj:()=>kt,Rom:()=>$e,z6V:()=>Un,n$e:()=>V,hjC:()=>It,Pz9:()=>wi,PQT:()=>se,VX4:()=>We,_Z$:()=>Je,N79:()=>Ul,xLP:()=>In,zuh:()=>vt,BI7:()=>Ri,U7d:()=>Ni,uXy:()=>kn,nZS:()=>vi,ihb:()=>vl,ID8:()=>al,gv8:()=>Nr,dwj:()=>xe,Bqz:()=>rn,OsK:()=>Ae,Rfq:()=>ne,c$7:()=>Il,gxQ:()=>oo,ckz:()=>Do,kLh:()=>re,xUg:()=>en,KdJ:()=>Vl,db4:()=>eo,VPL:()=>La,MT:()=>wo,Z9v:()=>pc,Ab:()=>Kt,w7Z:()=>od,Mx4:()=>et,veI:()=>Mt,HaV:()=>oi,Agf:()=>vn,znI:()=>so,wGu:()=>Fn,ebl:()=>cn,OAn:()=>X,_0$:()=>Al,UaU:()=>ct,vaC:()=>Go,d31:()=>gl,ZRn:()=>Tr,phH:()=>da,WbQ:()=>Ta,WB9:()=>Nn,d_l:()=>io,vNG:()=>Ys,oyA:()=>bn,_px:()=>Io,CpD:()=>Wl,XRZ:()=>jo,klJ:()=>de,Fje:()=>tl,b$O:()=>kl,SMZ:()=>G,WQX:()=>zi,MzJ:()=>At,jXY:()=>Fe,MME:()=>ni,JlV:()=>mt,Qs1:()=>He,srX:()=>Ne,vOT:()=>za,YWB:()=>ai,EPY:()=>Es,yoD:()=>q,P3H:()=>Ns,Jzi:()=>De,rFz:()=>as,JjR:()=>Xc,M6u:()=>bo,KtD:()=>Jl,muV:()=>gt,A0l:()=>Sr,q$2:()=>Ks,yP_:()=>ar,EFk:()=>ln,Hps:()=>Oo,UhH:()=>Ll,QuC:()=>Kn,Y3W:()=>nn,n$r:()=>tc,K7h:()=>fa,FRF:()=>ha,ezK:()=>ra,m7n:()=>$n,niQ:()=>jl,krE:()=>nl,bll:()=>Hl,Hh6:()=>mo,EmA:()=>yi,blu:()=>to,HAh:()=>fo,WfI:()=>ii,xbp:()=>ec,jvu:()=>Rl,lQ1:()=>Ti,BCV:()=>Wi,Rc9:()=>Ga,E6O:()=>Vn,DyX:()=>no,eFE:()=>qe,dMS:()=>Ho,HUe:()=>So,nl4:()=>J,N4e:()=>gr,XaM:()=>ee,Kw3:()=>mc,vQI:()=>fc,RZ9:()=>Fr,GA0:()=>Ao,iMd:()=>Tn,Pfq:()=>Gi,xyx:()=>po,a2B:()=>Tt,kcM:()=>gn,DFp:()=>Ue,P2g:()=>il,cBl:()=>ro,ypq:()=>ko,vPA:()=>yl,HO5:()=>Xr,M_e:()=>Tl,B22:()=>Dr,ik5:()=>wl,AsM:()=>Ee,PP7:()=>pn,$8:()=>Ke,$Hz:()=>on,zAe:()=>Uo,IvY:()=>mi,_gW:()=>_l,F1c:()=>us,ITl:()=>Dl,brz:()=>Ve,jRZ:()=>To,SX7:()=>Pn,jDH:()=>oe,G2t:()=>fe,fuf:()=>Wo,cSN:()=>ir,KVO:()=>bi,dmw:()=>Qi,joV:()=>yt,By9:()=>Ts,qSk:()=>sr,Njj:()=>me,eBV:()=>Q});const w=Symbol("NotFound");function O(K){return K===w||"\u0275NotFound"===K?.name}Error;var f=l(8440),u=l(4412),L=l(1985);class C{full;major;minor;patch;constructor(Ie){this.full=Ie;const Ut=Ie.split(".");this.major=Ut[0],this.minor=Ut[1],this.patch=Ut.slice(2).join(".")}}const Pe="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class le extends Error{code;constructor(Ie,Ut){super(Ae(Ie,Ut)),this.code=Ie}}function Ae(K,Ie){return`${function Ce(K){return`NG0${Math.abs(K)}`}(K)}${Ie?": "+Ie:""}`}const j=globalThis;function G(){return!1}function re(K){for(let Ie in K)if(K[Ie]===re)return Ie;throw Error("")}function xe(K,Ie){for(const Ut in Ie)Ie.hasOwnProperty(Ut)&&!K.hasOwnProperty(Ut)&&(K[Ut]=Ie[Ut])}function Ee(K){if("string"==typeof K)return K;if(Array.isArray(K))return`[${K.map(Ee).join(", ")}]`;if(null==K)return""+K;const Ie=K.overriddenName||K.name;if(Ie)return`${Ie}`;const Ut=K.toString();if(null==Ut)return""+Ut;const Gn=Ut.indexOf("\n");return Gn>=0?Ut.slice(0,Gn):Ut}function V(K,Ie){return K?Ie?`${K} ${Ie}`:K:Ie||""}const be=re({__forward_ref__:re});function ne(K){return K.__forward_ref__=ne,K.toString=function(){return Ee(this())},K}function J(K){return De(K)?K():K}function De(K){return"function"==typeof K&&K.hasOwnProperty(be)&&K.__forward_ref__===ne}function Re(K,Ie){"number"!=typeof K&&Ke(Ie,typeof K,"number","===")}function Xe(K,Ie,Ut){Re(K,"Expected a number"),function P(K,Ie,Ut){K<=Ie||Ke(Ut,K,Ie,"<=")}(K,Ut,"Expected number to be less than or equal to"),ve(K,Ie,"Expected number to be greater than or equal to")}function _e(K,Ie){"string"!=typeof K&&Ke(Ie,null===K?"null":typeof K,"string","===")}function he(K,Ie){"function"!=typeof K&&Ke(Ie,null===K?"null":typeof K,"function","===")}function Dt(K,Ie,Ut){K!=Ie&&Ke(Ut,K,Ie,"==")}function lt(K,Ie,Ut){K==Ie&&Ke(Ut,K,Ie,"!=")}function Le(K,Ie,Ut){K!==Ie&&Ke(Ut,K,Ie,"===")}function te(K,Ie,Ut){K===Ie&&Ke(Ut,K,Ie,"!==")}function ie(K,Ie,Ut){KIe||Ke(Ut,K,Ie,">")}function ve(K,Ie,Ut){K>=Ie||Ke(Ut,K,Ie,">=")}function $(K,Ie){null==K&&Ke(Ie,K,null,"!=")}function Ke(K,Ie,Ut,Gn){throw new Error(`ASSERTION ERROR: ${K}`+(null==Gn?"":` [Expected=> ${Ut} ${Gn} ${Ie} <=Actual]`))}function Vt(K){K instanceof Node||Ke(`The provided value must be an instance of a DOM Node but got ${Ee(K)}`)}function St(K){K instanceof Element||Ke(`The provided value must be an element but got ${Ee(K)}`)}function ot(K,Ie){$(K,"Array must be defined.");const Ut=K.length;(Ie<0||Ie>=Ut)&&Ke(`Index expected to be less than ${Ut} but got ${Ie}`)}function nt(K,...Ie){if(-1!==Ie.indexOf(K))return!0;Ke(`Expected value to be one of ${JSON.stringify(Ie)} but was ${JSON.stringify(K)}.`)}function ht(K){null!==(0,f.nR)()&&Ke(`${K}() should never be called in a reactive context.`)}function oe(K){return{token:K.token,providedIn:K.providedIn||null,factory:K.factory,value:void 0}}function fe(K){return{providers:K.providers||[],imports:K.imports||[]}}function Qe(K){return function Gt(K,Ie){return K.hasOwnProperty(Ie)&&K[Ie]||null}(K,Ft)}function gt(K){return null!==Qe(K)}function cn(K){return K&&K.hasOwnProperty(Sn)?K[Sn]:null}const Ft=re({\u0275prov:re}),Sn=re({\u0275inj:re});class Qn{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(Ie,Ut){this._desc=Ie,this.\u0275prov=void 0,"number"==typeof Ut?this.__NG_ELEMENT_ID__=Ut:void 0!==Ut&&(this.\u0275prov=oe({token:this,providedIn:Ut.providedIn||"root",factory:Ut.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let h;function jt(){return Ke("getInjectorProfilerContext should never be called in production mode"),h}function Ue(K){Ke("setInjectorProfilerContext should never be called in production mode");const Ie=h;return h=K,Ie}const wt=[],pt=()=>{};function gn(K){return Ke("setInjectorProfiler should never be called in production mode"),null!==K?(wt.includes(K)||wt.push(K),()=>function Pt(K){const Ie=wt.indexOf(K);-1!==Ie&&wt.splice(Ie,1)}(K)):(wt.length=0,pt)}function ei(K){Ke("Injector profiler should never be called in production mode");for(let Ie=0;Ie1&&(ui=` Path: ${Ut.join(" -> ")}.`);return Ae(Ie,`${K}${Gn?` Source: ${Gn}.`:""}${ui}`)}(K[Ge]||K.message,K[ut],K[Ot],Ie),K}(se(0,Ie),null)}function on(K,Ie){throw new le(-201,!1)}function dn(K,Ie,Ut){const Gn=new le(Ie,K);return Gn[ut]=Ie,Gn[Ge]=K,Ut&&(Gn[Ot]=Ut),Gn}let xi;function Yi(){return xi}function Tt(K){const Ie=xi;return xi=K,Ie}function At(K,Ie,Ut){const Gn=Qe(K);return Gn&&"root"==Gn.providedIn?void 0===Gn.value?Gn.value=Gn.factory():Gn.value:8&Ut?null:void 0!==Ie?Ie:void on()}function we(K){}const Lt={},Ht="__NG_DI_FLAG__";class _n{injector;constructor(Ie){this.injector=Ie}retrieve(Ie,Ut){const Gn=It(Ut)||0;try{return this.injector.get(Ie,8&Gn?null:Lt,Gn)}catch(ui){if(O(ui))return ui;throw ui}}}function fi(K,Ie=0){const Ut=d();if(void 0===Ut)throw new le(-203,!1);if(null===Ut)return At(K,void 0,Ie);{const Gn=function an(K){return{optional:!!(8&K),host:!!(1&K),self:!!(2&K),skipSelf:!!(4&K)}}(Ie),ui=Ut.retrieve(K,Gn);if(O(ui)){if(Gn.optional)return null;throw ui}return ui}}function bi(K,Ie=0){return(Yi()||fi)(J(K),Ie)}function Qi(K){throw new le(202,!1)}function zi(K,Ie){return bi(K,It(Ie))}function It(K){return typeof K>"u"||"number"==typeof K?K:0|(K.optional&&8)|(K.host&&1)|(K.self&&2)|(K.skipSelf&&4)}function Yt(K){const Ie=[];for(let Ut=0;UtArray.isArray(Ut)?In(Ut,Ie):Ie(Ut))}function Mn(K,Ie,Ut){Ie>=K.length?K.push(Ut):K.splice(Ie,0,Ut)}function Vn(K,Ie){return Ie>=K.length-1?K.pop():K.splice(Ie,1)[0]}function ii(K,Ie){const Ut=[];for(let Gn=0;GnIe;)K[ui]=K[ui-2],ui--;K[Ie]=Ut,K[Ie+1]=Gn}}function ra(K,Ie,Ut){let Gn=ha(K,Ie);return Gn>=0?K[1|Gn]=Ut:(Gn=~Gn,ia(K,Gn,Ie,Ut)),Gn}function fa(K,Ie){const Ut=ha(K,Ie);if(Ut>=0)return K[1|Ut]}function ha(K,Ie){return function qt(K,Ie,Ut){let Gn=0,ui=K.length>>Ut;for(;ui!==Gn;){const ki=Gn+(ui-Gn>>1),Wa=K[ki<Ie?ui=ki:Gn=ki+1}return~(ui<{Ut.push(Wa)};return In(Ie,Wa=>{const Bi=Wa;Ve(Bi,ki,[],Gn)&&(ui||=[],ui.push(Bi))}),void 0!==ui&&Wt(ui,ki),Ut}function Wt(K,Ie){for(let Ut=0;Ut{Ie(ki,Gn)})}}function Ve(K,Ie,Ut,Gn){if(!(K=J(K)))return!1;let ui=null,ki=cn(K);const Wa=!ki&&en(K);if(ki||Wa){if(Wa&&!Wa.standalone)return!1;ui=K}else{const Aa=K.ngModule;if(ki=cn(Aa),!ki)return!1;ui=Aa}const Bi=Gn.has(ui);if(Wa){if(Bi)return!1;if(Gn.add(ui),Wa.dependencies){const Aa="function"==typeof Wa.dependencies?Wa.dependencies():Wa.dependencies;for(const hi of Aa)Ve(hi,Ie,Ut,Gn)}}else{if(!ki)return!1;{if(null!=ki.imports&&!Bi){let hi;Gn.add(ui),In(ki.imports,es=>{Ve(es,Ie,Ut,Gn)&&(hi||=[],hi.push(es))}),void 0!==hi&&Wt(hi,Ie)}if(!Bi){const hi=Fn(ui)||(()=>new ui);Ie({provide:ui,useFactory:hi,deps:Wn},ui),Ie({provide:Hn,useValue:ui,multi:!0},ui),Ie({provide:ri,useValue:()=>bi(ui),multi:!0},ui)}const Aa=ki.providers;if(null!=Aa&&!Bi){const hi=K;Jt(Aa,es=>{Ie(es,hi)})}}}return ui!==K&&void 0!==K.providers}function Jt(K,Ie){for(let Ut of K)ye(Ut)&&(Ut=Ut.\u0275providers),Array.isArray(Ut)?Jt(Ut,Ie):Ie(Ut)}const ti=re({provide:String,useValue:re});function di(K){return null!==K&&"object"==typeof K&&ti in K}function nn(K){return"function"==typeof K}function ni(K){return!!K.useClass}const U=new Qn(""),tt={},Ze={};let Xt;function Nn(){return void 0===Xt&&(Xt=new Pi),Xt}class Ki{}class _a extends Ki{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(Ie,Ut,Gn,ui){super(),this.parent=Ut,this.source=Gn,this.scopes=ui,pr(Ie,Wa=>this.processProvider(Wa)),this.records.set(Rn,hr(void 0,this)),ui.has("environment")&&this.records.set(Ki,hr(void 0,this));const ki=this.records.get(U);null!=ki&&"string"==typeof ki.value&&this.scopes.add(ki.value),this.injectorDefTypes=new Set(this.get(Hn,Wn,{self:!0}))}retrieve(Ie,Ut){const Gn=It(Ut)||0;try{return this.get(Ie,Lt,Gn)}catch(ui){if(O(ui))return ui;throw ui}}destroy(){As(this),this._destroyed=!0;const Ie=(0,f.Ht)(null);try{for(const Gn of this._ngOnDestroyHooks)Gn.ngOnDestroy();const Ut=this._onDestroyHooks;this._onDestroyHooks=[];for(const Gn of Ut)Gn()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,f.Ht)(Ie)}}onDestroy(Ie){return As(this),this._onDestroyHooks.push(Ie),()=>this.removeOnDestroy(Ie)}runInContext(Ie){As(this);const Ut=v(this),Gn=Tt(void 0);try{return Ie()}finally{v(Ut),Tt(Gn)}}get(Ie,Ut=Lt,Gn){if(As(this),Ie.hasOwnProperty(at))return Ie[at](this);const ui=It(Gn),Wa=v(this),Bi=Tt(void 0);try{if(!(4&ui)){let hi=this.records.get(Ie);if(void 0===hi){const es=function zo(K){return"function"==typeof K||"object"==typeof K&&"InjectionToken"===K.ngMetadataName}(Ie)&&Qe(Ie);hi=es&&this.injectableDefInScope(es)?hr(Ua(Ie),tt):null,this.records.set(Ie,hi)}if(null!=hi)return this.hydrate(Ie,hi,ui)}return(2&ui?Nn():this.parent).get(Ie,Ut=8&ui&&Ut===Lt?null:Ut)}catch(Aa){const hi=function xn(K){return K[ut]}(Aa);throw-200===hi||-201===hi?new le(hi,null):Aa}finally{Tt(Bi),v(Wa)}}resolveInjectorInitializers(){const Ie=(0,f.Ht)(null),Ut=v(this),Gn=Tt(void 0);try{const ki=this.get(ri,Wn,{self:!0});for(const Wa of ki)Wa()}finally{v(Ut),Tt(Gn),(0,f.Ht)(Ie)}}toString(){const Ie=[],Ut=this.records;for(const Gn of Ut.keys())Ie.push(Ee(Gn));return`R3Injector[${Ie.join(", ")}]`}processProvider(Ie){let Ut=nn(Ie=J(Ie))?Ie:J(Ie&&Ie.provide);const Gn=function ns(K){return di(K)?hr(void 0,K.useValue):hr(Ga(K),tt)}(Ie);if(!nn(Ie)&&!0===Ie.multi){let ui=this.records.get(Ut);ui||(ui=hr(void 0,tt,!0),ui.factory=()=>Yt(ui.multi),this.records.set(Ut,ui)),Ut=Ie,ui.multi.push(Ie)}this.records.set(Ut,Gn)}hydrate(Ie,Ut,Gn){const ui=(0,f.Ht)(null);try{if(Ut.value===Ze)throw se(Ee(Ie));return Ut.value===tt&&(Ut.value=Ze,Ut.value=Ut.factory(void 0,Gn)),"object"==typeof Ut.value&&Ut.value&&function fr(K){return null!==K&&"object"==typeof K&&"function"==typeof K.ngOnDestroy}(Ut.value)&&this._ngOnDestroyHooks.add(Ut.value),Ut.value}finally{(0,f.Ht)(ui)}}injectableDefInScope(Ie){if(!Ie.providedIn)return!1;const Ut=J(Ie.providedIn);return"string"==typeof Ut?"any"===Ut||this.scopes.has(Ut):this.injectorDefTypes.has(Ut)}removeOnDestroy(Ie){const Ut=this._onDestroyHooks.indexOf(Ie);-1!==Ut&&this._onDestroyHooks.splice(Ut,1)}}function Ua(K){const Ie=Qe(K),Ut=null!==Ie?Ie.factory:Fn(K);if(null!==Ut)return Ut;if(K instanceof Qn)throw new le(204,!1);if(K instanceof Function)return function $a(K){if(K.length>0)throw new le(204,!1);const Ut=function rt(K){return(K?.[Ft]??null)||null}(K);return null!==Ut?()=>Ut.factory(K):()=>new K}(K);throw new le(204,!1)}function Ga(K,Ie,Ut){let Gn;if(nn(K)){const ui=J(K);return Fn(ui)||Ua(ui)}if(di(K))Gn=()=>J(K.useValue);else if(function ca(K){return!(!K||!K.useFactory)}(K))Gn=()=>K.useFactory(...Yt(K.deps||[]));else if(function Ii(K){return!(!K||!K.useExisting)}(K))Gn=(ui,ki)=>bi(J(K.useExisting),void 0!==ki&&8&ki?8:void 0);else{const ui=J(K&&(K.useClass||K.provide));if(!function mr(K){return!!K.deps}(K))return Fn(ui)||Ua(ui);Gn=()=>new ui(...Yt(K.deps))}return Gn}function As(K){if(K.destroyed)throw new le(205,!1)}function hr(K,Ie,Ut=!1){return{factory:K,value:Ie,multi:Ut?[]:void 0}}function pr(K,Ie){for(const Ut of K)Array.isArray(Ut)?pr(Ut,Ie):Ut&&ye(Ut)?pr(Ut.\u0275providers,Ie):Ie(Ut)}function gr(K,Ie){let Ut;K instanceof _a?(As(K),Ut=K):Ut=new _n(K);const ui=v(Ut),ki=Tt(void 0);try{return Ie()}finally{v(ui),Tt(ki)}}function bo(){return void 0!==Yi()||null!=d()}function Zs(K){if(!bo())throw new le(-203,!1)}const jr=0,Er=1,Ka=2,Ps=3,kr=4,js=5,Vo=6,Zr=7,qo=8,Jr=9,Co=10,Js=11,_r=12,rs=13,ls=14,is=15,Hs=16,Ws=17,Mr=18,Ui=19,xs=20,vr=21,qs=22,Pa=23,yr=24,er=25,Xs=26,wa=27,Za=6,Or=7,Rr=8,Fs=9,Hr=10;function Ks(K){return Array.isArray(K)&&"object"==typeof K[1]}function Sr(K){return Array.isArray(K)&&!0===K[1]}function Ne(K){return!!(4&K.flags)}function He(K){return K.componentOffset>-1}function q(K){return!(1&~K.flags)}function mt(K){return!!K.template}function ln(K){return!!(512&K[Ka])}function Es(K){return!(256&~K[Ka])}function kt(K,Ie){$e(K,Ie[Er])}function On(K,Ie){const Ut=Ie+wa;ot(K,Ut),ie(Ut,K[Er].bindingStartIndex,"TNodes should be created before any bindings")}function $e(K,Ie){mn(K);const Ut=Ie.data;for(let Gn=wa;Gn) must have projection slots defined.")}function pl(K,Ie){$(K,"Component views should always have a parent view (component's host view)")}function zl(K,Ie){Eo(K,Ie),Eo(K,Ie+8),Re(K[Ie+0],"injectorIndex should point to a bloom filter"),Re(K[Ie+1],"injectorIndex should point to a bloom filter"),Re(K[Ie+2],"injectorIndex should point to a bloom filter"),Re(K[Ie+3],"injectorIndex should point to a bloom filter"),Re(K[Ie+4],"injectorIndex should point to a bloom filter"),Re(K[Ie+5],"injectorIndex should point to a bloom filter"),Re(K[Ie+6],"injectorIndex should point to a bloom filter"),Re(K[Ie+7],"injectorIndex should point to a bloom filter"),Re(K[Ie+8],"injectorIndex should point to parent injector")}const ds="svg",nr="math";function mi(K){for(;Array.isArray(K);)K=K[jr];return K}function Uo(K){for(;Array.isArray(K);){if("object"==typeof K[1])return K;K=K[jr]}return null}function Go(K,Ie){return mi(Ie[K])}function gl(K,Ie){return mi(Ie[K.index])}function Tr(K,Ie){const Ut=null===K?-1:K.index;return-1!==Ut?mi(Ie[Ut]):null}function jo(K,Ie){return K.data[Ie]}function mo(K,Ie){return K[Ie]}function Tl(K,Ie,Ut,Gn){Ut>=K.data.length&&(K.data[Ut]=null,K.blueprint[Ut]=null),Ie[Ut]=Gn}function Vl(K,Ie){const Ut=Ie[K];return Ks(Ut)?Ut:Ut[jr]}function za(K){return!(4&~K[Ka])}function us(K){return!(128&~K[Ka])}function Dl(K){return Sr(K[Ps])}function eo(K,Ie){return null==Ie?null:K[Ie]}function So(K){K[Ws]=0}function fo(K){1024&K[Ka]||(K[Ka]|=1024,us(K)&&to(K))}function To(K,Ie){for(;K>0;)Ie=Ie[ls],K--;return Ie}function Ho(K){return!!(9216&K[Ka]||K[yr]?.dirty)}function _l(K){K[Co].changeDetectionScheduler?.notify(8),64&K[Ka]&&(K[Ka]|=1024),Ho(K)&&to(K)}function to(K){K[Co].changeDetectionScheduler?.notify(0);let Ie=Al(K);for(;null!==Ie&&!(8192&Ie[Ka])&&(Ie[Ka]|=8192,us(Ie));)Ie=Al(Ie)}function wl(K,Ie){if(Es(K))throw new le(911,!1);null===K[vr]&&(K[vr]=[]),K[vr].push(Ie)}function no(K,Ie){if(null===K[vr])return;const Ut=K[vr].indexOf(Ie);-1!==Ut&&K[vr].splice(Ut,1)}function Al(K){const Ie=K[Ps];return Sr(Ie)?Ie[Ps]:Ie}function io(K){return K[Zr]??=[]}function Ys(K){return K.cleanup??=[]}function Dr(K,Ie,Ut,Gn){const ui=io(Ie);ui.push(Ut),K.firstCreatePass&&Ys(K).push(Gn,ui.length-1)}const li={lFrame:Ol(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wr=function(K){return K[K.Off=0]="Off",K[K.Exhaustive=1]="Exhaustive",K[K.OnlyDirtyViews=2]="OnlyDirtyViews",K}(Wr||{});let ao=0,Pr=!1;function so(){return li.lFrame.elementDepthCount}function tl(){li.lFrame.elementDepthCount++}function Ul(){li.lFrame.elementDepthCount--}function Do(){return li.bindingsEnabled}function Jl(){return null!==li.skipHydrationRootTNode}function Ll(K){return li.skipHydrationRootTNode===K}function ir(){li.bindingsEnabled=!0}function Wo(){li.bindingsEnabled=!1}function nl(){li.skipHydrationRootTNode=null}function X(){return li.lFrame.lView}function de(){return li.lFrame.tView}function Q(K){return li.lFrame.contextLView=K,K[qo]}function me(K){return li.lFrame.contextLView=null,K}function et(){let K=Mt();for(;null!==K&&64===K.type;)K=K.parent;return K}function Mt(){return li.lFrame.currentTNode}function Kt(){const K=li.lFrame,Ie=K.currentTNode;return K.isParent?Ie:Ie.parent}function Tn(K,Ie){const Ut=li.lFrame;Ut.currentTNode=K,Ut.isParent=Ie}function ai(){return li.lFrame.isParent}function Gi(){li.lFrame.isParent=!1}function La(){return li.lFrame.contextLView}function as(){return Ke("Must never be called in production mode"),ao!==Wr.Off}function Ns(){return Ke("Must never be called in production mode"),ao===Wr.Exhaustive}function il(K){Ke("Must never be called in production mode"),ao=K}function ar(){return Pr}function ro(K){const Ie=Pr;return Pr=K,Ie}function oo(){const K=li.lFrame;let Ie=K.bindingRootIndex;return-1===Ie&&(Ie=K.bindingRootIndex=K.tView.bindingStartIndex),Ie}function Il(){return li.lFrame.bindingIndex}function mc(K){return li.lFrame.bindingIndex=K}function ec(){return li.lFrame.bindingIndex++}function kl(K){const Ie=li.lFrame,Ut=Ie.bindingIndex;return Ie.bindingIndex=Ie.bindingIndex+K,Ut}function Xc(){return li.lFrame.inI18n}function po(K){li.lFrame.inI18n=K}function fc(K,Ie){const Ut=li.lFrame;Ut.bindingIndex=Ut.bindingRootIndex=K,Fr(Ie)}function pc(){return li.lFrame.currentDirectiveIndex}function Fr(K){li.lFrame.currentDirectiveIndex=K}function wo(K){const Ie=li.lFrame.currentDirectiveIndex;return-1===Ie?null:K[Ie]}function od(){return li.lFrame.currentQueryIndex}function Ao(K){li.lFrame.currentQueryIndex=K}function Lc(K){const Ie=K[Er];return 2===Ie.type?Ie.declTNode:1===Ie.type?K[js]:null}function vl(K,Ie,Ut){if(4&Ut){let ui=Ie,ki=K;for(;!(ui=ui.parent,null!==ui||1&Ut||(ui=Lc(ki),null===ui||(ki=ki[ls],10&ui.type))););if(null===ui)return!1;Ie=ui,K=ki}const Gn=li.lFrame=Lo();return Gn.currentTNode=Ie,Gn.lView=K,!0}function al(K){const Ie=Lo(),Ut=K[Er];li.lFrame=Ie,Ie.currentTNode=Ut.firstChild,Ie.lView=K,Ie.tView=Ut,Ie.contextLView=K,Ie.bindingIndex=Ut.bindingStartIndex,Ie.inI18n=!1}function Lo(){const K=li.lFrame,Ie=null===K?null:K.child;return null===Ie?Ol(K):Ie}function Ol(K){const Ie={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:K,child:null,inI18n:!1};return null!==K&&(K.child=Ie),Ie}function Gl(){const K=li.lFrame;return li.lFrame=K.parent,K.currentTNode=null,K.lView=null,K}const jl=Gl;function Hl(){const K=Gl();K.isParent=!0,K.tView=null,K.selectedIndex=-1,K.contextLView=null,K.elementDepthCount=0,K.currentDirectiveIndex=-1,K.currentNamespace=null,K.bindingRootIndex=-1,K.bindingIndex=-1,K.currentQueryIndex=0}function Rl(K){return(li.lFrame.contextLView=To(K,li.lFrame.contextLView))[qo]}function Io(){return li.lFrame.selectedIndex}function ko(K){li.lFrame.selectedIndex=K}function Wl(){const K=li.lFrame;return jo(K.tView,K.selectedIndex)}function sr(){li.lFrame.currentNamespace=ds}function Ts(){li.lFrame.currentNamespace=nr}function yt(){!function je(){li.lFrame.currentNamespace=null}()}function ct(){return li.lFrame.currentNamespace}let Qt=!0;function Pn(){return Qt}function $n(K){Qt=K}function Ci(K,Ie=null,Ut=null,Gn){const ui=wi(K,Ie,Ut,Gn);return ui.resolveInjectorInitializers(),ui}function wi(K,Ie=null,Ut=null,Gn,ui=new Set){const ki=[Ut||Wn,Ca(K)];return Gn=Gn||("object"==typeof K?void 0:Ee(K)),new _a(ki,Ie||Nn(),Gn||null,ui)}class $i{static THROW_IF_NOT_FOUND=Lt;static NULL=new Pi;static create(Ie,Ut){if(Array.isArray(Ie))return Ci({name:""},Ut,Ie,"");{const Gn=Ie.name??"";return Ci({name:Gn},Ie.parent,Ie.providers,Gn)}}static \u0275prov=oe({token:$i,providedIn:"any",factory:()=>bi(Rn)});static __NG_ELEMENT_ID__=-1}const sa=new Qn("");let va=(()=>class K{static __NG_ELEMENT_ID__=hs;static __NG_ENV_ID__=Ut=>Ut})();class oa extends va{_lView;constructor(Ie){super(),this._lView=Ie}get destroyed(){return Es(this._lView)}onDestroy(Ie){const Ut=this._lView;return wl(Ut,Ie),()=>no(Ut,Ie)}}function hs(){return new oa(X())}class Ls{_console=console;handleError(Ie){this._console.error("ERROR",Ie)}}const gi=new Qn("",{providedIn:"root",factory:()=>{const K=zi(Ki);let Ie;return Ut=>{K.destroyed&&!Ie?setTimeout(()=>{throw Ut}):(Ie??=K.get(Ls),Ie.handleError(Ut))}}}),Nr={provide:ri,useValue:()=>{zi(Ls)},multi:!0};function Oo(K){return"function"==typeof K&&void 0!==K[f.bh]}function yl(K,Ie){const[Ut,Gn,ui]=(0,f.n5)(K,Ie?.equal),ki=Ut;return ki.set=Gn,ki.update=ui,ki.asReadonly=Xr.bind(ki),ki}function Xr(){const K=this[f.bh];if(void 0===K.readonlyFn){const Ie=()=>this();Ie[f.bh]=K,K.readonlyFn=Ie}return K.readonlyFn}function tc(K){return Oo(K)&&"function"==typeof K.set}function Xl(K,Ie){if(null!==(0,f.nR)())throw new le(-602,!1)}let Kc=(()=>class K{view;node;constructor(Ut,Gn){this.view=Ut,this.node=Gn}static __NG_ELEMENT_ID__=_1})();function _1(){return new Kc(X(),et())}class gc{}const Yc=new Qn("",{providedIn:"root",factory:()=>!1}),nc=new Qn("",{providedIn:"root",factory:()=>!1}),v1=new Qn(""),ic=new Qn("");let lo=(()=>{class K{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new u.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new L.c(Ut=>{Ut.next(!1),Ut.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Ut=this.taskId++;return this.pendingTasks.add(Ut),Ut}has(Ut){return this.pendingTasks.has(Ut)}remove(Ut){this.pendingTasks.delete(Ut),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new K})}return K})(),Ha=(()=>{class K{internalPendingTasks=zi(lo);scheduler=zi(gc);errorHandler=zi(gi);add(){const Ut=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Ut)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Ut))}}run(Ut){const Gn=this.add();Ut().catch(this.errorHandler).finally(Gn)}static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new K})}return K})();function Ti(...K){}let Oa=(()=>{class K{static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new os})}return K})();class os{dirtyEffectCount=0;queues=new Map;add(Ie){this.enqueue(Ie),this.schedule(Ie)}schedule(Ie){Ie.dirty&&this.dirtyEffectCount++}remove(Ie){const Gn=this.queues.get(Ie.zone);Gn.has(Ie)&&(Gn.delete(Ie),Ie.dirty&&this.dirtyEffectCount--)}enqueue(Ie){const Ut=Ie.zone;this.queues.has(Ut)||this.queues.set(Ut,new Set);const Gn=this.queues.get(Ut);Gn.has(Ie)||Gn.add(Ie)}flush(){for(;this.dirtyEffectCount>0;){let Ie=!1;for(const[Ut,Gn]of this.queues)Ie||=null===Ut?this.flushQueue(Gn):Ut.run(()=>this.flushQueue(Gn));Ie||(this.dirtyEffectCount=0)}}flushQueue(Ie){let Ut=!1;for(const Gn of Ie)Gn.dirty&&(this.dirtyEffectCount--,Ut=!0,Gn.run());return Ut}}},9079(Zt,pe,l){"use strict";l.d(pe,{ot:()=>Ee});var Ce=l(2615),Ae=l(9295);function Ee(ne,J){const Re=J?.manualCleanup?null:J?.injector?.get(Ce.abz)??(0,Ce.WQX)(Ce.abz),Xe=function V(ne=Object.is){return(J,De)=>1===J.kind&&1===De.kind&&ne(J.value,De.value)}(J?.equal);let _e,he;_e=(0,Ce.vPA)(J?.requireSync?{kind:0}:{kind:1,value:J?.initialValue},{equal:Xe});const Dt=ne.subscribe({next:lt=>_e.set({kind:1,value:lt}),error:lt=>{_e.set({kind:2,error:lt}),he?.()},complete:()=>{he?.()}});if(J?.requireSync&&0===_e().kind)throw new Ce.buA(601,!1);return he=Re?.onDestroy(Dt.unsubscribe.bind(Dt)),(0,Ae.EW)(()=>{const lt=_e();switch(lt.kind){case 1:return lt.value;case 2:throw lt.error;case 0:throw new Ce.buA(601,!1)}},{equal:J?.equal})}},8440(Zt,pe,l){"use strict";l.d(pe,{Ag:()=>_e,Bg:()=>j,EF:()=>Dt,H8:()=>Re,Ht:()=>e,JC:()=>A,KE:()=>f,KO:()=>P,KZ:()=>Xe,Ny:()=>he,TO:()=>Ae,Wu:()=>G,XR:()=>Ee,a7:()=>ne,bh:()=>w,j2:()=>Ke,mC:()=>Vt,mK:()=>C,n5:()=>ve,nR:()=>O,pL:()=>L,s0:()=>ot,si:()=>xe});let i=null,d=!1,v=1;const w=Symbol("SIGNAL");function e(ht){const oe=i;return i=ht,oe}function O(){return i}function f(){return d}const L={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function C(ht){if(d)throw new Error("");if(null===i)return;i.consumerOnSignalRead(ht);const oe=i.producersTail;if(void 0!==oe&&oe.producer===ht)return;let Ye;const fe=i.recomputing;if(fe&&(Ye=void 0!==oe?oe.nextProducer:i.producers,void 0!==Ye&&Ye.producer===ht))return i.producersTail=Ye,void(Ye.lastReadVersion=ht.version);const Qe=ht.consumersTail;if(void 0!==Qe&&Qe.consumer===i&&(!fe||function De(ht,oe){const Ye=oe.producersTail;if(void 0!==Ye){let fe=oe.producers;do{if(fe===ht)return!0;if(fe===Ye)break;fe=fe.nextProducer}while(void 0!==fe)}return!1}(Qe,i)))return;const gt=be(i),Gt={producer:ht,consumer:i,nextProducer:Ye,prevConsumer:Qe,lastReadVersion:ht.version,nextConsumer:void 0};i.producersTail=Gt,void 0!==oe?oe.nextProducer=Gt:i.producers=Gt,gt&&V(ht,Gt)}function A(ht){if((!be(ht)||ht.dirty)&&(ht.dirty||ht.lastCleanEpoch!==v)){if(!ht.producerMustRecompute(ht)&&!xe(ht))return void Ae(ht);ht.producerRecomputeValue(ht),Ae(ht)}}function Pe(ht){if(void 0===ht.consumers)return;const oe=d;d=!0;try{for(let Ye=ht.consumers;void 0!==Ye;Ye=Ye.nextConsumer){const fe=Ye.consumer;fe.dirty||Ce(fe)}}finally{d=oe}}function le(){return!1!==i?.consumerAllowSignalWrites}function Ce(ht){ht.dirty=!0,Pe(ht),ht.consumerMarkedDirty?.(ht)}function Ae(ht){ht.dirty=!1,ht.lastCleanEpoch=v}function j(ht){return ht&&function W(ht){ht.producersTail=void 0,ht.recomputing=!0}(ht),e(ht)}function G(ht,oe){e(oe),ht&&function re(ht){ht.recomputing=!1;const oe=ht.producersTail;let Ye=void 0!==oe?oe.nextProducer:ht.producers;if(void 0!==Ye){if(be(ht))do{Ye=ce(Ye)}while(void 0!==Ye);void 0!==oe?oe.nextProducer=void 0:ht.producers=void 0}}(ht)}function xe(ht){for(let oe=ht.producers;void 0!==oe;oe=oe.nextProducer){const Ye=oe.producer,fe=oe.lastReadVersion;if(fe!==Ye.version||(A(Ye),fe!==Ye.version))return!0}return!1}function Ee(ht){if(be(ht)){let oe=ht.producers;for(;void 0!==oe;)oe=ce(oe)}ht.producers=void 0,ht.producersTail=void 0,ht.consumers=void 0,ht.consumersTail=void 0}function V(ht,oe){const Ye=ht.consumersTail,fe=be(ht);if(void 0!==Ye?(oe.nextConsumer=Ye.nextConsumer,Ye.nextConsumer=oe):(oe.nextConsumer=void 0,ht.consumers=oe),oe.prevConsumer=Ye,ht.consumersTail=oe,!fe)for(let Qe=ht.producers;void 0!==Qe;Qe=Qe.nextProducer)V(Qe.producer,Qe)}function ce(ht){const oe=ht.producer,Ye=ht.nextProducer,fe=ht.nextConsumer,Qe=ht.prevConsumer;if(ht.nextConsumer=void 0,ht.prevConsumer=void 0,void 0!==fe?fe.prevConsumer=Qe:oe.consumersTail=Qe,void 0!==Qe)Qe.nextConsumer=fe;else if(oe.consumers=fe,!be(oe)){let gt=oe.producers;for(;void 0!==gt;)gt=ce(gt)}return Ye}function be(ht){return ht.consumerIsAlwaysLive||void 0!==ht.consumers}function ne(ht){}function Re(ht,oe){return Object.is(ht,oe)}function Xe(ht,oe){const Ye=Object.create(lt);Ye.computation=ht,void 0!==oe&&(Ye.equal=oe);const fe=()=>{if(A(Ye),C(Ye),Ye.value===Dt)throw Ye.error;return Ye.value};return fe[w]=Ye,fe}const _e=Symbol("UNSET"),he=Symbol("COMPUTING"),Dt=Symbol("ERRORED"),lt={...L,value:_e,dirty:!0,error:null,equal:Re,kind:"computed",producerMustRecompute:ht=>ht.value===_e||ht.value===he,producerRecomputeValue(ht){if(ht.value===he)throw new Error("");const oe=ht.value;ht.value=he;const Ye=j(ht);let fe,Qe=!1;try{fe=ht.computation(),e(null),Qe=oe!==_e&&oe!==Dt&&fe!==Dt&&ht.equal(oe,fe)}catch(gt){fe=Dt,ht.error=gt}finally{G(ht,Ye)}Qe?ht.value=oe:(ht.value=fe,ht.version++)}};let te=function Le(){throw new Error};function ie(ht){te(ht)}function P(ht){te=ht}function ve(ht,oe){const Ye=Object.create(ot);Ye.value=ht,void 0!==oe&&(Ye.equal=oe);const fe=()=>function $(ht){return C(ht),ht.value}(Ye);return fe[w]=Ye,[fe,Gt=>Ke(Ye,Gt),Gt=>Vt(Ye,Gt)]}function Ke(ht,oe){le()||ie(ht),ht.equal(ht.value,oe)||(ht.value=oe,function nt(ht){ht.version++,function B(){v++}(),Pe(ht)}(ht))}function Vt(ht,oe){le()||ie(ht),Ke(ht,oe(ht.value))}const ot={...L,equal:Re,value:void 0,kind:"signal"}},4545(Zt,pe,l){"use strict";function i(L){for(let C in L){let B=L[C]??"";switch(C){case"display":L.display="flex"===B?["-webkit-flex","flex"]:"inline-flex"===B?["-webkit-inline-flex","inline-flex"]:B;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":L["-webkit-"+C]=B;break;case"flex-direction":L["-webkit-flex-direction"]=B,L["flex-direction"]=B;break;case"order":L.order=L["-webkit-"+C]=isNaN(+B)?"0":B}}return L}l.d(pe,{C5:()=>u,O5:()=>i,Uo:()=>v,Vc:()=>e,uG:()=>T});const d="inline",v=["row","column","row-reverse","column-reverse"];function T(L){let[C,B,A]=w(L);return function f(L,C=null,B=!1){return{display:B?"inline-flex":"flex","box-sizing":"border-box","flex-direction":L,"flex-wrap":C||null}}(C,B,A)}function w(L){L=L?.toLowerCase()??"";let[C,B,A]=L.split(" ");return v.find(Pe=>Pe===C)||(C=v[0]),B===d&&(B=A!==d?A:"",A=d),[C,O(B),!!A]}function e(L){let[C]=w(L);return C.indexOf("row")>-1}function O(L){if(L)switch(L.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":L="wrap-reverse";break;case"no":case"none":case"nowrap":L="nowrap";break;default:L="wrap"}return L}function u(L,...C){if(null==L)throw TypeError("Cannot convert undefined or null to object");for(let B of C)if(null!=B)for(let A in B)B.hasOwnProperty(A)&&(L[A]=B[A]);return L}},9340(Zt,pe,l){"use strict";l.d(pe,{Ce:()=>Dt,DJ:()=>vt,EA:()=>he,PV:()=>_e,SL:()=>lt,Ui:()=>De,ZH:()=>ie,cL:()=>Je,hN:()=>at,qH:()=>kn,r3:()=>te});var Ce=l(2615),Ae=l(3664),j=l(177),W=l(1985),G=l(1413),re=l(4412),xe=l(7786),Ee=l(4545),V=l(5964),ce=l(8141);const ne={provide:Ae.iLQ,useFactory:function be(Be,ut){return()=>{if((0,j.UE)(ut)){const Ge=Array.from(Be.querySelectorAll(`[class*=${J}]`)),Ot=/\bflex-layout-.+?\b/g;Ge.forEach(se=>{se.classList.contains(`${J}ssr`)&&se.parentNode?se.parentNode.removeChild(se):se.className.replace(Ot,"")})}}},deps:[Ce.qQL,Ae.Agw],multi:!0},J="flex-layout-";let De=(()=>{class Be{}return Be.\u0275fac=function(Ge){return new(Ge||Be)},Be.\u0275mod=Ae.$C({type:Be}),Be.\u0275inj=Ce.G2t({providers:[ne]}),Be})();class Re{constructor(ut=!1,Ge="all",Ot="",se="",We=0){this.matches=ut,this.mediaQuery=Ge,this.mqAlias=Ot,this.suffix=se,this.priority=We,this.property=""}clone(){return new Re(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Xe=(()=>{class Be{constructor(){this.stylesheet=new Map}addStyleToElement(Ge,Ot,se){const We=this.stylesheet.get(Ge);We?We.set(Ot,se):this.stylesheet.set(Ge,new Map([[Ot,se]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Ge,Ot){const se=this.stylesheet.get(Ge);let We="";if(se){const bt=se.get(Ot);("number"==typeof bt||"string"==typeof bt)&&(We=bt+"")}return We}}return Be.\u0275fac=function(Ge){return new(Ge||Be)},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const _e={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},he=new Ce.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>_e}),Dt=new Ce.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),lt=new Ce.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Le(Be,ut){return Be=Be?.clone()??new Re,ut&&(Be.mqAlias=ut.alias,Be.mediaQuery=ut.mediaQuery,Be.suffix=ut.suffix,Be.priority=ut.priority),Be}class te{constructor(){this.shouldCache=!0}sideEffect(ut,Ge,Ot){}}let ie=(()=>{class Be{constructor(Ge,Ot,se,We){this._serverStylesheet=Ge,this._serverModuleLoaded=Ot,this._platformId=se,this.layoutConfig=We}applyStyleToElement(Ge,Ot,se=null){let We={};"string"==typeof Ot&&(We[Ot]=se,Ot=We),We=this.layoutConfig.disableVendorPrefixes?Ot:(0,Ee.O5)(Ot),this._applyMultiValueStyleToElement(We,Ge)}applyStyleToElements(Ge,Ot=[]){const se=this.layoutConfig.disableVendorPrefixes?Ge:(0,Ee.O5)(Ge);Ot.forEach(We=>{this._applyMultiValueStyleToElement(se,We)})}getFlowDirection(Ge){const Ot="flex-direction";let se=this.lookupStyle(Ge,Ot);return[se||"row",this.lookupInlineStyle(Ge,Ot)||(0,j.Vy)(this._platformId)&&this._serverModuleLoaded?se:""]}hasWrap(Ge){return"wrap"===this.lookupStyle(Ge,"flex-wrap")}lookupAttributeValue(Ge,Ot){return Ge.getAttribute(Ot)??""}lookupInlineStyle(Ge,Ot){return(0,j.UE)(this._platformId)?Ge.style.getPropertyValue(Ot):function P(Be,ut){return H(Be)[ut]??""}(Ge,Ot)}lookupStyle(Ge,Ot,se=!1){let We="";return Ge&&((We=this.lookupInlineStyle(Ge,Ot))||((0,j.UE)(this._platformId)?se||(We=getComputedStyle(Ge).getPropertyValue(Ot)):this._serverModuleLoaded&&(We=this._serverStylesheet.getStyleForElement(Ge,Ot)))),We?We.trim():""}_applyMultiValueStyleToElement(Ge,Ot){Object.keys(Ge).sort().forEach(se=>{const We=Ge[se],bt=Array.isArray(We)?We:[We];bt.sort();for(let tn of bt)tn=tn?tn+"":"",(0,j.UE)(this._platformId)||!this._serverModuleLoaded?(0,j.UE)(this._platformId)?Ot.style.setProperty(se,tn):F(Ot,se,tn):this._serverStylesheet.addStyleToElement(Ot,se,tn)})}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Xe),Ce.KVO(Dt),Ce.KVO(Ae.Agw),Ce.KVO(he))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function F(Be,ut,Ge){ut=ut.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Ot=H(Be);Ot[ut]=Ge??"",function ve(Be,ut){let Ge="";for(const Ot in ut)ut[Ot]&&(Ge+=`${Ot}:${ut[Ot]};`);Be.setAttribute("style",Ge)}(Be,Ot)}function H(Be){const ut={},Ge=Be.getAttribute("style");if(Ge){const Ot=Ge.split(/;+/g);for(let se=0;se0){const bt=We.indexOf(":");if(-1===bt)throw new Error(`Invalid CSS style: ${We}`);ut[We.substr(0,bt).trim()]=We.substr(bt+1).trim()}}}return ut}function $(Be,ut){return(ut&&ut.priority||0)-(Be&&Be.priority||0)}function Ke(Be,ut){return(Be.priority||0)-(ut.priority||0)}let Vt=(()=>{class Be{constructor(Ge,Ot,se){this._zone=Ge,this._platformId=Ot,this._document=se,this.source=new re.t(new Re(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Ge=[];return this.registry.forEach((Ot,se)=>{Ot.matches&&Ge.push(se)}),Ge}isActive(Ge){return this.registry.get(Ge)?.matches??this.registerQuery(Ge).some(se=>se.matches)}observe(Ge,Ot=!1){if(Ge&&Ge.length){const se=this._observable$.pipe((0,V.p)(bt=>!Ot||Ge.indexOf(bt.mediaQuery)>-1)),We=new W.c(bt=>{const tn=this.registerQuery(Ge);if(tn.length){const on=tn.pop();tn.forEach(un=>{bt.next(un)}),this.source.next(on)}bt.complete()});return(0,xe.h)(We,se)}return this._observable$}registerQuery(Ge){const Ot=Array.isArray(Ge)?Ge:[Ge],se=[];return function ot(Be,ut){const Ge=Be.filter(Ot=>!St[Ot]);if(Ge.length>0){const Ot=Ge.join(", ");try{const se=ut.createElement("style");se.setAttribute("type","text/css"),se.styleSheet||se.appendChild(ut.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Ot} {.fx-query-test{ }}\n`)),ut.head.appendChild(se),Ge.forEach(We=>St[We]=se)}catch(se){console.error(se)}}}(Ot,this._document),Ot.forEach(We=>{const bt=on=>{this._zone.run(()=>this.source.next(new Re(on.matches,We)))};let tn=this.registry.get(We);tn||(tn=this.buildMQL(We),tn.addListener(bt),this.pendingRemoveListenerFns.push(()=>tn.removeListener(bt)),this.registry.set(We,tn)),tn.matches&&se.push(new Re(!0,We))}),se}ngOnDestroy(){let Ge;for(;Ge=this.pendingRemoveListenerFns.pop();)Ge()}buildMQL(Ge){return function ht(Be,ut){return ut&&window.matchMedia("all").addListener?window.matchMedia(Be):function nt(Be){const ut=new EventTarget;return ut.matches="all"===Be||""===Be,ut.media=Be,ut.addListener=()=>{},ut.removeListener=()=>{},ut.addEventListener=()=>{},ut.dispatchEvent=()=>!1,ut.onchange=null,ut}(Be)}(Ge,(0,j.UE)(this._platformId))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Ae.SKi),Ce.KVO(Ae.Agw),Ce.KVO(Ce.qQL))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const St={},oe=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Ye="(orientation: portrait) and (max-width: 599.98px)",fe="(orientation: landscape) and (max-width: 959.98px)",Qe="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",gt="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Gt="(orientation: portrait) and (min-width: 840px)",rt="(orientation: landscape) and (min-width: 1280px)",cn={HANDSET:`${Ye}, ${fe}`,TABLET:`${Qe} , ${gt}`,WEB:`${Gt}, ${rt} `,HANDSET_PORTRAIT:`${Ye}`,TABLET_PORTRAIT:`${Qe} `,WEB_PORTRAIT:`${Gt}`,HANDSET_LANDSCAPE:`${fe}`,TABLET_LANDSCAPE:`${gt}`,WEB_LANDSCAPE:`${rt}`},Ft=[{alias:"handset",priority:2e3,mediaQuery:cn.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:cn.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:cn.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:cn.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:cn.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:cn.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:cn.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:cn.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:cn.WEB_PORTRAIT,overlapping:!0}],Sn=/(\.|-|_)/g;function Qn(Be){let ut=Be.length>0?Be.charAt(0):"",Ge=Be.length>1?Be.slice(1):"";return ut.toUpperCase()+Ge}const wt=new Ce.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Be=(0,Ce.WQX)(lt),ut=(0,Ce.WQX)(he),Ge=[].concat.apply([],(Be||[]).map(se=>Array.isArray(se)?se:[se]));return function Ue(Be,ut=[]){const Ge={};return Be.forEach(Ot=>{Ge[Ot.alias]=Ot}),ut.forEach(Ot=>{Ge[Ot.alias]?(0,Ee.C5)(Ge[Ot.alias],Ot):Ge[Ot.alias]=Ot}),function jt(Be){return Be.forEach(ut=>{ut.suffix||(ut.suffix=function h(Be){return Be.replace(Sn,"|").split("|").map(Qn).join("")}(ut.alias),ut.overlapping=!!ut.overlapping)}),Be}(Object.keys(Ge).map(Ot=>Ge[Ot]))}((ut.disableDefaultBps?[]:oe).concat(ut.addOrientationBps?Ft:[]),Ge)}});let pt=(()=>{class Be{constructor(Ge){this.findByMap=new Map,this.items=[...Ge].sort(Ke)}findByAlias(Ge){return Ge?this.findWithPredicate(Ge,Ot=>Ot.alias===Ge):null}findByQuery(Ge){return this.findWithPredicate(Ge,Ot=>Ot.mediaQuery===Ge)}get overlappings(){return this.items.filter(Ge=>Ge.overlapping)}get aliases(){return this.items.map(Ge=>Ge.alias)}get suffixes(){return this.items.map(Ge=>Ge?.suffix??"")}findWithPredicate(Ge,Ot){let se=this.findByMap.get(Ge);return se||(se=this.items.find(Ot)??null,this.findByMap.set(Ge,se)),se??null}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(wt))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const Pt="print",gn={alias:Pt,mediaQuery:Pt,priority:1e3};let ei=(()=>{class Be{constructor(Ge,Ot,se){this.breakpoints=Ge,this.layoutConfig=Ot,this._document=se,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new vi,this.deactivations=[]}withPrintQuery(Ge){return[...Ge,Pt]}isPrintEvent(Ge){return Ge.mediaQuery.startsWith(Pt)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Ge=>this.breakpoints.findByAlias(Ge)).filter(Ge=>null!==Ge)}getEventBreakpoints({mediaQuery:Ge}){const Ot=this.breakpoints.findByQuery(Ge);return(Ot?[...this.printBreakPoints,Ot]:this.printBreakPoints).sort($)}updateEvent(Ge){let Ot=this.breakpoints.findByQuery(Ge.mediaQuery);return this.isPrintEvent(Ge)&&(Ot=this.getEventBreakpoints(Ge)[0],Ge.mediaQuery=Ot?.mediaQuery??""),Le(Ge,Ot)}registerBeforeAfterPrintHooks(Ge){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Ot=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Ge,this.getEventBreakpoints(new Re(!0,Pt))),Ge.updateStyles())},se=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Ge),Ge.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Ot),this._document.defaultView.addEventListener("afterprint",se),this.beforePrintEventListeners.push(Ot),this.afterPrintEventListeners.push(se)}interceptEvents(Ge){return Ot=>{this.isPrintEvent(Ot)?Ot.matches&&!this.isPrinting?(this.startPrinting(Ge,this.getEventBreakpoints(Ot)),Ge.updateStyles()):!Ot.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Ge),Ge.updateStyles()):this.collectActivations(Ge,Ot)}}blockPropagation(){return Ge=>!(this.isPrinting||this.isPrintEvent(Ge))}startPrinting(Ge,Ot){this.isPrinting=!0,this.formerActivations=Ge.activatedBreakpoints,Ge.activatedBreakpoints=this.queue.addPrintBreakpoints(Ot)}stopPrinting(Ge){Ge.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Ge,Ot){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Ot.matches){const se=this.breakpoints.findByQuery(Ot.mediaQuery);if(se){const We=this.formerActivations&&this.formerActivations.includes(se),bt=!this.formerActivations&&Ge.activatedBreakpoints.includes(se);(We||bt)&&(this.deactivations.push(se),this.deactivations.sort($))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Ge=>this._document.defaultView.removeEventListener("beforeprint",Ge)),this.afterPrintEventListeners.forEach(Ge=>this._document.defaultView.removeEventListener("afterprint",Ge)))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(pt),Ce.KVO(he),Ce.KVO(Ce.qQL))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class vi{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(ut){return ut.push(gn),ut.sort($),ut.forEach(Ge=>this.addBreakpoint(Ge)),this.printBreakpoints}addBreakpoint(ut){ut&&void 0===this.printBreakpoints.find(Ot=>Ot.mediaQuery===ut.mediaQuery)&&(this.printBreakpoints=function Ni(Be){return Be?.mediaQuery.startsWith(Pt)??!1}(ut)?[ut,...this.printBreakpoints]:[...this.printBreakpoints,ut])}clear(){this.printBreakpoints=[]}}let kn=(()=>{class Be{constructor(Ge,Ot,se){this.matchMedia=Ge,this.breakpoints=Ot,this.hook=se,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new G.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Ge){this._activatedBreakpoints=[...Ge]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Ge){this._useFallbacks=Ge}onMediaChange(Ge){const Ot=this.findByQuery(Ge.mediaQuery);if(Ot){Ge=Le(Ge,Ot);const se=this.activatedBreakpoints.indexOf(Ot);Ge.matches&&-1===se?(this._activatedBreakpoints.push(Ot),this._activatedBreakpoints.sort($),this.updateStyles()):!Ge.matches&&-1!==se&&(this._activatedBreakpoints.splice(se,1),this._activatedBreakpoints.sort($),this.updateStyles())}}init(Ge,Ot,se,We,bt=[]){Ri(this.updateMap,Ge,Ot,se),Ri(this.clearMap,Ge,Ot,We),this.buildElementKeyMap(Ge,Ot),this.watchExtraTriggers(Ge,Ot,bt)}getValue(Ge,Ot,se){const We=this.elementMap.get(Ge);if(We){const bt=void 0!==se?We.get(se):this.getActivatedValues(We,Ot);if(bt)return bt.get(Ot)}}hasValue(Ge,Ot){const se=this.elementMap.get(Ge);if(se){const We=this.getActivatedValues(se,Ot);if(We)return void 0!==We.get(Ot)||!1}return!1}setValue(Ge,Ot,se,We){let bt=this.elementMap.get(Ge);if(bt){const on=(bt.get(We)??new Map).set(Ot,se);bt.set(We,on),this.elementMap.set(Ge,bt)}else bt=(new Map).set(We,(new Map).set(Ot,se)),this.elementMap.set(Ge,bt);const tn=this.getValue(Ge,Ot);void 0!==tn&&this.updateElement(Ge,Ot,tn)}trackValue(Ge,Ot){return this.subject.asObservable().pipe((0,V.p)(se=>se.element===Ge&&se.key===Ot))}updateStyles(){this.elementMap.forEach((Ge,Ot)=>{const se=new Set(this.elementKeyMap.get(Ot));let We=this.getActivatedValues(Ge);We&&We.forEach((bt,tn)=>{this.updateElement(Ot,tn,bt),se.delete(tn)}),se.forEach(bt=>{if(We=this.getActivatedValues(Ge,bt),We){const tn=We.get(bt);this.updateElement(Ot,bt,tn)}else this.clearElement(Ot,bt)})})}clearElement(Ge,Ot){const se=this.clearMap.get(Ge);if(se){const We=se.get(Ot);We&&(We(),this.subject.next({element:Ge,key:Ot,value:""}))}}updateElement(Ge,Ot,se){const We=this.updateMap.get(Ge);if(We){const bt=We.get(Ot);bt&&(bt(se),this.subject.next({element:Ge,key:Ot,value:se}))}}releaseElement(Ge){const Ot=this.watcherMap.get(Ge);Ot&&(Ot.forEach(We=>We.unsubscribe()),this.watcherMap.delete(Ge));const se=this.elementMap.get(Ge);se&&(se.forEach((We,bt)=>se.delete(bt)),this.elementMap.delete(Ge))}triggerUpdate(Ge,Ot){const se=this.elementMap.get(Ge);if(se){const We=this.getActivatedValues(se,Ot);We&&(Ot?this.updateElement(Ge,Ot,We.get(Ot)):We.forEach((bt,tn)=>this.updateElement(Ge,tn,bt)))}}buildElementKeyMap(Ge,Ot){let se=this.elementKeyMap.get(Ge);se||(se=new Set,this.elementKeyMap.set(Ge,se)),se.add(Ot)}watchExtraTriggers(Ge,Ot,se){if(se&&se.length){let We=this.watcherMap.get(Ge);if(We||(We=new Map,this.watcherMap.set(Ge,We)),!We.get(Ot)){const tn=(0,xe.h)(...se).subscribe(()=>{const on=this.getValue(Ge,Ot);this.updateElement(Ge,Ot,on)});We.set(Ot,tn)}}}findByQuery(Ge){return this.breakpoints.findByQuery(Ge)}getActivatedValues(Ge,Ot){for(let We=0;WeOt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Ge)).pipe((0,ce.M)(this.hook.interceptEvents(this)),(0,V.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Vt),Ce.KVO(pt),Ce.KVO(ei))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function Ri(Be,ut,Ge,Ot){if(void 0!==Ot){const se=Be.get(ut)??new Map;se.set(Ge,Ot),Be.set(ut,se)}}let vt=(()=>{class Be{constructor(Ge,Ot,se,We){this.elementRef=Ge,this.styleBuilder=Ot,this.styler=se,this.marshal=We,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new G.B,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(Ge){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ge,this.marshal.activatedAlias)}ngOnChanges(Ge){Object.keys(Ge).forEach(Ot=>{if(-1!==this.inputs.indexOf(Ot)){const se=Ot.split(".").slice(1).join(".");this.setValue(Ge[Ot].currentValue,se)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Ge=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Ge)}addStyles(Ge,Ot){const se=this.styleBuilder,We=se.shouldCache;let bt=this.styleCache.get(Ge);(!bt||!We)&&(bt=se.buildStyles(Ge,Ot),We&&this.styleCache.set(Ge,bt)),this.mru={...bt},this.applyStyleToElement(bt),se.sideEffect(Ge,bt,Ot)}clearStyles(){Object.keys(this.mru).forEach(Ge=>{this.mru[Ge]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Ge,Ot=!1){if(Ge){const[se,We]=this.styler.getFlowDirection(Ge);if(!We&&Ot){const bt=(0,Ee.uG)(se);this.styler.applyStyleToElements(bt,[Ge])}return se.trim()}return"row"}hasWrap(Ge){return this.styler.hasWrap(Ge)}applyStyleToElement(Ge,Ot,se=this.nativeElement){this.styler.applyStyleToElement(se,Ge,Ot)}setValue(Ge,Ot){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ge,Ot)}updateWithValue(Ge){this.currentValue!==Ge&&(this.addStyles(Ge),this.currentValue=Ge)}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ae.rXU(Ae.aKT),Ae.rXU(te),Ae.rXU(ie),Ae.rXU(kn))},Be.\u0275dir=Ae.FsC({type:Be,standalone:!1,features:[Ae.OA$]}),Be})();function at(Be,ut="1",Ge="1"){let Ot=[ut,Ge,Be],se=Be.indexOf("calc");if(se>0){Ot[2]=qe(Be.substring(se).trim());let We=Be.substr(0,se).trim().split(" ");2==We.length&&(Ot[0]=We[0],Ot[1]=We[1])}else if(0==se)Ot[2]=qe(Be.trim());else{let We=Be.split(" ");Ot=3===We.length?We:[ut,Ge,Be]}return Ot}function qe(Be){return Be.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Je(Be,ut){if(void 0===ut)return Be;const Ge=Ot=>{const se=+Ot.slice(0,-1);return Be.endsWith("x")&&!isNaN(se)?`${se*ut.value}${ut.unit}`:Be};return Be.includes(" ")?Be.split(" ").map(Ge).join(" "):Ge(Be)}EventTarget},6038(Zt,pe,l){"use strict";l.d(pe,{Cc:()=>P,PW:()=>W,eI:()=>Le});var i=l(7705),d=l(2615),v=l(3664),T=l(9340),w=l(2200),e=l(177),u=(l(4085),l(6977),l(345));let Ce=(()=>{class F extends T.DJ{constructor(H,$,Ke,Vt,St,ot,nt){super(H,null,$,Ke),this.ngClassInstance=nt,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new w.YU(Vt,St,H,ot)),this.init(),this.setValue("","")}set klass(H){this.ngClassInstance.klass=H,this.setValue(H,"")}updateWithValue(H){this.ngClassInstance.ngClass=H,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return F.\u0275fac=function(H){return new(H||F)(v.rXU(v.aKT),v.rXU(T.ZH),v.rXU(T.qH),v.rXU(i._q3),v.rXU(i.MKu),v.rXU(v.sFG),v.rXU(w.YU,10))},F.\u0275dir=v.FsC({type:F,inputs:{klass:[0,"class","klass"]},standalone:!1,features:[v.Vt3]}),F})();const Ae=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let W=(()=>{class F extends Ce{constructor(){super(...arguments),this.inputs=Ae}}return F.\u0275fac=(()=>{let ve;return function($){return(ve||(ve=v.xGo(F)))($||F)}})(),F.\u0275dir=v.FsC({type:F,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},standalone:!1,features:[v.Vt3]}),F})();class be{constructor(ve,H,$=!0){this.key=ve,this.value=H,this.key=$?ve.replace(/['"]/g,"").trim():ve.trim(),this.value=$?H.replace(/['"]/g,"").trim():H.trim(),this.value=this.value.replace(/;/,"")}}function ne(F){let ve=typeof F;return"object"===ve?F.constructor===Array?"array":F.constructor===Set?"set":"object":ve}function Xe(F){const[ve,...H]=F.split(":");return new be(ve,H.join(":"))}function _e(F,ve){return ve.key&&(F[ve.key]=ve.value),F}let he=(()=>{class F extends T.DJ{constructor(H,$,Ke,Vt,St,ot,nt,ht,oe){super(H,null,$,Ke),this.sanitizer=Vt,this.ngStyleInstance=nt,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new w.B3(H,St,ot)),this.init();const Ye=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Ye),this.isServer=ht&&(0,e.Vy)(oe)}updateWithValue(H){const $=this.buildStyleMap(H);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...$},this.isServer&&this.applyStyleToElement($),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(H){const $=Ke=>this.sanitizer.sanitize(v.WPN.STYLE,Ke)??"";if(H)switch(ne(H)){case"string":return te(function J(F,ve=";"){return String(F).trim().split(ve).map(H=>H.trim()).filter(H=>""!==H)}(H),$);case"array":return te(H,$);default:return function Re(F,ve){let H=[];return"set"===ne(F)?F.forEach($=>H.push($)):Object.keys(F).forEach($=>{H.push(`${$}:${F[$]}`)}),function De(F,ve){return F.map(Xe).filter($=>!!$).map($=>(ve&&($.value=ve($.value)),$)).reduce(_e,{})}(H,ve)}(H,$)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return F.\u0275fac=function(H){return new(H||F)(v.rXU(v.aKT),v.rXU(T.ZH),v.rXU(T.qH),v.rXU(u.up),v.rXU(i.MKu),v.rXU(v.sFG),v.rXU(w.B3,10),v.rXU(T.Ce),v.rXU(v.Agw))},F.\u0275dir=v.FsC({type:F,standalone:!1,features:[v.Vt3]}),F})();const Dt=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let Le=(()=>{class F extends he{constructor(){super(...arguments),this.inputs=Dt}}return F.\u0275fac=(()=>{let ve;return function($){return(ve||(ve=v.xGo(F)))($||F)}})(),F.\u0275dir=v.FsC({type:F,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},standalone:!1,features:[v.Vt3]}),F})();function te(F,ve){return F.map(Xe).filter($=>!!$).map($=>(ve&&($.value=ve($.value)),$)).reduce(_e,{})}let P=(()=>{class F{}return F.\u0275fac=function(H){return new(H||F)},F.\u0275mod=v.$C({type:F}),F.\u0275inj=d.G2t({imports:[T.Ui]}),F})()},2920(Zt,pe,l){"use strict";l.d(pe,{DJ:()=>A,UI:()=>Dt,sA:()=>ei,w2:()=>ge});var i=l(2615),d=l(3664),T=(l(1577),l(8203)),w=l(9340),e=l(4545),f=(l(1413),l(6977));let u=(()=>{class N extends w.r3{buildStyles(Me,{display:at}){const qe=(0,e.uG)(Me);return{...qe,display:"none"===at?at:qe.display}}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const L=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let B=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn,Je){super(Me,qe,at,pn),this._config=Je,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Me){const qe=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=Pe.get(qe)??new Map,Pe.set(qe,this.styleCache),this.currentValue!==Me&&(this.addStyles(Me,{display:qe}),this.currentValue=Me)}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(u),d.rXU(w.qH),d.rXU(w.EA))},N.\u0275dir=d.FsC({type:N,standalone:!1,features:[d.Vt3]}),N})(),A=(()=>{class N extends B{constructor(){super(...arguments),this.inputs=L}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const Pe=new Map;let Re=(()=>{class N extends w.r3{constructor(Me){super(),this.layoutConfig=Me}buildStyles(Me,at){let[qe,pn,...Je]=Me.split(" "),Be=Je.join(" ");const ut=at.direction.indexOf("column")>-1?"column":"row",Ge=(0,e.Vc)(ut)?"max-width":"max-height",Ot=(0,e.Vc)(ut)?"min-width":"min-height",se=String(Be).indexOf("calc")>-1,We=se||"auto"===Be,bt=String(Be).indexOf("%")>-1&&!se,tn=String(Be).indexOf("px")>-1||String(Be).indexOf("rem")>-1||String(Be).indexOf("em")>-1||String(Be).indexOf("vw")>-1||String(Be).indexOf("vh")>-1;let on=se||tn;qe="0"==qe?0:qe,pn="0"==pn?0:pn;const un=!qe&&!pn;let Nt={};const dn={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Be||""){case"":Be="row"===ut?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":qe=0,Be="auto";break;case"grow":Be="100%";break;case"noshrink":pn=0,Be="auto";break;case"auto":break;case"none":qe=0,pn=0,Be="auto";break;default:!on&&!bt&&!isNaN(Be)&&(Be+="%"),"0%"===Be&&(on=!0),"0px"===Be&&(Be="0%"),Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":on?Be:"100%"}:{flex:`${qe} ${pn} ${on?Be:"100%"}`})}return Nt.flex||Nt["flex-grow"]||(Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":Be}:{flex:`${qe} ${pn} ${Be}`})),"0%"!==Be&&"0px"!==Be&&"0.000000001px"!==Be&&"auto"!==Be&&(Nt[Ot]=un||on&&qe?Be:null,Nt[Ge]=un||!We&&pn?Be:null),Nt[Ot]||Nt[Ge]?at.hasWrap&&(Nt[se?"flex-basis":"flex"]=Nt[Ge]?se?Nt[Ge]:`${qe} ${pn} ${Nt[Ge]}`:se?Nt[Ot]:`${qe} ${pn} ${Nt[Ot]}`):Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":Be}:{flex:`${qe} ${pn} ${Be}`}),(0,e.C5)(Nt,{"box-sizing":"border-box"})}}return N.\u0275fac=function(Me){return new(Me||N)(i.KVO(w.EA))},N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const Xe=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let he=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn,Je){super(Me,pn,at,Je),this.layoutConfig=qe,this.marshal=Je,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(Me){this.flexShrink=Me||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Me){this.flexGrow=Me||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,f.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,f.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Me){const qe=Me.value.split(" ");this.direction=qe[0],this.wrap=void 0!==qe[1]&&"wrap"===qe[1],this.triggerUpdate()}updateWithValue(Me){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const qe=this.direction,pn=qe.startsWith("row"),Je=this.wrap;pn&&Je?this.styleCache=te:pn&&!Je?this.styleCache=lt:!pn&&Je?this.styleCache=ie:!pn&&!Je&&(this.styleCache=Le);const Be=String(Me).replace(";",""),ut=(0,w.hN)(Be,this.flexGrow,this.flexShrink);this.addStyles(ut.join(" "),{direction:qe,hasWrap:Je})}triggerReflow(){const Me=this.activatedValue;if(void 0!==Me){const at=(0,w.hN)(Me+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,at.join(" "))}}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(w.EA),d.rXU(Re),d.rXU(w.qH))},N.\u0275dir=d.FsC({type:N,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},standalone:!1,features:[d.Vt3]}),N})(),Dt=(()=>{class N extends he{constructor(){super(...arguments),this.inputs=Xe}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const lt=new Map,Le=new Map,te=new Map,ie=new Map;let wt=(()=>{class N extends w.r3{buildStyles(Me,at){const qe={},[pn,Je]=Me.split(" ");switch(pn){case"center":qe["justify-content"]="center";break;case"space-around":qe["justify-content"]="space-around";break;case"space-between":qe["justify-content"]="space-between";break;case"space-evenly":qe["justify-content"]="space-evenly";break;case"end":case"flex-end":qe["justify-content"]="flex-end";break;default:qe["justify-content"]="flex-start"}switch(Je){case"start":case"flex-start":qe["align-items"]=qe["align-content"]="flex-start";break;case"center":qe["align-items"]=qe["align-content"]="center";break;case"end":case"flex-end":qe["align-items"]=qe["align-content"]="flex-end";break;case"space-between":qe["align-content"]="space-between",qe["align-items"]="stretch";break;case"space-around":qe["align-content"]="space-around",qe["align-items"]="stretch";break;case"baseline":qe["align-content"]="stretch",qe["align-items"]="baseline";break;default:qe["align-items"]=qe["align-content"]="stretch"}return(0,e.C5)(qe,{display:at.inline?"inline-flex":"flex","flex-direction":at.layout,"box-sizing":"border-box","max-width":"stretch"===Je?(0,e.Vc)(at.layout)?null:"100%":null,"max-height":"stretch"===Je&&(0,e.Vc)(at.layout)?"100%":null})}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const pt=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let gn=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn){super(Me,qe,at,pn),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,f.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Me){const at=this.layout||"row",qe=this.inline;"row"===at&&qe?this.styleCache=vt:"row"!==at||qe?"row-reverse"===at&&qe?this.styleCache=ye:"row-reverse"!==at||qe?"column"===at&&qe?this.styleCache=ee:"column"!==at||qe?"column-reverse"===at&&qe?this.styleCache=ke:"column-reverse"===at&&!qe&&(this.styleCache=Ri):this.styleCache=Ni:this.styleCache=kn:this.styleCache=vi,this.addStyles(Me,{layout:at,inline:qe})}onLayoutChange(Me){const at=Me.value.split(" ");this.layout=at[0],this.inline=Me.value.includes("inline"),e.Uo.find(qe=>qe===this.layout)||(this.layout="row"),this.triggerUpdate()}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(wt),d.rXU(w.qH))},N.\u0275dir=d.FsC({type:N,standalone:!1,features:[d.Vt3]}),N})(),ei=(()=>{class N extends gn{constructor(){super(...arguments),this.inputs=pt}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const vi=new Map,Ni=new Map,kn=new Map,Ri=new Map,vt=new Map,ee=new Map,ye=new Map,ke=new Map;let ge=(()=>{class N{}return N.\u0275fac=function(Me){return new(Me||N)},N.\u0275mod=d.$C({type:N}),N.\u0275inj=i.G2t({imports:[w.Ui,T.jI]}),N})()},9417(Zt,pe,l){"use strict";l.d(pe,{BC:()=>Sn,JD:()=>As,Q0:()=>Jt,VZ:()=>Jr,X1:()=>Sr,YN:()=>Ks,YS:()=>_r,ZU:()=>gt,cV:()=>Wn,cb:()=>Qn,cz:()=>Ee,hs:()=>Pi,j4:()=>Nn,k0:()=>be,kq:()=>Pe,l_:()=>Ze,me:()=>G,ok:()=>Or,qT:()=>Ve,vO:()=>Gt,vS:()=>Fe,zX:()=>Zr,ze:()=>Fs});var v=l(2615),T=l(3664),w=l(7705),e=l(9295),O=l(7303),f=l(1413),u=l(7468),L=l(2806),C=l(6354);let B=(()=>{class Ne{_renderer;_elementRef;onChange=q=>{};onTouched=()=>{};constructor(q,mt){this._renderer=q,this._elementRef=mt}setProperty(q,mt){this._renderer.setProperty(this._elementRef.nativeElement,q,mt)}registerOnTouched(q){this.onTouched=q}registerOnChange(q){this.onChange=q}setDisabledState(q){this.setProperty("disabled",q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(T.sFG),T.rXU(T.aKT))};static \u0275dir=T.FsC({type:Ne})}return Ne})(),A=(()=>{class Ne extends B{static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,features:[T.Vt3]})}return Ne})();const Pe=new v.nKC(""),Ae={provide:Pe,useExisting:(0,v.Rfq)(()=>G),multi:!0},W=new v.nKC("");let G=(()=>{class Ne extends B{_compositionMode;_composing=!1;constructor(q,mt,ln){super(q,mt),this._compositionMode=ln,null==this._compositionMode&&(this._compositionMode=!function j(){const Ne=(0,O.rb)()?(0,O.rb)().getUserAgent():"";return/android (\d+)/.test(Ne.toLowerCase())}())}writeValue(q){this.setProperty("value",q??"")}_handleInput(q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(q)}_compositionStart(){this._composing=!0}_compositionEnd(q){this._composing=!1,this._compositionMode&&this.onChange(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(T.sFG),T.rXU(T.aKT),T.rXU(W,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("input",function(ua){return ln._handleInput(ua.target.value)})("blur",function(){return ln.onTouched()})("compositionstart",function(){return ln._compositionStart()})("compositionend",function(ua){return ln._compositionEnd(ua.target.value)})},standalone:!1,features:[T.Jv_([Ae]),T.Vt3]})}return Ne})();function re(Ne){return null==Ne||0===xe(Ne)}function xe(Ne){return null==Ne?null:Array.isArray(Ne)||"string"==typeof Ne?Ne.length:Ne instanceof Set?Ne.size:null}const Ee=new v.nKC(""),V=new v.nKC(""),ce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class be{static min(He){return ne(He)}static max(He){return J(He)}static required(He){return De(He)}static requiredTrue(He){return function Re(Ne){return!0===Ne.value?null:{required:!0}}(He)}static email(He){return function Xe(Ne){return re(Ne.value)||ce.test(Ne.value)?null:{email:!0}}(He)}static minLength(He){return function _e(Ne){return He=>{const q=He.value?.length??xe(He.value);return null===q||0===q?null:q{const q=He.value?.length??xe(He.value);return null!==q&&q>Ne?{maxlength:{requiredLength:Ne,actualLength:q}}:null}}(He)}static pattern(He){return function Dt(Ne){if(!Ne)return lt;let He,q;return"string"==typeof Ne?(q="","^"!==Ne.charAt(0)&&(q+="^"),q+=Ne,"$"!==Ne.charAt(Ne.length-1)&&(q+="$"),He=new RegExp(q)):(q=Ne.toString(),He=Ne),mt=>{if(re(mt.value))return null;const ln=mt.value;return He.test(ln)?null:{pattern:{requiredPattern:q,actualValue:ln}}}}(He)}static nullValidator(He){return null}static compose(He){return H(He)}static composeAsync(He){return Ke(He)}}function ne(Ne){return He=>{if(null==He.value||null==Ne)return null;const q=parseFloat(He.value);return!isNaN(q)&&q{if(null==He.value||null==Ne)return null;const q=parseFloat(He.value);return!isNaN(q)&&q>Ne?{max:{max:Ne,actual:He.value}}:null}}function De(Ne){return re(Ne.value)?{required:!0}:null}function lt(Ne){return null}function Le(Ne){return null!=Ne}function te(Ne){return(0,T.yLl)(Ne)?(0,L.H)(Ne):Ne}function ie(Ne){let He={};return Ne.forEach(q=>{He=null!=q?{...He,...q}:He}),0===Object.keys(He).length?null:He}function P(Ne,He){return He.map(q=>q(Ne))}function ve(Ne){return Ne.map(He=>function F(Ne){return!Ne.validate}(He)?He:q=>He.validate(q))}function H(Ne){if(!Ne)return null;const He=Ne.filter(Le);return 0==He.length?null:function(q){return ie(P(q,He))}}function $(Ne){return null!=Ne?H(ve(Ne)):null}function Ke(Ne){if(!Ne)return null;const He=Ne.filter(Le);return 0==He.length?null:function(q){const mt=P(q,He).map(te);return(0,u.p)(mt).pipe((0,C.T)(ie))}}function Vt(Ne){return null!=Ne?Ke(ve(Ne)):null}function St(Ne,He){return null===Ne?[He]:Array.isArray(Ne)?[...Ne,He]:[Ne,He]}function ot(Ne){return Ne._rawValidators}function nt(Ne){return Ne._rawAsyncValidators}function ht(Ne){return Ne?Array.isArray(Ne)?Ne:[Ne]:[]}function oe(Ne,He){return Array.isArray(Ne)?Ne.includes(He):Ne===He}function Ye(Ne,He){const q=ht(He);return ht(Ne).forEach(ln=>{oe(q,ln)||q.push(ln)}),q}function fe(Ne,He){return ht(He).filter(q=>!oe(Ne,q))}class Qe{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(He){this._rawValidators=He||[],this._composedValidatorFn=$(this._rawValidators)}_setAsyncValidators(He){this._rawAsyncValidators=He||[],this._composedAsyncValidatorFn=Vt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(He){this._onDestroyCallbacks.push(He)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(He=>He()),this._onDestroyCallbacks=[]}reset(He=void 0){this.control&&this.control.reset(He)}hasError(He,q){return!!this.control&&this.control.hasError(He,q)}getError(He,q){return this.control?this.control.getError(He,q):null}}class gt extends Qe{name;get formDirective(){return null}get path(){return null}}class Gt extends Qe{_parent=null;name=null;valueAccessor=null}class rt{_cd;constructor(He){this._cd=He}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Sn=(()=>{class Ne extends rt{constructor(q){super(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Gt,2))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(mt,ln){2&mt&&T.AVh("ng-untouched",ln.isUntouched)("ng-touched",ln.isTouched)("ng-pristine",ln.isPristine)("ng-dirty",ln.isDirty)("ng-valid",ln.isValid)("ng-invalid",ln.isInvalid)("ng-pending",ln.isPending)},standalone:!1,features:[T.Vt3]})}return Ne})(),Qn=(()=>{class Ne extends rt{constructor(q){super(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,10))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(mt,ln){2&mt&&T.AVh("ng-untouched",ln.isUntouched)("ng-touched",ln.isTouched)("ng-pristine",ln.isPristine)("ng-dirty",ln.isDirty)("ng-valid",ln.isValid)("ng-invalid",ln.isInvalid)("ng-pending",ln.isPending)("ng-submitted",ln.isSubmitted)},standalone:!1,features:[T.Vt3]})}return Ne})();const N="VALID",Z="INVALID",Me="PENDING",at="DISABLED";class qe{}class pn extends qe{value;source;constructor(He,q){super(),this.value=He,this.source=q}}class Je extends qe{pristine;source;constructor(He,q){super(),this.pristine=He,this.source=q}}class Be extends qe{touched;source;constructor(He,q){super(),this.touched=He,this.source=q}}class ut extends qe{status;source;constructor(He,q){super(),this.status=He,this.source=q}}class Ge extends qe{source;constructor(He){super(),this.source=He}}class Ot extends qe{source;constructor(He){super(),this.source=He}}function se(Ne){return(on(Ne)?Ne.validators:Ne)||null}function bt(Ne,He){return(on(He)?He.asyncValidators:Ne)||null}function on(Ne){return null!=Ne&&!Array.isArray(Ne)&&"object"==typeof Ne}function un(Ne,He,q){const mt=Ne.controls;if(!(He?Object.keys(mt):mt).length)throw new v.buA(1e3,"");if(!mt[q])throw new v.buA(1001,"")}function Nt(Ne,He,q){Ne._forEachChild((mt,ln)=>{if(void 0===q[ln])throw new v.buA(1002,"")})}class dn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(He,q){this._assignValidators(He),this._assignAsyncValidators(q)}get validator(){return this._composedValidatorFn}set validator(He){this._rawValidators=this._composedValidatorFn=He}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(He){this._rawAsyncValidators=this._composedAsyncValidatorFn=He}get parent(){return this._parent}get status(){return(0,e.O8)(this.statusReactive)}set status(He){(0,e.O8)(()=>this.statusReactive.set(He))}_status=(0,e.EW)(()=>this.statusReactive());statusReactive=(0,v.vPA)(void 0);get valid(){return this.status===N}get invalid(){return this.status===Z}get pending(){return this.status==Me}get disabled(){return this.status===at}get enabled(){return this.status!==at}errors;get pristine(){return(0,e.O8)(this.pristineReactive)}set pristine(He){(0,e.O8)(()=>this.pristineReactive.set(He))}_pristine=(0,e.EW)(()=>this.pristineReactive());pristineReactive=(0,v.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,e.O8)(this.touchedReactive)}set touched(He){(0,e.O8)(()=>this.touchedReactive.set(He))}_touched=(0,e.EW)(()=>this.touchedReactive());touchedReactive=(0,v.vPA)(!1);get untouched(){return!this.touched}_events=new f.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(He){this._assignValidators(He)}setAsyncValidators(He){this._assignAsyncValidators(He)}addValidators(He){this.setValidators(Ye(He,this._rawValidators))}addAsyncValidators(He){this.setAsyncValidators(Ye(He,this._rawAsyncValidators))}removeValidators(He){this.setValidators(fe(He,this._rawValidators))}removeAsyncValidators(He){this.setAsyncValidators(fe(He,this._rawAsyncValidators))}hasValidator(He){return oe(this._rawValidators,He)}hasAsyncValidator(He){return oe(this._rawAsyncValidators,He)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(He={}){const q=!1===this.touched;this.touched=!0;const mt=He.sourceControl??this;this._parent&&!He.onlySelf&&this._parent.markAsTouched({...He,sourceControl:mt}),q&&!1!==He.emitEvent&&this._events.next(new Be(!0,mt))}markAllAsDirty(He={}){this.markAsDirty({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:this}),this._forEachChild(q=>q.markAllAsDirty(He))}markAllAsTouched(He={}){this.markAsTouched({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:this}),this._forEachChild(q=>q.markAllAsTouched(He))}markAsUntouched(He={}){const q=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const mt=He.sourceControl??this;this._forEachChild(ln=>{ln.markAsUntouched({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:mt})}),this._parent&&!He.onlySelf&&this._parent._updateTouched(He,mt),q&&!1!==He.emitEvent&&this._events.next(new Be(!1,mt))}markAsDirty(He={}){const q=!0===this.pristine;this.pristine=!1;const mt=He.sourceControl??this;this._parent&&!He.onlySelf&&this._parent.markAsDirty({...He,sourceControl:mt}),q&&!1!==He.emitEvent&&this._events.next(new Je(!1,mt))}markAsPristine(He={}){const q=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const mt=He.sourceControl??this;this._forEachChild(ln=>{ln.markAsPristine({onlySelf:!0,emitEvent:He.emitEvent})}),this._parent&&!He.onlySelf&&this._parent._updatePristine(He,mt),q&&!1!==He.emitEvent&&this._events.next(new Je(!0,mt))}markAsPending(He={}){this.status=Me;const q=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new ut(this.status,q)),this.statusChanges.emit(this.status)),this._parent&&!He.onlySelf&&this._parent.markAsPending({...He,sourceControl:q})}disable(He={}){const q=this._parentMarkedDirty(He.onlySelf);this.status=at,this.errors=null,this._forEachChild(ln=>{ln.disable({...He,onlySelf:!0})}),this._updateValue();const mt=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new pn(this.value,mt)),this._events.next(new ut(this.status,mt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...He,skipPristineCheck:q},this),this._onDisabledChange.forEach(ln=>ln(!0))}enable(He={}){const q=this._parentMarkedDirty(He.onlySelf);this.status=N,this._forEachChild(mt=>{mt.enable({...He,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:He.emitEvent}),this._updateAncestors({...He,skipPristineCheck:q},this),this._onDisabledChange.forEach(mt=>mt(!1))}_updateAncestors(He,q){this._parent&&!He.onlySelf&&(this._parent.updateValueAndValidity(He),He.skipPristineCheck||this._parent._updatePristine({},q),this._parent._updateTouched({},q))}setParent(He){this._parent=He}getRawValue(){return this.value}updateValueAndValidity(He={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const mt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===N||this.status===Me)&&this._runAsyncValidator(mt,He.emitEvent)}const q=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new pn(this.value,q)),this._events.next(new ut(this.status,q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!He.onlySelf&&this._parent.updateValueAndValidity({...He,sourceControl:q})}_updateTreeValidity(He={emitEvent:!0}){this._forEachChild(q=>q._updateTreeValidity(He)),this.updateValueAndValidity({onlySelf:!0,emitEvent:He.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?at:N}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(He,q){if(this.asyncValidator){this.status=Me,this._hasOwnPendingAsyncValidator={emitEvent:!1!==q,shouldHaveEmitted:!1!==He};const mt=te(this.asyncValidator(this));this._asyncValidationSubscription=mt.subscribe(ln=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ln,{emitEvent:q,shouldHaveEmitted:He})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const He=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,He}return!1}setErrors(He,q={}){this.errors=He,this._updateControlsErrors(!1!==q.emitEvent,this,q.shouldHaveEmitted)}get(He){let q=He;return null==q||(Array.isArray(q)||(q=q.split(".")),0===q.length)?null:q.reduce((mt,ln)=>mt&&mt._find(ln),this)}getError(He,q){const mt=q?this.get(q):this;return mt&&mt.errors?mt.errors[He]:null}hasError(He,q){return!!this.getError(He,q)}get root(){let He=this;for(;He._parent;)He=He._parent;return He}_updateControlsErrors(He,q,mt){this.status=this._calculateStatus(),He&&this.statusChanges.emit(this.status),(He||mt)&&this._events.next(new ut(this.status,q)),this._parent&&this._parent._updateControlsErrors(He,q,mt)}_initObservables(){this.valueChanges=new T.bkB,this.statusChanges=new T.bkB}_calculateStatus(){return this._allControlsDisabled()?at:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Me)?Me:this._anyControlsHaveStatus(Z)?Z:N}_anyControlsHaveStatus(He){return this._anyControls(q=>q.status===He)}_anyControlsDirty(){return this._anyControls(He=>He.dirty)}_anyControlsTouched(){return this._anyControls(He=>He.touched)}_updatePristine(He,q){const mt=!this._anyControlsDirty(),ln=this.pristine!==mt;this.pristine=mt,this._parent&&!He.onlySelf&&this._parent._updatePristine(He,q),ln&&this._events.next(new Je(this.pristine,q))}_updateTouched(He={},q){this.touched=this._anyControlsTouched(),this._events.next(new Be(this.touched,q)),this._parent&&!He.onlySelf&&this._parent._updateTouched(He,q)}_onDisabledChange=[];_registerOnCollectionChange(He){this._onCollectionChange=He}_setUpdateStrategy(He){on(He)&&null!=He.updateOn&&(this._updateOn=He.updateOn)}_parentMarkedDirty(He){return!He&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(He){return null}_assignValidators(He){this._rawValidators=Array.isArray(He)?He.slice():He,this._composedValidatorFn=function We(Ne){return Array.isArray(Ne)?$(Ne):Ne||null}(this._rawValidators)}_assignAsyncValidators(He){this._rawAsyncValidators=Array.isArray(He)?He.slice():He,this._composedAsyncValidatorFn=function tn(Ne){return Array.isArray(Ne)?Vt(Ne):Ne||null}(this._rawAsyncValidators)}}class xn extends dn{constructor(He,q,mt){super(se(q),bt(mt,q)),this.controls=He,this._initObservables(),this._setUpdateStrategy(q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(He,q){return this.controls[He]?this.controls[He]:(this.controls[He]=q,q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange),q)}addControl(He,q,mt={}){this.registerControl(He,q),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}removeControl(He,q={}){this.controls[He]&&this.controls[He]._registerOnCollectionChange(()=>{}),delete this.controls[He],this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}setControl(He,q,mt={}){this.controls[He]&&this.controls[He]._registerOnCollectionChange(()=>{}),delete this.controls[He],q&&this.registerControl(He,q),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}contains(He){return this.controls.hasOwnProperty(He)&&this.controls[He].enabled}setValue(He,q={}){Nt(this,0,He),Object.keys(He).forEach(mt=>{un(this,!0,mt),this.controls[mt].setValue(He[mt],{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q)}patchValue(He,q={}){null!=He&&(Object.keys(He).forEach(mt=>{const ln=this.controls[mt];ln&&ln.patchValue(He[mt],{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q))}reset(He={},q={}){this._forEachChild((mt,ln)=>{mt.reset(He?He[ln]:null,{onlySelf:!0,emitEvent:q.emitEvent})}),this._updatePristine(q,this),this._updateTouched(q,this),this.updateValueAndValidity(q),!1!==q?.emitEvent&&this._events.next(new Ot(this))}getRawValue(){return this._reduceChildren({},(He,q,mt)=>(He[mt]=q.getRawValue(),He))}_syncPendingControls(){let He=this._reduceChildren(!1,(q,mt)=>!!mt._syncPendingControls()||q);return He&&this.updateValueAndValidity({onlySelf:!0}),He}_forEachChild(He){Object.keys(this.controls).forEach(q=>{const mt=this.controls[q];mt&&He(mt,q)})}_setUpControls(){this._forEachChild(He=>{He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(He){for(const[q,mt]of Object.entries(this.controls))if(this.contains(q)&&He(mt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(q,mt,ln)=>((mt.enabled||this.disabled)&&(q[ln]=mt.value),q))}_reduceChildren(He,q){let mt=He;return this._forEachChild((ln,Oi)=>{mt=q(mt,ln,Oi)}),mt}_allControlsDisabled(){for(const He of Object.keys(this.controls))if(this.controls[He].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(He){return this.controls.hasOwnProperty(He)?this.controls[He]:null}}class Tt extends xn{}const we=new v.nKC("",{providedIn:"root",factory:()=>ae}),ae="always";function Lt(Ne,He){return[...He.path,Ne]}function Ht(Ne,He,q=ae){Qi(Ne,He),He.valueAccessor.writeValue(Ne.value),(Ne.disabled||"always"===q)&&He.valueAccessor.setDisabledState?.(Ne.disabled),function It(Ne,He){He.valueAccessor.registerOnChange(q=>{Ne._pendingValue=q,Ne._pendingChange=!0,Ne._pendingDirty=!0,"change"===Ne.updateOn&&Yt(Ne,He)})}(Ne,He),function Un(Ne,He){const q=(mt,ln)=>{He.valueAccessor.writeValue(mt),ln&&He.viewToModelUpdate(mt)};Ne.registerOnChange(q),He._registerOnDestroy(()=>{Ne._unregisterOnChange(q)})}(Ne,He),function an(Ne,He){He.valueAccessor.registerOnTouched(()=>{Ne._pendingTouched=!0,"blur"===Ne.updateOn&&Ne._pendingChange&&Yt(Ne,He),"submit"!==Ne.updateOn&&Ne.markAsTouched()})}(Ne,He),function bi(Ne,He){if(He.valueAccessor.setDisabledState){const q=mt=>{He.valueAccessor.setDisabledState(mt)};Ne.registerOnDisabledChange(q),He._registerOnDestroy(()=>{Ne._unregisterOnDisabledChange(q)})}}(Ne,He)}function _n(Ne,He,q=!0){const mt=()=>{};He.valueAccessor&&(He.valueAccessor.registerOnChange(mt),He.valueAccessor.registerOnTouched(mt)),zi(Ne,He),Ne&&(He._invokeOnDestroyCallbacks(),Ne._registerOnCollectionChange(()=>{}))}function fi(Ne,He){Ne.forEach(q=>{q.registerOnValidatorChange&&q.registerOnValidatorChange(He)})}function Qi(Ne,He){const q=ot(Ne);null!==He.validator?Ne.setValidators(St(q,He.validator)):"function"==typeof q&&Ne.setValidators([q]);const mt=nt(Ne);null!==He.asyncValidator?Ne.setAsyncValidators(St(mt,He.asyncValidator)):"function"==typeof mt&&Ne.setAsyncValidators([mt]);const ln=()=>Ne.updateValueAndValidity();fi(He._rawValidators,ln),fi(He._rawAsyncValidators,ln)}function zi(Ne,He){let q=!1;if(null!==Ne){if(null!==He.validator){const ln=ot(Ne);if(Array.isArray(ln)&&ln.length>0){const Oi=ln.filter(ua=>ua!==He.validator);Oi.length!==ln.length&&(q=!0,Ne.setValidators(Oi))}}if(null!==He.asyncValidator){const ln=nt(Ne);if(Array.isArray(ln)&&ln.length>0){const Oi=ln.filter(ua=>ua!==He.asyncValidator);Oi.length!==ln.length&&(q=!0,Ne.setAsyncValidators(Oi))}}}const mt=()=>{};return fi(He._rawValidators,mt),fi(He._rawAsyncValidators,mt),q}function Yt(Ne,He){Ne._pendingDirty&&Ne.markAsDirty(),Ne.setValue(Ne._pendingValue,{emitModelToViewChange:!1}),He.viewToModelUpdate(Ne._pendingValue),Ne._pendingChange=!1}function zn(Ne,He){Qi(Ne,He)}function ii(Ne,He){if(!Ne.hasOwnProperty("model"))return!1;const q=Ne.model;return!!q.isFirstChange()||!Object.is(He,q.currentValue)}function ia(Ne,He){Ne._syncPendingControls(),He.forEach(q=>{const mt=q.control;"submit"===mt.updateOn&&mt._pendingChange&&(q.viewToModelUpdate(mt._pendingValue),mt._pendingChange=!1)})}function ra(Ne,He){if(!He)return null;let q,mt,ln;return Array.isArray(He),He.forEach(Oi=>{Oi.constructor===G?q=Oi:function Bn(Ne){return Object.getPrototypeOf(Ne.constructor)===A}(Oi)?mt=Oi:ln=Oi}),ln||mt||q||null}const qt={provide:gt,useExisting:(0,v.Rfq)(()=>Wn)},En=Promise.resolve();let Wn=(()=>{class Ne extends gt{callSetDisabledState;get submitted(){return(0,e.O8)(this.submittedReactive)}_submitted=(0,e.EW)(()=>this.submittedReactive());submittedReactive=(0,v.vPA)(!1);_directives=new Set;form;ngSubmit=new T.bkB;options;constructor(q,mt,ln){super(),this.callSetDisabledState=ln,this.form=new xn({},$(q),Vt(mt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(q){En.then(()=>{const mt=this._findContainer(q.path);q.control=mt.registerControl(q.name,q.control),Ht(q.control,q,this.callSetDisabledState),q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(q)})}getControl(q){return this.form.get(q.path)}removeControl(q){En.then(()=>{const mt=this._findContainer(q.path);mt&&mt.removeControl(q.name),this._directives.delete(q)})}addFormGroup(q){En.then(()=>{const mt=this._findContainer(q.path),ln=new xn({});zn(ln,q),mt.registerControl(q.name,ln),ln.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(q){En.then(()=>{const mt=this._findContainer(q.path);mt&&mt.removeControl(q.name)})}getFormGroup(q){return this.form.get(q.path)}updateModel(q,mt){En.then(()=>{this.form.get(q.path).setValue(mt)})}setValue(q){this.control.setValue(q)}onSubmit(q){return this.submittedReactive.set(!0),ia(this.form,this._directives),this.ngSubmit.emit(q),this.form._events.next(new Ge(this.control)),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0){this.form.reset(q),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(q){return q.pop(),q.length?this.form.get(q):this.form}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("submit",function(ua){return ln.onSubmit(ua)})("reset",function(){return ln.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([qt]),T.Vt3]})}return Ne})();function ri(Ne,He){const q=Ne.indexOf(He);q>-1&&Ne.splice(q,1)}function Rn(Ne){return"object"==typeof Ne&&null!==Ne&&2===Object.keys(Ne).length&&"value"in Ne&&"disabled"in Ne}const Hn=class extends dn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(He=null,q,mt){super(se(q),bt(mt,q)),this._applyFormState(He),this._setUpdateStrategy(q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),on(q)&&(q.nonNullable||q.initialValueIsDefault)&&(this.defaultValue=Rn(He)?He.value:He)}setValue(He,q={}){this.value=this._pendingValue=He,this._onChange.length&&!1!==q.emitModelToViewChange&&this._onChange.forEach(mt=>mt(this.value,!1!==q.emitViewToModelChange)),this.updateValueAndValidity(q)}patchValue(He,q={}){this.setValue(He,q)}reset(He=this.defaultValue,q={}){this._applyFormState(He),this.markAsPristine(q),this.markAsUntouched(q),this.setValue(this.value,q),this._pendingChange=!1,!1!==q?.emitEvent&&this._events.next(new Ot(this))}_updateValue(){}_anyControls(He){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(He){this._onChange.push(He)}_unregisterOnChange(He){ri(this._onChange,He)}registerOnDisabledChange(He){this._onDisabledChange.push(He)}_unregisterOnDisabledChange(He){ri(this._onDisabledChange,He)}_forEachChild(He){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(He){Rn(He)?(this.value=this._pendingValue=He.value,He.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=He}},Pi=Hn,Wi={provide:Gt,useExisting:(0,v.Rfq)(()=>Fe)},Ca=Promise.resolve();let Fe=(()=>{class Ne extends Gt{_changeDetectorRef;callSetDisabledState;control=new Hn;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new T.bkB;constructor(q,mt,ln,Oi,ua,Es){super(),this._changeDetectorRef=ua,this.callSetDisabledState=Es,this._parent=q,this._setValidators(mt),this._setAsyncValidators(ln),this.valueAccessor=ra(0,Oi)}ngOnChanges(q){if(this._checkForErrors(),!this._registered||"name"in q){if(this._registered&&(this._checkName(),this.formDirective)){const mt=q.name.previousValue;this.formDirective.removeControl({name:mt,path:this._getPath(mt)})}this._setUpControl()}"isDisabled"in q&&this._updateDisabled(q),ii(q,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ht(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(q){Ca.then(()=>{this.control.setValue(q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(q){const mt=q.isDisabled.currentValue,ln=0!==mt&&(0,w.L39)(mt);Ca.then(()=>{ln&&!this.control.disabled?this.control.disable():!ln&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(q){return this._parent?Lt(q,this._parent):[q]}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,9),T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(w.gRc,8),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[T.Jv_([Wi]),T.Vt3,T.OA$]})}return Ne})(),Ve=(()=>{class Ne{static \u0275fac=function(mt){return new(mt||Ne)};static \u0275dir=T.FsC({type:Ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return Ne})();const Et={provide:Pe,useExisting:(0,v.Rfq)(()=>Jt),multi:!0};let Jt=(()=>{class Ne extends A{writeValue(q){this.setProperty("value",q??"")}registerOnChange(q){this.onChange=mt=>{q(""==mt?null:parseFloat(mt))}}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("input",function(ua){return ln.onChange(ua.target.value)})("blur",function(){return ln.onTouched()})},standalone:!1,features:[T.Jv_([Et]),T.Vt3]})}return Ne})();const U=new v.nKC(""),tt={provide:Gt,useExisting:(0,v.Rfq)(()=>Ze)};let Ze=(()=>{class Ne extends Gt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(q){}model;update=new T.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(q,mt,ln,Oi,ua){super(),this._ngModelWarningConfig=Oi,this.callSetDisabledState=ua,this._setValidators(q),this._setAsyncValidators(mt),this.valueAccessor=ra(0,ln)}ngOnChanges(q){if(this._isControlChanged(q)){const mt=q.form.previousValue;mt&&_n(mt,this,!1),Ht(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ii(q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_n(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}_isControlChanged(q){return q.hasOwnProperty("form")}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(U,8),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([tt]),T.Vt3,T.OA$]})}return Ne})();const Xt={provide:gt,useExisting:(0,v.Rfq)(()=>Nn)};let Nn=(()=>{class Ne extends gt{callSetDisabledState;get submitted(){return(0,e.O8)(this._submittedReactive)}set submitted(q){this._submittedReactive.set(q)}_submitted=(0,e.EW)(()=>this._submittedReactive());_submittedReactive=(0,v.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new T.bkB;constructor(q,mt,ln){super(),this.callSetDisabledState=ln,this._setValidators(q),this._setAsyncValidators(mt)}ngOnChanges(q){q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(zi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(q){const mt=this.form.get(q.path);return Ht(mt,q,this.callSetDisabledState),mt.updateValueAndValidity({emitEvent:!1}),this.directives.push(q),mt}getControl(q){return this.form.get(q.path)}removeControl(q){_n(q.control||null,q,!1),function fa(Ne,He){const q=Ne.indexOf(He);q>-1&&Ne.splice(q,1)}(this.directives,q)}addFormGroup(q){this._setUpFormContainer(q)}removeFormGroup(q){this._cleanUpFormContainer(q)}getFormGroup(q){return this.form.get(q.path)}addFormArray(q){this._setUpFormContainer(q)}removeFormArray(q){this._cleanUpFormContainer(q)}getFormArray(q){return this.form.get(q.path)}updateModel(q,mt){this.form.get(q.path).setValue(mt)}onSubmit(q){return this._submittedReactive.set(!0),ia(this.form,this.directives),this.ngSubmit.emit(q),this.form._events.next(new Ge(this.control)),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0,mt={}){this.form.reset(q,mt),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(q=>{const mt=q.control,ln=this.form.get(q.path);mt!==ln&&(_n(mt||null,q),(Ne=>Ne instanceof Hn)(ln)&&(Ht(ln,q,this.callSetDisabledState),q.control=ln))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(q){const mt=this.form.get(q.path);zn(mt,q),mt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(q){if(this.form){const mt=this.form.get(q.path);mt&&function Fn(Ne,He){return zi(Ne,He)}(mt,q)&&mt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qi(this.form,this),this._oldForm&&zi(this._oldForm,this)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formGroup",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("submit",function(ua){return ln.onSubmit(ua)})("reset",function(){return ln.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([Xt]),T.Vt3,T.OA$]})}return Ne})();const Ga={provide:Gt,useExisting:(0,v.Rfq)(()=>As)};let As=(()=>{class Ne extends Gt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(q){}model;update=new T.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(q,mt,ln,Oi,ua){super(),this._ngModelWarningConfig=ua,this._parent=q,this._setValidators(mt),this._setAsyncValidators(ln),this.valueAccessor=ra(0,Oi)}ngOnChanges(q){this._added||this._setUpControl(),ii(q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}get path(){return Lt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,13),T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(U,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[T.Jv_([Ga]),T.Vt3,T.OA$]})}return Ne})();function kr(Ne){return"number"==typeof Ne?Ne:parseFloat(Ne)}let js=(()=>{class Ne{_validator=lt;_onChange;_enabled;ngOnChanges(q){if(this.inputName in q){const mt=this.normalizeInput(q[this.inputName].currentValue);this._enabled=this.enabled(mt),this._validator=this._enabled?this.createValidator(mt):lt,this._onChange&&this._onChange()}}validate(q){return this._validator(q)}registerOnValidatorChange(q){this._onChange=q}enabled(q){return null!=q}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275dir=T.FsC({type:Ne,features:[T.OA$]})}return Ne})();const Vo={provide:Ee,useExisting:(0,v.Rfq)(()=>Zr),multi:!0};let Zr=(()=>{class Ne extends js{max;inputName="max";normalizeInput=q=>kr(q);createValidator=q=>J(q);static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("max",ln._enabled?ln.max:null)},inputs:{max:"max"},standalone:!1,features:[T.Jv_([Vo]),T.Vt3]})}return Ne})();const qo={provide:Ee,useExisting:(0,v.Rfq)(()=>Jr),multi:!0};let Jr=(()=>{class Ne extends js{min;inputName="min";normalizeInput=q=>kr(q);createValidator=q=>ne(q);static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("min",ln._enabled?ln.min:null)},inputs:{min:"min"},standalone:!1,features:[T.Jv_([qo]),T.Vt3]})}return Ne})();const Co={provide:Ee,useExisting:(0,v.Rfq)(()=>_r),multi:!0};let _r=(()=>{class Ne extends js{required;inputName="required";normalizeInput=w.L39;createValidator=q=>De;enabled(q){return q}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("required",ln._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[T.Jv_([Co]),T.Vt3]})}return Ne})(),er=(()=>{class Ne{static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({})}return Ne})();class Xs extends dn{constructor(He,q,mt){super(se(q),bt(mt,q)),this.controls=He,this._initObservables(),this._setUpdateStrategy(q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(He){return this.controls[this._adjustIndex(He)]}push(He,q={}){Array.isArray(He)?He.forEach(mt=>{this.controls.push(mt),this._registerControl(mt)}):(this.controls.push(He),this._registerControl(He)),this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}insert(He,q,mt={}){this.controls.splice(He,0,q),this._registerControl(q),this.updateValueAndValidity({emitEvent:mt.emitEvent})}removeAt(He,q={}){let mt=this._adjustIndex(He);mt<0&&(mt=0),this.controls[mt]&&this.controls[mt]._registerOnCollectionChange(()=>{}),this.controls.splice(mt,1),this.updateValueAndValidity({emitEvent:q.emitEvent})}setControl(He,q,mt={}){let ln=this._adjustIndex(He);ln<0&&(ln=0),this.controls[ln]&&this.controls[ln]._registerOnCollectionChange(()=>{}),this.controls.splice(ln,1),q&&(this.controls.splice(ln,0,q),this._registerControl(q)),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(He,q={}){Nt(this,0,He),He.forEach((mt,ln)=>{un(this,!1,ln),this.at(ln).setValue(mt,{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q)}patchValue(He,q={}){null!=He&&(He.forEach((mt,ln)=>{this.at(ln)&&this.at(ln).patchValue(mt,{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q))}reset(He=[],q={}){this._forEachChild((mt,ln)=>{mt.reset(He[ln],{onlySelf:!0,emitEvent:q.emitEvent})}),this._updatePristine(q,this),this._updateTouched(q,this),this.updateValueAndValidity(q),!1!==q?.emitEvent&&this._events.next(new Ot(this))}getRawValue(){return this.controls.map(He=>He.getRawValue())}clear(He={}){this.controls.length<1||(this._forEachChild(q=>q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:He.emitEvent}))}_adjustIndex(He){return He<0?He+this.length:He}_syncPendingControls(){let He=this.controls.reduce((q,mt)=>!!mt._syncPendingControls()||q,!1);return He&&this.updateValueAndValidity({onlySelf:!0}),He}_forEachChild(He){this.controls.forEach((q,mt)=>{He(q,mt)})}_updateValue(){this.value=this.controls.filter(He=>He.enabled||this.disabled).map(He=>He.value)}_anyControls(He){return this.controls.some(q=>q.enabled&&He(q))}_setUpControls(){this._forEachChild(He=>this._registerControl(He))}_allControlsDisabled(){for(const He of this.controls)if(He.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(He){He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange)}_find(He){return this.at(He)??null}}function Za(Ne){return!!Ne&&(void 0!==Ne.asyncValidators||void 0!==Ne.validators||void 0!==Ne.updateOn)}let Or=(()=>{class Ne{useNonNullable=!1;get nonNullable(){const q=new Ne;return q.useNonNullable=!0,q}group(q,mt=null){const ln=this._reduceControls(q);let Oi={};return Za(mt)?Oi=mt:null!==mt&&(Oi.validators=mt.validator,Oi.asyncValidators=mt.asyncValidator),new xn(ln,Oi)}record(q,mt=null){const ln=this._reduceControls(q);return new Tt(ln,mt)}control(q,mt,ln){let Oi={};return this.useNonNullable?(Za(mt)?Oi=mt:(Oi.validators=mt,Oi.asyncValidators=ln),new Hn(q,{...Oi,nonNullable:!0})):new Hn(q,mt,ln)}array(q,mt,ln){const Oi=q.map(ua=>this._createControl(ua));return new Xs(Oi,mt,ln)}_reduceControls(q){const mt={};return Object.keys(q).forEach(ln=>{mt[ln]=this._createControl(q[ln])}),mt}_createControl(q){return q instanceof Hn||q instanceof dn?q:Array.isArray(q)?this.control(q[0],q.length>1?q[1]:null,q.length>2?q[2]:null):this.control(q)}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275prov=v.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Fs=(()=>{class Ne extends Or{group(q,mt=null){return super.group(q,mt)}control(q,mt,ln){return super.control(q,mt,ln)}array(q,mt,ln){return super.array(q,mt,ln)}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275prov=v.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Ks=(()=>{class Ne{static withConfig(q){return{ngModule:Ne,providers:[{provide:we,useValue:q.callSetDisabledState??ae}]}}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({imports:[er]})}return Ne})(),Sr=(()=>{class Ne{static withConfig(q){return{ngModule:Ne,providers:[{provide:U,useValue:q.warnOnNgModelWithFormControl??"always"},{provide:we,useValue:q.callSetDisabledState??ae}]}}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({imports:[er]})}return Ne})()},1804(Zt,pe,l){"use strict";l.d(pe,{Rc:()=>u,_J:()=>f});var i=l(4330),d=l(2615),v=l(3664);const T=new d.nKC("MATERIAL_ANIMATIONS");let O=null;function f(){return(0,d.WQX)(T,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,d.WQX)(v.bc$,{optional:!0})?"di-disabled":(O??=(0,d.WQX)(i.D).matchMedia("(prefers-reduced-motion)").matches,O?"reduced-motion":"enabled")}function u(){return"enabled"!==f()}},2628(Zt,pe,l){"use strict";l.d(pe,{$3:()=>gt,jL:()=>jt,pN:()=>h});var i=l(3029),d=l(3664),v=l(2615),T=l(7705),w=l(5718),e=l(9338),O=l(9726),f=l(9090),u=l(8617),L=l(9842),C=l(4522),B=l(8359),A=l(1413),Pe=l(7786),le=l(7673),Ce=l(9030),Ae=l(1985),j=l(1804),W=l(1577),G=l(7336),re=l(438),xe=l(4330),Ee=l(9327),V=l(6939),ce=l(408),be=l(9417),ne=l(5964),J=l(6354),De=l(9172),Re=l(5558),Xe=l(8141),_e=l(3236),he=l(8793),Dt=l(6697),lt=l(3557),Le=l(3703),te=l(1397),ie=l(8750);function P(Ue,wt){return wt?pt=>(0,he.x)(wt.pipe((0,Dt.s)(1),(0,lt.w)()),pt.pipe(P(Ue))):(0,te.Z)((pt,Pt)=>(0,ie.Tg)(Ue(pt,Pt)).pipe((0,Dt.s)(1),(0,Le.u)(pt)))}var F=l(1807);function ve(Ue,wt=_e.E){const pt=(0,F.O)(Ue,wt);return P(()=>pt)}var H=l(9588),$=l(146),Ke=l(2466);const nt=["panel"],ht=["*"];function oe(Ue,wt){if(1&Ue&&(d.rj2(0,"div",1,0),d.SdG(2),d.eux()),2&Ue){const pt=wt.id,Pt=d.XpG();d.HbH(Pt._classList),d.AVh("mat-mdc-autocomplete-visible",Pt.showPanel)("mat-mdc-autocomplete-hidden",!Pt.showPanel)("mat-autocomplete-panel-animations-enabled",!Pt._animationsDisabled)("mat-primary","primary"===Pt._color)("mat-accent","accent"===Pt._color)("mat-warn","warn"===Pt._color),d.Avn("id",Pt.id),d.BMQ("aria-label",Pt.ariaLabel||null)("aria-labelledby",Pt._getPanelAriaLabelledby(pt))}}class Ye{source;option;constructor(wt,pt){this.source=wt,this.option=pt}}const fe=new v.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Qe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}});let gt=(()=>{class Ue{_changeDetectorRef=(0,v.WQX)(T.gRc);_elementRef=(0,v.WQX)(d.aKT);_defaults=(0,v.WQX)(fe);_animationsDisabled=(0,j.Rc)();_activeOptionChanges=B.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(pt){this._color=pt,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new d.bkB;opened=new d.bkB;closed=new d.bkB;optionActivated=new d.bkB;set classList(pt){this._classList=pt,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(pt){this._hideSingleSelectionIndicator=pt,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const pt of this.options)pt._changeDetectorRef.markForCheck()}id=(0,v.WQX)(O.g).getId("mat-autocomplete-");inertGroups;constructor(){const pt=(0,v.WQX)(L.O);this.inertGroups=pt?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new f.A(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(pt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[pt]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(pt){this.panel&&(this.panel.nativeElement.scrollTop=pt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(pt){const Pt=new Ye(this,pt);this.optionSelected.emit(Pt)}_getPanelAriaLabelledby(pt){return this.ariaLabel?null:this.ariaLabelledby?(pt?pt+" ":"")+this.ariaLabelledby:pt}_skipPredicate(){return!1}static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275cmp=d.VBU({type:Ue,selectors:[["mat-autocomplete"]],contentQueries:function(Pt,gn,ei){if(1&Pt&&(d.wni(ei,i.wT,5),d.wni(ei,i.QC,5)),2&Pt){let vi;d.mGM(vi=d.lsd())&&(gn.options=vi),d.mGM(vi=d.lsd())&&(gn.optionGroups=vi)}},viewQuery:function(Pt,gn){if(1&Pt&&(d.GBs(d.C4Q,7),d.GBs(nt,5)),2&Pt){let ei;d.mGM(ei=d.lsd())&&(gn.template=ei.first),d.mGM(ei=d.lsd())&&(gn.panel=ei.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",T.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",T.L39],requireSelection:[2,"requireSelection","requireSelection",T.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",T.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",T.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[d.Jv_([{provide:i.is,useExisting:Ue}])],ngContentSelectors:ht,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(Pt,gn){1&Pt&&(d.NAR(),d.PeT(0,oe,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0})}return Ue})();const rt={provide:be.kq,useExisting:(0,v.Rfq)(()=>h),multi:!0},Ft=new v.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ue=(0,v.WQX)(v.zZn);return()=>(0,e.RH)(Ue)}}),Qn={provide:Ft,deps:[],useFactory:function Sn(Ue){const wt=(0,v.WQX)(v.zZn);return()=>(0,e.RH)(wt)}};let h=(()=>{class Ue{_environmentInjector=(0,v.WQX)(v.uvJ);_element=(0,v.WQX)(d.aKT);_injector=(0,v.WQX)(v.zZn);_viewContainerRef=(0,v.WQX)(d.c1b);_zone=(0,v.WQX)(d.SKi);_changeDetectorRef=(0,v.WQX)(T.gRc);_dir=(0,v.WQX)(W.dS,{optional:!0});_formField=(0,v.WQX)(H.xb,{optional:!0,host:!0});_viewportRuler=(0,v.WQX)(w.Xj);_scrollStrategy=(0,v.WQX)(Ft);_renderer=(0,v.WQX)(d.sFG);_animationsDisabled=(0,j.Rc)();_defaults=(0,v.WQX)(fe,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new A.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=B.yU.EMPTY;_breakpointObserver=(0,v.WQX)(xe.Q);_handsetLandscapeSubscription=B.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new A.B;_overlayPanelClass=(0,ce.F)(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(pt){pt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,u.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Pe.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ne.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ne.p)(()=>this._overlayAttached)):(0,le.of)()).pipe((0,J.T)(pt=>pt instanceof i.MI?pt:null))}optionSelections=(0,Ce.v)(()=>{const pt=this.autocomplete?this.autocomplete.options:null;return pt?pt.changes.pipe((0,De.Z)(pt),(0,Re.n)(()=>(0,Pe.h)(...pt.map(Pt=>Pt.onSelectionChange)))):this._initialized.pipe((0,Re.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ae.c(pt=>{const Pt=ei=>{const vi=(0,C.Fb)(ei),Ni=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,kn=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&vi!==this._element.nativeElement&&!this._hasFocus()&&(!Ni||!Ni.contains(vi))&&(!kn||!kn.contains(vi))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(vi)&&pt.next(ei)},gn=[this._renderer.listen("document","click",Pt),this._renderer.listen("document","auxclick",Pt),this._renderer.listen("document","touchend",Pt)];return()=>{gn.forEach(ei=>ei())}})}writeValue(pt){Promise.resolve(null).then(()=>this._assignOptionValue(pt))}registerOnChange(pt){this._onChange=pt}registerOnTouched(pt){this._onTouched=pt}setDisabledState(pt){this._element.nativeElement.disabled=pt}_handleKeydown(pt){const Pt=pt,gn=Pt.keyCode,ei=(0,G.rp)(Pt);if(gn===re._f&&!ei&&Pt.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&gn===re.Fm&&this.panelOpen&&!ei)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Pt.preventDefault();else if(this.autocomplete){const vi=this.autocomplete._keyManager.activeItem,Ni=gn===re.i7||gn===re.n6;gn===re.wn||Ni&&!ei&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Pt):Ni&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Ni||this.autocomplete._keyManager.activeItem!==vi)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(pt){let Pt=pt.target,gn=Pt.value;if("number"===Pt.type&&(gn=""==gn?null:parseFloat(gn)),this._previousValue!==gn){if(this._previousValue=gn,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(gn),gn){if(this.panelOpen&&!this.autocomplete.requireSelection){const ei=this.autocomplete.options?.find(vi=>vi.selected);ei&&gn!==this._getDisplayValue(ei.value)&&ei.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const ei=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(ei)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return(0,C.vc)()===this._element.nativeElement}_floatLabel(pt=!1){this._formField&&"auto"===this._formField.floatLabel&&(pt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const pt=new Ae.c(gn=>{(0,d.mal)(()=>{gn.next()},{injector:this._environmentInjector})}),Pt=this.autocomplete.options?.changes.pipe((0,Xe.M)(()=>this._positionStrategy.reapplyLastPosition()),ve(0))??(0,le.of)();return(0,Pe.h)(pt,Pt).pipe((0,Re.n)(()=>this._zone.run(()=>{const gn=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),gn!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,Dt.s)(1)).subscribe(gn=>this._setValueAndClose(gn))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(pt){const Pt=this.autocomplete;return Pt&&Pt.displayWith?Pt.displayWith(pt):pt}_assignOptionValue(pt){const Pt=this._getDisplayValue(pt);null==pt&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(Pt??"")}_updateNativeInputValue(pt){this._formField?this._formField._control.value=pt:this._element.nativeElement.value=pt,this._previousValue=pt}_setValueAndClose(pt){const Pt=this.autocomplete,gn=pt?pt.source:this._pendingAutoselectedOption;gn?(this._clearPreviousSelectedOption(gn),this._assignOptionValue(gn.value),this._onChange(gn.value),Pt._emitSelectEvent(gn),this._element.nativeElement.focus()):Pt.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(pt,Pt){this.autocomplete?.options?.forEach(gn=>{gn!==pt&&gn.selected&&gn.deselect(Pt)})}_openPanelInternal(pt=this._element.nativeElement.value){this._attachOverlay(pt),this._floatLabel(),this._trackedModal&&(0,u.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(pt){let Pt=this._overlayRef;Pt?(this._positionStrategy.setOrigin(this._getConnectedElement()),Pt.updateSize({width:this._getPanelWidth()})):(this._portal=new V.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Pt=(0,e.Y$)(this._injector,this._getOverlayConfig()),this._overlayRef=Pt,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Pt&&Pt.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Ee.Rp.HandsetLandscape).subscribe(ei=>{ei.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),Pt&&!Pt.hasAttached()&&(Pt.attach(this._portal),this._valueOnAttach=pt,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const gn=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&gn!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=pt=>{(pt.keyCode===re._f&&!(0,G.rp)(pt)||pt.keyCode===re.i7&&(0,G.rp)(pt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),pt.stopPropagation(),pt.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const pt=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=pt.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=pt.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new e.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){const pt=(0,e.$M)(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(pt),this._positionStrategy=pt,pt}_setStrategyPositions(pt){const Pt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],gn=this._aboveClass,ei=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:gn},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:gn}];let vi;vi="above"===this.position?ei:"below"===this.position?Pt:[...Pt,...ei],pt.withPositions(vi)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const pt=this.autocomplete;if(pt.autoActiveFirstOption){let Pt=-1;for(let gn=0;gn .cdk-overlay-container [aria-modal="true"]');if(!pt)return;const Pt=this.autocomplete.id;this._trackedModal&&(0,u.Ae)(this._trackedModal,"aria-owns",Pt),(0,u.px)(pt,"aria-owns",Pt),this._trackedModal=pt}_clearFromModal(){this._trackedModal&&((0,u.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275dir=d.FsC({type:Ue,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Pt,gn){1&Pt&&d.bIt("focusin",function(){return gn._handleFocus()})("blur",function(){return gn._onTouched()})("input",function(vi){return gn._handleInput(vi)})("keydown",function(vi){return gn._handleKeydown(vi)})("click",function(){return gn._handleClick()}),2&Pt&&d.BMQ("autocomplete",gn.autocompleteAttribute)("role",gn.autocompleteDisabled?null:"combobox")("aria-autocomplete",gn.autocompleteDisabled?null:"list")("aria-activedescendant",gn.panelOpen&&gn.activeOption?gn.activeOption.id:null)("aria-expanded",gn.autocompleteDisabled?null:gn.panelOpen.toString())("aria-controls",gn.autocompleteDisabled||!gn.panelOpen||null==gn.autocomplete?null:gn.autocomplete.id)("aria-haspopup",gn.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",T.L39]},exportAs:["matAutocompleteTrigger"],features:[d.Jv_([rt]),d.OA$]})}return Ue})(),jt=(()=>{class Ue{static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275mod=d.$C({type:Ue});static \u0275inj=v.G2t({providers:[Qn],imports:[e.z_,$.S,Ke.y,w.Gj,$.S,Ke.y]})}return Ue})()},1975(Zt,pe,l){"use strict";l.d(pe,{Y:()=>Pe,k:()=>A});var i=l(8617),d=l(7094),v=l(9726),T=l(2615),w=l(3664),e=l(7705),O=l(9046),f=l(8968),u=l(1804),L=l(2466);const C="mat-badge-content";let B=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275cmp=w.VBU({type:le,selectors:[["ng-component"]],decls:0,vars:0,template:function(j,W){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,changeDetection:0})}return le})(),A=(()=>{class le{_ngZone=(0,T.WQX)(w.SKi);_elementRef=(0,T.WQX)(w.aKT);_ariaDescriber=(0,T.WQX)(i.vr);_renderer=(0,T.WQX)(w.sFG);_animationsDisabled=(0,u.Rc)();_idGenerator=(0,T.WQX)(v.g);get color(){return this._color}set color(Ae){this._setColor(Ae),this._color=Ae}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(Ae){this._updateRenderedContent(Ae)}_content;get description(){return this._description}set description(Ae){this._updateDescription(Ae)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=(0,T.WQX)(d.Z7);_document=(0,T.WQX)(T.qQL);constructor(){const Ae=(0,T.WQX)(f.l);Ae.load(B),Ae.load(O.Y)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const Ae=this._renderer.createElement("span"),j="mat-badge-active";return Ae.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),Ae.setAttribute("aria-hidden","true"),Ae.classList.add(C),this._animationsDisabled&&Ae.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(Ae),"function"!=typeof requestAnimationFrame||this._animationsDisabled?Ae.classList.add(j):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{Ae.classList.add(j)})}),Ae}_updateRenderedContent(Ae){const j=`${Ae??""}`.trim();this._isInitialized&&j&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=j),this._content=j}_updateDescription(Ae){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!Ae||this._isHostInteractive())&&this._removeInlineDescription(),this._description=Ae,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,Ae):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(Ae){const j=this._elementRef.nativeElement.classList;j.remove(`mat-badge-${this._color}`),Ae&&j.add(`mat-badge-${Ae}`)}_clearExistingBadges(){const Ae=this._elementRef.nativeElement.querySelectorAll(`:scope > .${C}`);for(const j of Array.from(Ae))j!==this._badgeElement&&j.remove()}static \u0275fac=function(j){return new(j||le)};static \u0275dir=w.FsC({type:le,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(j,W){2&j&&w.AVh("mat-badge-overlap",W.overlap)("mat-badge-above",W.isAbove())("mat-badge-below",!W.isAbove())("mat-badge-before",!W.isAfter())("mat-badge-after",W.isAfter())("mat-badge-small","small"===W.size)("mat-badge-medium","medium"===W.size)("mat-badge-large","large"===W.size)("mat-badge-hidden",W.hidden||!W.content)("mat-badge-disabled",W.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",e.L39],disabled:[2,"matBadgeDisabled","disabled",e.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",e.L39]}})}return le})(),Pe=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275mod=w.$C({type:le});static \u0275inj=T.G2t({imports:[d.Pd,L.y,L.y]})}return le})()},8834(Zt,pe,l){"use strict";l.d(pe,{$0:()=>V,$z:()=>Ae,Hl:()=>ne});var w=l(2598),e=l(2615),O=l(3664),f=l(6881),u=l(2466);const L=["matButton",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],B=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Pe=["mat-mini-fab",""],Ce=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let Ae=(()=>{class J extends w.iM{get appearance(){return this._appearance}set appearance(Re){this.setAppearance(Re||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const Re=function j(J){return J.hasAttribute("mat-raised-button")?"elevated":J.hasAttribute("mat-stroked-button")?"outlined":J.hasAttribute("mat-flat-button")?"filled":J.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);Re&&this.setAppearance(Re)}setAppearance(Re){if(Re===this._appearance)return;const Xe=this._elementRef.nativeElement.classList,_e=this._appearance?Ce.get(this._appearance):null,he=Ce.get(Re);_e&&Xe.remove(..._e),Xe.add(...he),this._appearance=Re}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=O.VBU({type:J,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[O.Vt3],attrs:L,ngContentSelectors:B,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Xe,_e){1&Xe&&(O.NAR(C),O.Hgh(0,"span",0),O.SdG(1),O.rj2(2,"span",1),O.SdG(3,1),O.eux(),O.SdG(4,2),O.Hgh(5,"span",2)(6,"span",3)),2&Xe&&O.AVh("mdc-button__ripple",!_e._isFab)("mdc-fab__ripple",_e._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return J})();const G=new e.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:re});function re(){return{color:"accent"}}const xe=re();let V=(()=>{class J extends w.iM{_options=(0,e.WQX)(G,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||xe,this.color=this._options.color||xe.color}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=O.VBU({type:J,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[O.Vt3],attrs:Pe,ngContentSelectors:B,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Xe,_e){1&Xe&&(O.NAR(C),O.Hgh(0,"span",0),O.SdG(1),O.rj2(2,"span",1),O.SdG(3,1),O.eux(),O.SdG(4,2),O.Hgh(5,"span",2)(6,"span",3)),2&Xe&&O.AVh("mdc-button__ripple",!_e._isFab)("mdc-fab__ripple",_e._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\n'],encapsulation:2,changeDetection:0})}return J})(),ne=(()=>{class J{static \u0275fac=function(Xe){return new(Xe||J)};static \u0275mod=O.$C({type:J});static \u0275inj=e.G2t({imports:[u.y,f.p,u.y]})}return J})()},5596(Zt,pe,l){"use strict";l.d(pe,{Hu:()=>ce,Lc:()=>Pe,MM:()=>Ce,RN:()=>L,dh:()=>C,m2:()=>A});var i=l(2615),d=l(3664),v=l(2466);const T=["*"],O=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],u=new i.nKC("MAT_CARD_CONFIG");let L=(()=>{class be{appearance;constructor(){const J=(0,i.WQX)(u,{optional:!0});this.appearance=J?.appearance||"raised"}static \u0275fac=function(De){return new(De||be)};static \u0275cmp=d.VBU({type:be,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(De,Re){2&De&&d.AVh("mat-mdc-card-outlined","outlined"===Re.appearance)("mdc-card--outlined","outlined"===Re.appearance)("mat-mdc-card-filled","filled"===Re.appearance)("mdc-card--filled","filled"===Re.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:T,decls:1,vars:0,template:function(De,Re){1&De&&(d.NAR(),d.SdG(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],encapsulation:2,changeDetection:0})}return be})(),C=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return be})(),A=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return be})(),Pe=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return be})(),Ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275cmp=d.VBU({type:be,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(De,Re){1&De&&(d.NAR(O),d.SdG(0),d.rj2(1,"div",0),d.SdG(2,1),d.eux(),d.SdG(3,2))},encapsulation:2,changeDetection:0})}return be})(),ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275mod=d.$C({type:be});static \u0275inj=i.G2t({imports:[v.y,v.y]})}return be})()},2765(Zt,pe,l){"use strict";l.d(pe,{So:()=>G,g7:()=>re});var i=l(9726),d=l(2615),v=l(3664),T=l(7705),w=l(9417),e=l(8968),O=l(3155),f=l(1804),u=l(2046),L=l(2496),C=l(2466);const B=["input"],A=["label"],Pe=["*"],le=new d.nKC("mat-checkbox-default-options",{providedIn:"root",factory:Ce});function Ce(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Ae=function(xe){return xe[xe.Init=0]="Init",xe[xe.Checked=1]="Checked",xe[xe.Unchecked=2]="Unchecked",xe[xe.Indeterminate=3]="Indeterminate",xe}(Ae||{});class j{source;checked}const W=Ce();let G=(()=>{class xe{_elementRef=(0,d.WQX)(v.aKT);_changeDetectorRef=(0,d.WQX)(T.gRc);_ngZone=(0,d.WQX)(v.SKi);_animationsDisabled=(0,f.Rc)();_options=(0,d.WQX)(le,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(V){const ce=new j;return ce.source=this,ce.checked=V,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new v.bkB;indeterminateChange=new v.bkB;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ae.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,d.WQX)(e.l).load(u.A);const V=(0,d.WQX)(new T.ES_("tabindex"),{optional:!0});this._options=this._options||W,this.color=this._options.color||W.color,this.tabIndex=null==V?0:parseInt(V)||0,this.id=this._uniqueId=(0,d.WQX)(i.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(V){V.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(V){V!=this.checked&&(this._checked=V,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(V){V!==this.disabled&&(this._disabled=V,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(V){const ce=V!=this._indeterminate();this._indeterminate.set(V),ce&&(this._transitionCheckState(V?Ae.Indeterminate:this.checked?Ae.Checked:Ae.Unchecked),this.indeterminateChange.emit(V)),this._syncIndeterminate(V)}_indeterminate=(0,d.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(V){this.checked=!!V}registerOnChange(V){this._controlValueAccessorChangeFn=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V}validate(V){return this.required&&!0!==V.value?{required:!0}:null}registerOnValidatorChange(V){this._validatorChangeFn=V}_transitionCheckState(V){let ce=this._currentCheckState,be=this._getAnimationTargetElement();if(ce!==V&&be&&(this._currentAnimationClass&&be.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,V),this._currentCheckState=V,this._currentAnimationClass.length>0)){be.classList.add(this._currentAnimationClass);const ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{be.classList.remove(ne)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const V=this._options?.clickAction;this.disabled||"noop"===V?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===V)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==V&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ae.Checked:Ae.Unchecked),this._emitChangeEvent())}_onInteractionEvent(V){V.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(V,ce){if(this._animationsDisabled)return"";switch(V){case Ae.Init:if(ce===Ae.Checked)return this._animationClasses.uncheckedToChecked;if(ce==Ae.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ae.Unchecked:return ce===Ae.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ae.Checked:return ce===Ae.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ae.Indeterminate:return ce===Ae.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(V){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=V)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(V){V.target&&this._labelElement.nativeElement.contains(V.target)&&V.stopPropagation()}static \u0275fac=function(ce){return new(ce||xe)};static \u0275cmp=v.VBU({type:xe,selectors:[["mat-checkbox"]],viewQuery:function(ce,be){if(1&ce&&(v.GBs(B,5),v.GBs(A,5)),2&ce){let ne;v.mGM(ne=v.lsd())&&(be._inputElement=ne.first),v.mGM(ne=v.lsd())&&(be._labelElement=ne.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(ce,be){2&ce&&(v.Avn("id",be.id),v.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),v.HbH(be.color?"mat-"+be.color:"mat-accent"),v.AVh("_mat-animation-noopable",be._animationsDisabled)("mdc-checkbox--disabled",be.disabled)("mat-mdc-checkbox-disabled",be.disabled)("mat-mdc-checkbox-checked",be.checked)("mat-mdc-checkbox-disabled-interactive",be.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",T.L39],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",T.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",T.L39],tabIndex:[2,"tabIndex","tabIndex",V=>null==V?void 0:(0,T.Udg)(V)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",T.L39],checked:[2,"checked","checked",T.L39],disabled:[2,"disabled","disabled",T.L39],indeterminate:[2,"indeterminate","indeterminate",T.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[v.Jv_([{provide:w.kq,useExisting:(0,d.Rfq)(()=>xe),multi:!0},{provide:w.cz,useExisting:xe,multi:!0}]),v.OA$],ngContentSelectors:Pe,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(ce,be){if(1&ce){const ne=v.RV6();v.NAR(),v.j41(0,"div",3),v.bIt("click",function(De){return d.eBV(ne),d.Njj(be._preventBubblingFromLabel(De))}),v.j41(1,"div",4,0)(3,"div",5),v.bIt("click",function(){return d.eBV(ne),d.Njj(be._onTouchTargetClick())}),v.k0s(),v.j41(4,"input",6,1),v.bIt("blur",function(){return d.eBV(ne),d.Njj(be._onBlur())})("click",function(){return d.eBV(ne),d.Njj(be._onInputClick())})("change",function(De){return d.eBV(ne),d.Njj(be._onInteractionEvent(De))}),v.k0s(),v.nrm(6,"div",7),v.j41(7,"div",8),d.qSk(),v.j41(8,"svg",9),v.nrm(9,"path",10),v.k0s(),d.joV(),v.nrm(10,"div",11),v.k0s(),v.nrm(11,"div",12),v.k0s(),v.j41(12,"label",13,2),v.SdG(14),v.k0s()()}if(2&ce){const ne=v.sdS(2);v.Y8G("labelPosition",be.labelPosition),v.R7$(4),v.AVh("mdc-checkbox--selected",be.checked),v.Y8G("checked",be.checked)("indeterminate",be.indeterminate)("disabled",be.disabled&&!be.disabledInteractive)("id",be.inputId)("required",be.required)("tabIndex",be.disabled&&!be.disabledInteractive?-1:be.tabIndex),v.BMQ("aria-label",be.ariaLabel||null)("aria-labelledby",be.ariaLabelledby)("aria-describedby",be.ariaDescribedby)("aria-checked",be.indeterminate?"mixed":null)("aria-controls",be.ariaControls)("aria-disabled",!(!be.disabled||!be.disabledInteractive)||null)("aria-expanded",be.ariaExpanded)("aria-owns",be.ariaOwns)("name",be.name)("value",be.value),v.R7$(7),v.Y8G("matRippleTrigger",ne)("matRippleDisabled",be.disableRipple||be.disabled)("matRippleCentered",!0),v.R7$(),v.Y8G("for",be.inputId)}},dependencies:[L.r6,O.t],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return xe})(),re=(()=>{class xe{static \u0275fac=function(ce){return new(ce||xe)};static \u0275mod=v.$C({type:xe});static \u0275inj=d.G2t({imports:[G,C.y,C.y]})}return xe})()},6471(Zt,pe,l){"use strict";l.d(pe,{Jl:()=>cn,YN:()=>Ni});var i=l(6838),d=l(9726),w=(l(4123),l(7336),l(438)),e=l(9046),O=l(8968),f=l(2615),u=l(3664),L=l(7705),C=l(1413),B=l(7786),A=l(2046),Pe=l(2496),le=l(1804),Ce=l(1048),xe=(l(9172),l(5558),l(6977),l(1577),l(9417),l(2709)),ce=(l(9336),l(9588),l(2466)),be=l(6881);const ne=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],J=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function De(kn,Ri){1&kn&&(u.j41(0,"span",3),u.SdG(1,1),u.k0s())}function Re(kn,Ri){1&kn&&(u.j41(0,"span",6),u.SdG(1,2),u.k0s())}const St=new f.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[w.Fm]})}),ot=new f.nKC("MatChipAvatar"),nt=new f.nKC("MatChipTrailingIcon"),ht=new f.nKC("MatChipEdit"),oe=new f.nKC("MatChipRemove"),Ye=new f.nKC("MatChip");let fe=(()=>{class kn{_elementRef=(0,f.WQX)(u.aKT);_parentChip=(0,f.WQX)(Ye);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(vt){this._disabled=vt}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){(0,f.WQX)(O.l).load(A.A),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(vt){!this.disabled&&this.isInteractive&&this._isPrimary&&(vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(vt){(vt.keyCode===w.Fm||vt.keyCode===w.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(ee){return new(ee||kn)};static \u0275dir=u.FsC({type:kn,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(ee,ye){1&ee&&u.bIt("click",function(Se){return ye._handleClick(Se)})("keydown",function(Se){return ye._handleKeydown(Se)}),2&ee&&(u.BMQ("tabindex",ye._getTabindex())("disabled",ye._getDisabledAttribute())("aria-disabled",ye.disabled),u.AVh("mdc-evolution-chip__action--primary",ye._isPrimary)("mdc-evolution-chip__action--presentational",!ye.isInteractive)("mdc-evolution-chip__action--secondary",!ye._isPrimary)("mdc-evolution-chip__action--trailing",!ye._isPrimary&&!ye._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",L.L39],tabIndex:[2,"tabIndex","tabIndex",vt=>null==vt?-1:(0,L.Udg)(vt)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return kn})(),cn=(()=>{class kn{_changeDetectorRef=(0,f.WQX)(L.gRc);_elementRef=(0,f.WQX)(u.aKT);_tagName=(0,f.WQX)(L.cCO);_ngZone=(0,f.WQX)(u.SKi);_focusMonitor=(0,f.WQX)(i.FN);_globalRippleOptions=(0,f.WQX)(Pe.$E,{optional:!0});_document=(0,f.WQX)(f.qQL);_onFocus=new C.B;_onBlur=new C.B;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=(0,le.Rc)();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=(0,f.WQX)(d.g).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(vt){this._value=vt}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(vt){this._disabled=vt}_disabled=!1;removed=new u.bkB;destroyed=new u.bkB;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=(0,f.WQX)(Ce.E);_injector=(0,f.WQX)(f.zZn);constructor(){const vt=(0,f.WQX)(O.l);vt.load(A.A),vt.load(e.Y),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,B.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(vt){(vt.keyCode===w.G_&&!vt.repeat||vt.keyCode===w.SJ)&&(vt.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(vt){return this._getActions().find(ee=>{const ye=ee._elementRef.nativeElement;return ye===vt||ye.contains(vt)})}_getActions(){const vt=[];return this.editIcon&&vt.push(this.editIcon),this.primaryAction&&vt.push(this.primaryAction),this.removeIcon&&vt.push(this.removeIcon),this.trailingIcon&&vt.push(this.trailingIcon),vt}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(vt=>vt.isInteractive)}_edit(vt){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(vt=>{const ee=null!==vt;ee!==this._hasFocusInternal&&(this._hasFocusInternal=ee,ee?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(ee){return new(ee||kn)};static \u0275cmp=u.VBU({type:kn,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ee,ye,ke){if(1&ee&&(u.wni(ke,ot,5),u.wni(ke,ht,5),u.wni(ke,nt,5),u.wni(ke,oe,5),u.wni(ke,ot,5),u.wni(ke,nt,5),u.wni(ke,ht,5),u.wni(ke,oe,5)),2&ee){let Se;u.mGM(Se=u.lsd())&&(ye.leadingIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.editIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.trailingIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.removeIcon=Se.first),u.mGM(Se=u.lsd())&&(ye._allLeadingIcons=Se),u.mGM(Se=u.lsd())&&(ye._allTrailingIcons=Se),u.mGM(Se=u.lsd())&&(ye._allEditIcons=Se),u.mGM(Se=u.lsd())&&(ye._allRemoveIcons=Se)}},viewQuery:function(ee,ye){if(1&ee&&u.GBs(fe,5),2&ee){let ke;u.mGM(ke=u.lsd())&&(ye.primaryAction=ke.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(ee,ye){1&ee&&u.bIt("keydown",function(Se){return ye._handleKeydown(Se)}),2&ee&&(u.Avn("id",ye.id),u.BMQ("role",ye.role)("aria-label",ye.ariaLabel),u.HbH("mat-"+(ye.color||"primary")),u.AVh("mdc-evolution-chip",!ye._isBasicChip)("mdc-evolution-chip--disabled",ye.disabled)("mdc-evolution-chip--with-trailing-action",ye._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ye.leadingIcon)("mdc-evolution-chip--with-primary-icon",ye.leadingIcon)("mdc-evolution-chip--with-avatar",ye.leadingIcon)("mat-mdc-chip-with-avatar",ye.leadingIcon)("mat-mdc-chip-highlighted",ye.highlighted)("mat-mdc-chip-disabled",ye.disabled)("mat-mdc-basic-chip",ye._isBasicChip)("mat-mdc-standard-chip",!ye._isBasicChip)("mat-mdc-chip-with-trailing-icon",ye._hasTrailingIcon())("_mat-animation-noopable",ye._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",L.L39],highlighted:[2,"highlighted","highlighted",L.L39],disableRipple:[2,"disableRipple","disableRipple",L.L39],disabled:[2,"disabled","disabled",L.L39]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[u.Jv_([{provide:Ye,useExisting:kn}])],ngContentSelectors:J,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(ee,ye){1&ee&&(u.NAR(ne),u.nrm(0,"span",0),u.j41(1,"span",1)(2,"span",2),u.nVh(3,De,2,0,"span",3),u.j41(4,"span",4),u.SdG(5),u.nrm(6,"span",5),u.k0s()()(),u.nVh(7,Re,2,0,"span",6)),2&ee&&(u.R7$(2),u.Y8G("isInteractive",!1),u.R7$(),u.vxM(ye.leadingIcon?3:-1),u.R7$(4),u.vxM(ye._hasTrailingIcon()?7:-1))},dependencies:[fe],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}\n'],encapsulation:2,changeDetection:0})}return kn})(),Ni=(()=>{class kn{static \u0275fac=function(ee){return new(ee||kn)};static \u0275mod=u.$C({type:kn});static \u0275inj=f.G2t({providers:[xe.e,{provide:St,useValue:{separatorKeyCodes:[w.Fm]}}],imports:[ce.y,be.p,ce.y]})}return kn})()},2466(Zt,pe,l){"use strict";l.d(pe,{y:()=>e});var i=l(7094),d=l(8203),v=l(2615),T=l(3664);let e=(()=>{class O{constructor(){(0,v.WQX)(i.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(L){return new(L||O)};static \u0275mod=T.$C({type:O});static \u0275inj=v.G2t({imports:[d.jI,d.jI]})}return O})()},3(Zt,pe,l){"use strict";l.d(pe,{WX:()=>Pe,xW:()=>L});var v=l(2615),T=l(3664),w=l(9945);const O=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,f=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function u(Ce,Ae){const j=Array(Ce);for(let W=0;W{class Ce extends w.MJ{useUtcForDisplay=!1;_matDateLocale=(0,v.WQX)(w.Ju,{optional:!0});constructor(){super();const j=(0,v.WQX)(w.Ju,{optional:!0});void 0!==j&&(this._matDateLocale=j),super.setLocale(this._matDateLocale)}getYear(j){return j.getFullYear()}getMonth(j){return j.getMonth()}getDate(j){return j.getDate()}getDayOfWeek(j){return j.getDay()}getMonthNames(j){const W=new Intl.DateTimeFormat(this.locale,{month:j,timeZone:"utc"});return u(12,G=>this._format(W,new Date(2017,G,1)))}getDateNames(){const j=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return u(31,W=>this._format(j,new Date(2017,0,W+1)))}getDayOfWeekNames(j){const W=new Intl.DateTimeFormat(this.locale,{weekday:j,timeZone:"utc"});return u(7,G=>this._format(W,new Date(2017,0,G+1)))}getYearName(j){const W=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(W,j)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){const j=new Intl.Locale(this.locale),W=(j.getWeekInfo?.()||j.weekInfo)?.firstDay??0;return 7===W?0:W}return 0}getNumDaysInMonth(j){return this.getDate(this._createDateWithOverflow(this.getYear(j),this.getMonth(j)+1,0))}clone(j){return new Date(j.getTime())}createDate(j,W,G){let re=this._createDateWithOverflow(j,W,G);return re.getMonth(),re}today(){return new Date}parse(j,W){return"number"==typeof j?new Date(j):j?new Date(Date.parse(j)):null}format(j,W){if(!this.isValid(j))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,{...W,timeZone:"utc"});return this._format(G,j)}addCalendarYears(j,W){return this.addCalendarMonths(j,12*W)}addCalendarMonths(j,W){let G=this._createDateWithOverflow(this.getYear(j),this.getMonth(j)+W,this.getDate(j));return this.getMonth(G)!=((this.getMonth(j)+W)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(j,W){return this._createDateWithOverflow(this.getYear(j),this.getMonth(j),this.getDate(j)+W)}toIso8601(j){return[j.getUTCFullYear(),this._2digit(j.getUTCMonth()+1),this._2digit(j.getUTCDate())].join("-")}deserialize(j){if("string"==typeof j){if(!j)return null;if(O.test(j)){let W=new Date(j);if(this.isValid(W))return W}}return super.deserialize(j)}isDateInstance(j){return j instanceof Date}isValid(j){return!isNaN(j.getTime())}invalid(){return new Date(NaN)}setTime(j,W,G,re){const xe=this.clone(j);return xe.setHours(W,G,re,0),xe}getHours(j){return j.getHours()}getMinutes(j){return j.getMinutes()}getSeconds(j){return j.getSeconds()}parseTime(j,W){if("string"!=typeof j)return j instanceof Date?new Date(j.getTime()):null;const G=j.trim();if(0===G.length)return null;let re=this._parseTimeString(G);if(null===re){const xe=G.replace(/[^0-9:(AM|PM)]/gi,"").trim();xe.length>0&&(re=this._parseTimeString(xe))}return re||this.invalid()}addSeconds(j,W){return new Date(j.getTime()+1e3*W)}_createDateWithOverflow(j,W,G){const re=new Date;return re.setFullYear(j,W,G),re.setHours(0,0,0,0),re}_2digit(j){return("00"+j).slice(-2)}_format(j,W){const G=new Date;return G.setUTCFullYear(W.getFullYear(),W.getMonth(),W.getDate()),G.setUTCHours(W.getHours(),W.getMinutes(),W.getSeconds(),W.getMilliseconds()),j.format(G)}_parseTimeString(j){const W=j.toUpperCase().match(f);if(W){let G=parseInt(W[1]);const re=parseInt(W[2]);let xe=null==W[3]?void 0:parseInt(W[3]);const Ee=W[4];if(12===G?G="AM"===Ee?0:G:"PM"===Ee&&(G+=12),C(G,0,23)&&C(re,0,59)&&(null==xe||C(xe,0,59)))return this.setTime(this.today(),G,re,xe||0)}return null}static \u0275fac=function(W){return new(W||Ce)};static \u0275prov=v.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();function C(Ce,Ae,j){return!isNaN(Ce)&&Ce>=Ae&&Ce<=j}const B={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};let Pe=(()=>{class Ce{static \u0275fac=function(W){return new(W||Ce)};static \u0275mod=T.$C({type:Ce});static \u0275inj=v.G2t({providers:[le()]})}return Ce})();function le(Ce=B){return[{provide:w.MJ,useClass:L},{provide:w.de,useValue:Ce}]}},9945(Zt,pe,l){"use strict";l.d(pe,{Ju:()=>T,MJ:()=>O,de:()=>f});var i=l(2615),d=l(3664),v=l(1413);const T=new i.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function w(){return(0,i.WQX)(d.xe9)}}),e="Method not implemented";class O{locale;_localeChanges=new v.B;localeChanges=this._localeChanges;setTime(L,C,B,A){throw new Error(e)}getHours(L){throw new Error(e)}getMinutes(L){throw new Error(e)}getSeconds(L){throw new Error(e)}parseTime(L,C){throw new Error(e)}addSeconds(L,C){throw new Error(e)}getValidDateOrNull(L){return this.isDateInstance(L)&&this.isValid(L)?L:null}deserialize(L){return null==L||this.isDateInstance(L)&&this.isValid(L)?L:this.invalid()}setLocale(L){this.locale=L,this._localeChanges.next()}compareDate(L,C){return this.getYear(L)-this.getYear(C)||this.getMonth(L)-this.getMonth(C)||this.getDate(L)-this.getDate(C)}compareTime(L,C){return this.getHours(L)-this.getHours(C)||this.getMinutes(L)-this.getMinutes(C)||this.getSeconds(L)-this.getSeconds(C)}sameDate(L,C){if(L&&C){let B=this.isValid(L),A=this.isValid(C);return B&&A?!this.compareDate(L,C):B==A}return L==C}sameTime(L,C){if(L&&C){const B=this.isValid(L),A=this.isValid(C);return B&&A?!this.compareTime(L,C):B==A}return L==C}clampDate(L,C,B){return C&&this.compareDate(L,C)<0?C:B&&this.compareDate(L,B)>0?B:L}}const f=new i.nKC("mat-date-formats")},5084(Zt,pe,l){"use strict";l.d(pe,{Vh:()=>Wn,X6:()=>Ii,bU:()=>vn,bZ:()=>Ta});var _e=l(2615),he=l(3664),Dt=l(7705),lt=l(1413),Le=l(8359),te=l(7786),ie=l(7673),P=l(9945),F=l(6838),ve=l(7094),H=l(9726),$=l(1577),Ke=l(4085),Vt=l(7336),St=l(438),ot=l(9338),nt=l(9842),ht=l(4522),oe=l(6939),Ye=l(5964),fe=l(9172),Qe=l(6697),gt=l(2200),Gt=l(9046),rt=l(8968),cn=l(2046),Ft=l(8834),Sn=l(2598),Qn=l(455),h=l(1804),jt=l(9417),Ue=l(8010),wt=l(9588),pt=l(5718),Pt=l(2466);const gn=["mat-calendar-body",""];function ei(nn,ni){return this._trackRow(ni)}const vi=(nn,ni)=>ni.id;function Ni(nn,ni){if(1&nn&&(he.j41(0,"tr",0)(1,"td",3),he.EFF(2),he.k0s()()),2&nn){const U=he.XpG();he.R7$(),he.xc7("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),he.BMQ("colspan",U.numCols),he.R7$(),he.SpI(" ",U.label," ")}}function kn(nn,ni){if(1&nn&&(he.j41(0,"td",3),he.EFF(1),he.k0s()),2&nn){const U=he.XpG(2);he.xc7("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),he.BMQ("colspan",U._firstRowOffset),he.R7$(),he.SpI(" ",U._firstRowOffset>=U.labelMinRequiredCells?U.label:""," ")}}function Ri(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"td",6)(1,"button",7),he.bIt("click",function(Ze){const Xt=_e.eBV(U).$implicit,Nn=he.XpG(2);return _e.Njj(Nn._cellClicked(Xt,Ze))})("focus",function(Ze){const Xt=_e.eBV(U).$implicit,Nn=he.XpG(2);return _e.Njj(Nn._emitActiveDateChange(Xt,Ze))}),he.j41(2,"span",8),he.EFF(3),he.k0s(),he.nrm(4,"span",9),he.k0s()()}if(2&nn){const U=ni.$implicit,tt=ni.$index,Ze=he.XpG().$index,Xt=he.XpG();he.xc7("width",Xt._cellWidth)("padding-top",Xt._cellPadding)("padding-bottom",Xt._cellPadding),he.BMQ("data-mat-row",Ze)("data-mat-col",tt),he.R7$(),he.AVh("mat-calendar-body-disabled",!U.enabled)("mat-calendar-body-active",Xt._isActiveCell(Ze,tt))("mat-calendar-body-range-start",Xt._isRangeStart(U.compareValue))("mat-calendar-body-range-end",Xt._isRangeEnd(U.compareValue))("mat-calendar-body-in-range",Xt._isInRange(U.compareValue))("mat-calendar-body-comparison-bridge-start",Xt._isComparisonBridgeStart(U.compareValue,Ze,tt))("mat-calendar-body-comparison-bridge-end",Xt._isComparisonBridgeEnd(U.compareValue,Ze,tt))("mat-calendar-body-comparison-start",Xt._isComparisonStart(U.compareValue))("mat-calendar-body-comparison-end",Xt._isComparisonEnd(U.compareValue))("mat-calendar-body-in-comparison-range",Xt._isInComparisonRange(U.compareValue))("mat-calendar-body-preview-start",Xt._isPreviewStart(U.compareValue))("mat-calendar-body-preview-end",Xt._isPreviewEnd(U.compareValue))("mat-calendar-body-in-preview",Xt._isInPreview(U.compareValue)),he.Y8G("ngClass",U.cssClasses)("tabindex",Xt._isActiveCell(Ze,tt)?0:-1),he.BMQ("aria-label",U.ariaLabel)("aria-disabled",!U.enabled||null)("aria-pressed",Xt._isSelected(U.compareValue))("aria-current",Xt.todayValue===U.compareValue?"date":null)("aria-describedby",Xt._getDescribedby(U.compareValue)),he.R7$(),he.AVh("mat-calendar-body-selected",Xt._isSelected(U.compareValue))("mat-calendar-body-comparison-identical",Xt._isComparisonIdentical(U.compareValue))("mat-calendar-body-today",Xt.todayValue===U.compareValue),he.R7$(),he.SpI(" ",U.displayValue," ")}}function vt(nn,ni){if(1&nn&&(he.j41(0,"tr",1),he.nVh(1,kn,2,6,"td",4),he.Z7z(2,Ri,5,48,"td",5,vi),he.k0s()),2&nn){const U=ni.$implicit,tt=ni.$index,Ze=he.XpG();he.R7$(),he.vxM(0===tt&&Ze._firstRowOffset?1:-1),he.R7$(),he.Dyx(U)}}function ee(nn,ni){if(1&nn&&(he.j41(0,"th",2)(1,"span",6),he.EFF(2),he.k0s(),he.j41(3,"span",3),he.EFF(4),he.k0s()()),2&nn){const U=ni.$implicit;he.R7$(2),he.JRh(U.long),he.R7$(2),he.JRh(U.narrow)}}const ye=["*"];function ke(nn,ni){}function Se(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-month-view",4),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("_userSelection",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dateSelected(Ze))})("dragStarted",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dragStarted(Ze))})("dragEnded",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dragEnded(Ze))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)("comparisonStart",U.comparisonStart)("comparisonEnd",U.comparisonEnd)("startDateAccessibleName",U.startDateAccessibleName)("endDateAccessibleName",U.endDateAccessibleName)("activeDrag",U._activeDrag)}}function ge(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-year-view",5),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("monthSelected",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._monthSelectedInYearView(Ze))})("selectedChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._goToDateInView(Ze,"month"))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function N(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-multi-year-view",6),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("yearSelected",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._yearSelectedInMultiYearView(Ze))})("selectedChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._goToDateInView(Ze,"year"))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Z(nn,ni){}const Me=["button"],at=[[["","matDatepickerToggleIcon",""]]],qe=["[matDatepickerToggleIcon]"];function pn(nn,ni){1&nn&&(_e.qSk(),he.j41(0,"svg",2),he.nrm(1,"path",3),he.k0s())}let Ot=(()=>{class nn{changes=new lt.B;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(U,tt){return`${U} \u2013 ${tt}`}formatYearRangeLabel(U,tt){return`${U} to ${tt}`}static \u0275fac=function(tt){return new(tt||nn)};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac,providedIn:"root"})}return nn})(),se=0;class We{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=se++;constructor(ni,U,tt,Ze,Xt={},Nn=ni,Ki){this.value=ni,this.displayValue=U,this.ariaLabel=tt,this.enabled=Ze,this.cssClasses=Xt,this.compareValue=Nn,this.rawValue=Ki}}const bt={passive:!1,capture:!0},tn={passive:!0,capture:!0},on={passive:!0};let un=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_ngZone=(0,_e.WQX)(he.SKi);_platform=(0,_e.WQX)(nt.O);_intl=(0,_e.WQX)(Ot);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new he.bkB;previewChange=new he.bkB;activeDateChange=new he.bkB;dragStarted=new he.bkB;dragEnded=new he.bkB;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=(0,_e.WQX)(_e.zZn);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=U=>U;constructor(){const U=(0,_e.WQX)(he.sFG),tt=(0,_e.WQX)(H.g);this._startDateLabelId=tt.getId("mat-calendar-body-start-"),this._endDateLabelId=tt.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=tt.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=tt.getId("mat-calendar-body-comparison-end-"),(0,_e.WQX)(rt.l).load(cn.A),this._ngZone.runOutsideAngular(()=>{const Ze=this._elementRef.nativeElement,Xt=[U.listen(Ze,"touchmove",this._touchmoveHandler,bt),U.listen(Ze,"mouseenter",this._enterHandler,tn),U.listen(Ze,"focus",this._enterHandler,tn),U.listen(Ze,"mouseleave",this._leaveHandler,tn),U.listen(Ze,"blur",this._leaveHandler,tn),U.listen(Ze,"mousedown",this._mousedownHandler,on),U.listen(Ze,"touchstart",this._mousedownHandler,on)];this._platform.isBrowser&&Xt.push(U.listen("window","mouseup",this._mouseupHandler),U.listen("window","touchend",this._touchendHandler)),this._eventCleanups=Xt})}_cellClicked(U,tt){this._didDragSinceMouseDown||U.enabled&&this.selectedValueChange.emit({value:U.value,event:tt})}_emitActiveDateChange(U,tt){U.enabled&&this.activeDateChange.emit({value:U.value,event:tt})}_isSelected(U){return this.startValue===U||this.endValue===U}ngOnChanges(U){const tt=U.numCols,{rows:Ze,numCols:Xt}=this;(U.rows||tt)&&(this._firstRowOffset=Ze&&Ze.length&&Ze[0].length?Xt-Ze[0].length:0),(U.cellAspectRatio||tt||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Xt+"%"),(tt||!this._cellWidth)&&(this._cellWidth=100/Xt+"%")}ngOnDestroy(){this._eventCleanups.forEach(U=>U())}_isActiveCell(U,tt){let Ze=U*this.numCols+tt;return U&&(Ze-=this._firstRowOffset),Ze==this.activeCell}_focusActiveCell(U=!0){(0,he.mal)(()=>{setTimeout(()=>{const tt=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");tt&&(U||(this._skipNextFocus=!0),tt.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(U){return xn(U,this.startValue,this.endValue)}_isRangeEnd(U){return Jn(U,this.startValue,this.endValue)}_isInRange(U){return xi(U,this.startValue,this.endValue,this.isRange)}_isComparisonStart(U){return xn(U,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(U,tt,Ze){if(!this._isComparisonStart(U)||this._isRangeStart(U)||!this._isInRange(U))return!1;let Xt=this.rows[tt][Ze-1];if(!Xt){const Nn=this.rows[tt-1];Xt=Nn&&Nn[Nn.length-1]}return Xt&&!this._isRangeEnd(Xt.compareValue)}_isComparisonBridgeEnd(U,tt,Ze){if(!this._isComparisonEnd(U)||this._isRangeEnd(U)||!this._isInRange(U))return!1;let Xt=this.rows[tt][Ze+1];if(!Xt){const Nn=this.rows[tt+1];Xt=Nn&&Nn[0]}return Xt&&!this._isRangeStart(Xt.compareValue)}_isComparisonEnd(U){return Jn(U,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(U){return xi(U,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(U){return this.comparisonStart===this.comparisonEnd&&U===this.comparisonStart}_isPreviewStart(U){return xn(U,this.previewStart,this.previewEnd)}_isPreviewEnd(U){return Jn(U,this.previewStart,this.previewEnd)}_isInPreview(U){return xi(U,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(U){if(!this.isRange)return null;if(this.startValue===U&&this.endValue===U)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===U)return this._startDateLabelId;if(this.endValue===U)return this._endDateLabelId;if(null!==this.comparisonStart&&null!==this.comparisonEnd){if(U===this.comparisonStart&&U===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(U===this.comparisonStart)return this._comparisonStartDateLabelId;if(U===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=U=>{if(this._skipNextFocus&&"focus"===U.type)this._skipNextFocus=!1;else if(U.target&&this.isRange){const tt=this._getCellFromElement(U.target);tt&&this._ngZone.run(()=>this.previewChange.emit({value:tt.enabled?tt:null,event:U}))}};_touchmoveHandler=U=>{if(!this.isRange)return;const tt=Yi(U),Ze=tt?this._getCellFromElement(tt):null;tt!==U.target&&(this._didDragSinceMouseDown=!0),dn(U.target)&&U.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Ze?.enabled?Ze:null,event:U}))};_leaveHandler=U=>{null!==this.previewEnd&&this.isRange&&("blur"!==U.type&&(this._didDragSinceMouseDown=!0),U.target&&this._getCellFromElement(U.target)&&(!U.relatedTarget||!this._getCellFromElement(U.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:U})))};_mousedownHandler=U=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const tt=U.target&&this._getCellFromElement(U.target);!tt||!this._isInRange(tt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:tt.rawValue,event:U})})};_mouseupHandler=U=>{if(!this.isRange)return;const tt=dn(U.target);tt?tt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Ze=this._getCellFromElement(tt);this.dragEnded.emit({value:Ze?.rawValue??null,event:U})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:U})})};_touchendHandler=U=>{const tt=Yi(U);tt&&this._mouseupHandler({target:tt})};_getCellFromElement(U){const tt=dn(U);if(tt){const Ze=tt.getAttribute("data-mat-row"),Xt=tt.getAttribute("data-mat-col");if(Ze&&Xt)return this.rows[parseInt(Ze)]?.[parseInt(Xt)]||null}return null}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[he.OA$],attrs:gn,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(tt,Ze){1&tt&&(he.nVh(0,Ni,3,6,"tr",0),he.Z7z(1,vt,4,1,"tr",1,ei,!0),he.j41(3,"span",2),he.EFF(4),he.k0s(),he.j41(5,"span",2),he.EFF(6),he.k0s(),he.j41(7,"span",2),he.EFF(8),he.k0s(),he.j41(9,"span",2),he.EFF(10),he.k0s()),2&tt&&(he.vxM(Ze._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],encapsulation:2,changeDetection:0})}return nn})();function Nt(nn){return"TD"===nn?.nodeName}function dn(nn){let ni;return Nt(nn)?ni=nn:Nt(nn.parentNode)?ni=nn.parentNode:Nt(nn.parentNode?.parentNode)&&(ni=nn.parentNode.parentNode),null!=ni?.getAttribute("data-mat-row")?ni:null}function xn(nn,ni,U){return null!==U&&ni!==U&&nn=ni&&nn===U}function xi(nn,ni,U,tt){return tt&&null!==ni&&null!==U&&ni!==U&&nn>=ni&&nn<=U}function Yi(nn){const ni=nn.changedTouches[0];return document.elementFromPoint(ni.clientX,ni.clientY)}class Tt{start;end;_disableStructuralEquivalency;constructor(ni,U){this.start=ni,this.end=U}}let At=(()=>{class nn{selection;_adapter;_selectionChanged=new lt.B;selectionChanged=this._selectionChanged;constructor(U,tt){this.selection=U,this._adapter=tt,this.selection=U}updateSelection(U,tt){const Ze=this.selection;this.selection=U,this._selectionChanged.next({selection:U,source:tt,oldValue:Ze})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(U){return this._adapter.isDateInstance(U)&&this._adapter.isValid(U)}static \u0275fac=function(tt){he.QTQ()};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac})}return nn})(),we=(()=>{class nn extends At{constructor(U){super(null,U)}add(U){super.updateSelection(U,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const U=new nn(this._adapter);return U.updateSelection(this.selection,this),U}static \u0275fac=function(tt){return new(tt||nn)(_e.KVO(P.MJ))};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac})}return nn})();const Ht={provide:At,deps:[[new he.Xx1,new he.kdw,At],P.MJ],useFactory:function Lt(nn,ni){return nn||new we(ni)}},bi=new _e.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Yt=0,Un=(()=>{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rangeStrategy=(0,_e.WQX)(bi,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){const tt=this._activeDate,Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),this._hasSameMonthAndYear(tt,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new he.bkB;_userSelection=new he.bkB;dragStarted=new he.bkB;dragEnded=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_monthLabel=(0,_e.vPA)("");_weeks=(0,_e.vPA)([]);_firstWeekOffset=(0,_e.vPA)(0);_rangeStart=(0,_e.vPA)(null);_rangeEnd=(0,_e.vPA)(null);_comparisonRangeStart=(0,_e.vPA)(null);_comparisonRangeEnd=(0,_e.vPA)(null);_previewStart=(0,_e.vPA)(null);_previewEnd=(0,_e.vPA)(null);_isRange=(0,_e.vPA)(!1);_todayDate=(0,_e.vPA)(null);_weekdays=(0,_e.vPA)([]);constructor(){(0,_e.WQX)(rt.l).load(Gt.Y),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnChanges(U){const tt=U.comparisonStart||U.comparisonEnd;tt&&!tt.firstChange&&this._setRanges(this.selected),U.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(U){const tt=U.value,Ze=this._getDateFromDayOfMonth(tt);let Xt,Nn;this._selected instanceof Tt?(Xt=this._getDateInCurrentMonth(this._selected.start),Nn=this._getDateInCurrentMonth(this._selected.end)):Xt=Nn=this._getDateInCurrentMonth(this._selected),(Xt!==tt||Nn!==tt)&&this.selectedChange.emit(Ze),this._userSelection.emit({value:Ze,event:U.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case St.w_:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case St.dB:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case St.Fm:case St.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&U.preventDefault());case St._f:return void(null!=this._previewEnd()&&!(0,Vt.rp)(U)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:U}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:U})),U.preventDefault(),U.stopPropagation()));default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let U=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((7+this._dateAdapter.getDayOfWeek(U)-this._dateAdapter.getFirstDayOfWeek())%7),this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(U){this._matCalendarBody._focusActiveCell(U)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:U,value:tt}){if(this._rangeStrategy){const Ze=tt?tt.rawValue:null,Xt=this._rangeStrategy.createPreview(Ze,this.selected,U);if(this._previewStart.set(this._getCellCompareValue(Xt.start)),this._previewEnd.set(this._getCellCompareValue(Xt.end)),this.activeDrag&&Ze){const Nn=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ze,U);Nn&&(this._previewStart.set(this._getCellCompareValue(Nn.start)),this._previewEnd.set(this._getCellCompareValue(Nn.end)))}}}_dragEnded(U){if(this.activeDrag)if(U.value){const tt=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,U.value,U.event);this.dragEnded.emit({value:tt??null,event:U.event})}else this.dragEnded.emit({value:null,event:U.event})}_getDateFromDayOfMonth(U){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),U)}_initWeekdays(){const U=this._dateAdapter.getFirstDayOfWeek(),tt=this._dateAdapter.getDayOfWeekNames("narrow"),Xt=this._dateAdapter.getDayOfWeekNames("long").map((Nn,Ki)=>({long:Nn,narrow:tt[Ki],id:Yt++}));this._weekdays.set(Xt.slice(U).concat(Xt.slice(0,U)))}_createWeekCells(){const U=this._dateAdapter.getNumDaysInMonth(this.activeDate),tt=this._dateAdapter.getDateNames(),Ze=[[]];for(let Xt=0,Nn=this._firstWeekOffset();Xt=0)&&(!this.maxDate||this._dateAdapter.compareDate(U,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(U))}_getDateInCurrentMonth(U){return U&&this._hasSameMonthAndYear(U,this.activeDate)?this._dateAdapter.getDate(U):null}_hasSameMonthAndYear(U,tt){return!(!U||!tt||this._dateAdapter.getMonth(U)!=this._dateAdapter.getMonth(tt)||this._dateAdapter.getYear(U)!=this._dateAdapter.getYear(tt))}_getCellCompareValue(U){if(U){const tt=this._dateAdapter.getYear(U),Ze=this._dateAdapter.getMonth(U),Xt=this._dateAdapter.getDate(U);return new Date(tt,Ze,Xt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(U){U instanceof Tt?(this._rangeStart.set(this._getCellCompareValue(U.start)),this._rangeEnd.set(this._getCellCompareValue(U.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(U)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(U){return!this.dateFilter||this.dateFilter(U)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-month-view"]],viewQuery:function(tt,Ze){if(1&tt&&he.GBs(un,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._matCalendarBody=Xt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[he.OA$],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(tt,Ze){1&tt&&(he.j41(0,"table",0)(1,"thead",1)(2,"tr"),he.Z7z(3,ee,5,2,"th",2,vi),he.k0s(),he.j41(5,"tr",3),he.nrm(6,"th",4),he.k0s()(),he.j41(7,"tbody",5),he.bIt("selectedValueChange",function(Nn){return Ze._dateSelected(Nn)})("activeDateChange",function(Nn){return Ze._updateActiveDate(Nn)})("previewChange",function(Nn){return Ze._previewChanged(Nn)})("dragStarted",function(Nn){return Ze.dragStarted.emit(Nn)})("dragEnded",function(Nn){return Ze._dragEnded(Nn)})("keyup",function(Nn){return Ze._handleCalendarBodyKeyup(Nn)})("keydown",function(Nn){return Ze._handleCalendarBodyKeydown(Nn)}),he.k0s()()),2&tt&&(he.R7$(3),he.Dyx(Ze._weekdays()),he.R7$(4),he.Y8G("label",Ze._monthLabel())("rows",Ze._weeks())("todayValue",Ze._todayDate())("startValue",Ze._rangeStart())("endValue",Ze._rangeEnd())("comparisonStart",Ze._comparisonRangeStart())("comparisonEnd",Ze._comparisonRangeEnd())("previewStart",Ze._previewStart())("previewEnd",Ze._previewEnd())("isRange",Ze._isRange())("labelMinRequiredCells",3)("activeCell",Ze._dateAdapter.getDate(Ze.activeDate)-1)("startDateAccessibleName",Ze.startDateAccessibleName)("endDateAccessibleName",Ze.endDateAccessibleName))},dependencies:[un],encapsulation:2,changeDetection:0})}return nn})(),ci=(()=>{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){let tt=this._activeDate;const Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),rn(this._dateAdapter,tt,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedYear(U)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;selectedChange=new he.bkB;yearSelected=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_years=(0,_e.vPA)([]);_todayYear=(0,_e.vPA)(0);_selectedYear=(0,_e.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));const tt=this._dateAdapter.getYear(this._activeDate)-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),Ze=[];for(let Xt=0,Nn=[];Xt<24;Xt++)Nn.push(tt+Xt),4==Nn.length&&(Ze.push(Nn.map(Ki=>this._createCellForYear(Ki))),Nn=[]);this._years.set(Ze),this._changeDetectorRef.markForCheck()}_yearSelected(U){const tt=U.value,Ze=this._dateAdapter.createDate(tt,0,1),Xt=this._getDateFromYear(tt);this.yearSelected.emit(Ze),this.selectedChange.emit(Xt)}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromYear(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case St.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-240:-24);break;case St.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?240:24);break;case St.Fm:case St.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_getActiveCell(){return In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(U){const tt=this._dateAdapter.getMonth(this.activeDate),Ze=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(U,tt,1));return this._dateAdapter.createDate(U,tt,Math.min(this._dateAdapter.getDate(this.activeDate),Ze))}_createCellForYear(U){const tt=this._dateAdapter.createDate(U,0,1),Ze=this._dateAdapter.getYearName(tt),Xt=this.dateClass?this.dateClass(tt,"multi-year"):void 0;return new We(U,Ze,Ze,this._shouldEnableYear(U),Xt)}_shouldEnableYear(U){if(null==U||this.maxDate&&U>this._dateAdapter.getYear(this.maxDate)||this.minDate&&U{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){let tt=this._activeDate;const Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),this._dateAdapter.getYear(tt)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedMonth(U)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;selectedChange=new he.bkB;monthSelected=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_months=(0,_e.vPA)([]);_yearLabel=(0,_e.vPA)("");_todayMonth=(0,_e.vPA)(null);_selectedMonth=(0,_e.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(U){const tt=U.value,Ze=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),tt,1);this.monthSelected.emit(Ze);const Xt=this._getDateFromMonth(tt);this.selectedChange.emit(Xt)}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromMonth(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case St.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-10:-1);break;case St.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10:1);break;case St.Fm:case St.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let U=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(tt=>tt.map(Ze=>this._createCellForMonth(Ze,U[Ze])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(U){return U&&this._dateAdapter.getYear(U)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(U):null}_getDateFromMonth(U){const tt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Ze=this._dateAdapter.getNumDaysInMonth(tt);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,Math.min(this._dateAdapter.getDate(this.activeDate),Ze))}_createCellForMonth(U,tt){const Ze=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Xt=this._dateAdapter.format(Ze,this._dateFormats.display.monthYearA11yLabel),Nn=this.dateClass?this.dateClass(Ze,"year"):void 0;return new We(U,tt.toLocaleUpperCase(),Xt,this._shouldEnableMonth(U),Nn)}_shouldEnableMonth(U){const tt=this._dateAdapter.getYear(this.activeDate);if(null==U||this._isYearAndMonthAfterMaxDate(tt,U)||this._isYearAndMonthBeforeMinDate(tt,U))return!1;if(!this.dateFilter)return!0;for(let Xt=this._dateAdapter.createDate(tt,U,1);this._dateAdapter.getMonth(Xt)==U;Xt=this._dateAdapter.addCalendarDays(Xt,1))if(this.dateFilter(Xt))return!0;return!1}_isYearAndMonthAfterMaxDate(U,tt){if(this.maxDate){const Ze=this._dateAdapter.getYear(this.maxDate),Xt=this._dateAdapter.getMonth(this.maxDate);return U>Ze||U===Ze&&tt>Xt}return!1}_isYearAndMonthBeforeMinDate(U,tt){if(this.minDate){const Ze=this._dateAdapter.getYear(this.minDate),Xt=this._dateAdapter.getMonth(this.minDate);return U{class nn{_intl=(0,_e.WQX)(Ot);calendar=(0,_e.WQX)(ia);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){(0,_e.WQX)(rt.l).load(Gt.Y);const U=(0,_e.WQX)(Dt.gRc);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),U.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24))}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){const U=this.calendar,tt=this._intl,Ze=this._dateAdapter;"month"===U.currentView?(this._periodButtonText=Ze.format(U.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=Ze.format(U.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=tt.switchToMultiYearViewLabel,this._prevButtonLabel=tt.prevMonthLabel,this._nextButtonLabel=tt.nextMonthLabel):"year"===U.currentView?(this._periodButtonText=Ze.getYearName(U.activeDate),this._periodButtonDescription=Ze.getYearName(U.activeDate),this._periodButtonLabel=tt.switchToMonthViewLabel,this._prevButtonLabel=tt.prevYearLabel,this._nextButtonLabel=tt.nextYearLabel):(this._periodButtonText=tt.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=tt.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=tt.switchToMonthViewLabel,this._prevButtonLabel=tt.prevMultiYearLabel,this._nextButtonLabel=tt.nextMultiYearLabel)}_isSameView(U,tt){return"month"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(tt)&&this._dateAdapter.getMonth(U)==this._dateAdapter.getMonth(tt):"year"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(tt):rn(this._dateAdapter,U,tt,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const tt=this._dateAdapter.getYear(this.calendar.activeDate)-In(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ze=tt+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(tt,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ze,0,1))]}_periodButtonLabelId=(0,_e.WQX)(H.g).getId("mat-calendar-period-label-");static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ye,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(tt,Ze){1&tt&&(he.NAR(),he.j41(0,"div",0)(1,"div",1)(2,"span",2),he.EFF(3),he.k0s(),he.j41(4,"button",3),he.bIt("click",function(){return Ze.currentPeriodClicked()}),he.j41(5,"span",4),he.EFF(6),he.k0s(),_e.qSk(),he.j41(7,"svg",5),he.nrm(8,"polygon",6),he.k0s()(),_e.joV(),he.nrm(9,"div",7),he.SdG(10),he.j41(11,"button",8),he.bIt("click",function(){return Ze.previousClicked()}),_e.qSk(),he.j41(12,"svg",9),he.nrm(13,"path",10),he.k0s()(),_e.joV(),he.j41(14,"button",11),he.bIt("click",function(){return Ze.nextClicked()}),_e.qSk(),he.j41(15,"svg",9),he.nrm(16,"path",12),he.k0s()()()()),2&tt&&(he.R7$(2),he.Y8G("id",Ze._periodButtonLabelId),he.R7$(),he.JRh(Ze.periodButtonDescription),he.R7$(),he.BMQ("aria-label",Ze.periodButtonLabel)("aria-describedby",Ze._periodButtonLabelId),he.R7$(2),he.JRh(Ze.periodButtonText),he.R7$(),he.AVh("mat-calendar-invert","month"!==Ze.calendar.currentView),he.R7$(4),he.Y8G("disabled",!Ze.previousEnabled())("matTooltip",Ze.prevButtonLabel),he.BMQ("aria-label",Ze.prevButtonLabel),he.R7$(3),he.Y8G("disabled",!Ze.nextEnabled())("matTooltip",Ze.nextButtonLabel),he.BMQ("aria-label",Ze.nextButtonLabel))},dependencies:[Ft.$z,Sn.iY,Qn.oV],encapsulation:2,changeDetection:0})}return nn})(),ia=(()=>{class nn{_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_elementRef=(0,_e.WQX)(he.aKT);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_startAt;startView="month";get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new he.bkB;yearSelected=new he.bkB;monthSelected=new he.bkB;viewChanged=new he.bkB(!0);_userSelection=new he.bkB;_userDragDrop=new he.bkB;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(U){this._clampedActiveDate=this._dateAdapter.clampDate(U,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(U){const tt=this._currentView!==U?U:null;this._currentView=U,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),tt&&(this.stateChanges.next(),this.viewChanged.emit(tt))}_currentView;_activeDrag=null;stateChanges=new lt.B;constructor(){this._intlChanges=(0,_e.WQX)(Ot).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new oe.A8(this.headerComponent||Bn),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(U){const tt=U.minDate&&!this._dateAdapter.sameDate(U.minDate.previousValue,U.minDate.currentValue)?U.minDate:void 0,Ze=U.maxDate&&!this._dateAdapter.sameDate(U.maxDate.previousValue,U.maxDate.currentValue)?U.maxDate:void 0,Xt=tt||Ze||U.dateFilter;if(Xt&&!Xt.firstChange){const Nn=this._getCurrentViewComponent();Nn&&(this._elementRef.nativeElement.contains((0,ht.vc)())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),Nn._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(U){const tt=U.value;(this.selected instanceof Tt||tt&&!this._dateAdapter.sameDate(tt,this.selected))&&this.selectedChange.emit(tt),this._userSelection.emit(U)}_yearSelectedInMultiYearView(U){this.yearSelected.emit(U)}_monthSelectedInYearView(U){this.monthSelected.emit(U)}_goToDateInView(U,tt){this.activeDate=U,this.currentView=tt}_dragStarted(U){this._activeDrag=U}_dragEnded(U){this._activeDrag&&(U.value&&this._userDragDrop.emit(U),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-calendar"]],viewQuery:function(tt,Ze){if(1&tt&&(he.GBs(Un,5),he.GBs(ii,5),he.GBs(ci,5)),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze.monthView=Xt.first),he.mGM(Xt=he.lsd())&&(Ze.yearView=Xt.first),he.mGM(Xt=he.lsd())&&(Ze.multiYearView=Xt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[he.Jv_([Ht]),he.OA$],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(tt,Ze){if(1&tt&&(he.DNE(0,ke,0,0,"ng-template",0),he.j41(1,"div",1),he.nVh(2,Se,1,11,"mat-month-view",2)(3,ge,1,6,"mat-year-view",3)(4,N,1,6,"mat-multi-year-view",3),he.k0s()),2&tt){let Xt;he.Y8G("cdkPortalOutlet",Ze._calendarHeaderPortal),he.R7$(2),he.vxM("month"===(Xt=Ze.currentView)?2:"year"===Xt?3:"multi-year"===Xt?4:-1)}},dependencies:[oe.I3,F.vR,Un,ii,ci],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return nn})();const ra=new _e.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const nn=(0,_e.WQX)(_e.zZn);return()=>(0,ot.RH)(nn)}}),ha={provide:ra,deps:[],useFactory:function fa(nn){const ni=(0,_e.WQX)(_e.zZn);return()=>(0,ot.RH)(ni)}};let qt=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_animationsDisabled=(0,h.Rc)();_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_globalModel=(0,_e.WQX)(At);_dateAdapter=(0,_e.WQX)(P.MJ);_ngZone=(0,_e.WQX)(he.SKi);_rangeSelectionStrategy=(0,_e.WQX)(bi,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new lt.B;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if((0,_e.WQX)(rt.l).load(Gt.Y),this._closeButtonText=(0,_e.WQX)(Ot).closeCalendarLabel,!this._animationsDisabled){const U=this._elementRef.nativeElement,tt=(0,_e.WQX)(he.sFG);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[tt.listen(U,"animationstart",this._handleAnimationEvent),tt.listen(U,"animationend",this._handleAnimationEvent),tt.listen(U,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(U=>U()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(U){const tt=this._model.selection,Ze=U.value,Xt=tt instanceof Tt;if(Xt&&this._rangeSelectionStrategy){const Nn=this._rangeSelectionStrategy.selectionFinished(Ze,tt,U.event);this._model.updateSelection(Nn,this)}else Ze&&(Xt||!this._dateAdapter.sameDate(Ze,tt))&&this._model.add(Ze);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(U){this._model.updateSelection(U.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=U=>{const tt=this._elementRef.nativeElement;U.target!==tt||!U.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating="animationstart"===U.type,tt.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(U,tt){this._model=U?this._globalModel.clone():this._globalModel,this._actionsPortal=U,tt&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker-content"]],viewQuery:function(tt,Ze){if(1&tt&&he.GBs(ia,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._calendar=Xt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(tt,Ze){2&tt&&(he.HbH(Ze.color?"mat-"+Ze.color:""),he.AVh("mat-datepicker-content-touch",Ze.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!Ze._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(tt,Ze){1&tt&&(he.j41(0,"div",0)(1,"mat-calendar",1),he.bIt("yearSelected",function(Nn){return Ze.datepicker._selectYear(Nn)})("monthSelected",function(Nn){return Ze.datepicker._selectMonth(Nn)})("viewChanged",function(Nn){return Ze.datepicker._viewChanged(Nn)})("_userSelection",function(Nn){return Ze._handleUserSelection(Nn)})("_userDragDrop",function(Nn){return Ze._handleUserDragDrop(Nn)}),he.k0s(),he.DNE(2,Z,0,0,"ng-template",2),he.j41(3,"button",3),he.bIt("focus",function(){return Ze._closeButtonFocused=!0})("blur",function(){return Ze._closeButtonFocused=!1})("click",function(){return Ze.datepicker.close()}),he.EFF(4),he.k0s()()),2&tt&&(he.AVh("mat-datepicker-content-container-with-custom-header",Ze.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ze._actionsPortal),he.BMQ("aria-modal",!0)("aria-labelledby",Ze._dialogLabelId??void 0),he.R7$(),he.HbH(Ze.datepicker.panelClass),he.Y8G("id",Ze.datepicker.id)("startAt",Ze.datepicker.startAt)("startView",Ze.datepicker.startView)("minDate",Ze.datepicker._getMinDate())("maxDate",Ze.datepicker._getMaxDate())("dateFilter",Ze.datepicker._getDateFilter())("headerComponent",Ze.datepicker.calendarHeaderComponent)("selected",Ze._getSelected())("dateClass",Ze.datepicker.dateClass)("comparisonStart",Ze.comparisonStart)("comparisonEnd",Ze.comparisonEnd)("startDateAccessibleName",Ze.startDateAccessibleName)("endDateAccessibleName",Ze.endDateAccessibleName),he.R7$(),he.Y8G("cdkPortalOutlet",Ze._actionsPortal),he.R7$(),he.AVh("cdk-visually-hidden",!Ze._closeButtonFocused),he.Y8G("color",Ze.color||"primary"),he.R7$(),he.JRh(Ze._closeButtonText))},dependencies:[ve.kB,ia,oe.I3,Ft.$z],styles:["@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,changeDetection:0})}return nn})(),En=(()=>{class nn{_injector=(0,_e.WQX)(_e.zZn);_viewContainerRef=(0,_e.WQX)(he.c1b);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_model=(0,_e.WQX)(At);_animationsDisabled=(0,h.Rc)();_scrollStrategy=(0,_e.WQX)(ra);_inputStateChanges=Le.yU.EMPTY;_document=(0,_e.WQX)(_e.qQL);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(U){this._color=U}_color;touchUi=!1;get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(U){U!==this._disabled&&(this._disabled=U,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new he.bkB;monthSelected=new he.bkB;viewChanged=new he.bkB(!0);dateClass;openedStream=new he.bkB;closedStream=new he.bkB;get panelClass(){return this._panelClass}set panelClass(U){this._panelClass=(0,Ke.cc)(U)}_panelClass;get opened(){return this._opened}set opened(U){U?this.open():this.close()}_opened=!1;id=(0,_e.WQX)(H.g).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new lt.B;_changeDetectorRef=(0,_e.WQX)(Dt.gRc);constructor(){this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(U){const tt=U.xPosition||U.yPosition;if(tt&&!tt.firstChange&&this._overlayRef){const Ze=this._overlayRef.getConfig().positionStrategy;Ze instanceof ot.rW&&(this._setConnectedPositions(Ze),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(U){this._model.add(U)}_selectYear(U){this.yearSelected.emit(U)}_selectMonth(U){this.monthSelected.emit(U)}_viewChanged(U){this.viewChanged.emit(U)}registerInput(U){return this._inputStateChanges.unsubscribe(),this.datepickerInput=U,this._inputStateChanges=U.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(U){this._actionsPortal=U,this._componentRef?.instance._assignActions(U,!0)}removeActions(U){U===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,ht.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const U=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,tt=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ze,location:Xt}=this._componentRef;Ze._animationDone.pipe((0,Qe.s)(1)).subscribe(()=>{const Nn=this._document.activeElement;U&&(!Nn||Nn===this._document.activeElement||Xt.nativeElement.contains(Nn))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),Ze._startExitAnimation()}U?setTimeout(tt):tt()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(U){U.datepicker=this,U.color=this.color,U._dialogLabelId=this.datepickerInput.getOverlayLabelId(),U._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const U=this.touchUi,tt=new oe.A8(qt,this._viewContainerRef),Ze=this._overlayRef=(0,ot.Y$)(this._injector,new ot.rR({positionStrategy:U?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[U?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:U?(0,ot.gA)(this._injector):this._scrollStrategy(),panelClass:"mat-datepicker-"+(U?"dialog":"popup"),disableAnimations:this._animationsDisabled}));this._getCloseStream(Ze).subscribe(Xt=>{Xt&&Xt.preventDefault(),this.close()}),Ze.keydownEvents().subscribe(Xt=>{const Nn=Xt.keyCode;(Nn===St.i7||Nn===St.n6||Nn===St.UQ||Nn===St.LE||Nn===St.w_||Nn===St.dB)&&Xt.preventDefault()}),this._componentRef=Ze.attach(tt),this._forwardContentValues(this._componentRef.instance),U||(0,he.mal)(()=>{Ze.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return(0,ot.uA)(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){const U=(0,ot.$M)(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(U)}_setConnectedPositions(U){const tt="end"===this.xPosition?"end":"start",Ze="start"===tt?"end":"start",Xt="above"===this.yPosition?"bottom":"top",Nn="top"===Xt?"bottom":"top";return U.withPositions([{originX:tt,originY:Nn,overlayX:tt,overlayY:Xt},{originX:tt,originY:Xt,overlayX:tt,overlayY:Nn},{originX:Ze,originY:Nn,overlayX:Ze,overlayY:Xt},{originX:Ze,originY:Xt,overlayX:Ze,overlayY:Nn}])}_getCloseStream(U){const tt=["ctrlKey","shiftKey","metaKey"];return(0,te.h)(U.backdropClick(),U.detachments(),U.keydownEvents().pipe((0,Ye.p)(Ze=>Ze.keyCode===St._f&&!(0,Vt.rp)(Ze)||this.datepickerInput&&(0,Vt.rp)(Ze,"altKey")&&Ze.keyCode===St.i7&&tt.every(Xt=>!(0,Vt.rp)(Ze,Xt)))))}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Dt.L39],disabled:[2,"disabled","disabled",Dt.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Dt.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Dt.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[he.OA$]})}return nn})(),Wn=(()=>{class nn extends En{static \u0275fac=(()=>{let U;return function(Ze){return(U||(U=he.xGo(nn)))(Ze||nn)}})();static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[he.Jv_([Ht,{provide:En,useExisting:nn}]),he.Vt3],decls:0,vars:0,template:function(tt,Ze){},encapsulation:2,changeDetection:0})}return nn})();class ri{target;targetElement;value;constructor(ni,U){this.target=ni,this.targetElement=U,this.value=this.target.value}}let Rn=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(U){this._assignValueProgrammatically(U)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(U){const tt=U,Ze=this._elementRef.nativeElement;this._disabled!==tt&&(this._disabled=tt,this.stateChanges.next(void 0)),tt&&this._isInitialized&&Ze.blur&&Ze.blur()}_disabled;dateChange=new he.bkB;dateInput=new he.bkB;stateChanges=new lt.B;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=Le.yU.EMPTY;_localeSubscription=Le.yU.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value));return!tt||this._matchesFilter(tt)?null:{matDatepickerFilter:!0}};_minValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value)),Ze=this._getMinDate();return!Ze||!tt||this._dateAdapter.compareDate(Ze,tt)<=0?null:{matDatepickerMin:{min:Ze,actual:tt}}};_maxValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value)),Ze=this._getMaxDate();return!Ze||!tt||this._dateAdapter.compareDate(Ze,tt)>=0?null:{matDatepickerMax:{max:Ze,actual:tt}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(U){this._model=U,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(tt=>{if(this._shouldHandleChangeEvent(tt)){const Ze=this._getValueFromModel(tt.selection);this._lastValueValid=this._isValidValue(Ze),this._cvaOnChange(Ze),this._onTouched(),this._formatValue(Ze),this.dateInput.emit(new ri(this,this._elementRef.nativeElement)),this.dateChange.emit(new ri(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(U){(function Hn(nn,ni){const U=Object.keys(nn);for(let tt of U){const{previousValue:Ze,currentValue:Xt}=nn[tt];if(!ni.isDateInstance(Ze)||!ni.isDateInstance(Xt))return!0;if(!ni.sameDate(Ze,Xt))return!0}return!1})(U,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(U){this._validatorOnChange=U}validate(U){return this._validator?this._validator(U):null}writeValue(U){this._assignValueProgrammatically(U)}registerOnChange(U){this._cvaOnChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U}_onKeydown(U){(0,Vt.rp)(U,"altKey")&&U.keyCode===St.n6&&["ctrlKey","shiftKey","metaKey"].every(Xt=>!(0,Vt.rp)(U,Xt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),U.preventDefault())}_onInput(U){const tt=U.target.value,Ze=this._lastValueValid;let Xt=this._dateAdapter.parse(tt,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Xt),Xt=this._dateAdapter.getValidDateOrNull(Xt);const Nn=!this._dateAdapter.sameDate(Xt,this.value);!Xt||Nn?this._cvaOnChange(Xt):(tt&&!this.value&&this._cvaOnChange(Xt),Ze!==this._lastValueValid&&this._validatorOnChange()),Nn&&(this._assignValue(Xt),this.dateInput.emit(new ri(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ri(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(U){this._elementRef.nativeElement.value=null!=U?this._dateAdapter.format(U,this._dateFormats.display.dateInput):""}_assignValue(U){this._model?(this._assignValueToModel(U),this._pendingValue=null):this._pendingValue=U}_isValidValue(U){return!U||this._dateAdapter.isValid(U)}_parentDisabled(){return!1}_assignValueProgrammatically(U){U=this._dateAdapter.deserialize(U),this._lastValueValid=this._isValidValue(U),U=this._dateAdapter.getValidDateOrNull(U),this._assignValue(U),this._formatValue(U)}_matchesFilter(U){const tt=this._getDateFilter();return!tt||tt(U)}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,inputs:{value:"value",disabled:[2,"disabled","disabled",Dt.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[he.OA$]})}return nn})();const Pi={provide:jt.kq,useExisting:(0,_e.Rfq)(()=>Ta),multi:!0},da={provide:jt.cz,useExisting:(0,_e.Rfq)(()=>Ta),multi:!0};let Ta=(()=>{class nn extends Rn{_formField=(0,_e.WQX)(wt.xb,{optional:!0});_closedSubscription=Le.yU.EMPTY;_openedSubscription=Le.yU.EMPTY;set matDatepicker(U){U&&(this._datepicker=U,this._ariaOwns.set(U.opened?U.id:null),this._closedSubscription=U.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=U.openedStream.subscribe(()=>{this._ariaOwns.set(U.id)}),this._registerModel(U.registerInput(this)))}_datepicker;_ariaOwns=(0,_e.vPA)(null);get min(){return this._min}set min(U){const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(tt,this._min)||(this._min=tt,this._validatorOnChange())}_min;get max(){return this._max}set max(U){const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(tt,this._max)||(this._max=tt,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(U){const tt=this._matchesFilter(this.value);this._dateFilter=U,this._matchesFilter(this.value)!==tt&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=jt.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(U){return U}_assignValueToModel(U){this._model&&this._model.updateSelection(U,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(U){return U.source!==this}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(tt,Ze){1&tt&&he.bIt("input",function(Nn){return Ze._onInput(Nn)})("change",function(){return Ze._onChange()})("blur",function(){return Ze._onBlur()})("keydown",function(Nn){return Ze._onKeydown(Nn)}),2&tt&&(he.Avn("disabled",Ze.disabled),he.BMQ("aria-haspopup",Ze._datepicker?"dialog":null)("aria-owns",Ze._ariaOwns())("min",Ze.min?Ze._dateAdapter.toIso8601(Ze.min):null)("max",Ze.max?Ze._dateAdapter.toIso8601(Ze.max):null)("data-mat-calendar",Ze._datepicker?Ze._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[he.Jv_([Pi,da,{provide:Ue.O,useExisting:nn}]),he.Vt3]})}return nn})(),en=(()=>{class nn{static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,selectors:[["","matDatepickerToggleIcon",""]]})}return nn})(),vn=(()=>{class nn{_intl=(0,_e.WQX)(Ot);_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_stateChanges=Le.yU.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(U){this._disabled=U}_disabled;disableRipple;_customIcon;_button;constructor(){const U=(0,_e.WQX)(new Dt.ES_("tabindex"),{optional:!0}),tt=Number(U);this.tabIndex=tt||0===tt?tt:null}ngOnChanges(U){U.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(U){this.datepicker&&!this.disabled&&(this.datepicker.open(),U.stopPropagation())}_watchStateChanges(){const U=this.datepicker?this.datepicker.stateChanges:(0,ie.of)(),tt=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ie.of)(),Ze=this.datepicker?(0,te.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ie.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,te.h)(this._intl.changes,U,tt,Ze).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker-toggle"]],contentQueries:function(tt,Ze,Xt){if(1&tt&&he.wni(Xt,en,5),2&tt){let Nn;he.mGM(Nn=he.lsd())&&(Ze._customIcon=Nn.first)}},viewQuery:function(tt,Ze){if(1&tt&&he.GBs(Me,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._button=Xt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(tt,Ze){1&tt&&he.bIt("click",function(Nn){return Ze._open(Nn)}),2&tt&&(he.BMQ("tabindex",null)("data-mat-calendar",Ze.datepicker?Ze.datepicker.id:null),he.AVh("mat-datepicker-toggle-active",Ze.datepicker&&Ze.datepicker.opened)("mat-accent",Ze.datepicker&&"accent"===Ze.datepicker.color)("mat-warn",Ze.datepicker&&"warn"===Ze.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Dt.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[he.OA$],ngContentSelectors:qe,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(tt,Ze){1&tt&&(he.NAR(at),he.j41(0,"button",1,0),he.nVh(2,pn,2,0,":svg:svg",2),he.SdG(3),he.k0s()),2&tt&&(he.Y8G("tabIndex",Ze.disabled?-1:Ze.tabIndex)("disabled",Ze.disabled)("disableRipple",Ze.disableRipple),he.BMQ("aria-haspopup",Ze.datepicker?"dialog":null)("aria-label",Ze.ariaLabel||Ze._intl.openCalendarLabel)("aria-expanded",Ze.datepicker?Ze.datepicker.opened:null),he.R7$(2),he.vxM(Ze._customIcon?-1:2))},dependencies:[Sn.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0})}return nn})(),Ii=(()=>{class nn{static \u0275fac=function(tt){return new(tt||nn)};static \u0275mod=he.$C({type:nn});static \u0275inj=_e.G2t({providers:[Ot,ha],imports:[Ft.Hl,ot.z_,ve.Pd,oe.jc,Pt.y,qt,vn,Bn,pt.Gj]})}return nn})()},1585(Zt,pe,l){"use strict";l.d(pe,{Vh:()=>ht,di:()=>oe,bZ:()=>fe,tx:()=>Qe,hM:()=>Qn,CP:()=>ot});var i=l(3664),d=l(2615),v=l(7705),T=l(1413),w=l(9030),e=l(6939),O=l(7094),f=l(6838),u=l(9842),L=l(4522),C=l(438),B=l(7336),A=l(9172),Pe=l(6697),le=l(9338),Ce=l(9726),Ae=l(1577);function j(h,jt){}class W{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let re=(()=>{class h extends e.lb{_elementRef=(0,d.WQX)(i.aKT);_focusTrapFactory=(0,d.WQX)(O.GX);_config;_interactivityChecker=(0,d.WQX)(O.Z7);_ngZone=(0,d.WQX)(i.SKi);_focusMonitor=(0,d.WQX)(f.FN);_renderer=(0,d.WQX)(i.sFG);_changeDetectorRef=(0,d.WQX)(v.gRc);_injector=(0,d.WQX)(d.zZn);_platform=(0,d.WQX)(u.O);_document=(0,d.WQX)(d.qQL);_portalOutlet;_focusTrapped=new T.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,d.WQX)(W,{optional:!0})||new W,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Ue){this._ariaLabelledByQueue.push(Ue),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Ue){const wt=this._ariaLabelledByQueue.indexOf(Ue);wt>-1&&(this._ariaLabelledByQueue.splice(wt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Ue){this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachComponentPortal(Ue);return this._contentAttached(),wt}attachTemplatePortal(Ue){this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachTemplatePortal(Ue);return this._contentAttached(),wt}attachDomPortal=Ue=>{this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachDomPortal(Ue);return this._contentAttached(),wt};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ue,wt){this._interactivityChecker.isFocusable(Ue)||(Ue.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const pt=()=>{Pt(),gn(),Ue.removeAttribute("tabindex")},Pt=this._renderer.listen(Ue,"blur",pt),gn=this._renderer.listen(Ue,"mousedown",pt)})),Ue.focus(wt)}_focusByCssSelector(Ue,wt){let pt=this._elementRef.nativeElement.querySelector(Ue);pt&&this._forceFocus(pt,wt)}_trapFocus(Ue){this._isDestroyed||(0,i.mal)(()=>{const wt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||wt.focus(Ue);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Ue)||this._focusDialogContainer(Ue);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Ue);break;default:this._focusByCssSelector(this._config.autoFocus,Ue)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Ue=this._config.restoreFocus;let wt=null;if("string"==typeof Ue?wt=this._document.querySelector(Ue):"boolean"==typeof Ue?wt=Ue?this._elementFocusedBeforeDialogWasOpened:null:Ue&&(wt=Ue),this._config.restoreFocus&&wt&&"function"==typeof wt.focus){const pt=(0,L.vc)(),Pt=this._elementRef.nativeElement;(!pt||pt===this._document.body||pt===Pt||Pt.contains(pt))&&(this._focusMonitor?(this._focusMonitor.focusVia(wt,this._closeInteractionType),this._closeInteractionType=null):wt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Ue){this._elementRef.nativeElement.focus?.(Ue)}_containsFocus(){const Ue=this._elementRef.nativeElement,wt=(0,L.vc)();return Ue===wt||Ue.contains(wt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,L.vc)()))}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=i.VBU({type:h,selectors:[["cdk-dialog-container"]],viewQuery:function(wt,pt){if(1&wt&&i.GBs(e.I3,7),2&wt){let Pt;i.mGM(Pt=i.lsd())&&(pt._portalOutlet=Pt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(wt,pt){2&wt&&i.BMQ("id",pt._config.id||null)("role",pt._config.role)("aria-modal",pt._config.ariaModal)("aria-labelledby",pt._config.ariaLabel?null:pt._ariaLabelledByQueue[0])("aria-label",pt._config.ariaLabel)("aria-describedby",pt._config.ariaDescribedBy||null)},features:[i.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(wt,pt){1&wt&&i.DNE(0,j,0,0,"ng-template",0)},dependencies:[e.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return h})();class xe{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new T.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(jt,Ue){this.overlayRef=jt,this.config=Ue,this.disableClose=Ue.disableClose,this.backdropClick=jt.backdropClick(),this.keydownEvents=jt.keydownEvents(),this.outsidePointerEvents=jt.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(wt=>{wt.keyCode===C._f&&!this.disableClose&&!(0,B.rp)(wt)&&(wt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=jt.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(jt,Ue){if(this._canClose(jt)){const wt=this.closed;this.containerInstance._closeInteractionType=Ue?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),wt.next(jt),wt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(jt="",Ue=""){return this.overlayRef.updateSize({width:jt,height:Ue}),this}addPanelClass(jt){return this.overlayRef.addPanelClass(jt),this}removePanelClass(jt){return this.overlayRef.removePanelClass(jt),this}_canClose(jt){const Ue=this.config;return!!this.containerInstance&&(!Ue.closePredicate||Ue.closePredicate(jt,Ue,this.componentInstance))}}const Ee=new d.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const h=(0,d.WQX)(d.zZn);return()=>(0,le.gA)(h)}}),V=new d.nKC("DialogData"),ce=new d.nKC("DefaultDialogConfig");function be(h){const jt=(0,d.vPA)(h),Ue=new i.bkB;return{valueSignal:jt,get value(){return jt()},change:Ue,ngOnDestroy(){Ue.complete()}}}let ne=(()=>{class h{_injector=(0,d.WQX)(d.zZn);_defaultOptions=(0,d.WQX)(ce,{optional:!0});_parentDialog=(0,d.WQX)(h,{optional:!0,skipSelf:!0});_overlayContainer=(0,d.WQX)(le.Sf);_idGenerator=(0,d.WQX)(Ce.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T.B;_afterOpenedAtThisLevel=new T.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,d.WQX)(Ee);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0)));constructor(){}open(Ue,wt){(wt={...this._defaultOptions||new W,...wt}).id=wt.id||this._idGenerator.getId("cdk-dialog-"),wt.id&&this.getDialogById(wt.id);const Pt=this._getOverlayConfig(wt),gn=(0,le.Y$)(this._injector,Pt),ei=new xe(gn,wt),vi=this._attachContainer(gn,ei,wt);if(ei.containerInstance=vi,!this.openDialogs.length){const Ni=this._overlayContainer.getContainerElement();vi._focusTrapped?vi._focusTrapped.pipe((0,Pe.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Ni)}):this._hideNonDialogContentFromAssistiveTechnology(Ni)}return this._attachDialogContent(Ue,ei,vi,wt),this.openDialogs.push(ei),ei.closed.subscribe(()=>this._removeOpenDialog(ei,!0)),this.afterOpened.next(ei),ei}closeAll(){J(this.openDialogs,Ue=>Ue.close())}getDialogById(Ue){return this.openDialogs.find(wt=>wt.id===Ue)}ngOnDestroy(){J(this._openDialogsAtThisLevel,Ue=>{!1===Ue.config.closeOnDestroy&&this._removeOpenDialog(Ue,!1)}),J(this._openDialogsAtThisLevel,Ue=>Ue.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ue){const wt=new le.rR({positionStrategy:Ue.positionStrategy||(0,le.uA)().centerHorizontally().centerVertically(),scrollStrategy:Ue.scrollStrategy||this._scrollStrategy(),panelClass:Ue.panelClass,hasBackdrop:Ue.hasBackdrop,direction:Ue.direction,minWidth:Ue.minWidth,minHeight:Ue.minHeight,maxWidth:Ue.maxWidth,maxHeight:Ue.maxHeight,width:Ue.width,height:Ue.height,disposeOnNavigation:Ue.closeOnNavigation,disableAnimations:Ue.disableAnimations});return Ue.backdropClass&&(wt.backdropClass=Ue.backdropClass),wt}_attachContainer(Ue,wt,pt){const Pt=pt.injector||pt.viewContainerRef?.injector,gn=[{provide:W,useValue:pt},{provide:xe,useValue:wt},{provide:le.yY,useValue:Ue}];let ei;pt.container?"function"==typeof pt.container?ei=pt.container:(ei=pt.container.type,gn.push(...pt.container.providers(pt))):ei=re;const vi=new e.A8(ei,pt.viewContainerRef,d.zZn.create({parent:Pt||this._injector,providers:gn}));return Ue.attach(vi).instance}_attachDialogContent(Ue,wt,pt,Pt){if(Ue instanceof i.C4Q){const gn=this._createInjector(Pt,wt,pt,void 0);let ei={$implicit:Pt.data,dialogRef:wt};Pt.templateContext&&(ei={...ei,..."function"==typeof Pt.templateContext?Pt.templateContext():Pt.templateContext}),pt.attachTemplatePortal(new e.VA(Ue,null,ei,gn))}else{const gn=this._createInjector(Pt,wt,pt,this._injector),ei=pt.attachComponentPortal(new e.A8(Ue,Pt.viewContainerRef,gn));wt.componentRef=ei,wt.componentInstance=ei.instance}}_createInjector(Ue,wt,pt,Pt){const gn=Ue.injector||Ue.viewContainerRef?.injector,ei=[{provide:V,useValue:Ue.data},{provide:xe,useValue:wt}];return Ue.providers&&("function"==typeof Ue.providers?ei.push(...Ue.providers(wt,Ue,pt)):ei.push(...Ue.providers)),Ue.direction&&(!gn||!gn.get(Ae.dS,null,{optional:!0}))&&ei.push({provide:Ae.dS,useValue:be(Ue.direction)}),d.zZn.create({parent:gn||Pt,providers:ei})}_removeOpenDialog(Ue,wt){const pt=this.openDialogs.indexOf(Ue);pt>-1&&(this.openDialogs.splice(pt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Pt,gn)=>{Pt?gn.setAttribute("aria-hidden",Pt):gn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),wt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Ue){if(Ue.parentElement){const wt=Ue.parentElement.children;for(let pt=wt.length-1;pt>-1;pt--){const Pt=wt[pt];Pt!==Ue&&"SCRIPT"!==Pt.nodeName&&"STYLE"!==Pt.nodeName&&!Pt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Pt,Pt.getAttribute("aria-hidden")),Pt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=d.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function J(h,jt){let Ue=h.length;for(;Ue--;)jt(h[Ue])}let De=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=i.$C({type:h});static \u0275inj=d.G2t({providers:[ne],imports:[le.z_,e.jc,O.Pd,e.jc]})}return h})();var Re=l(7847),Xe=l(1804),_e=l(7786),he=l(5964),lt=(l(5718),l(2466));function Le(h,jt){}class te{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const ie="mdc-dialog--open",P="mdc-dialog--opening",F="mdc-dialog--closing";let $=(()=>{class h extends re{_animationStateChanged=new i.bkB;_animationsEnabled=!(0,Xe.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Vt(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Vt(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ke,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(P,ie)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ie),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ie),this._animationsEnabled?(this._hostElement.style.setProperty(Ke,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(F)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Ue){this._actionSectionCount+=Ue,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(P,F)}_waitForAnimationToComplete(Ue,wt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(wt,Ue)}_requestAnimationFrame(Ue){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ue){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ue})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ue){const wt=super.attachComponentPortal(Ue);return wt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),wt}static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=i.xGo(h)))(pt||h)}})();static \u0275cmp=i.VBU({type:h,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(wt,pt){2&wt&&(i.Avn("id",pt._config.id),i.BMQ("aria-modal",pt._config.ariaModal)("role",pt._config.role)("aria-labelledby",pt._config.ariaLabel?null:pt._ariaLabelledByQueue[0])("aria-label",pt._config.ariaLabel)("aria-describedby",pt._config.ariaDescribedBy||null),i.AVh("_mat-animation-noopable",!pt._animationsEnabled)("mat-mdc-dialog-container-with-actions",pt._actionSectionCount>0))},features:[i.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(wt,pt){1&wt&&(i.j41(0,"div",0)(1,"div",1),i.DNE(2,Le,0,0,"ng-template",2),i.k0s()())},dependencies:[e.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return h})();const Ke="--mat-dialog-transition-duration";function Vt(h){return null==h?null:"number"==typeof h?h:h.endsWith("ms")?(0,Re.OE)(h.substring(0,h.length-2)):h.endsWith("s")?1e3*(0,Re.OE)(h.substring(0,h.length-1)):"0"===h?0:null}var St=function(h){return h[h.OPEN=0]="OPEN",h[h.CLOSING=1]="CLOSING",h[h.CLOSED=2]="CLOSED",h}(St||{});class ot{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new T.B;_beforeClosed=new T.B;_result;_closeFallbackTimeout;_state=St.OPEN;_closeInteractionType;constructor(jt,Ue,wt){this._ref=jt,this._config=Ue,this._containerInstance=wt,this.disableClose=Ue.disableClose,this.id=jt.id,jt.addPanelClass("mat-mdc-dialog-panel"),wt._animationStateChanged.pipe((0,he.p)(pt=>"opened"===pt.state),(0,Pe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),wt._animationStateChanged.pipe((0,he.p)(pt=>"closed"===pt.state),(0,Pe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),jt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,_e.h)(this.backdropClick(),this.keydownEvents().pipe((0,he.p)(pt=>pt.keyCode===C._f&&!this.disableClose&&!(0,B.rp)(pt)))).subscribe(pt=>{this.disableClose||(pt.preventDefault(),nt(this,"keydown"===pt.type?"keyboard":"mouse"))})}close(jt){const Ue=this._config.closePredicate;Ue&&!Ue(jt,this._config,this.componentInstance)||(this._result=jt,this._containerInstance._animationStateChanged.pipe((0,he.p)(wt=>"closing"===wt.state),(0,Pe.s)(1)).subscribe(wt=>{this._beforeClosed.next(jt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),wt.totalTime+100)}),this._state=St.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(jt){let Ue=this._ref.config.positionStrategy;return jt&&(jt.left||jt.right)?jt.left?Ue.left(jt.left):Ue.right(jt.right):Ue.centerHorizontally(),jt&&(jt.top||jt.bottom)?jt.top?Ue.top(jt.top):Ue.bottom(jt.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(jt="",Ue=""){return this._ref.updateSize(jt,Ue),this}addPanelClass(jt){return this._ref.addPanelClass(jt),this}removePanelClass(jt){return this._ref.removePanelClass(jt),this}getState(){return this._state}_finishDialogClose(){this._state=St.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function nt(h,jt,Ue){return h._closeInteractionType=jt,h.close(Ue)}const ht=new d.nKC("MatMdcDialogData"),oe=new d.nKC("mat-mdc-dialog-default-options"),Ye=new d.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const h=(0,d.WQX)(d.zZn);return()=>(0,le.gA)(h)}});let fe=(()=>{class h{_defaultOptions=(0,d.WQX)(oe,{optional:!0});_scrollStrategy=(0,d.WQX)(Ye);_parentDialog=(0,d.WQX)(h,{optional:!0,skipSelf:!0});_idGenerator=(0,d.WQX)(Ce.g);_injector=(0,d.WQX)(d.zZn);_dialog=(0,d.WQX)(ne);_animationsDisabled=(0,Xe.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T.B;_afterOpenedAtThisLevel=new T.B;dialogConfigClass=te;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0)));constructor(){this._dialogRefConstructor=ot,this._dialogContainerType=$,this._dialogDataToken=ht}open(Ue,wt){let pt;(wt={...this._defaultOptions||new te,...wt}).id=wt.id||this._idGenerator.getId("mat-mdc-dialog-"),wt.scrollStrategy=wt.scrollStrategy||this._scrollStrategy();const Pt=this._dialog.open(Ue,{...wt,positionStrategy:(0,le.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===wt.enterAnimationDuration?.toLocaleString()||"0"===wt.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:wt},{provide:W,useValue:wt}]},templateContext:()=>({dialogRef:pt}),providers:(gn,ei,vi)=>(pt=new this._dialogRefConstructor(gn,wt,vi),pt.updatePosition(wt?.position),[{provide:this._dialogContainerType,useValue:vi},{provide:this._dialogDataToken,useValue:ei.data},{provide:this._dialogRefConstructor,useValue:pt}])});return pt.componentRef=Pt.componentRef,pt.componentInstance=Pt.componentInstance,this.openDialogs.push(pt),this.afterOpened.next(pt),pt.afterClosed().subscribe(()=>{const gn=this.openDialogs.indexOf(pt);gn>-1&&(this.openDialogs.splice(gn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),pt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ue){return this.openDialogs.find(wt=>wt.id===Ue)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ue){let wt=Ue.length;for(;wt--;)Ue[wt].close()}static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=d.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),Qe=(()=>{class h{dialogRef=(0,d.WQX)(ot,{optional:!0});_elementRef=(0,d.WQX)(i.aKT);_dialog=(0,d.WQX)(fe);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=function Ft(h,jt){let Ue=h.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?jt.find(wt=>wt.id===Ue.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ue){const wt=Ue._matDialogClose||Ue._matDialogCloseResult;wt&&(this.dialogResult=wt.currentValue)}_onButtonClick(Ue){nt(this.dialogRef,0===Ue.screenX&&0===Ue.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=i.FsC({type:h,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(wt,pt){1&wt&&i.bIt("click",function(gn){return pt._onButtonClick(gn)}),2&wt&&i.BMQ("aria-label",pt.ariaLabel||null)("type",pt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.OA$]})}return h})();let Qn=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=i.$C({type:h});static \u0275inj=d.G2t({providers:[fe],imports:[De,le.z_,e.jc,lt.y,lt.y]})}return h})()},1997(Zt,pe,l){"use strict";l.d(pe,{q:()=>w,w:()=>e});var i=l(2615),d=l(3664),v=l(4085),T=l(2466);let w=(()=>{class O{get vertical(){return this._vertical}set vertical(u){this._vertical=(0,v.he)(u)}_vertical=!1;get inset(){return this._inset}set inset(u){this._inset=(0,v.he)(u)}_inset=!1;static \u0275fac=function(L){return new(L||O)};static \u0275cmp=d.VBU({type:O,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(L,C){2&L&&(d.BMQ("aria-orientation",C.vertical?"vertical":"horizontal"),d.AVh("mat-divider-vertical",C.vertical)("mat-divider-horizontal",!C.vertical)("mat-divider-inset",C.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(L,C){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0})}return O})(),e=(()=>{class O{static \u0275fac=function(L){return new(L||O)};static \u0275mod=d.$C({type:O});static \u0275inj=i.G2t({imports:[T.y,T.y]})}return O})()},2709(Zt,pe,l){"use strict";l.d(pe,{e:()=>T});var d=l(2615);let T=(()=>{class w{isErrorState(O,f){return!!(O&&O.invalid&&(O.touched||f&&f.submitted))}static \u0275fac=function(f){return new(f||w)};static \u0275prov=d.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},9336(Zt,pe,l){"use strict";l.d(pe,{X:()=>i});class i{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(v,T,w,e,O){this._defaultMatcher=v,this.ngControl=T,this._parentFormGroup=w,this._parentForm=e,this._stateChanges=O}updateErrorState(){const v=this.errorState,T=this._parentFormGroup||this._parentForm,w=this.matcher||this._defaultMatcher,e=this.ngControl?this.ngControl.control:null,O=w?.isErrorState(e,T)??!1;O!==v&&(this.errorState=O,this._stateChanges.next())}}},9454(Zt,pe,l){"use strict";l.d(pe,{BS:()=>Ke,MY:()=>Vt,GK:()=>P,Q6:()=>H,Z2:()=>ve,WN:()=>$});var i=l(3664),d=l(2615),v=l(7705),T=l(1413),w=l(8359),e=l(9726),O=l(8689);const f=new d.nKC("CdkAccordion");let u=(()=>{class nt{_stateChanges=new T.B;_openCloseAllActions=new T.B;id=(0,d.WQX)(e.g).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(oe){this._stateChanges.next(oe)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",v.L39]},exportAs:["cdkAccordion"],features:[i.Jv_([{provide:f,useExisting:nt}]),i.OA$]})}return nt})(),L=(()=>{class nt{accordion=(0,d.WQX)(f,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,d.WQX)(v.gRc);_expansionDispatcher=(0,d.WQX)(O.z);_openCloseAllSubscription=w.yU.EMPTY;closed=new i.bkB;opened=new i.bkB;destroyed=new i.bkB;expandedChange=new i.bkB;id=(0,d.WQX)(e.g).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(oe){this._expanded!==oe&&(this._expanded=oe,this.expandedChange.emit(oe),oe?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}_expanded=!1;get disabled(){return this._disabled()}set disabled(oe){this._disabled.set(oe)}_disabled=(0,d.vPA)(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((oe,Ye)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ye&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(oe=>{this.disabled||(this.expanded=oe)})}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",v.L39],disabled:[2,"disabled","disabled",v.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Jv_([{provide:f,useValue:void 0}])]})}return nt})(),C=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=i.$C({type:nt});static \u0275inj=d.G2t({})}return nt})();var B=l(6939),A=l(6838),Pe=l(4123),le=l(9172),Ce=l(5964),Ae=l(6697),j=l(438),W=l(7336),G=l(983),re=l(7786),xe=l(1804),Ee=l(8968),V=l(2046),ce=l(2466);const ne=["body"],J=["bodyWrapper"],De=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Re=["mat-expansion-panel-header","*","mat-action-row"];function Xe(nt,ht){}const _e=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],he=["mat-panel-title","mat-panel-description","*"];function Dt(nt,ht){1&nt&&(i.rj2(0,"span",1),d.qSk(),i.rj2(1,"svg",2),i.Hgh(2,"path",3),i.eux()())}const lt=new d.nKC("MAT_ACCORDION"),Le=new d.nKC("MAT_EXPANSION_PANEL");let te=(()=>{class nt{_template=(0,d.WQX)(i.C4Q);_expansionPanel=(0,d.WQX)(Le,{optional:!0});constructor(){}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["ng-template","matExpansionPanelContent",""]]})}return nt})();const ie=new d.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let P=(()=>{class nt extends L{_viewContainerRef=(0,d.WQX)(i.c1b);_animationsDisabled=(0,xe.Rc)();_document=(0,d.WQX)(d.qQL);_ngZone=(0,d.WQX)(i.SKi);_elementRef=(0,d.WQX)(i.aKT);_renderer=(0,d.WQX)(i.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(oe){this._hideToggle=oe}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(oe){this._togglePosition=oe}_togglePosition;afterExpand=new i.bkB;afterCollapse=new i.bkB;_inputChanges=new T.B;accordion=(0,d.WQX)(lt,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,d.WQX)(e.g).getId("mat-expansion-panel-header-");constructor(){super();const oe=(0,d.WQX)(ie,{optional:!0});this._expansionDispatcher=(0,d.WQX)(O.z),oe&&(this.hideToggle=oe.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,le.Z)(null),(0,Ce.p)(()=>this.expanded&&!this._portal),(0,Ae.s)(1)).subscribe(()=>{this._portal=new B.VA(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(oe){this._inputChanges.next(oe)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const oe=this._document.activeElement,Ye=this._body.nativeElement;return oe===Ye||Ye.contains(oe)}return!1}_transitionEndListener=({target:oe,propertyName:Ye})=>{oe===this._bodyWrapper?.nativeElement&&"grid-template-rows"===Ye&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const oe=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(oe,"transitionend",this._transitionEndListener),oe.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=i.VBU({type:nt,selectors:[["mat-expansion-panel"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&i.wni(Qe,te,5),2&Ye){let gt;i.mGM(gt=i.lsd())&&(fe._lazyContent=gt.first)}},viewQuery:function(Ye,fe){if(1&Ye&&(i.GBs(ne,5),i.GBs(J,5)),2&Ye){let Qe;i.mGM(Qe=i.lsd())&&(fe._body=Qe.first),i.mGM(Qe=i.lsd())&&(fe._bodyWrapper=Qe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(Ye,fe){2&Ye&&i.AVh("mat-expanded",fe.expanded)("mat-expansion-panel-spacing",fe._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",v.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Jv_([{provide:lt,useValue:void 0},{provide:Le,useExisting:nt}]),i.Vt3,i.OA$],ngContentSelectors:Re,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Ye,fe){1&Ye&&(i.NAR(De),i.SdG(0),i.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),i.SdG(6,1),i.DNE(7,Xe,0,0,"ng-template",5),i.k0s(),i.SdG(8,2),i.k0s()()),2&Ye&&(i.R7$(),i.BMQ("inert",fe.expanded?null:""),i.R7$(2),i.Y8G("id",fe.id),i.BMQ("aria-labelledby",fe._headerId),i.R7$(4),i.Y8G("cdkPortalOutlet",fe._portal))},dependencies:[B.I3],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,changeDetection:0})}return nt})(),ve=(()=>{class nt{panel=(0,d.WQX)(P,{host:!0});_element=(0,d.WQX)(i.aKT);_focusMonitor=(0,d.WQX)(A.FN);_changeDetectorRef=(0,d.WQX)(v.gRc);_parentChangeSubscription=w.yU.EMPTY;constructor(){(0,d.WQX)(Ee.l).load(V.A);const oe=this.panel,Ye=(0,d.WQX)(ie,{optional:!0}),fe=(0,d.WQX)(new v.ES_("tabindex"),{optional:!0}),Qe=oe.accordion?oe.accordion._stateChanges.pipe((0,Ce.p)(gt=>!(!gt.hideToggle&&!gt.togglePosition))):G.w;this.tabIndex=parseInt(fe||"")||0,this._parentChangeSubscription=(0,re.h)(oe.opened,oe.closed,Qe,oe._inputChanges.pipe((0,Ce.p)(gt=>!!(gt.hideToggle||gt.disabled||gt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),oe.closed.pipe((0,Ce.p)(()=>oe._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),Ye&&(this.expandedHeight=Ye.expandedHeight,this.collapsedHeight=Ye.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const oe=this._isExpanded();return oe&&this.expandedHeight?this.expandedHeight:!oe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(oe){switch(oe.keyCode){case j.t6:case j.Fm:(0,W.rp)(oe)||(oe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(oe))}}focus(oe,Ye){oe?this._focusMonitor.focusVia(this._element,oe,Ye):this._element.nativeElement.focus(Ye)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(oe=>{oe&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=i.VBU({type:nt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(Ye,fe){1&Ye&&i.bIt("click",function(){return fe._toggle()})("keydown",function(gt){return fe._keydown(gt)}),2&Ye&&(i.BMQ("id",fe.panel._headerId)("tabindex",fe.disabled?-1:fe.tabIndex)("aria-controls",fe._getPanelId())("aria-expanded",fe._isExpanded())("aria-disabled",fe.panel.disabled),i.xc7("height",fe._getHeaderHeight()),i.AVh("mat-expanded",fe._isExpanded())("mat-expansion-toggle-indicator-after","after"===fe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===fe._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",oe=>null==oe?0:(0,v.Udg)(oe)]},ngContentSelectors:he,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(Ye,fe){1&Ye&&(i.NAR(_e),i.rj2(0,"span",0),i.SdG(1),i.SdG(2,1),i.SdG(3,2),i.eux(),i.nVh(4,Dt,3,0,"span",1)),2&Ye&&(i.AVh("mat-content-hide-toggle",!fe._showToggle()),i.R7$(4),i.vxM(fe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],encapsulation:2,changeDetection:0})}return nt})(),H=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return nt})(),$=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return nt})(),Ke=(()=>{class nt extends u{_keyManager;_ownHeaders=new i.rOR;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe((0,le.Z)(this._headers)).subscribe(oe=>{this._ownHeaders.reset(oe.filter(Ye=>Ye.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Pe.B(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(oe){this._keyManager.onKeydown(oe)}_handleHeaderFocus(oe){this._keyManager.updateActiveItem(oe)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=i.xGo(nt)))(fe||nt)}})();static \u0275dir=i.FsC({type:nt,selectors:[["mat-accordion"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&i.wni(Qe,ve,5),2&Ye){let gt;i.mGM(gt=i.lsd())&&(fe._headers=gt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&i.AVh("mat-accordion-multi",fe.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",v.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i.Jv_([{provide:lt,useExisting:nt}]),i.Vt3]})}return nt})(),Vt=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=i.$C({type:nt});static \u0275inj=d.G2t({imports:[ce.y,C,B.jc]})}return nt})()},1228(Zt,pe,l){"use strict";l.d(pe,{R:()=>e});var i=l(2318),d=l(2615),v=l(3664),T=l(9588),w=l(2466);let e=(()=>{class O{static \u0275fac=function(L){return new(L||O)};static \u0275mod=v.$C({type:O});static \u0275inj=d.G2t({imports:[w.y,i.w5,T.rl,w.y]})}return O})()},9588(Zt,pe,l){"use strict";l.d(pe,{xb:()=>vi,TL:()=>fe,rl:()=>ye,qT:()=>pt,MV:()=>Qe,nJ:()=>oe,yw:()=>cn});var i=l(9726),d=l(1577),v=l(4085),T=l(9842),w=l(2200),e=l(3664),O=l(2615),f=l(7705),u=l(9295),L=l(8359),C=l(1413),B=l(7786),A=l(9172),Pe=l(6354),le=l(9974),Ce=l(4360),j=l(5964),W=l(6977),G=l(3610),re=l(1804);const Ee=["notch"],V=["matFormFieldNotchedOutline",""],ce=["*"],be=["iconPrefixContainer"],ne=["textPrefixContainer"],J=["iconSuffixContainer"],De=["textSuffixContainer"],Re=["textField"],Xe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function he(ke,Se){1&ke&&e.nrm(0,"span",21)}function Dt(ke,Se){if(1&ke&&(e.j41(0,"label",20),e.SdG(1,1),e.nVh(2,he,1,0,"span",21),e.k0s()),2&ke){const ge=e.XpG(2);e.Y8G("floating",ge._shouldLabelFloat())("monitorResize",ge._hasOutline())("id",ge._labelId),e.BMQ("for",ge._control.disableAutomaticLabeling?null:ge._control.id),e.R7$(2),e.vxM(!ge.hideRequiredMarker&&ge._control.required?2:-1)}}function lt(ke,Se){if(1&ke&&e.nVh(0,Dt,3,5,"label",20),2&ke){const ge=e.XpG();e.vxM(ge._hasFloatingLabel()?0:-1)}}function Le(ke,Se){1&ke&&e.nrm(0,"div",7)}function te(ke,Se){}function ie(ke,Se){if(1&ke&&e.DNE(0,te,0,0,"ng-template",13),2&ke){e.XpG(2);const ge=e.sdS(1);e.Y8G("ngTemplateOutlet",ge)}}function P(ke,Se){if(1&ke&&(e.j41(0,"div",9),e.nVh(1,ie,1,1,null,13),e.k0s()),2&ke){const ge=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",ge._shouldLabelFloat()),e.R7$(),e.vxM(ge._forceDisplayInfixLabel()?-1:1)}}function F(ke,Se){1&ke&&(e.j41(0,"div",10,2),e.SdG(2,2),e.k0s())}function ve(ke,Se){1&ke&&(e.j41(0,"div",11,3),e.SdG(2,3),e.k0s())}function H(ke,Se){}function $(ke,Se){if(1&ke&&e.DNE(0,H,0,0,"ng-template",13),2&ke){e.XpG();const ge=e.sdS(1);e.Y8G("ngTemplateOutlet",ge)}}function Ke(ke,Se){1&ke&&(e.j41(0,"div",14,4),e.SdG(2,4),e.k0s())}function Vt(ke,Se){1&ke&&(e.j41(0,"div",15,5),e.SdG(2,5),e.k0s())}function St(ke,Se){1&ke&&e.nrm(0,"div",16)}function ot(ke,Se){1&ke&&(e.j41(0,"div",18),e.SdG(1,6),e.k0s())}function nt(ke,Se){if(1&ke&&(e.j41(0,"mat-hint",22),e.EFF(1),e.k0s()),2&ke){const ge=e.XpG(2);e.Y8G("id",ge._hintLabelId),e.R7$(),e.JRh(ge.hintLabel)}}function ht(ke,Se){if(1&ke&&(e.j41(0,"div",19),e.nVh(1,nt,2,2,"mat-hint",22),e.SdG(2,7),e.nrm(3,"div",23),e.SdG(4,8),e.k0s()),2&ke){const ge=e.XpG();e.R7$(),e.vxM(ge.hintLabel?1:-1)}}let oe=(()=>{class ke{static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-label"]]})}return ke})();const Ye=new O.nKC("MatError");let fe=(()=>{class ke{id=(0,O.WQX)(i.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(N,Z){2&N&&e.Avn("id",Z.id)},inputs:{id:"id"},features:[e.Jv_([{provide:Ye,useExisting:ke}])]})}return ke})(),Qe=(()=>{class ke{align="start";id=(0,O.WQX)(i.g).getId("mat-mdc-hint-");static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(N,Z){2&N&&(e.Avn("id",Z.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===Z.align))},inputs:{align:"align",id:"id"}})}return ke})();const gt=new O.nKC("MatPrefix"),rt=new O.nKC("MatSuffix");let cn=(()=>{class ke{set _isTextSelector(ge){this._isText=!0}_isText=!1;static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[e.Jv_([{provide:rt,useExisting:ke}])]})}return ke})();const Ft=new O.nKC("FloatingLabelParent");let Sn=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);get floating(){return this._floating}set floating(ge){this._floating=ge,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(ge){this._monitorResize=ge,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,O.WQX)(G.a);_ngZone=(0,O.WQX)(e.SKi);_parent=(0,O.WQX)(Ft);_resizeSubscription=new L.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Qn(ke){if(null!==ke.offsetParent)return ke.scrollWidth;const ge=ke.cloneNode(!0);ge.style.setProperty("position","absolute"),ge.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(ge);const N=ge.scrollWidth;return ge.remove(),N}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(N,Z){2&N&&e.AVh("mdc-floating-label--float-above",Z.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return ke})();const h="mdc-line-ripple--active",jt="mdc-line-ripple--deactivating";let Ue=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_cleanupTransitionEnd;constructor(){const ge=(0,O.WQX)(e.SKi),N=(0,O.WQX)(e.sFG);ge.runOutsideAngular(()=>{this._cleanupTransitionEnd=N.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const ge=this._elementRef.nativeElement.classList;ge.remove(jt),ge.add(h)}deactivate(){this._elementRef.nativeElement.classList.add(jt)}_handleTransitionEnd=ge=>{const N=this._elementRef.nativeElement.classList,Z=N.contains(jt);"opacity"===ge.propertyName&&Z&&N.remove(h,jt)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return ke})(),wt=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_ngZone=(0,O.WQX)(e.SKi);open=!1;_notch;ngAfterViewInit(){const ge=this._elementRef.nativeElement,N=ge.querySelector(".mdc-floating-label");N?(ge.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(N.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>N.style.transitionDuration="")}))):ge.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(ge){this._notch.nativeElement.style.width=this.open&&ge?`calc(${ge}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(ge){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${ge}px)`)}static \u0275fac=function(N){return new(N||ke)};static \u0275cmp=e.VBU({type:ke,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(N,Z){if(1&N&&e.GBs(Ee,5),2&N){let Me;e.mGM(Me=e.lsd())&&(Z._notch=Me.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(N,Z){2&N&&e.AVh("mdc-notched-outline--notched",Z.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:V,ngContentSelectors:ce,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(N,Z){1&N&&(e.NAR(),e.Hgh(0,"div",1),e.rj2(1,"div",2,0),e.SdG(3),e.eux(),e.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return ke})(),pt=(()=>{class ke{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke})}return ke})();const vi=new O.nKC("MatFormField"),Ni=new O.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ye=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_changeDetectorRef=(0,O.WQX)(f.gRc);_platform=(0,O.WQX)(T.O);_idGenerator=(0,O.WQX)(i.g);_ngZone=(0,O.WQX)(e.SKi);_defaults=(0,O.WQX)(Ni,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,f.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,f.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,f.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,f.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,u.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(ge=>ge?.nativeElement).filter(ge=>void 0!==ge));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,f.sbv)(oe);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ge){this._hideRequiredMarker=(0,v.he)(ge)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(ge){ge!==this._floatLabel&&(this._floatLabel=ge,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(ge){this._appearanceSignal.set(ge||this._defaults?.appearance||"fill")}_appearanceSignal=(0,O.vPA)("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(ge){this._subscriptSizing=ge||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(ge){this._hintLabel=ge,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(ge){this._explicitFormFieldControl=ge}_destroyed=new C.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,re.Rc)();constructor(){const ge=this._defaults,N=(0,O.WQX)(d.dS);ge&&(ge.appearance&&(this.appearance=ge.appearance),this._hideRequiredMarker=!!ge?.hideRequiredMarker,ge.color&&(this.color=ge.color)),(0,u.QZ)(()=>this._currentDirection=N.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,u.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(ge){const N=this._control,Z="mat-mdc-form-field-type-";ge&&this._elementRef.nativeElement.classList.remove(Z+ge.controlType),N.controlType&&this._elementRef.nativeElement.classList.add(Z+N.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=N.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=N.stateChanges.pipe((0,A.Z)([void 0,void 0]),(0,Pe.T)(()=>[N.errorState,N.userAriaDescribedBy]),function Ae(){return(0,le.N)((ke,Se)=>{let ge,N=!1;ke.subscribe((0,Ce._)(Se,Z=>{const Me=ge;ge=Z,N&&Se.next([Me,Z]),N=!0}))})}(),(0,j.p)(([[Me,at],[qe,pn]])=>Me!==qe||at!==pn)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),N.ngControl&&N.ngControl.valueChanges&&(this._valueChanges=N.ngControl.valueChanges.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(ge=>!ge._isText),this._hasTextPrefix=!!this._prefixChildren.find(ge=>ge._isText),this._hasIconSuffix=!!this._suffixChildren.find(ge=>!ge._isText),this._hasTextSuffix=!!this._suffixChildren.find(ge=>ge._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,B.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const ge=this._control.focused;ge&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!ge&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",ge),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",ge)}_syncOutlineLabelOffset(){(0,f.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const ge of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(ge,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:ge=>this._writeOutlinedLabelStyles(ge())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,u.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(ge){const N=this._control?this._control.ngControl:null;return N&&N[ge]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let ge=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ge.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const Me=this._hintChildren?this._hintChildren.find(qe=>"start"===qe.align):null,at=this._hintChildren?this._hintChildren.find(qe=>"end"===qe.align):null;Me?ge.push(Me.id):this._hintLabel&&ge.push(this._hintLabelId),at&&ge.push(at.id)}else this._errorChildren&&ge.push(...this._errorChildren.map(Me=>Me.id));const N=this._control.describedByIds;let Z;if(N){const Me=this._describedByIds||ge;Z=ge.concat(N.filter(at=>at&&!Me.includes(at)))}else Z=ge;this._control.setDescribedByIds(Z),this._describedByIds=ge}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const ge=this._iconPrefixContainer?.nativeElement,N=this._textPrefixContainer?.nativeElement,Z=this._iconSuffixContainer?.nativeElement,Me=this._textSuffixContainer?.nativeElement,at=ge?.getBoundingClientRect().width??0,qe=N?.getBoundingClientRect().width??0,pn=Z?.getBoundingClientRect().width??0,Je=Me?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${at+qe}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,at+qe+pn+Je]}_writeOutlinedLabelStyles(ge){if(null!==ge){const[N,Z]=ge;this._floatingLabel&&(this._floatingLabel.element.style.transform=N),null!==Z&&this._notchedOutline?._setMaxWidth(Z)}}_isAttachedToDom(){const ge=this._elementRef.nativeElement;if(ge.getRootNode){const N=ge.getRootNode();return N&&N!==ge}return document.documentElement.contains(ge)}static \u0275fac=function(N){return new(N||ke)};static \u0275cmp=e.VBU({type:ke,selectors:[["mat-form-field"]],contentQueries:function(N,Z,Me){if(1&N&&(e.C6U(Me,Z._labelChild,oe,5),e.wni(Me,pt,5),e.wni(Me,gt,5),e.wni(Me,rt,5),e.wni(Me,Ye,5),e.wni(Me,Qe,5)),2&N){let at;e.NyB(),e.mGM(at=e.lsd())&&(Z._formFieldControl=at.first),e.mGM(at=e.lsd())&&(Z._prefixChildren=at),e.mGM(at=e.lsd())&&(Z._suffixChildren=at),e.mGM(at=e.lsd())&&(Z._errorChildren=at),e.mGM(at=e.lsd())&&(Z._hintChildren=at)}},viewQuery:function(N,Z){if(1&N&&(e.wEZ(Z._iconPrefixContainerSignal,be,5),e.wEZ(Z._textPrefixContainerSignal,ne,5),e.wEZ(Z._iconSuffixContainerSignal,J,5),e.wEZ(Z._textSuffixContainerSignal,De,5),e.GBs(Re,5),e.GBs(be,5),e.GBs(ne,5),e.GBs(J,5),e.GBs(De,5),e.GBs(Sn,5),e.GBs(wt,5),e.GBs(Ue,5)),2&N){let Me;e.NyB(4),e.mGM(Me=e.lsd())&&(Z._textField=Me.first),e.mGM(Me=e.lsd())&&(Z._iconPrefixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._textPrefixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._iconSuffixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._textSuffixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._floatingLabel=Me.first),e.mGM(Me=e.lsd())&&(Z._notchedOutline=Me.first),e.mGM(Me=e.lsd())&&(Z._lineRipple=Me.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(N,Z){2&N&&e.AVh("mat-mdc-form-field-label-always-float",Z._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Z._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Z._hasIconSuffix)("mat-form-field-invalid",Z._control.errorState)("mat-form-field-disabled",Z._control.disabled)("mat-form-field-autofilled",Z._control.autofilled)("mat-form-field-appearance-fill","fill"==Z.appearance)("mat-form-field-appearance-outline","outline"==Z.appearance)("mat-form-field-hide-placeholder",Z._hasFloatingLabel()&&!Z._shouldLabelFloat())("mat-primary","accent"!==Z.color&&"warn"!==Z.color)("mat-accent","accent"===Z.color)("mat-warn","warn"===Z.color)("ng-untouched",Z._shouldForward("untouched"))("ng-touched",Z._shouldForward("touched"))("ng-pristine",Z._shouldForward("pristine"))("ng-dirty",Z._shouldForward("dirty"))("ng-valid",Z._shouldForward("valid"))("ng-invalid",Z._shouldForward("invalid"))("ng-pending",Z._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e.Jv_([{provide:vi,useExisting:ke},{provide:Ft,useExisting:ke}])],ngContentSelectors:_e,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(N,Z){if(1&N){const Me=e.RV6();e.NAR(Xe),e.DNE(0,lt,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",6,1),e.bIt("click",function(qe){return O.eBV(Me),O.Njj(Z._control.onContainerClick(qe))}),e.nVh(4,Le,1,0,"div",7),e.j41(5,"div",8),e.nVh(6,P,2,2,"div",9),e.nVh(7,F,3,0,"div",10),e.nVh(8,ve,3,0,"div",11),e.j41(9,"div",12),e.nVh(10,$,1,1,null,13),e.SdG(11),e.k0s(),e.nVh(12,Ke,3,0,"div",14),e.nVh(13,Vt,3,0,"div",15),e.k0s(),e.nVh(14,St,1,0,"div",16),e.k0s(),e.j41(15,"div",17),e.nVh(16,ot,2,0,"div",18)(17,ht,5,1,"div",19),e.k0s()}if(2&N){let Me;e.R7$(2),e.AVh("mdc-text-field--filled",!Z._hasOutline())("mdc-text-field--outlined",Z._hasOutline())("mdc-text-field--no-label",!Z._hasFloatingLabel())("mdc-text-field--disabled",Z._control.disabled)("mdc-text-field--invalid",Z._control.errorState),e.R7$(2),e.vxM(Z._hasOutline()||Z._control.disabled?-1:4),e.R7$(2),e.vxM(Z._hasOutline()?6:-1),e.R7$(),e.vxM(Z._hasIconPrefix?7:-1),e.R7$(),e.vxM(Z._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!Z._hasOutline()||Z._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(Z._hasTextSuffix?12:-1),e.R7$(),e.vxM(Z._hasIconSuffix?13:-1),e.R7$(),e.vxM(Z._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Z.subscriptSizing);const at=Z._getSubscriptMessageType();e.R7$(),e.vxM("error"===(Me=at)?16:"hint"===Me?17:-1)}},dependencies:[Sn,wt,w.T3,Ue,Qe],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return ke})()},2885(Zt,pe,l){"use strict";l.d(pe,{B_:()=>ie,Fe:()=>P,NS:()=>ce});class i{tracker;columnIndex=0;rowIndex=0;get rowCount(){return this.rowIndex+1}get rowspan(){const ve=Math.max(...this.tracker);return ve>1?this.rowCount+ve-1:this.rowCount}positions;update(ve,H){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(ve),this.tracker.fill(0,0,this.tracker.length),this.positions=H.map($=>this._trackTile($))}_trackTile(ve){const H=this._findMatchingGap(ve.colspan);return this._markTilePosition(H,ve),this.columnIndex=H+ve.colspan,new d(this.rowIndex,H)}_findMatchingGap(ve){let H=-1,$=-1;do{this.columnIndex+ve>this.tracker.length?(this._nextRow(),H=this.tracker.indexOf(0,this.columnIndex),$=this._findGapEndIndex(H)):(H=this.tracker.indexOf(0,this.columnIndex),-1!=H?($=this._findGapEndIndex(H),this.columnIndex=H+1):(this._nextRow(),H=this.tracker.indexOf(0,this.columnIndex),$=this._findGapEndIndex(H)))}while($-H{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=T.$C({type:F});static \u0275inj=w.G2t({imports:[e.y,e.y]})}return F})();var A=l(7847),Pe=l(1577);const G=["*"],V=new w.nKC("MAT_GRID_LIST");let ce=(()=>{class F{_element=(0,w.WQX)(T.aKT);_gridList=(0,w.WQX)(V,{optional:!0});_rowspan=1;_colspan=1;constructor(){}get rowspan(){return this._rowspan}set rowspan(H){this._rowspan=Math.round((0,A.OE)(H))}get colspan(){return this._colspan}set colspan(H){this._colspan=Math.round((0,A.OE)(H))}_setStyle(H,$){this._element.nativeElement.style[H]=$}static \u0275fac=function($){return new($||F)};static \u0275cmp=T.VBU({type:F,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function($,Ke){2&$&&T.BMQ("rowspan",Ke.rowspan)("colspan",Ke.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:G,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function($,Ke){1&$&&(T.NAR(),T.rj2(0,"div",0),T.SdG(1),T.eux())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0})}return F})();const Re=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Xe{_gutterSize;_rows=0;_rowspan=0;_cols;_direction;init(ve,H,$,Ke){this._gutterSize=Le(ve),this._rows=H.rowCount,this._rowspan=H.rowspan,this._cols=$,this._direction=Ke}getBaseTileSize(ve,H){return`(${ve}% - (${this._gutterSize} * ${H}))`}getTilePosition(ve,H){return 0===H?"0":lt(`(${ve} + ${this._gutterSize}) * ${H}`)}getTileSize(ve,H){return`(${ve} * ${H}) + (${H-1} * ${this._gutterSize})`}setStyle(ve,H,$){let Ke=100/this._cols,Vt=(this._cols-1)/this._cols;this.setColStyles(ve,$,Ke,Vt),this.setRowStyles(ve,H,Ke,Vt)}setColStyles(ve,H,$,Ke){let Vt=this.getBaseTileSize($,Ke);ve._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(Vt,H)),ve._setStyle("width",lt(this.getTileSize(Vt,ve.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(ve){return`${this._rowspan} * ${this.getTileSize(ve,1)}`}getComputedHeight(){return null}}class _e extends Xe{fixedRowHeight;constructor(ve){super(),this.fixedRowHeight=ve}init(ve,H,$,Ke){super.init(ve,H,$,Ke),this.fixedRowHeight=Le(this.fixedRowHeight),Re.test(this.fixedRowHeight)}setRowStyles(ve,H){ve._setStyle("top",this.getTilePosition(this.fixedRowHeight,H)),ve._setStyle("height",lt(this.getTileSize(this.fixedRowHeight,ve.rowspan)))}getComputedHeight(){return["height",lt(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(ve){ve._setListStyle(["height",null]),ve._tiles&&ve._tiles.forEach(H=>{H._setStyle("top",null),H._setStyle("height",null)})}}class he extends Xe{rowHeightRatio;baseTileHeight;constructor(ve){super(),this._parseRatio(ve)}setRowStyles(ve,H,$,Ke){this.baseTileHeight=this.getBaseTileSize($/this.rowHeightRatio,Ke),ve._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,H)),ve._setStyle("paddingTop",lt(this.getTileSize(this.baseTileHeight,ve.rowspan)))}getComputedHeight(){return["paddingBottom",lt(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(ve){ve._setListStyle(["paddingBottom",null]),ve._tiles.forEach(H=>{H._setStyle("marginTop",null),H._setStyle("paddingTop",null)})}_parseRatio(ve){const H=ve.split(":");this.rowHeightRatio=parseFloat(H[0])/parseFloat(H[1])}}class Dt extends Xe{setRowStyles(ve,H){let Vt=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);ve._setStyle("top",this.getTilePosition(Vt,H)),ve._setStyle("height",lt(this.getTileSize(Vt,ve.rowspan)))}reset(ve){ve._tiles&&ve._tiles.forEach(H=>{H._setStyle("top",null),H._setStyle("height",null)})}}function lt(F){return`calc(${F})`}function Le(F){return F.match(/([A-Za-z%]+)$/)?F:`${F}px`}let ie=(()=>{class F{_element=(0,w.WQX)(T.aKT);_dir=(0,w.WQX)(Pe.dS,{optional:!0});_cols;_tileCoordinator;_rowHeight;_gutter="1px";_tileStyler;_tiles;constructor(){}get cols(){return this._cols}set cols(H){this._cols=Math.max(1,Math.round((0,A.OE)(H)))}get gutterSize(){return this._gutter}set gutterSize(H){this._gutter=`${H??""}`}get rowHeight(){return this._rowHeight}set rowHeight(H){const $=`${H??""}`;$!==this._rowHeight&&(this._rowHeight=$,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(H){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===H?new Dt:H&&H.indexOf(":")>-1?new he(H):new _e(H)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new i);const H=this._tileCoordinator,$=this._tiles.filter(Vt=>!Vt._gridList||Vt._gridList===this),Ke=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,$),this._tileStyler.init(this.gutterSize,H,this.cols,Ke),$.forEach((Vt,St)=>{const ot=H.positions[St];this._tileStyler.setStyle(Vt,ot.row,ot.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(H){H&&(this._element.nativeElement.style[H[0]]=H[1])}static \u0275fac=function($){return new($||F)};static \u0275cmp=T.VBU({type:F,selectors:[["mat-grid-list"]],contentQueries:function($,Ke,Vt){if(1&$&&T.wni(Vt,ce,5),2&$){let St;T.mGM(St=T.lsd())&&(Ke._tiles=St)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function($,Ke){2&$&&T.BMQ("cols",Ke.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[T.Jv_([{provide:V,useExisting:F}])],ngContentSelectors:G,decls:2,vars:0,template:function($,Ke){1&$&&(T.NAR(),T.rj2(0,"div"),T.SdG(1),T.eux())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0})}return F})(),P=(()=>{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=T.$C({type:F});static \u0275inj=w.G2t({imports:[B,e.y,B,e.y]})}return F})()},2598(Zt,pe,l){"use strict";l.d(pe,{iM:()=>A,iY:()=>Pe});var i=l(3664),d=l(7705),v=l(2615),T=l(6838),w=l(8968),e=l(1048),O=l(2046),f=l(1804);const u=["mat-icon-button",""],L=["*"],C=new v.nKC("MAT_BUTTON_CONFIG");function B(Ce){return null==Ce?void 0:(0,d.Udg)(Ce)}let A=(()=>{class Ce{_elementRef=(0,v.WQX)(i.aKT);_ngZone=(0,v.WQX)(i.SKi);_animationsDisabled=(0,f.Rc)();_config=(0,v.WQX)(C,{optional:!0});_focusMonitor=(0,v.WQX)(T.FN);_cleanupClick;_renderer=(0,v.WQX)(i.sFG);_rippleLoader=(0,v.WQX)(e.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(j){this._disableRipple=j,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(j){this._disabled=j,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(j){this.tabIndex=j}constructor(){(0,v.WQX)(w.l).load(O.A);const j=this._elementRef.nativeElement;this._isAnchor="A"===j.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(j,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(j="program",W){j?this._focusMonitor.focusVia(this._elementRef.nativeElement,j,W):this._elementRef.nativeElement.focus(W)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",j=>{this.disabled&&(j.preventDefault(),j.stopImmediatePropagation())}))}static \u0275fac=function(W){return new(W||Ce)};static \u0275dir=i.FsC({type:Ce,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(W,G){2&W&&(i.BMQ("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled())("tabindex",G._getTabIndex()),i.HbH(G.color?"mat-"+G.color:""),i.AVh("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("mat-unthemed",!G.color)("_mat-animation-noopable",G._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",d.L39],disabled:[2,"disabled","disabled",d.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",d.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",d.L39],tabIndex:[2,"tabIndex","tabIndex",B],_tabindex:[2,"tabindex","_tabindex",B]}})}return Ce})(),Pe=(()=>{class Ce extends A{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(W){return new(W||Ce)};static \u0275cmp=i.VBU({type:Ce,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[i.Vt3],attrs:u,ngContentSelectors:L,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(W,G){1&W&&(i.NAR(),i.Hgh(0,"span",0),i.SdG(1),i.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return Ce})()},2629(Zt,pe,l){"use strict";l.d(pe,{An:()=>ie,m_:()=>P});var i=l(3664),d=l(2615),v=l(7705),T=l(8359),w=l(6697),e=l(9330),O=l(345),f=l(7673),u=l(8810),L=l(7468),C=l(8141),B=l(6354),A=l(9437),Pe=l(980),le=l(7647);let Ce;function j(F){return function Ae(){if(void 0===Ce&&(Ce=null,typeof window<"u")){const F=window;void 0!==F.trustedTypes&&(Ce=F.trustedTypes.createPolicy("angular#components",{createHTML:ve=>ve}))}return Ce}()?.createHTML(F)||F}function W(F){return Error(`Unable to find icon with the name "${F}"`)}function re(F){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${F}".`)}function xe(F){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${F}".`)}class Ee{url;svgText;options;svgElement;constructor(ve,H,$){this.url=ve,this.svgText=H,this.options=$}}let V=(()=>{class F{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(H,$,Ke,Vt){this._httpClient=H,this._sanitizer=$,this._errorHandler=Vt,this._document=Ke}addSvgIcon(H,$,Ke){return this.addSvgIconInNamespace("",H,$,Ke)}addSvgIconLiteral(H,$,Ke){return this.addSvgIconLiteralInNamespace("",H,$,Ke)}addSvgIconInNamespace(H,$,Ke,Vt){return this._addSvgIconConfig(H,$,new Ee(Ke,null,Vt))}addSvgIconResolver(H){return this._resolvers.push(H),this}addSvgIconLiteralInNamespace(H,$,Ke,Vt){const St=this._sanitizer.sanitize(i.WPN.HTML,Ke);if(!St)throw xe(Ke);const ot=j(St);return this._addSvgIconConfig(H,$,new Ee("",ot,Vt))}addSvgIconSet(H,$){return this.addSvgIconSetInNamespace("",H,$)}addSvgIconSetLiteral(H,$){return this.addSvgIconSetLiteralInNamespace("",H,$)}addSvgIconSetInNamespace(H,$,Ke){return this._addSvgIconSetConfig(H,new Ee($,null,Ke))}addSvgIconSetLiteralInNamespace(H,$,Ke){const Vt=this._sanitizer.sanitize(i.WPN.HTML,$);if(!Vt)throw xe($);const St=j(Vt);return this._addSvgIconSetConfig(H,new Ee("",St,Ke))}registerFontClassAlias(H,$=H){return this._fontCssClassesByAlias.set(H,$),this}classNameForFontAlias(H){return this._fontCssClassesByAlias.get(H)||H}setDefaultFontSetClass(...H){return this._defaultFontSetClass=H,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(H){const $=this._sanitizer.sanitize(i.WPN.RESOURCE_URL,H);if(!$)throw re(H);const Ke=this._cachedIconsByUrl.get($);return Ke?(0,f.of)(ne(Ke)):this._loadSvgIconFromConfig(new Ee(H,null)).pipe((0,C.M)(Vt=>this._cachedIconsByUrl.set($,Vt)),(0,B.T)(Vt=>ne(Vt)))}getNamedSvgIcon(H,$=""){const Ke=J($,H);let Vt=this._svgIconConfigs.get(Ke);if(Vt)return this._getSvgFromConfig(Vt);if(Vt=this._getIconConfigFromResolvers($,H),Vt)return this._svgIconConfigs.set(Ke,Vt),this._getSvgFromConfig(Vt);const St=this._iconSetConfigs.get($);return St?this._getSvgFromIconSetConfigs(H,St):(0,u.$)(W(Ke))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(H){return H.svgText?(0,f.of)(ne(this._svgElementFromConfig(H))):this._loadSvgIconFromConfig(H).pipe((0,B.T)($=>ne($)))}_getSvgFromIconSetConfigs(H,$){const Ke=this._extractIconWithNameFromAnySet(H,$);if(Ke)return(0,f.of)(Ke);const Vt=$.filter(St=>!St.svgText).map(St=>this._loadSvgIconSetFromConfig(St).pipe((0,A.W)(ot=>{const ht=`Loading icon set URL: ${this._sanitizer.sanitize(i.WPN.RESOURCE_URL,St.url)} failed: ${ot.message}`;return this._errorHandler.handleError(new Error(ht)),(0,f.of)(null)})));return(0,L.p)(Vt).pipe((0,B.T)(()=>{const St=this._extractIconWithNameFromAnySet(H,$);if(!St)throw W(H);return St}))}_extractIconWithNameFromAnySet(H,$){for(let Ke=$.length-1;Ke>=0;Ke--){const Vt=$[Ke];if(Vt.svgText&&Vt.svgText.toString().indexOf(H)>-1){const St=this._svgElementFromConfig(Vt),ot=this._extractSvgIconFromSet(St,H,Vt.options);if(ot)return ot}}return null}_loadSvgIconFromConfig(H){return this._fetchIcon(H).pipe((0,C.M)($=>H.svgText=$),(0,B.T)(()=>this._svgElementFromConfig(H)))}_loadSvgIconSetFromConfig(H){return H.svgText?(0,f.of)(null):this._fetchIcon(H).pipe((0,C.M)($=>H.svgText=$))}_extractSvgIconFromSet(H,$,Ke){const Vt=H.querySelector(`[id="${$}"]`);if(!Vt)return null;const St=Vt.cloneNode(!0);if(St.removeAttribute("id"),"svg"===St.nodeName.toLowerCase())return this._setSvgAttributes(St,Ke);if("symbol"===St.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(St),Ke);const ot=this._svgElementFromString(j(""));return ot.appendChild(St),this._setSvgAttributes(ot,Ke)}_svgElementFromString(H){const $=this._document.createElement("DIV");$.innerHTML=H;const Ke=$.querySelector("svg");if(!Ke)throw Error(" tag not found");return Ke}_toSvgElement(H){const $=this._svgElementFromString(j("")),Ke=H.attributes;for(let Vt=0;Vtj(ht)),(0,Pe.j)(()=>this._inProgressUrlFetches.delete(St)),(0,le.u)());return this._inProgressUrlFetches.set(St,nt),nt}_addSvgIconConfig(H,$,Ke){return this._svgIconConfigs.set(J(H,$),Ke),this}_addSvgIconSetConfig(H,$){const Ke=this._iconSetConfigs.get(H);return Ke?Ke.push($):this._iconSetConfigs.set(H,[$]),this}_svgElementFromConfig(H){if(!H.svgElement){const $=this._svgElementFromString(H.svgText);this._setSvgAttributes($,H.options),H.svgElement=$}return H.svgElement}_getIconConfigFromResolvers(H,$){for(let Ke=0;Keve?ve.pathname+ve.search:""}}}),lt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Le=lt.map(F=>`[${F}]`).join(", "),te=/^url\(['"]?#(.*?)['"]?\)$/;let ie=(()=>{class F{_elementRef=(0,d.WQX)(i.aKT);_iconRegistry=(0,d.WQX)(V);_location=(0,d.WQX)(he);_errorHandler=(0,d.WQX)(d.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(H){this._color=H}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(H){H!==this._svgIcon&&(H?this._updateSvgIcon(H):this._svgIcon&&this._clearSvgElement(),this._svgIcon=H)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(H){const $=this._cleanupFontValue(H);$!==this._fontSet&&(this._fontSet=$,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(H){const $=this._cleanupFontValue(H);$!==this._fontIcon&&(this._fontIcon=$,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=T.yU.EMPTY;constructor(){const H=(0,d.WQX)(new v.ES_("aria-hidden"),{optional:!0}),$=(0,d.WQX)(_e,{optional:!0});$&&($.color&&(this.color=this._defaultColor=$.color),$.fontSet&&(this.fontSet=$.fontSet)),H||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(H){if(!H)return["",""];const $=H.split(":");switch($.length){case 1:return["",$[0]];case 2:return $;default:throw Error(`Invalid icon name: "${H}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const H=this._elementsWithExternalReferences;if(H&&H.size){const $=this._location.getPathname();$!==this._previousPath&&(this._previousPath=$,this._prependPathToReferences($))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(H){this._clearSvgElement();const $=this._location.getPathname();this._previousPath=$,this._cacheChildrenWithExternalReferences(H),this._prependPathToReferences($),this._elementRef.nativeElement.appendChild(H)}_clearSvgElement(){const H=this._elementRef.nativeElement;let $=H.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$--;){const Ke=H.childNodes[$];(1!==Ke.nodeType||"svg"===Ke.nodeName.toLowerCase())&&Ke.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const H=this._elementRef.nativeElement,$=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ke=>Ke.length>0);this._previousFontSetClass.forEach(Ke=>H.classList.remove(Ke)),$.forEach(Ke=>H.classList.add(Ke)),this._previousFontSetClass=$,this.fontIcon!==this._previousFontIconClass&&!$.includes("mat-ligature-font")&&(this._previousFontIconClass&&H.classList.remove(this._previousFontIconClass),this.fontIcon&&H.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(H){return"string"==typeof H?H.trim().split(" ")[0]:H}_prependPathToReferences(H){const $=this._elementsWithExternalReferences;$&&$.forEach((Ke,Vt)=>{Ke.forEach(St=>{Vt.setAttribute(St.name,`url('${H}#${St.value}')`)})})}_cacheChildrenWithExternalReferences(H){const $=H.querySelectorAll(Le),Ke=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Vt=0;Vt<$.length;Vt++)lt.forEach(St=>{const ot=$[Vt],nt=ot.getAttribute(St),ht=nt?nt.match(te):null;if(ht){let oe=Ke.get(ot);oe||(oe=[],Ke.set(ot,oe)),oe.push({name:St,value:ht[1]})}})}_updateSvgIcon(H){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),H){const[$,Ke]=this._splitIconName(H);$&&(this._svgNamespace=$),Ke&&(this._svgName=Ke),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ke,$).pipe((0,w.s)(1)).subscribe(Vt=>this._setSvgElement(Vt),Vt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$}:${Ke}! ${Vt.message}`))})}}static \u0275fac=function($){return new($||F)};static \u0275cmp=i.VBU({type:F,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function($,Ke){2&$&&(i.BMQ("data-mat-icon-type",Ke._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ke._svgName||Ke.fontIcon)("data-mat-icon-namespace",Ke._svgNamespace||Ke.fontSet)("fontIcon",Ke._usingFontIcon()?Ke.fontIcon:null),i.HbH(Ke.color?"mat-"+Ke.color:""),i.AVh("mat-icon-inline",Ke.inline)("mat-icon-no-color","primary"!==Ke.color&&"accent"!==Ke.color&&"warn"!==Ke.color))},inputs:{color:"color",inline:[2,"inline","inline",v.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Xe,decls:1,vars:0,template:function($,Ke){1&$&&(i.NAR(),i.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return F})(),P=(()=>{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=i.$C({type:F});static \u0275inj=d.G2t({imports:[Re.y,Re.y]})}return F})()},8010(Zt,pe,l){"use strict";l.d(pe,{O:()=>d});const d=new(l(2615).nKC)("MAT_INPUT_VALUE_ACCESSOR")},3746(Zt,pe,l){"use strict";l.d(pe,{fg:()=>St,fS:()=>ot});var i=l(4085),d=l(9842);let w;const e=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(w)return w;if("object"!=typeof document||!document)return w=new Set(e),w;let nt=document.createElement("input");return w=new Set(e.filter(ht=>(nt.setAttribute("type",ht),nt.type===ht))),w}var f=l(3664),u=l(2615),L=l(983),C=l(1413),B=l(8968),A=l(7847);let ne=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=f.VBU({type:nt,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(Ye,fe){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return nt})();const J={passive:!0};let De=(()=>{class nt{_platform=(0,u.WQX)(d.O);_ngZone=(0,u.WQX)(f.SKi);_renderer=(0,u.WQX)(f._9s).createRenderer(null,null);_styleLoader=(0,u.WQX)(B.l);_monitoredElements=new Map;constructor(){}monitor(oe){if(!this._platform.isBrowser)return L.w;this._styleLoader.load(ne);const Ye=(0,A.i8)(oe),fe=this._monitoredElements.get(Ye);if(fe)return fe.subject;const Qe=new C.B,gt="cdk-text-field-autofilled",Gt=cn=>{"cdk-text-field-autofill-start"!==cn.animationName||Ye.classList.contains(gt)?"cdk-text-field-autofill-end"===cn.animationName&&Ye.classList.contains(gt)&&(Ye.classList.remove(gt),this._ngZone.run(()=>Qe.next({target:cn.target,isAutofilled:!1}))):(Ye.classList.add(gt),this._ngZone.run(()=>Qe.next({target:cn.target,isAutofilled:!0})))},rt=this._ngZone.runOutsideAngular(()=>(Ye.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(Ye,"animationstart",Gt,J)));return this._monitoredElements.set(Ye,{subject:Qe,unlisten:rt}),Qe}stopMonitoring(oe){const Ye=(0,A.i8)(oe),fe=this._monitoredElements.get(Ye);fe&&(fe.unlisten(),fe.subject.complete(),Ye.classList.remove("cdk-text-field-autofill-monitored"),Ye.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ye))}ngOnDestroy(){this._monitoredElements.forEach((oe,Ye)=>this.stopMonitoring(Ye))}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275prov=u.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),_e=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=f.$C({type:nt});static \u0275inj=u.G2t({})}return nt})();var he=l(9295),Dt=l(7705),lt=l(9726),Le=l(9417),te=l(8010),ie=l(9588),P=l(2709),F=l(9336),ve=l(1228),H=l(2466);const Ke=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Vt=new u.nKC("MAT_INPUT_CONFIG");let St=(()=>{class nt{_elementRef=(0,u.WQX)(f.aKT);_platform=(0,u.WQX)(d.O);ngControl=(0,u.WQX)(Le.vO,{optional:!0,self:!0});_autofillMonitor=(0,u.WQX)(De);_ngZone=(0,u.WQX)(f.SKi);_formField=(0,u.WQX)(ie.xb,{optional:!0});_renderer=(0,u.WQX)(f.sFG);_uid=(0,u.WQX)(lt.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,u.WQX)(Vt,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new C.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,i.he)(oe),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(oe){this._id=oe||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Le.k0.required)??!1}set required(oe){this._required=(0,i.he)(oe)}_required;get type(){return this._type}set type(oe){this._type=oe||"text",this._validateType(),!this._isTextarea&&O().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(oe){this._errorStateTracker.matcher=oe}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(oe){oe!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(oe):this._inputValueAccessor.value=oe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(oe){this._readonly=(0,i.he)(oe)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(oe){this._errorStateTracker.errorState=oe}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(oe=>O().has(oe));constructor(){const oe=(0,u.WQX)(Le.cV,{optional:!0}),Ye=(0,u.WQX)(Le.j4,{optional:!0}),fe=(0,u.WQX)(P.e),Qe=(0,u.WQX)(te.O,{optional:!0,self:!0}),gt=this._elementRef.nativeElement,Gt=gt.nodeName.toLowerCase();Qe?(0,u.Hps)(Qe.value)?this._signalBasedValueAccessor=Qe:this._inputValueAccessor=Qe:this._inputValueAccessor=gt,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(gt,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new F.X(fe,this.ngControl,Ye,oe,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Gt,this._isTextarea="textarea"===Gt,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=gt.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,he.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(oe=>{this.autofilled=oe.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(oe){this._elementRef.nativeElement.focus(oe)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(oe){if(oe!==this.focused){if(!this._isNativeSelect&&oe&&this.disabled&&this.disabledInteractive){const Ye=this._elementRef.nativeElement;"number"===Ye.type?(Ye.type="text",Ye.setSelectionRange(0,0),Ye.type="number"):Ye.setSelectionRange(0,0)}this.focused=oe,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const oe=this._elementRef.nativeElement.value;this._previousNativeValue!==oe&&(this._previousNativeValue=oe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const oe=this._getPlaceholder();if(oe!==this._previousPlaceholder){const Ye=this._elementRef.nativeElement;this._previousPlaceholder=oe,oe?Ye.setAttribute("placeholder",oe):Ye.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Ke.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let oe=this._elementRef.nativeElement.validity;return oe&&oe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const oe=this._elementRef.nativeElement,Ye=oe.options[0];return this.focused||oe.multiple||!this.empty||!!(oe.selectedIndex>-1&&Ye&&Ye.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(oe){const Ye=this._elementRef.nativeElement;oe.length?Ye.setAttribute("aria-describedby",oe.join(" ")):Ye.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const oe=this._elementRef.nativeElement;return this._isNativeSelect&&(oe.multiple||oe.size>1)}_iOSKeyupListener=oe=>{const Ye=oe.target;!Ye.value&&0===Ye.selectionStart&&0===Ye.selectionEnd&&(Ye.setSelectionRange(1,1),Ye.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=f.FsC({type:nt,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(Ye,fe){1&Ye&&f.bIt("focus",function(){return fe._focusChanged(!0)})("blur",function(){return fe._focusChanged(!1)})("input",function(){return fe._onInput()}),2&Ye&&(f.Avn("id",fe.id)("disabled",fe.disabled&&!fe.disabledInteractive)("required",fe.required),f.BMQ("name",fe.name||null)("readonly",fe._getReadonlyAttribute())("aria-disabled",fe.disabled&&fe.disabledInteractive?"true":null)("aria-invalid",fe.empty&&fe.required?null:fe.errorState)("aria-required",fe.required)("id",fe.id),f.AVh("mat-input-server",fe._isServer)("mat-mdc-form-field-textarea-control",fe._isInFormField&&fe._isTextarea)("mat-mdc-form-field-input-control",fe._isInFormField)("mat-mdc-input-disabled-interactive",fe.disabledInteractive)("mdc-text-field__input",fe._isInFormField)("mat-mdc-native-select-inline",fe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Dt.L39]},exportAs:["matInput"],features:[f.Jv_([{provide:ie.qT,useExisting:nt}]),f.OA$]})}return nt})(),ot=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=f.$C({type:nt});static \u0275inj=u.G2t({imports:[H.y,ve.R,ve.R,_e,H.y]})}return nt})()},3155(Zt,pe,l){"use strict";l.d(pe,{t:()=>T});var i=l(3664);const d=["mat-internal-form-field",""],v=["*"];let T=(()=>{class w{labelPosition;static \u0275fac=function(f){return new(f||w)};static \u0275cmp=i.VBU({type:w,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(f,u){2&f&&i.AVh("mdc-form-field--align-end","before"===u.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:d,ngContentSelectors:v,decls:1,vars:0,template:function(f,u){1&f&&(i.NAR(),i.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return w})()},3902(Zt,pe,l){"use strict";l.d(pe,{Fg:()=>ee,YE:()=>pt,jt:()=>wt});var d=l(4085),v=l(7847),T=l(2615),w=l(3664),O=(l(7705),l(9842)),u=(l(4522),l(8968)),C=(l(1413),l(8359)),B=l(7786),A=l(2496),Pe=l(1804),le=l(2046),Ae=(l(2200),l(2318)),j=l(1997),ce=(l(4123),l(3869),l(7336),l(438),l(9417),l(6977),l(483)),be=l(2466),ne=l(6881);const J=["*"],Re=["unscopedContent"],Xe=["text"],_e=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],he=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Ye=new T.nKC("ListOption");let fe=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return ye})(),Qe=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return ye})(),gt=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return ye})(),Gt=(()=>{class ye{_listOption=(0,T.WQX)(Ye,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,hostVars:4,hostBindings:function(ge,N){2&ge&&w.AVh("mdc-list-item__start",N._isAlignedAtStart())("mdc-list-item__end",!N._isAlignedAtStart())}})}return ye})(),rt=(()=>{class ye extends Gt{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[w.Vt3]})}return ye})(),cn=(()=>{class ye extends Gt{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[w.Vt3]})}return ye})();const Ft=new T.nKC("MAT_LIST_CONFIG");let Sn=(()=>{class ye{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(Se){this._disableRipple=(0,d.he)(Se)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(Se){this._disabled.set((0,d.he)(Se))}_disabled=(0,T.vPA)(!1);_defaultOptions=(0,T.WQX)(Ft,{optional:!0});static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,hostVars:1,hostBindings:function(ge,N){2&ge&&w.BMQ("aria-disabled",N.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return ye})(),Qn=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);_ngZone=(0,T.WQX)(w.SKi);_listBase=(0,T.WQX)(Sn,{optional:!0});_platform=(0,T.WQX)(O.O);_hostElement;_isButtonElement;_noopAnimations=(0,Pe.Rc)();_avatars;_icons;set lines(Se){this._explicitLines=(0,v.OE)(Se,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Se){this._disableRipple=(0,d.he)(Se)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(Se){this._disabled.set((0,d.he)(Se))}_disabled=(0,T.vPA)(!1);_subscriptions=new C.yU;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){(0,T.WQX)(u.l).load(le.A);const Se=(0,T.WQX)(A.$E,{optional:!0});this.rippleConfig=Se||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new A.ug(this,this._ngZone,this._hostElement,this._platform,(0,T.WQX)(T.zZn)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,B.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(Se){if(!this._lines||!this._titles||!this._unscopedContent)return;Se&&this._checkDomForUnscopedTextContent();const ge=this._explicitLines??this._inferLinesFromContent(),N=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ge<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ge<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ge),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ge),this._hasUnscopedTextContent){const Z=0===this._titles.length&&1===ge;N.classList.toggle("mdc-list-item__primary-text",Z),N.classList.toggle("mdc-list-item__secondary-text",!Z)}else N.classList.remove("mdc-list-item__primary-text"),N.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Se=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Se+=1),Se}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Se=>Se.nodeType!==Se.COMMENT_NODE).some(Se=>!(!Se.textContent||!Se.textContent.trim()))}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,contentQueries:function(ge,N,Z){if(1&ge&&(w.wni(Z,rt,4),w.wni(Z,cn,4)),2&ge){let Me;w.mGM(Me=w.lsd())&&(N._avatars=Me),w.mGM(Me=w.lsd())&&(N._icons=Me)}},hostVars:4,hostBindings:function(ge,N){2&ge&&(w.BMQ("aria-disabled",N.disabled)("disabled",N._isButtonElement&&N.disabled||null),w.AVh("mdc-list-item--disabled",N.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return ye})(),wt=(()=>{class ye extends Sn{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275cmp=w.VBU({type:ye,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[w.Jv_([{provide:Sn,useExisting:ye}]),w.Vt3],ngContentSelectors:J,decls:1,vars:0,template:function(ge,N){1&ge&&(w.NAR(),w.SdG(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],encapsulation:2,changeDetection:0})}return ye})(),pt=(()=>{class ye extends Qn{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(Se){this._activated=(0,d.he)(Se)}_activated=!1;_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return 0!==this._meta.length&&(0!==this._avatars.length||0!==this._icons.length)}static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275cmp=w.VBU({type:ye,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ge,N,Z){if(1&ge&&(w.wni(Z,Qe,5),w.wni(Z,fe,5),w.wni(Z,gt,5)),2&ge){let Me;w.mGM(Me=w.lsd())&&(N._lines=Me),w.mGM(Me=w.lsd())&&(N._titles=Me),w.mGM(Me=w.lsd())&&(N._meta=Me)}},viewQuery:function(ge,N){if(1&ge&&(w.GBs(Re,5),w.GBs(Xe,5)),2&ge){let Z;w.mGM(Z=w.lsd())&&(N._unscopedContent=Z.first),w.mGM(Z=w.lsd())&&(N._itemText=Z.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(ge,N){2&ge&&(w.BMQ("aria-current",N._getAriaCurrent()),w.AVh("mdc-list-item--activated",N.activated)("mdc-list-item--with-leading-avatar",0!==N._avatars.length)("mdc-list-item--with-leading-icon",0!==N._icons.length)("mdc-list-item--with-trailing-meta",0!==N._meta.length)("mat-mdc-list-item-both-leading-and-trailing",N._hasBothLeadingAndTrailing())("_mat-animation-noopable",N._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[w.Vt3],ngContentSelectors:he,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(ge,N){if(1&ge){const Z=w.RV6();w.NAR(_e),w.SdG(0),w.j41(1,"span",1),w.SdG(2,1),w.SdG(3,2),w.j41(4,"span",2,0),w.bIt("cdkObserveContent",function(){return T.eBV(Z),T.Njj(N._updateItemLines(!0))}),w.SdG(6,3),w.k0s()(),w.SdG(7,4),w.SdG(8,5),w.nrm(9,"div",3)}},dependencies:[Ae.Wv],encapsulation:2,changeDetection:0})}return ye})(),ee=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275mod=w.$C({type:ye});static \u0275inj=T.G2t({imports:[Ae.w5,be.y,ne.p,ce.O,j.w]})}return ye})()},9115(Zt,pe,l){"use strict";l.d(pe,{Cn:()=>vt,Cp:()=>kn,fb:()=>gt,kk:()=>wt});var W=l(2615),G=l(3664),re=l(7705),xe=l(6838),Ee=l(9726),V=l(4123),ce=l(5735),be=l(7336),ne=l(438),J=l(1413),De=l(8359),Re=l(7786),Xe=l(7673),_e=l(5964),he=l(9172),Dt=l(5558),lt=l(6697),Le=l(6977),te=l(8968),ie=l(2046),P=l(2496),F=l(6939),ve=l(1804),H=l(1577),$=l(9338),Ke=l(5718),Vt=l(6881),St=l(2466);const ot=["mat-menu-item",""],nt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],ht=["mat-icon, [matMenuItemIcon]","*"];function oe(Se,ge){1&Se&&(W.qSk(),G.j41(0,"svg",2),G.nrm(1,"polygon",3),G.k0s())}const Ye=["*"];function fe(Se,ge){if(1&Se){const N=G.RV6();G.rj2(0,"div",0),G.VwU("click",function(){W.eBV(N);const Me=G.XpG();return W.Njj(Me.closed.emit("click"))})("animationstart",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationStart(Me.animationName))})("animationend",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationDone(Me.animationName))})("animationcancel",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationDone(Me.animationName))}),G.rj2(1,"div",1),G.SdG(2),G.eux()()}if(2&Se){const N=G.XpG();G.HbH(N._classList),G.AVh("mat-menu-panel-animations-disabled",N._animationsDisabled)("mat-menu-panel-exit-animation","void"===N._panelAnimationState)("mat-menu-panel-animating",N._isAnimating()),G.Avn("id",N.panelId),G.BMQ("aria-label",N.ariaLabel||null)("aria-labelledby",N.ariaLabelledby||null)("aria-describedby",N.ariaDescribedby||null)}}const Qe=new W.nKC("MAT_MENU_PANEL");let gt=(()=>{class Se{_elementRef=(0,W.WQX)(G.aKT);_document=(0,W.WQX)(W.qQL);_focusMonitor=(0,W.WQX)(xe.FN);_parentMenu=(0,W.WQX)(Qe,{optional:!0});_changeDetectorRef=(0,W.WQX)(re.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new J.B;_focused=new J.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,W.WQX)(te.l).load(ie.A),this._parentMenu?.addItem?.(this)}focus(N,Z){this._focusMonitor&&N?this._focusMonitor.focusVia(this._getHostElement(),N,Z):this._getHostElement().focus(Z),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(N){this.disabled&&(N.preventDefault(),N.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const N=this._elementRef.nativeElement.cloneNode(!0),Z=N.querySelectorAll("mat-icon, .material-icons");for(let Me=0;Me{class Se{_elementRef=(0,W.WQX)(G.aKT);_changeDetectorRef=(0,W.WQX)(re.gRc);_injector=(0,W.WQX)(W.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,ve.Rc)();_allItems;_directDescendantItems=new G.rOR;_classList={};_panelAnimationState="void";_animationDone=new J.B;_isAnimating=(0,W.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(N){this._xPosition=N,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(N){this._yPosition=N,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(N){const Z=this._previousPanelClass,Me={...this._classList};Z&&Z.length&&Z.split(" ").forEach(at=>{Me[at]=!1}),this._previousPanelClass=N,N&&N.length&&(N.split(" ").forEach(at=>{Me[at]=!0}),this._elementRef.nativeElement.className=""),this._classList=Me}_previousPanelClass;get classList(){return this.panelClass}set classList(N){this.panelClass=N}closed=new G.bkB;close=this.closed;panelId=(0,W.WQX)(Ee.g).getId("mat-menu-panel-");constructor(){const N=(0,W.WQX)(Qn);this.overlayPanelClass=N.overlayPanelClass||"",this._xPosition=N.xPosition,this._yPosition=N.yPosition,this.backdropClass=N.backdropClass,this.overlapTrigger=N.overlapTrigger,this.hasBackdrop=N.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new V.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,he.Z)(this._directDescendantItems),(0,Dt.n)(N=>(0,Re.h)(...N.map(Z=>Z._focused)))).subscribe(N=>this._keyManager.updateActiveItem(N)),this._directDescendantItems.changes.subscribe(N=>{const Z=this._keyManager;if("enter"===this._panelAnimationState&&Z.activeItem?._hasFocus()){const Me=N.toArray(),at=Math.max(0,Math.min(Me.length-1,Z.activeItemIndex||0));Me[at]&&!Me[at].disabled?Z.setActiveItem(at):Z.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,he.Z)(this._directDescendantItems),(0,Dt.n)(Z=>(0,Re.h)(...Z.map(Me=>Me._hovered))))}addItem(N){}removeItem(N){}_handleKeydown(N){const Z=N.keyCode,Me=this._keyManager;switch(Z){case ne._f:(0,be.rp)(N)||(N.preventDefault(),this.closed.emit("keydown"));break;case ne.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case ne.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Z===ne.i7||Z===ne.n6)&&Me.setFocusOrigin("keyboard"),void Me.onKeydown(N)}}focusFirstItem(N="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,G.mal)(()=>{const Z=this._resolvePanel();if(!Z||!Z.contains(document.activeElement)){const Me=this._keyManager;Me.setFocusOrigin(N).setFirstItemActive(),!Me.activeItem&&Z&&Z.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(N){}setPositionClasses(N=this.xPosition,Z=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===N,"mat-menu-after":"after"===N,"mat-menu-above":"above"===Z,"mat-menu-below":"below"===Z},this._changeDetectorRef.markForCheck()}_onAnimationDone(N){const Z=N===Ue;(Z||N===jt)&&(Z&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(Z?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(N){(N===jt||N===Ue)&&this._isAnimating.set(!0)}_setIsOpen(N){if(this._panelAnimationState=N?"enter":"void",N){if(0===this._keyManager.activeItemIndex){const Z=this._resolvePanel();Z&&(Z.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Ue),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(N?jt:Ue)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,he.Z)(this._allItems)).subscribe(N=>{this._directDescendantItems.reset(N.filter(Z=>Z._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let N=null;return this._directDescendantItems.length&&(N=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),N}static \u0275fac=function(Z){return new(Z||Se)};static \u0275cmp=G.VBU({type:Se,selectors:[["mat-menu"]],contentQueries:function(Z,Me,at){if(1&Z&&(G.wni(at,Ft,5),G.wni(at,gt,5),G.wni(at,gt,4)),2&Z){let qe;G.mGM(qe=G.lsd())&&(Me.lazyContent=qe.first),G.mGM(qe=G.lsd())&&(Me._allItems=qe),G.mGM(qe=G.lsd())&&(Me.items=qe)}},viewQuery:function(Z,Me){if(1&Z&&G.GBs(G.C4Q,5),2&Z){let at;G.mGM(at=G.lsd())&&(Me.templateRef=at.first)}},hostVars:3,hostBindings:function(Z,Me){2&Z&&G.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",re.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",N=>null==N?null:(0,re.L39)(N)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[G.Jv_([{provide:Qe,useExisting:Se}])],ngContentSelectors:Ye,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(Z,Me){1&Z&&(G.NAR(),G.PeT(0,fe,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,changeDetection:0})}return Se})();const pt=new W.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Se=(0,W.WQX)(W.zZn);return()=>(0,$.RH)(Se)}}),gn={provide:pt,deps:[],useFactory:function Pt(Se){const ge=(0,W.WQX)(W.zZn);return()=>(0,$.RH)(ge)}},vi=new WeakMap;let Ni=(()=>{class Se{_canHaveBackdrop;_element=(0,W.WQX)(G.aKT);_viewContainerRef=(0,W.WQX)(G.c1b);_menuItemInstance=(0,W.WQX)(gt,{optional:!0,self:!0});_dir=(0,W.WQX)(H.dS,{optional:!0});_focusMonitor=(0,W.WQX)(xe.FN);_ngZone=(0,W.WQX)(G.SKi);_injector=(0,W.WQX)(W.zZn);_scrollStrategy=(0,W.WQX)(pt);_changeDetectorRef=(0,W.WQX)(re.gRc);_animationsDisabled=(0,ve.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=De.yU.EMPTY;_menuCloseSubscription=De.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(N){N!==this._menuInternal&&(this._menuInternal=N,this._menuCloseSubscription.unsubscribe(),N&&(this._menuCloseSubscription=N.close.subscribe(Z=>{this._destroyMenu(Z),("click"===Z||"tab"===Z)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Z)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(N){this._canHaveBackdrop=N;const Z=(0,W.WQX)(Qe,{optional:!0});this._parentMaterialMenu=Z instanceof wt?Z:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&vi.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(N){const Z=this._menu;if(this._menuOpen||!Z)return;this._pendingRemoval?.unsubscribe();const Me=vi.get(Z);vi.set(Z,this),Me&&Me!==this&&Me._closeMenu();const at=this._createOverlay(Z),qe=at.getConfig(),pn=qe.positionStrategy;this._setPosition(Z,pn),qe.hasBackdrop=!!this._canHaveBackdrop&&(null==Z.hasBackdrop?!this._triggersSubmenu():Z.hasBackdrop),at.hasAttached()||(at.attach(this._getPortal(Z)),Z.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),Z.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,Z.direction=this.dir,N&&Z.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),Z instanceof wt&&(Z._setIsOpen(!0),Z._directDescendantItems.changes.pipe((0,Le.Q)(Z.close)).subscribe(()=>{pn.withLockedPosition(!1).reapplyLastPosition(),pn.withLockedPosition(!0)}))}focus(N,Z){this._focusMonitor&&N?this._focusMonitor.focusVia(this._element,N,Z):this._element.nativeElement.focus(Z)}_destroyMenu(N){const Z=this._overlayRef,Me=this._menu;!Z||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Me instanceof wt&&this._ownsMenu(Me)?(this._pendingRemoval=Me._animationDone.pipe((0,lt.s)(1)).subscribe(()=>{Z.detach(),vi.has(Me)||Me.lazyContent?.detach()}),Me._setIsOpen(!1)):(Z.detach(),Me?.lazyContent?.detach()),Me&&this._ownsMenu(Me)&&vi.delete(Me),this.restoreFocus&&("keydown"===N||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(N){N!==this._menuOpen&&(this._menuOpen=N,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(N),this._changeDetectorRef.markForCheck())}_createOverlay(N){if(!this._overlayRef){const Z=this._getOverlayConfig(N);this._subscribeToPositions(N,Z.positionStrategy),this._overlayRef=(0,$.Y$)(this._injector,Z),this._overlayRef.keydownEvents().subscribe(Me=>{this._menu instanceof wt&&this._menu._handleKeydown(Me)})}return this._overlayRef}_getOverlayConfig(N){return new $.rR({positionStrategy:(0,$.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:N.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:N.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(N,Z){N.setPositionClasses&&Z.positionChanges.subscribe(Me=>{this._ngZone.run(()=>{N.setPositionClasses("start"===Me.connectionPair.overlayX?"after":"before","top"===Me.connectionPair.overlayY?"below":"above")})})}_setPosition(N,Z){let[Me,at]="before"===N.xPosition?["end","start"]:["start","end"],[qe,pn]="above"===N.yPosition?["bottom","top"]:["top","bottom"],[Je,Be]=[qe,pn],[ut,Ge]=[Me,at],Ot=0;if(this._triggersSubmenu()){if(Ge=Me="before"===N.xPosition?"start":"end",at=ut="end"===Me?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const se=this._parentMaterialMenu.items.first;this._parentInnerPadding=se?se._getHostElement().offsetTop:0}Ot="bottom"===qe?this._parentInnerPadding:-this._parentInnerPadding}}else N.overlapTrigger||(Je="top"===qe?"bottom":"top",Be="top"===pn?"bottom":"top");Z.withPositions([{originX:Me,originY:Je,overlayX:ut,overlayY:qe,offsetY:Ot},{originX:at,originY:Je,overlayX:Ge,overlayY:qe,offsetY:Ot},{originX:Me,originY:Be,overlayX:ut,overlayY:pn,offsetY:-Ot},{originX:at,originY:Be,overlayX:Ge,overlayY:pn,offsetY:-Ot}])}_menuClosingActions(){const N=this._getOutsideClickStream(this._overlayRef),Z=this._overlayRef.detachments(),Me=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Xe.of)(),at=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,_e.p)(qe=>this._menuOpen&&qe!==this._menuItemInstance)):(0,Xe.of)();return(0,Re.h)(N,Me,at,Z)}_getPortal(N){return(!this._portal||this._portal.templateRef!==N.templateRef)&&(this._portal=new F.VA(N.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(N){return vi.get(N)===this}static \u0275fac=function(Z){G.QTQ()};static \u0275dir=G.FsC({type:Se})}return Se})(),kn=(()=>{class Se extends Ni{_cleanupTouchstart;_hoverSubscription=De.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(N){this.menu=N}get menu(){return this._menu}set menu(N){this._menu=N}menuData;restoreFocus=!0;menuOpened=new G.bkB;onMenuOpen=this.menuOpened;menuClosed=new G.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const N=(0,W.WQX)(G.sFG);this._cleanupTouchstart=N.listen(this._element.nativeElement,"touchstart",Z=>{(0,ce.w)(Z)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(N){return N.backdropClick()}_handleMousedown(N){(0,ce._)(N)||(this._openedBy=0===N.button?"mouse":void 0,this.triggersSubmenu()&&N.preventDefault())}_handleKeydown(N){const Z=N.keyCode;(Z===ne.Fm||Z===ne.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Z===ne.LE&&"ltr"===this.dir||Z===ne.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(N){this.triggersSubmenu()?(N.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(N=>{N===this._menuItemInstance&&!N.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(Z){return new(Z||Se)};static \u0275dir=G.FsC({type:Se,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Z,Me){1&Z&&G.bIt("click",function(qe){return Me._handleClick(qe)})("mousedown",function(qe){return Me._handleMousedown(qe)})("keydown",function(qe){return Me._handleKeydown(qe)}),2&Z&&G.BMQ("aria-haspopup",Me.menu?"menu":null)("aria-expanded",Me.menuOpen)("aria-controls",Me.menuOpen?null==Me.menu?null:Me.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[G.Vt3]})}return Se})(),vt=(()=>{class Se{static \u0275fac=function(Z){return new(Z||Se)};static \u0275mod=G.$C({type:Se});static \u0275inj=W.G2t({providers:[gn],imports:[Vt.p,St.y,$.z_,Ke.Gj,St.y]})}return Se})()},146(Zt,pe,l){"use strict";l.d(pe,{S:()=>O});var i=l(2615),d=l(3664),v=l(6881),T=l(483),w=l(2466),e=l(3029);let O=(()=>{class f{static \u0275fac=function(C){return new(C||f)};static \u0275mod=d.$C({type:f});static \u0275inj=i.G2t({imports:[v.p,w.y,T.O,e.wT]})}return f})()},3029(Zt,pe,l){"use strict";l.d(pe,{MI:()=>J,QC:()=>be,TL:()=>Xe,is:()=>ce,jb:()=>Re,wT:()=>De});var w=l(9726),e=l(7336),O=l(438),f=l(3664),u=l(7705),L=l(2615),C=l(1413),B=l(2496),A=l(3386),Pe=l(2046),le=l(9046),Ce=l(8968);const W=["text"],G=[[["mat-icon"]],"*"],re=["mat-icon","*"];function xe(_e,he){if(1&_e&&f.nrm(0,"mat-pseudo-checkbox",1),2&_e){const Dt=f.XpG();f.Y8G("disabled",Dt.disabled)("state",Dt.selected?"checked":"unchecked")}}function Ee(_e,he){if(1&_e&&f.nrm(0,"mat-pseudo-checkbox",3),2&_e){const Dt=f.XpG();f.Y8G("disabled",Dt.disabled)}}function V(_e,he){if(1&_e&&(f.j41(0,"span",4),f.EFF(1),f.k0s()),2&_e){const Dt=f.XpG();f.R7$(),f.SpI("(",Dt.group.label,")")}}const ce=new L.nKC("MAT_OPTION_PARENT_COMPONENT"),be=new L.nKC("MatOptgroup");class J{source;isUserInput;constructor(he,Dt=!1){this.source=he,this.isUserInput=Dt}}let De=(()=>{class _e{_element=(0,L.WQX)(f.aKT);_changeDetectorRef=(0,L.WQX)(u.gRc);_parent=(0,L.WQX)(ce,{optional:!0});group=(0,L.WQX)(be,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,L.WQX)(w.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(Dt){this._disabled.set(Dt)}_disabled=(0,L.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new f.bkB;_text;_stateChanges=new C.B;constructor(){const Dt=(0,L.WQX)(Ce.l);Dt.load(Pe.A),Dt.load(le.Y),this._signalDisableRipple=!!this._parent&&(0,L.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Dt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Dt&&this._emitSelectionChangeEvent())}deselect(Dt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Dt&&this._emitSelectionChangeEvent())}focus(Dt,lt){const Le=this._getHostElement();"function"==typeof Le.focus&&Le.focus(lt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Dt){(Dt.keyCode===O.Fm||Dt.keyCode===O.t6)&&!(0,e.rp)(Dt)&&(this._selectViaInteraction(),Dt.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Dt=this.viewValue;Dt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Dt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Dt=!1){this.onSelectionChange.emit(new J(this,Dt))}static \u0275fac=function(lt){return new(lt||_e)};static \u0275cmp=f.VBU({type:_e,selectors:[["mat-option"]],viewQuery:function(lt,Le){if(1<&&f.GBs(W,7),2<){let te;f.mGM(te=f.lsd())&&(Le._text=te.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(lt,Le){1<&&f.bIt("click",function(){return Le._selectViaInteraction()})("keydown",function(ie){return Le._handleKeydown(ie)}),2<&&(f.Avn("id",Le.id),f.BMQ("aria-selected",Le.selected)("aria-disabled",Le.disabled.toString()),f.AVh("mdc-list-item--selected",Le.selected)("mat-mdc-option-multiple",Le.multiple)("mat-mdc-option-active",Le.active)("mdc-list-item--disabled",Le.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",u.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:re,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(lt,Le){1<&&(f.NAR(G),f.nVh(0,xe,1,2,"mat-pseudo-checkbox",1),f.SdG(1),f.j41(2,"span",2,0),f.SdG(4,1),f.k0s(),f.nVh(5,Ee,1,1,"mat-pseudo-checkbox",3),f.nVh(6,V,2,1,"span",4),f.nrm(7,"div",5)),2<&&(f.vxM(Le.multiple?0:-1),f.R7$(5),f.vxM(Le.multiple||!Le.selected||Le.hideSingleSelectionIndicator?-1:5),f.R7$(),f.vxM(Le.group&&Le.group._inert?6:-1),f.R7$(),f.Y8G("matRippleTrigger",Le._getHostElement())("matRippleDisabled",Le.disabled||Le.disableRipple))},dependencies:[A.w,B.r6],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return _e})();function Re(_e,he,Dt){if(Dt.length){let lt=he.toArray(),Le=Dt.toArray(),te=0;for(let ie=0;ie<_e+1;ie++)lt[ie].group&<[ie].group===Le[te]&&te++;return te}return 0}function Xe(_e,he,Dt,lt){return _eDt+lt?Math.max(0,_e-lt+he):Dt}},6695(Zt,pe,l){"use strict";l.d(pe,{Ou:()=>ne,iy:()=>be,xX:()=>G});var i=l(2615),d=l(3664),v=l(7705),T=l(1413),w=l(2771),e=l(9726),O=l(9588),f=l(6183),u=l(3029),L=l(2598),C=l(455),B=l(6156),A=l(8834);function Pe(J,De){if(1&J&&(d.j41(0,"mat-option",17),d.EFF(1),d.k0s()),2&J){const Re=De.$implicit;d.Y8G("value",Re),d.R7$(),d.SpI(" ",Re," ")}}function le(J,De){if(1&J){const Re=d.RV6();d.j41(0,"mat-form-field",14)(1,"mat-select",16,0),d.bIt("selectionChange",function(_e){i.eBV(Re);const he=d.XpG(2);return i.Njj(he._changePageSize(_e.value))}),d.Z7z(3,Pe,2,2,"mat-option",17,d.fX1),d.k0s(),d.j41(5,"div",18),d.bIt("click",function(){i.eBV(Re);const _e=d.sdS(2);return i.Njj(_e.open())}),d.k0s()()}if(2&J){const Re=d.XpG(2);d.Y8G("appearance",Re._formFieldAppearance)("color",Re.color),d.R7$(),d.Y8G("value",Re.pageSize)("disabled",Re.disabled),d.jOp("aria-labelledby",Re._pageSizeLabelId),d.Y8G("panelClass",Re.selectConfig.panelClass||"")("disableOptionCentering",Re.selectConfig.disableOptionCentering),d.R7$(2),d.Dyx(Re._displayedPageSizeOptions)}}function Ce(J,De){if(1&J&&(d.j41(0,"div",15),d.EFF(1),d.k0s()),2&J){const Re=d.XpG(2);d.R7$(),d.JRh(Re.pageSize)}}function Ae(J,De){if(1&J&&(d.j41(0,"div",3)(1,"div",13),d.EFF(2),d.k0s(),d.nVh(3,le,6,7,"mat-form-field",14),d.nVh(4,Ce,2,1,"div",15),d.k0s()),2&J){const Re=d.XpG();d.R7$(),d.BMQ("id",Re._pageSizeLabelId),d.R7$(),d.SpI(" ",Re._intl.itemsPerPageLabel," "),d.R7$(),d.vxM(Re._displayedPageSizeOptions.length>1?3:-1),d.R7$(),d.vxM(Re._displayedPageSizeOptions.length<=1?4:-1)}}function j(J,De){if(1&J){const Re=d.RV6();d.j41(0,"button",19),d.bIt("click",function(){i.eBV(Re);const _e=d.XpG();return i.Njj(_e._buttonClicked(0,_e._previousButtonsDisabled()))}),i.qSk(),d.j41(1,"svg",8),d.nrm(2,"path",20),d.k0s()()}if(2&J){const Re=d.XpG();d.Y8G("matTooltip",Re._intl.firstPageLabel)("matTooltipDisabled",Re._previousButtonsDisabled())("disabled",Re._previousButtonsDisabled())("tabindex",Re._previousButtonsDisabled()?-1:null),d.BMQ("aria-label",Re._intl.firstPageLabel)}}function W(J,De){if(1&J){const Re=d.RV6();d.j41(0,"button",21),d.bIt("click",function(){i.eBV(Re);const _e=d.XpG();return i.Njj(_e._buttonClicked(_e.getNumberOfPages()-1,_e._nextButtonsDisabled()))}),i.qSk(),d.j41(1,"svg",8),d.nrm(2,"path",22),d.k0s()()}if(2&J){const Re=d.XpG();d.Y8G("matTooltip",Re._intl.lastPageLabel)("matTooltipDisabled",Re._nextButtonsDisabled())("disabled",Re._nextButtonsDisabled())("tabindex",Re._nextButtonsDisabled()?-1:null),d.BMQ("aria-label",Re._intl.lastPageLabel)}}let G=(()=>{class J{changes=new T.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(Re,Xe,_e)=>{if(0==_e||0==Xe)return`0 of ${_e}`;const he=Re*Xe;return`${he+1} \u2013 ${he<(_e=Math.max(_e,0))?Math.min(he+Xe,_e):he+Xe} of ${_e}`};static \u0275fac=function(Xe){return new(Xe||J)};static \u0275prov=i.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const xe={provide:G,deps:[[new d.Xx1,new d.kdw,G]],useFactory:function re(J){return J||new G}},ce=new i.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let be=(()=>{class J{_intl=(0,i.WQX)(G);_changeDetectorRef=(0,i.WQX)(v.gRc);_formFieldAppearance;_pageSizeLabelId=(0,i.WQX)(e.g).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new w.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(Re){this._pageIndex=Math.max(Re||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(Re){this._length=Re||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(Re){this._pageSize=Math.max(Re||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Re){this._pageSizeOptions=(Re||[]).map(Xe=>(0,v.Udg)(Xe,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new d.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const Re=this._intl,Xe=(0,i.WQX)(ce,{optional:!0});if(this._intlChanges=Re.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Xe){const{pageSize:_e,pageSizeOptions:he,hidePageSize:Dt,showFirstLastButtons:lt}=Xe;null!=_e&&(this._pageSize=_e),null!=he&&(this._pageSizeOptions=he),null!=Dt&&(this.hidePageSize=Dt),null!=lt&&(this.showFirstLastButtons=lt)}this._formFieldAppearance=Xe?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Re=this.getNumberOfPages()-1;return this.pageIndexRe-Xe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Re){this.page.emit({previousPageIndex:Re,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(Re){const Xe=this.pageIndex;Re!==Xe&&(this.pageIndex=Re,this._emitPageEvent(Xe))}_buttonClicked(Re,Xe){Xe||this._navigate(Re)}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=d.VBU({type:J,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",v.Udg],length:[2,"length","length",v.Udg],pageSize:[2,"pageSize","pageSize",v.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",v.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",v.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",v.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Xe,_e){1&Xe&&(d.j41(0,"div",1)(1,"div",2),d.nVh(2,Ae,5,4,"div",3),d.j41(3,"div",4)(4,"div",5),d.EFF(5),d.k0s(),d.nVh(6,j,3,5,"button",6),d.j41(7,"button",7),d.bIt("click",function(){return _e._buttonClicked(_e.pageIndex-1,_e._previousButtonsDisabled())}),i.qSk(),d.j41(8,"svg",8),d.nrm(9,"path",9),d.k0s()(),i.joV(),d.j41(10,"button",10),d.bIt("click",function(){return _e._buttonClicked(_e.pageIndex+1,_e._nextButtonsDisabled())}),i.qSk(),d.j41(11,"svg",8),d.nrm(12,"path",11),d.k0s()(),d.nVh(13,W,3,5,"button",12),d.k0s()()()),2&Xe&&(d.R7$(2),d.vxM(_e.hidePageSize?-1:2),d.R7$(3),d.SpI(" ",_e._intl.getRangeLabel(_e.pageIndex,_e.pageSize,_e.length)," "),d.R7$(),d.vxM(_e.showFirstLastButtons?6:-1),d.R7$(),d.Y8G("matTooltip",_e._intl.previousPageLabel)("matTooltipDisabled",_e._previousButtonsDisabled())("disabled",_e._previousButtonsDisabled())("tabindex",_e._previousButtonsDisabled()?-1:null),d.BMQ("aria-label",_e._intl.previousPageLabel),d.R7$(3),d.Y8G("matTooltip",_e._intl.nextPageLabel)("matTooltipDisabled",_e._nextButtonsDisabled())("disabled",_e._nextButtonsDisabled())("tabindex",_e._nextButtonsDisabled()?-1:null),d.BMQ("aria-label",_e._intl.nextPageLabel),d.R7$(3),d.vxM(_e.showFirstLastButtons?13:-1))},dependencies:[O.rl,f.VO,u.wT,L.iY,C.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],encapsulation:2,changeDetection:0})}return J})(),ne=(()=>{class J{static \u0275fac=function(Xe){return new(Xe||J)};static \u0275mod=d.$C({type:J});static \u0275inj=i.G2t({providers:[xe],imports:[A.Hl,f.Ve,B.u,be]})}return J})()},7575(Zt,pe,l){"use strict";l.d(pe,{HM:()=>L,PO:()=>B});var i=l(2615),d=l(3664),v=l(7705),T=l(1804),w=l(2466);function e(A,Pe){1&A&&d.Hgh(0,"div",2)}const O=new i.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let L=(()=>{class A{_elementRef=(0,i.WQX)(d.aKT);_ngZone=(0,i.WQX)(d.SKi);_changeDetectorRef=(0,i.WQX)(v.gRc);_renderer=(0,i.WQX)(d.sFG);_cleanupTransitionEnd;constructor(){const le=(0,T._J)(),Ce=(0,i.WQX)(O,{optional:!0});this._isNoopAnimation="di-disabled"===le,"reduced-motion"===le&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),Ce&&(Ce.color&&(this.color=this._defaultColor=Ce.color),this.mode=Ce.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(le){this._color=le}_color;_defaultColor="primary";get value(){return this._value}set value(le){this._value=C(le||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(le){this._bufferValue=C(le||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new d.bkB;get mode(){return this._mode}set mode(le){this._mode=le,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}_transitionendHandler=le=>{0===this.animationEnd.observers.length||!le.target||!le.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(Ce){return new(Ce||A)};static \u0275cmp=d.VBU({type:A,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(Ce,Ae){2&Ce&&(d.BMQ("aria-valuenow",Ae._isIndeterminate()?null:Ae.value)("mode",Ae.mode),d.HbH("mat-"+Ae.color),d.AVh("_mat-animation-noopable",Ae._isNoopAnimation)("mdc-linear-progress--animation-ready",!Ae._isNoopAnimation)("mdc-linear-progress--indeterminate",Ae._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",v.Udg],bufferValue:[2,"bufferValue","bufferValue",v.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(Ce,Ae){1&Ce&&(d.rj2(0,"div",0),d.Hgh(1,"div",1),d.nVh(2,e,1,0,"div",2),d.eux(),d.rj2(3,"div",3),d.Hgh(4,"span",4),d.eux(),d.rj2(5,"div",5),d.Hgh(6,"span",4),d.eux()),2&Ce&&(d.R7$(),d.xc7("flex-basis",Ae._getBufferBarFlexBasis()),d.R7$(),d.vxM("buffer"===Ae.mode?2:-1),d.R7$(),d.xc7("transform",Ae._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],encapsulation:2,changeDetection:0})}return A})();function C(A,Pe=0,le=100){return Math.max(Pe,Math.min(le,A))}let B=(()=>{class A{static \u0275fac=function(Ce){return new(Ce||A)};static \u0275mod=d.$C({type:A});static \u0275inj=i.G2t({imports:[w.y]})}return A})()},9183(Zt,pe,l){"use strict";l.d(pe,{D6:()=>le,LG:()=>A});var i=l(2615),d=l(3664),v=l(7705),T=l(2200),w=l(1804),e=l(2466);const O=["determinateSpinner"];function f(Ce,Ae){if(1&Ce&&(i.qSk(),d.j41(0,"svg",11),d.nrm(1,"circle",12),d.k0s()),2&Ce){const j=d.XpG();d.BMQ("viewBox",j._viewBox()),d.R7$(),d.xc7("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),d.BMQ("r",j._circleRadius())}}const u=new i.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function L(){return{diameter:C}}}),C=100;let A=(()=>{class Ce{_elementRef=(0,i.WQX)(d.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(j){this._color=j}_color;_defaultColor="primary";_determinateCircle;constructor(){const j=(0,i.WQX)(u),W=(0,w._J)(),G=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===W&&!!j&&!j._forceAnimations,this.mode="mat-spinner"===G.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===W&&G.classList.add("mat-progress-spinner-reduced-motion"),j&&(j.color&&(this.color=this._defaultColor=j.color),j.diameter&&(this.diameter=j.diameter),j.strokeWidth&&(this.strokeWidth=j.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,j||0))}_value=0;get diameter(){return this._diameter}set diameter(j){this._diameter=j||0}_diameter=C;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=j||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(W){return new(W||Ce)};static \u0275cmp=d.VBU({type:Ce,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,G){if(1&W&&d.GBs(O,5),2&W){let re;d.mGM(re=d.lsd())&&(G._determinateCircle=re.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(W,G){2&W&&(d.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===G.mode?G.value:null)("mode",G.mode),d.HbH("mat-"+G.color),d.xc7("width",G.diameter,"px")("height",G.diameter,"px")("--mat-progress-spinner-size",G.diameter+"px")("--mat-progress-spinner-active-indicator-width",G.diameter+"px"),d.AVh("_mat-animation-noopable",G._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===G.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",v.Udg],diameter:[2,"diameter","diameter",v.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",v.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(W,G){if(1&W&&(d.DNE(0,f,2,8,"ng-template",null,0,d.C5r),d.j41(2,"div",2,1),i.qSk(),d.j41(4,"svg",3),d.nrm(5,"circle",4),d.k0s()(),i.joV(),d.j41(6,"div",5)(7,"div",6)(8,"div",7),d.eu8(9,8),d.k0s(),d.j41(10,"div",9),d.eu8(11,8),d.k0s(),d.j41(12,"div",10),d.eu8(13,8),d.k0s()()()),2&W){const re=d.sdS(1);d.R7$(4),d.BMQ("viewBox",G._viewBox()),d.R7$(),d.xc7("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeDashOffset(),"px")("stroke-width",G._circleStrokeWidth(),"%"),d.BMQ("r",G._circleRadius()),d.R7$(4),d.Y8G("ngTemplateOutlet",re),d.R7$(2),d.Y8G("ngTemplateOutlet",re),d.R7$(2),d.Y8G("ngTemplateOutlet",re)}},dependencies:[T.T3],styles:[".mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}\n"],encapsulation:2,changeDetection:0})}return Ce})(),le=(()=>{class Ce{static \u0275fac=function(W){return new(W||Ce)};static \u0275mod=d.$C({type:Ce});static \u0275inj=i.G2t({imports:[e.y]})}return Ce})()},483(Zt,pe,l){"use strict";l.d(pe,{O:()=>T});var i=l(2615),d=l(3664),v=l(2466);let T=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({imports:[v.y]})}return w})()},3386(Zt,pe,l){"use strict";l.d(pe,{w:()=>v});var i=l(3664),d=l(1804);let v=(()=>{class T{_animationsDisabled=(0,d.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(O){return new(O||T)};static \u0275cmp=i.VBU({type:T,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(O,f){2&O&&i.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===f.state)("mat-pseudo-checkbox-checked","checked"===f.state)("mat-pseudo-checkbox-disabled",f.disabled)("mat-pseudo-checkbox-minimal","minimal"===f.appearance)("mat-pseudo-checkbox-full","full"===f.appearance)("_mat-animation-noopable",f._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(O,f){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return T})()},5951(Zt,pe,l){"use strict";l.d(pe,{VT:()=>Ee,Wk:()=>ce,_g:()=>V});var i=l(6838),d=l(9726),v=l(8689),T=l(2615),w=l(3664),e=l(7705),O=l(9417),f=l(8968),u=l(1804),L=l(2046),C=l(2496),B=l(3155),A=l(2466),Pe=l(6881);const le=["input"],Ce=["formField"],Ae=["*"];class j{source;value;constructor(ne,J){this.source=ne,this.value=J}}const W={provide:O.kq,useExisting:(0,T.Rfq)(()=>Ee),multi:!0},G=new T.nKC("MatRadioGroup"),re=new T.nKC("mat-radio-default-options",{providedIn:"root",factory:function xe(){return{color:"accent",disabledInteractive:!1}}});let Ee=(()=>{class be{_changeDetector=(0,T.WQX)(e.gRc);_value=null;_name=(0,T.WQX)(d.g).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new w.bkB;_radios;color;get name(){return this._name}set name(J){this._name=J,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(J){this._labelPosition="before"===J?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(J){this._value!==J&&(this._value=J,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(J){this._selected=J,this.value=J?J.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(J){this._disabled=J,this._markRadiosForCheck()}get required(){return this._required}set required(J){this._required=J,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(J){this._disabledInteractive=J,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(J=>J===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(J=>{J.name=this.name,J._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(De=>{De.checked=this.value===De.value,De.checked&&(this._selected=De)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new j(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(J=>J._markForCheck())}writeValue(J){this.value=J,this._changeDetector.markForCheck()}registerOnChange(J){this._controlValueAccessorChangeFn=J}registerOnTouched(J){this.onTouched=J}setDisabledState(J){this.disabled=J,this._changeDetector.markForCheck()}static \u0275fac=function(De){return new(De||be)};static \u0275dir=w.FsC({type:be,selectors:[["mat-radio-group"]],contentQueries:function(De,Re,Xe){if(1&De&&w.wni(Xe,V,5),2&De){let _e;w.mGM(_e=w.lsd())&&(Re._radios=_e)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[w.Jv_([W,{provide:G,useExisting:be}])]})}return be})(),V=(()=>{class be{_elementRef=(0,T.WQX)(w.aKT);_changeDetector=(0,T.WQX)(e.gRc);_focusMonitor=(0,T.WQX)(i.FN);_radioDispatcher=(0,T.WQX)(v.z);_defaultOptions=(0,T.WQX)(re,{optional:!0});_ngZone=(0,T.WQX)(w.SKi);_renderer=(0,T.WQX)(w.sFG);_uniqueId=(0,T.WQX)(d.g).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(J){this._checked!==J&&(this._checked=J,J&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!J&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),J&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(J){this._value!==J&&(this._value=J,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===J),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(J){this._labelPosition=J}_labelPosition;get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(J){this._setDisabled(J)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(J){J!==this._required&&this._changeDetector.markForCheck(),this._required=J}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(J){this._color=J}_color;get disabledInteractive(){return this._disabledInteractive||null!==this.radioGroup&&this.radioGroup.disabledInteractive}set disabledInteractive(J){this._disabledInteractive=J}_disabledInteractive;change=new w.bkB;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=(0,u.Rc)();_injector=(0,T.WQX)(T.zZn);constructor(){(0,T.WQX)(f.l).load(L.A);const J=(0,T.WQX)(G,{optional:!0}),De=(0,T.WQX)(new e.ES_("tabindex"),{optional:!0});this.radioGroup=J,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,De&&(this.tabIndex=(0,e.Udg)(De,0))}focus(J,De){De?this._focusMonitor.focusVia(this._inputElement,De,J):this._inputElement.nativeElement.focus(J)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((J,De)=>{J!==this.id&&De===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(J=>{!J&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new j(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(J){if(J.stopPropagation(),!this.checked&&!this.disabled){const De=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),De&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(J){this._onInputInteraction(J),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(J){this._disabled!==J&&(this._disabled=J,this._changeDetector.markForCheck())}_onInputClick=J=>{this.disabled&&this.disabledInteractive&&J.preventDefault()};_updateTabIndex(){const J=this.radioGroup;let De;if(De=J&&J.selected&&!this.disabled?J.selected===this?this.tabIndex:-1:this.tabIndex,De!==this._previousTabIndex){const Re=this._inputElement?.nativeElement;Re&&(Re.setAttribute("tabindex",De+""),this._previousTabIndex=De,(0,w.mal)(()=>{queueMicrotask(()=>{J&&J.selected&&J.selected!==this&&document.activeElement===Re&&(J.selected?._inputElement.nativeElement.focus(),document.activeElement===Re&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(De){return new(De||be)};static \u0275cmp=w.VBU({type:be,selectors:[["mat-radio-button"]],viewQuery:function(De,Re){if(1&De&&(w.GBs(le,5),w.GBs(Ce,7,w.aKT)),2&De){let Xe;w.mGM(Xe=w.lsd())&&(Re._inputElement=Xe.first),w.mGM(Xe=w.lsd())&&(Re._rippleTrigger=Xe.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(De,Re){1&De&&w.bIt("focus",function(){return Re._inputElement.nativeElement.focus()}),2&De&&(w.BMQ("id",Re.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),w.AVh("mat-primary","primary"===Re.color)("mat-accent","accent"===Re.color)("mat-warn","warn"===Re.color)("mat-mdc-radio-checked",Re.checked)("mat-mdc-radio-disabled",Re.disabled)("mat-mdc-radio-disabled-interactive",Re.disabledInteractive)("_mat-animation-noopable",Re._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",J=>null==J?0:(0,e.Udg)(J)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:Ae,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(De,Re){if(1&De){const Xe=w.RV6();w.NAR(),w.j41(0,"div",2,0)(2,"div",3)(3,"div",4),w.bIt("click",function(he){return T.eBV(Xe),T.Njj(Re._onTouchTargetClick(he))}),w.k0s(),w.j41(4,"input",5,1),w.bIt("change",function(he){return T.eBV(Xe),T.Njj(Re._onInputInteraction(he))}),w.k0s(),w.j41(6,"div",6),w.nrm(7,"div",7)(8,"div",8),w.k0s(),w.j41(9,"div",9),w.nrm(10,"div",10),w.k0s()(),w.j41(11,"label",11),w.SdG(12),w.k0s()()}2&De&&(w.Y8G("labelPosition",Re.labelPosition),w.R7$(2),w.AVh("mdc-radio--disabled",Re.disabled),w.R7$(2),w.Y8G("id",Re.inputId)("checked",Re.checked)("disabled",Re.disabled&&!Re.disabledInteractive)("required",Re.required),w.BMQ("name",Re.name)("value",Re.value)("aria-label",Re.ariaLabel)("aria-labelledby",Re.ariaLabelledby)("aria-describedby",Re.ariaDescribedby)("aria-disabled",Re.disabled&&Re.disabledInteractive?"true":null),w.R7$(5),w.Y8G("matRippleTrigger",Re._rippleTrigger.nativeElement)("matRippleDisabled",Re._isRippleDisabled())("matRippleCentered",!0),w.R7$(2),w.Y8G("for",Re.inputId))},dependencies:[C.r6,B.t],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return be})(),ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275mod=w.$C({type:be});static \u0275inj=T.G2t({imports:[A.y,Pe.p,V,A.y]})}return be})()},1048(Zt,pe,l){"use strict";l.d(pe,{E:()=>A});var i=l(2615),d=l(3664),v=l(9842),T=l(4522),w=l(1804),e=l(2496);const O={capture:!0},f=["focus","mousedown","mouseenter","touchstart"],u="mat-ripple-loader-uninitialized",L="mat-ripple-loader-class-name",C="mat-ripple-loader-centered",B="mat-ripple-loader-disabled";let A=(()=>{class Pe{_document=(0,i.WQX)(i.qQL);_animationsDisabled=(0,w.Rc)();_globalRippleOptions=(0,i.WQX)(e.$E,{optional:!0});_platform=(0,i.WQX)(v.O);_ngZone=(0,i.WQX)(d.SKi);_injector=(0,i.WQX)(i.zZn);_eventCleanups;_hosts=new Map;constructor(){const Ce=(0,i.WQX)(d._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>f.map(Ae=>Ce.listen(this._document,Ae,this._onInteraction,O)))}ngOnDestroy(){const Ce=this._hosts.keys();for(const Ae of Ce)this.destroyRipple(Ae);this._eventCleanups.forEach(Ae=>Ae())}configureRipple(Ce,Ae){Ce.setAttribute(u,this._globalRippleOptions?.namespace??""),(Ae.className||!Ce.hasAttribute(L))&&Ce.setAttribute(L,Ae.className||""),Ae.centered&&Ce.setAttribute(C,""),Ae.disabled&&Ce.setAttribute(B,"")}setDisabled(Ce,Ae){const j=this._hosts.get(Ce);j?(j.target.rippleDisabled=Ae,!Ae&&!j.hasSetUpEvents&&(j.hasSetUpEvents=!0,j.renderer.setupTriggerEvents(Ce))):Ae?Ce.setAttribute(B,""):Ce.removeAttribute(B)}_onInteraction=Ce=>{const Ae=(0,T.Fb)(Ce);if(Ae instanceof HTMLElement){const j=Ae.closest(`[${u}="${this._globalRippleOptions?.namespace??""}"]`);j&&this._createRipple(j)}};_createRipple(Ce){if(!this._document||this._hosts.has(Ce))return;Ce.querySelector(".mat-ripple")?.remove();const Ae=this._document.createElement("span");Ae.classList.add("mat-ripple",Ce.getAttribute(L)),Ce.append(Ae);const j=this._globalRippleOptions,W=this._animationsDisabled?0:j?.animation?.enterDuration??e.EX.enterDuration,G=this._animationsDisabled?0:j?.animation?.exitDuration??e.EX.exitDuration,re={rippleDisabled:this._animationsDisabled||j?.disabled||Ce.hasAttribute(B),rippleConfig:{centered:Ce.hasAttribute(C),terminateOnPointerUp:j?.terminateOnPointerUp,animation:{enterDuration:W,exitDuration:G}}},xe=new e.ug(re,this._ngZone,Ae,this._platform,this._injector),Ee=!re.rippleDisabled;Ee&&xe.setupTriggerEvents(Ce),this._hosts.set(Ce,{target:re,renderer:xe,hasSetUpEvents:Ee}),Ce.removeAttribute(u)}destroyRipple(Ce){const Ae=this._hosts.get(Ce);Ae&&(Ae.renderer._removeTriggerEvents(),this._hosts.delete(Ce))}static \u0275fac=function(Ae){return new(Ae||Pe)};static \u0275prov=i.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})()},6881(Zt,pe,l){"use strict";l.d(pe,{p:()=>T});var i=l(2615),d=l(3664),v=l(2466);let T=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({imports:[v.y,v.y]})}return w})()},2496(Zt,pe,l){"use strict";l.d(pe,{$E:()=>xe,EX:()=>Pe,r6:()=>Ee,ug:()=>G});var i=l(9842),d=l(3300),v=l(4522),T=l(3664),w=l(2615),e=l(5735),O=l(7847),f=l(8968),u=l(1804),L=function(V){return V[V.FADING_IN=0]="FADING_IN",V[V.VISIBLE=1]="VISIBLE",V[V.FADING_OUT=2]="FADING_OUT",V[V.HIDDEN=3]="HIDDEN",V}(L||{});class C{_renderer;element;config;_animationForciblyDisabledThroughCss;state=L.HIDDEN;constructor(ce,be,ne,J=!1){this._renderer=ce,this.element=be,this.config=ne,this._animationForciblyDisabledThroughCss=J}fadeOut(){this._renderer.fadeOutRipple(this)}}const B=(0,d.B)({passive:!0,capture:!0});class A{_events=new Map;addHandler(ce,be,ne,J){const De=this._events.get(be);if(De){const Re=De.get(ne);Re?Re.add(J):De.set(ne,new Set([J]))}else this._events.set(be,new Map([[ne,new Set([J])]])),ce.runOutsideAngular(()=>{document.addEventListener(be,this._delegateEventHandler,B)})}removeHandler(ce,be,ne){const J=this._events.get(ce);if(!J)return;const De=J.get(be);De&&(De.delete(ne),0===De.size&&J.delete(be),0===J.size&&(this._events.delete(ce),document.removeEventListener(ce,this._delegateEventHandler,B)))}_delegateEventHandler=ce=>{const be=(0,v.Fb)(ce);be&&this._events.get(ce.type)?.forEach((ne,J)=>{(J===be||J.contains(be))&&ne.forEach(De=>De.handleEvent(ce))})}}const Pe={enterDuration:225,exitDuration:150},Ce=(0,d.B)({passive:!0,capture:!0}),Ae=["mousedown","touchstart"],j=["mouseup","mouseleave","touchend","touchcancel"];let W=(()=>{class V{static \u0275fac=function(ne){return new(ne||V)};static \u0275cmp=T.VBU({type:V,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(ne,J){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return V})();class G{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new A;constructor(ce,be,ne,J,De){this._target=ce,this._ngZone=be,this._platform=J,J.isBrowser&&(this._containerElement=(0,O.i8)(ne)),De&&De.get(f.l).load(W)}fadeInRipple(ce,be,ne={}){const J=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),De={...Pe,...ne.animation};ne.centered&&(ce=J.left+J.width/2,be=J.top+J.height/2);const Re=ne.radius||function re(V,ce,be){const ne=Math.max(Math.abs(V-be.left),Math.abs(V-be.right)),J=Math.max(Math.abs(ce-be.top),Math.abs(ce-be.bottom));return Math.sqrt(ne*ne+J*J)}(ce,be,J),Xe=ce-J.left,_e=be-J.top,he=De.enterDuration,Dt=document.createElement("div");Dt.classList.add("mat-ripple-element"),Dt.style.left=Xe-Re+"px",Dt.style.top=_e-Re+"px",Dt.style.height=2*Re+"px",Dt.style.width=2*Re+"px",null!=ne.color&&(Dt.style.backgroundColor=ne.color),Dt.style.transitionDuration=`${he}ms`,this._containerElement.appendChild(Dt);const lt=window.getComputedStyle(Dt),te=lt.transitionDuration,ie="none"===lt.transitionProperty||"0s"===te||"0s, 0s"===te||0===J.width&&0===J.height,P=new C(this,Dt,ne,ie);Dt.style.transform="scale3d(1, 1, 1)",P.state=L.FADING_IN,ne.persistent||(this._mostRecentTransientRipple=P);let F=null;return!ie&&(he||De.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ve=()=>{F&&(F.fallbackTimer=null),clearTimeout($),this._finishRippleTransition(P)},H=()=>this._destroyRipple(P),$=setTimeout(H,he+100);Dt.addEventListener("transitionend",ve),Dt.addEventListener("transitioncancel",H),F={onTransitionEnd:ve,onTransitionCancel:H,fallbackTimer:$}}),this._activeRipples.set(P,F),(ie||!he)&&this._finishRippleTransition(P),P}fadeOutRipple(ce){if(ce.state===L.FADING_OUT||ce.state===L.HIDDEN)return;const be=ce.element,ne={...Pe,...ce.config.animation};be.style.transitionDuration=`${ne.exitDuration}ms`,be.style.opacity="0",ce.state=L.FADING_OUT,(ce._animationForciblyDisabledThroughCss||!ne.exitDuration)&&this._finishRippleTransition(ce)}fadeOutAll(){this._getActiveRipples().forEach(ce=>ce.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ce=>{ce.config.persistent||ce.fadeOut()})}setupTriggerEvents(ce){const be=(0,O.i8)(ce);!this._platform.isBrowser||!be||be===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=be,Ae.forEach(ne=>{G._eventManager.addHandler(this._ngZone,ne,be,this)}))}handleEvent(ce){"mousedown"===ce.type?this._onMousedown(ce):"touchstart"===ce.type?this._onTouchStart(ce):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{j.forEach(be=>{this._triggerElement.addEventListener(be,this,Ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ce){ce.state===L.FADING_IN?this._startFadeOutTransition(ce):ce.state===L.FADING_OUT&&this._destroyRipple(ce)}_startFadeOutTransition(ce){const be=ce===this._mostRecentTransientRipple,{persistent:ne}=ce.config;ce.state=L.VISIBLE,!ne&&(!be||!this._isPointerDown)&&ce.fadeOut()}_destroyRipple(ce){const be=this._activeRipples.get(ce)??null;this._activeRipples.delete(ce),this._activeRipples.size||(this._containerRect=null),ce===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ce.state=L.HIDDEN,null!==be&&(ce.element.removeEventListener("transitionend",be.onTransitionEnd),ce.element.removeEventListener("transitioncancel",be.onTransitionCancel),null!==be.fallbackTimer&&clearTimeout(be.fallbackTimer)),ce.element.remove()}_onMousedown(ce){const be=(0,e._)(ce),ne=this._lastTouchStartEvent&&Date.now(){!ce.config.persistent&&(ce.state===L.VISIBLE||ce.config.terminateOnPointerUp&&ce.state===L.FADING_IN)&&ce.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ce=this._triggerElement;ce&&(Ae.forEach(be=>G._eventManager.removeHandler(be,ce,this)),this._pointerUpEventsRegistered&&(j.forEach(be=>ce.removeEventListener(be,this,Ce)),this._pointerUpEventsRegistered=!1))}}const xe=new w.nKC("mat-ripple-global-options");let Ee=(()=>{class V{_elementRef=(0,w.WQX)(T.aKT);_animationsDisabled=(0,u.Rc)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(be){be&&this.fadeOutAllNonPersistent(),this._disabled=be,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(be){this._trigger=be,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const be=(0,w.WQX)(T.SKi),ne=(0,w.WQX)(i.O),J=(0,w.WQX)(xe,{optional:!0}),De=(0,w.WQX)(w.zZn);this._globalOptions=J||{},this._rippleRenderer=new G(this,be,this._elementRef,ne,De)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(be,ne=0,J){return"number"==typeof be?this._rippleRenderer.fadeInRipple(be,ne,{...this.rippleConfig,...J}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...be})}static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ne,J){2&ne&&T.AVh("mat-ripple-unbounded",J.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return V})()},6183(Zt,pe,l){"use strict";l.d(pe,{$2:()=>fe,JO:()=>ot,VO:()=>Ye,Ve:()=>Qe});var i=l(9338),d=l(2615),v=l(3664),T=l(7705),w=l(5718),e=l(8617),O=l(7094),f=l(9726),u=l(9090),L=l(1577),C=l(3869),B=l(7336),A=l(438),Pe=l(9417),le=l(1413),Ce=l(9030),Ae=l(7786),j=l(5964),W=l(6354),G=l(9172),re=l(5558),xe=l(6697),Ee=l(6977),V=l(2200),ce=l(9588),be=l(1804),ne=l(3029),J=l(2709),De=l(9336),Re=l(146),Xe=l(2466),_e=l(1228);const he=["trigger"],Dt=["panel"],lt=[[["mat-select-trigger"]],"*"],Le=["mat-select-trigger","*"];function te(gt,Gt){if(1>&&(v.j41(0,"span",4),v.EFF(1),v.k0s()),2>){const rt=v.XpG();v.R7$(),v.JRh(rt.placeholder)}}function ie(gt,Gt){1>&&v.SdG(0)}function P(gt,Gt){if(1>&&(v.j41(0,"span",11),v.EFF(1),v.k0s()),2>){const rt=v.XpG(2);v.R7$(),v.JRh(rt.triggerValue)}}function F(gt,Gt){if(1>&&(v.j41(0,"span",5),v.nVh(1,ie,1,0)(2,P,2,1,"span",11),v.k0s()),2>){const rt=v.XpG();v.R7$(),v.vxM(rt.customTrigger?1:2)}}function ve(gt,Gt){if(1>){const rt=v.RV6();v.j41(0,"div",12,1),v.bIt("keydown",function(Ft){d.eBV(rt);const Sn=v.XpG();return d.Njj(Sn._handleKeydown(Ft))}),v.SdG(2,1),v.k0s()}if(2>){const rt=v.XpG();v.HbH(v.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",rt._getPanelTheme())),v.AVh("mat-select-panel-animations-enabled",!rt._animationsDisabled),v.Y8G("ngClass",rt.panelClass),v.BMQ("id",rt.id+"-panel")("aria-multiselectable",rt.multiple)("aria-label",rt.ariaLabel||null)("aria-labelledby",rt._getPanelAriaLabelledby())}}const Vt=new d.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const gt=(0,d.WQX)(d.zZn);return()=>(0,i.RH)(gt)}}),ot=new d.nKC("MAT_SELECT_CONFIG"),nt={provide:Vt,deps:[],useFactory:function St(gt){const Gt=(0,d.WQX)(d.zZn);return()=>(0,i.RH)(Gt)}},ht=new d.nKC("MatSelectTrigger");class oe{source;value;constructor(Gt,rt){this.source=Gt,this.value=rt}}let Ye=(()=>{class gt{_viewportRuler=(0,d.WQX)(w.Xj);_changeDetectorRef=(0,d.WQX)(T.gRc);_elementRef=(0,d.WQX)(v.aKT);_dir=(0,d.WQX)(L.dS,{optional:!0});_idGenerator=(0,d.WQX)(f.g);_renderer=(0,d.WQX)(v.sFG);_parentFormField=(0,d.WQX)(ce.xb,{optional:!0});ngControl=(0,d.WQX)(Pe.vO,{self:!0,optional:!0});_liveAnnouncer=(0,d.WQX)(O.Ai);_defaultOptions=(0,d.WQX)(ot,{optional:!0});_animationsDisabled=(0,be.Rc)();_initialized=new le.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(rt){const cn=this.options.toArray()[rt];if(cn){const Ft=this.panel.nativeElement,Sn=(0,ne.jb)(rt,this.options,this.optionGroups),Qn=cn._getHostElement();Ft.scrollTop=0===rt&&1===Sn?0:(0,ne.TL)(Qn.offsetTop,Qn.offsetHeight,Ft.scrollTop,Ft.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(rt){return new oe(this,rt)}_scrollStrategyFactory=(0,d.WQX)(Vt);_panelOpen=!1;_compareWith=(rt,cn)=>rt===cn;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new le.B;_errorStateTracker;stateChanges=new le.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(rt){this._disableRipple.set(rt)}_disableRipple=(0,d.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(rt){this._hideSingleSelectionIndicator=rt,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(rt){this._placeholder=rt,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Pe.k0.required)??!1}set required(rt){this._required=rt,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(rt){this._multiple=rt}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(rt){this._compareWith=rt,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(rt){this._assignValue(rt)&&this._onChange(rt)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(rt){this._errorStateTracker.matcher=rt}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(rt){this._id=rt||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(rt){this._errorStateTracker.errorState=rt}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,Ce.v)(()=>{const rt=this.options;return rt?rt.changes.pipe((0,G.Z)(rt),(0,re.n)(()=>(0,Ae.h)(...rt.map(cn=>cn.onSelectionChange)))):this._initialized.pipe((0,re.n)(()=>this.optionSelectionChanges))});openedChange=new v.bkB;_openedStream=this.openedChange.pipe((0,j.p)(rt=>rt),(0,W.T)(()=>{}));_closedStream=this.openedChange.pipe((0,j.p)(rt=>!rt),(0,W.T)(()=>{}));selectionChange=new v.bkB;valueChange=new v.bkB;constructor(){const rt=(0,d.WQX)(J.e),cn=(0,d.WQX)(Pe.cV,{optional:!0}),Ft=(0,d.WQX)(Pe.j4,{optional:!0}),Sn=(0,d.WQX)(new T.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new De.X(rt,this.ngControl,Ft,cn,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Sn?0:parseInt(Sn)||0,this.id=this.id}ngOnInit(){this._selectionModel=new C.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,Ee.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,Ee.Q)(this._destroy)).subscribe(rt=>{rt.added.forEach(cn=>cn.select()),rt.removed.forEach(cn=>cn.deselect())}),this.options.changes.pipe((0,G.Z)(null),(0,Ee.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const rt=this._getTriggerAriaLabelledby(),cn=this.ngControl;if(rt!==this._triggerAriaLabelledBy){const Ft=this._elementRef.nativeElement;this._triggerAriaLabelledBy=rt,rt?Ft.setAttribute("aria-labelledby",rt):Ft.removeAttribute("aria-labelledby")}cn&&(this._previousControl!==cn.control&&(void 0!==this._previousControl&&null!==cn.disabled&&cn.disabled!==this.disabled&&(this.disabled=cn.disabled),this._previousControl=cn.control),this.updateErrorState())}ngOnChanges(rt){(rt.disabled||rt.userAriaDescribedBy)&&this.stateChanges.next(),rt.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,xe.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const rt=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!rt)return;const cn=`${this.id}-panel`;this._trackedModal&&(0,e.Ae)(this._trackedModal,"aria-owns",cn),(0,e.px)(rt,"aria-owns",cn),this._trackedModal=rt}_clearFromModal(){this._trackedModal&&((0,e.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{cn(),clearTimeout(Ft),this._cleanupDetach=void 0};const rt=this.panel.nativeElement,cn=this._renderer.listen(rt,"animationend",Sn=>{"_mat-select-exit"===Sn.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Ft=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);rt.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(rt){this._assignValue(rt)}registerOnChange(rt){this._onChange=rt}registerOnTouched(rt){this._onTouched=rt}setDisabledState(rt){this.disabled=rt,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const rt=this._selectionModel.selected.map(cn=>cn.viewValue);return this._isRtl()&&rt.reverse(),rt.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(rt){this.disabled||(this.panelOpen?this._handleOpenKeydown(rt):this._handleClosedKeydown(rt))}_handleClosedKeydown(rt){const cn=rt.keyCode,Ft=cn===A.n6||cn===A.i7||cn===A.UQ||cn===A.LE,Sn=cn===A.Fm||cn===A.t6,Qn=this._keyManager;if(!Qn.isTyping()&&Sn&&!(0,B.rp)(rt)||(this.multiple||rt.altKey)&&Ft)rt.preventDefault(),this.open();else if(!this.multiple){const h=this.selected;Qn.onKeydown(rt);const jt=this.selected;jt&&h!==jt&&this._liveAnnouncer.announce(jt.viewValue,1e4)}}_handleOpenKeydown(rt){const cn=this._keyManager,Ft=rt.keyCode,Sn=Ft===A.n6||Ft===A.i7,Qn=cn.isTyping();if(Sn&&rt.altKey)rt.preventDefault(),this.close();else if(Qn||Ft!==A.Fm&&Ft!==A.t6||!cn.activeItem||(0,B.rp)(rt))if(!Qn&&this._multiple&&Ft===A.A&&rt.ctrlKey){rt.preventDefault();const h=this.options.some(jt=>!jt.disabled&&!jt.selected);this.options.forEach(jt=>{jt.disabled||(h?jt.select():jt.deselect())})}else{const h=cn.activeItemIndex;cn.onKeydown(rt),this._multiple&&Sn&&rt.shiftKey&&cn.activeItem&&cn.activeItemIndex!==h&&cn.activeItem._selectViaInteraction()}else rt.preventDefault(),cn.activeItem._selectViaInteraction()}_handleOverlayKeydown(rt){rt.keyCode===A._f&&!(0,B.rp)(rt)&&(rt.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(rt){if(this.options.forEach(cn=>cn.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&rt)Array.isArray(rt),rt.forEach(cn=>this._selectOptionByValue(cn)),this._sortValues();else{const cn=this._selectOptionByValue(rt);cn?this._keyManager.updateActiveItem(cn):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(rt){const cn=this.options.find(Ft=>{if(this._selectionModel.isSelected(Ft))return!1;try{return(null!=Ft.value||this.canSelectNullableOptions)&&this._compareWith(Ft.value,rt)}catch{return!1}});return cn&&this._selectionModel.select(cn),cn}_assignValue(rt){return!!(rt!==this._value||this._multiple&&Array.isArray(rt))&&(this.options&&this._setSelectionByValue(rt),this._value=rt,!0)}_skipPredicate=rt=>!this.panelOpen&&rt.disabled;_getOverlayWidth(rt){return"auto"===this.panelWidth?(rt instanceof i.$Q?rt.elementRef:rt||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const rt of this.options)rt._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new u.A(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const rt=(0,Ae.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ee.Q)(rt)).subscribe(cn=>{this._onSelect(cn.source,cn.isUserInput),cn.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ae.h)(...this.options.map(cn=>cn._stateChanges)).pipe((0,Ee.Q)(rt)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(rt,cn){const Ft=this._selectionModel.isSelected(rt);this.canSelectNullableOptions||null!=rt.value||this._multiple?(Ft!==rt.selected&&(rt.selected?this._selectionModel.select(rt):this._selectionModel.deselect(rt)),cn&&this._keyManager.setActiveItem(rt),this.multiple&&(this._sortValues(),cn&&this.focus())):(rt.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(rt.value)),Ft!==this._selectionModel.isSelected(rt)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const rt=this.options.toArray();this._selectionModel.sort((cn,Ft)=>this.sortComparator?this.sortComparator(cn,Ft,rt):rt.indexOf(cn)-rt.indexOf(Ft)),this.stateChanges.next()}}_propagateChanges(rt){let cn;cn=this.multiple?this.selected.map(Ft=>Ft.value):this.selected?this.selected.value:rt,this._value=cn,this.valueChange.emit(cn),this._onChange(cn),this.selectionChange.emit(this._getChangeEvent(cn)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let rt=-1;for(let cn=0;cn0&&!!this._overlayDir}focus(rt){this._elementRef.nativeElement.focus(rt)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const rt=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(rt?rt+" ":"")+this.ariaLabelledby:rt}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let rt=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(rt+=" "+this.ariaLabelledby),rt||(rt=this._valueId),rt}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(rt){rt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",rt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(cn){return new(cn||gt)};static \u0275cmp=v.VBU({type:gt,selectors:[["mat-select"]],contentQueries:function(cn,Ft,Sn){if(1&cn&&(v.wni(Sn,ht,5),v.wni(Sn,ne.wT,5),v.wni(Sn,ne.QC,5)),2&cn){let Qn;v.mGM(Qn=v.lsd())&&(Ft.customTrigger=Qn.first),v.mGM(Qn=v.lsd())&&(Ft.options=Qn),v.mGM(Qn=v.lsd())&&(Ft.optionGroups=Qn)}},viewQuery:function(cn,Ft){if(1&cn&&(v.GBs(he,5),v.GBs(Dt,5),v.GBs(i.WB,5)),2&cn){let Sn;v.mGM(Sn=v.lsd())&&(Ft.trigger=Sn.first),v.mGM(Sn=v.lsd())&&(Ft.panel=Sn.first),v.mGM(Sn=v.lsd())&&(Ft._overlayDir=Sn.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(cn,Ft){1&cn&&v.bIt("keydown",function(Qn){return Ft._handleKeydown(Qn)})("focus",function(){return Ft._onFocus()})("blur",function(){return Ft._onBlur()}),2&cn&&(v.BMQ("id",Ft.id)("tabindex",Ft.disabled?-1:Ft.tabIndex)("aria-controls",Ft.panelOpen?Ft.id+"-panel":null)("aria-expanded",Ft.panelOpen)("aria-label",Ft.ariaLabel||null)("aria-required",Ft.required.toString())("aria-disabled",Ft.disabled.toString())("aria-invalid",Ft.errorState)("aria-activedescendant",Ft._getAriaActiveDescendant()),v.AVh("mat-mdc-select-disabled",Ft.disabled)("mat-mdc-select-invalid",Ft.errorState)("mat-mdc-select-required",Ft.required)("mat-mdc-select-empty",Ft.empty)("mat-mdc-select-multiple",Ft.multiple)("mat-select-open",Ft.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",T.L39],disableRipple:[2,"disableRipple","disableRipple",T.L39],tabIndex:[2,"tabIndex","tabIndex",rt=>null==rt?0:(0,T.Udg)(rt)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",T.L39],placeholder:"placeholder",required:[2,"required","required",T.L39],multiple:[2,"multiple","multiple",T.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",T.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",T.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",T.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[v.Jv_([{provide:ce.qT,useExisting:gt},{provide:ne.is,useExisting:gt}]),v.OA$],ngContentSelectors:Le,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(cn,Ft){if(1&cn){const Sn=v.RV6();v.NAR(lt),v.j41(0,"div",2,0),v.bIt("click",function(){return d.eBV(Sn),d.Njj(Ft.open())}),v.j41(3,"div",3),v.nVh(4,te,2,1,"span",4)(5,F,3,1,"span",5),v.k0s(),v.j41(6,"div",6)(7,"div",7),d.qSk(),v.j41(8,"svg",8),v.nrm(9,"path",9),v.k0s()()()(),v.DNE(10,ve,3,10,"ng-template",10),v.bIt("detach",function(){return d.eBV(Sn),d.Njj(Ft.close())})("backdropClick",function(){return d.eBV(Sn),d.Njj(Ft.close())})("overlayKeydown",function(h){return d.eBV(Sn),d.Njj(Ft._handleOverlayKeydown(h))})}if(2&cn){const Sn=v.sdS(1);v.R7$(3),v.BMQ("id",Ft._valueId),v.R7$(),v.vxM(Ft.empty?4:5),v.R7$(6),v.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Ft._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ft._scrollStrategy)("cdkConnectedOverlayOrigin",Ft._preferredOverlayOrigin||Sn)("cdkConnectedOverlayPositions",Ft._positions)("cdkConnectedOverlayWidth",Ft._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[i.$Q,i.WB,V.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return gt})(),fe=(()=>{class gt{static \u0275fac=function(cn){return new(cn||gt)};static \u0275dir=v.FsC({type:gt,selectors:[["mat-select-trigger"]],features:[v.Jv_([{provide:ht,useExisting:gt}])]})}return gt})(),Qe=(()=>{class gt{static \u0275fac=function(cn){return new(cn||gt)};static \u0275mod=v.$C({type:gt});static \u0275inj=d.G2t({providers:[nt],imports:[i.z_,Re.S,Xe.y,w.Gj,_e.R,Re.S,Xe.y]})}return gt})()},882(Zt,pe,l){"use strict";l.d(pe,{El:()=>$,LG:()=>Ke,US:()=>Vt,vg:()=>St});var i=l(6838),d=l(7094),v=l(1577),T=l(4085),w=l(7847),e=l(7336),O=l(438),f=l(9842),u=l(5718),L=l(2615),C=l(3664),B=l(7705),A=l(1413),Pe=l(3726),le=l(7786),Ce=l(152),Ae=l(5964),j=l(6354),W=l(3703),G=l(9172),re=l(6697),xe=l(6977),Ee=l(1804),V=l(2466);const ce=["*"],be=["content"],ne=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],J=["mat-drawer","mat-drawer-content","*"];function De(nt,ht){if(1&nt){const oe=C.RV6();C.j41(0,"div",1),C.bIt("click",function(){L.eBV(oe);const fe=C.XpG();return L.Njj(fe._onBackdropClicked())}),C.k0s()}if(2&nt){const oe=C.XpG();C.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function Re(nt,ht){1&nt&&(C.j41(0,"mat-drawer-content"),C.SdG(1,2),C.k0s())}const Xe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],_e=["mat-sidenav","mat-sidenav-content","*"];function he(nt,ht){if(1&nt){const oe=C.RV6();C.j41(0,"div",1),C.bIt("click",function(){L.eBV(oe);const fe=C.XpG();return L.Njj(fe._onBackdropClicked())}),C.k0s()}if(2&nt){const oe=C.XpG();C.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function Dt(nt,ht){1&nt&&(C.j41(0,"mat-sidenav-content"),C.SdG(1,2),C.k0s())}const te=new L.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function P(){return!1}}),ie=new L.nKC("MAT_DRAWER_CONTAINER");let F=(()=>{class nt extends u.uv{_platform=(0,L.WQX)(f.O);_changeDetectorRef=(0,L.WQX)(B.gRc);_container=(0,L.WQX)(H);constructor(){super((0,L.WQX)(C.aKT),(0,L.WQX)(u.R),(0,L.WQX)(C.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:oe,end:Ye}=this._container;return null!=oe&&"over"!==oe.mode&&oe.opened||null!=Ye&&"over"!==Ye.mode&&Ye.opened}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(Ye,fe){2&Ye&&(C.xc7("margin-left",fe._container._contentMargins.left,"px")("margin-right",fe._container._contentMargins.right,"px"),C.AVh("mat-drawer-content-hidden",fe._shouldBeHidden()))},features:[C.Jv_([{provide:u.uv,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:1,vars:0,template:function(Ye,fe){1&Ye&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return nt})(),ve=(()=>{class nt{_elementRef=(0,L.WQX)(C.aKT);_focusTrapFactory=(0,L.WQX)(d.GX);_focusMonitor=(0,L.WQX)(i.FN);_platform=(0,L.WQX)(f.O);_ngZone=(0,L.WQX)(C.SKi);_renderer=(0,L.WQX)(C.sFG);_interactivityChecker=(0,L.WQX)(d.Z7);_doc=(0,L.WQX)(L.qQL);_container=(0,L.WQX)(ie,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(oe){(oe="end"===oe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(oe),this._position=oe,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(oe){this._mode=oe,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(oe){this._disableClose=(0,T.he)(oe)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(oe){("true"===oe||"false"===oe||null==oe)&&(oe=(0,T.he)(oe)),this._autoFocus=oe}_autoFocus;get opened(){return this._opened()}set opened(oe){this.toggle((0,T.he)(oe))}_opened=(0,L.vPA)(!1);_openedVia;_animationStarted=new A.B;_animationEnd=new A.B;openedChange=new C.bkB(!0);_openedStream=this.openedChange.pipe((0,Ae.p)(oe=>oe),(0,j.T)(()=>{}));openedStart=this._animationStarted.pipe((0,Ae.p)(()=>this.opened),(0,W.u)(void 0));_closedStream=this.openedChange.pipe((0,Ae.p)(oe=>!oe),(0,j.T)(()=>{}));closedStart=this._animationStarted.pipe((0,Ae.p)(()=>!this.opened),(0,W.u)(void 0));_destroyed=new A.B;onPositionChanged=new C.bkB;_content;_modeChanged=new A.B;_injector=(0,L.WQX)(L.zZn);_changeDetectorRef=(0,L.WQX)(B.gRc);constructor(){this.openedChange.pipe((0,xe.Q)(this._destroyed)).subscribe(oe=>{oe?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{const oe=this._elementRef.nativeElement;(0,Pe.R)(oe,"keydown").pipe((0,Ae.p)(Ye=>Ye.keyCode===O._f&&!this.disableClose&&!(0,e.rp)(Ye)),(0,xe.Q)(this._destroyed)).subscribe(Ye=>this._ngZone.run(()=>{this.close(),Ye.stopPropagation(),Ye.preventDefault()})),this._eventCleanups=[this._renderer.listen(oe,"transitionrun",this._handleTransitionEvent),this._renderer.listen(oe,"transitionend",this._handleTransitionEvent),this._renderer.listen(oe,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(oe,Ye){this._interactivityChecker.isFocusable(oe)||(oe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const fe=()=>{Qe(),gt(),oe.removeAttribute("tabindex")},Qe=this._renderer.listen(oe,"blur",fe),gt=this._renderer.listen(oe,"mousedown",fe)})),oe.focus(Ye)}_focusByCssSelector(oe,Ye){let fe=this._elementRef.nativeElement.querySelector(oe);fe&&this._forceFocus(fe,Ye)}_takeFocus(){if(!this._focusTrap)return;const oe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,C.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof oe.focus&&oe.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(oe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,oe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const oe=this._doc.activeElement;return!!oe&&this._elementRef.nativeElement.contains(oe)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(oe=>oe()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(oe){return this.toggle(!0,oe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(oe=!this.opened,Ye){oe&&Ye&&(this._openedVia=Ye);const fe=this._setOpen(oe,!oe&&this._isFocusWithinDrawer(),this._openedVia||"program");return oe||(this._openedVia=null),fe}_setOpen(oe,Ye,fe){return oe===this.opened?Promise.resolve(oe?"open":"close"):(this._opened.set(oe),this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",oe),!oe&&Ye&&this._restoreFocus(fe),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Qe=>{this.openedChange.pipe((0,re.s)(1)).subscribe(gt=>Qe(gt?"open":"close"))}))}_setIsAnimating(oe){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",oe)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(oe){if(!this._platform.isBrowser)return;const Ye=this._elementRef.nativeElement,fe=Ye.parentNode;"end"===oe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),fe.insertBefore(this._anchor,Ye)),fe.appendChild(Ye)):this._anchor&&this._anchor.parentNode.insertBefore(Ye,this._anchor)}_handleTransitionEvent=oe=>{oe.target===this._elementRef.nativeElement&&this._ngZone.run(()=>{"transitionrun"===oe.type?this._animationStarted.next(oe):("transitionend"===oe.type&&this._setIsAnimating(!1),this._animationEnd.next(oe))})};static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer"]],viewQuery:function(Ye,fe){if(1&Ye&&C.GBs(be,5),2&Ye){let Qe;C.mGM(Qe=C.lsd())&&(fe._content=Qe.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(Ye,fe){2&Ye&&(C.BMQ("align",null)("tabIndex","side"!==fe.mode?"-1":null),C.xc7("visibility",fe._container||fe.opened?null:"hidden"),C.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:ce,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,fe){1&Ye&&(C.NAR(),C.j41(0,"div",1,0),C.SdG(2),C.k0s())},dependencies:[u.uv],encapsulation:2,changeDetection:0})}return nt})(),H=(()=>{class nt{_dir=(0,L.WQX)(v.dS,{optional:!0});_element=(0,L.WQX)(C.aKT);_ngZone=(0,L.WQX)(C.SKi);_changeDetectorRef=(0,L.WQX)(B.gRc);_animationDisabled=(0,Ee.Rc)();_transitionsEnabled=!1;_allDrawers;_drawers=new C.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(oe){this._autosize=(0,T.he)(oe)}_autosize=(0,L.WQX)(te);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(oe){this._backdropOverride=null==oe?null:(0,T.he)(oe)}_backdropOverride;backdropClick=new C.bkB;_start;_end;_left;_right;_destroyed=new A.B;_doCheckSubject=new A.B;_contentMargins={left:null,right:null};_contentMarginChanges=new A.B;get scrollable(){return this._userContent||this._content}_injector=(0,L.WQX)(L.zZn);constructor(){const oe=(0,L.WQX)(f.O),Ye=(0,L.WQX)(u.Xj);this._dir?.change.pipe((0,xe.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ye.change().pipe((0,xe.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&oe.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe((0,G.Z)(this._allDrawers),(0,xe.Q)(this._destroyed)).subscribe(oe=>{this._drawers.reset(oe.filter(Ye=>!Ye._container||Ye._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,G.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(oe=>{this._watchDrawerToggle(oe),this._watchDrawerPosition(oe),this._watchDrawerMode(oe)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Ce.B)(10),(0,xe.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(oe=>oe.open())}close(){this._drawers.forEach(oe=>oe.close())}updateContentMargins(){let oe=0,Ye=0;if(this._left&&this._left.opened)if("side"==this._left.mode)oe+=this._left._getWidth();else if("push"==this._left.mode){const fe=this._left._getWidth();oe+=fe,Ye-=fe}if(this._right&&this._right.opened)if("side"==this._right.mode)Ye+=this._right._getWidth();else if("push"==this._right.mode){const fe=this._right._getWidth();Ye+=fe,oe-=fe}oe=oe||null,Ye=Ye||null,(oe!==this._contentMargins.left||Ye!==this._contentMargins.right)&&(this._contentMargins={left:oe,right:Ye},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(oe){oe._animationStarted.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==oe.mode&&oe.openedChange.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(oe.opened))}_watchDrawerPosition(oe){oe.onPositionChanged.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>{(0,C.mal)({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(oe){oe._modeChanged.pipe((0,xe.Q)((0,le.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(oe){const Ye=this._element.nativeElement.classList,fe="mat-drawer-container-has-open";oe?Ye.add(fe):Ye.remove(fe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(oe=>{"end"==oe.position?this._end=oe:this._start=oe}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(oe=>oe&&!oe.disableClose&&this._drawerHasBackdrop(oe)).forEach(oe=>oe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(oe){return null!=oe&&oe.opened}_drawerHasBackdrop(oe){return null==this._backdropOverride?!!oe&&"side"!==oe.mode:this._backdropOverride}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer-container"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&(C.wni(Qe,F,5),C.wni(Qe,ve,5)),2&Ye){let gt;C.mGM(gt=C.lsd())&&(fe._content=gt.first),C.mGM(gt=C.lsd())&&(fe._allDrawers=gt)}},viewQuery:function(Ye,fe){if(1&Ye&&C.GBs(F,5),2&Ye){let Qe;C.mGM(Qe=C.lsd())&&(fe._userContent=Qe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&C.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[C.Jv_([{provide:ie,useExisting:nt}])],ngContentSelectors:J,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,fe){1&Ye&&(C.NAR(ne),C.nVh(0,De,1,2,"div",0),C.SdG(1),C.SdG(2,1),C.nVh(3,Re,2,0,"mat-drawer-content")),2&Ye&&(C.vxM(fe.hasBackdrop?0:-1),C.R7$(3),C.vxM(fe._content?-1:3))},dependencies:[F],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return nt})(),$=(()=>{class nt extends F{static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[C.Jv_([{provide:u.uv,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:1,vars:0,template:function(Ye,fe){1&Ye&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return nt})(),Ke=(()=>{class nt extends ve{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(oe){this._fixedInViewport=(0,T.he)(oe)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(oe){this._fixedTopGap=(0,w.OE)(oe)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(oe){this._fixedBottomGap=(0,w.OE)(oe)}_fixedBottomGap=0;static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(Ye,fe){2&Ye&&(C.BMQ("tabIndex","side"!==fe.mode?"-1":null)("align",null),C.xc7("top",fe.fixedInViewport?fe.fixedTopGap:null,"px")("bottom",fe.fixedInViewport?fe.fixedBottomGap:null,"px"),C.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode)("mat-sidenav-fixed",fe.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[C.Jv_([{provide:ve,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,fe){1&Ye&&(C.NAR(),C.j41(0,"div",1,0),C.SdG(2),C.k0s())},dependencies:[u.uv],encapsulation:2,changeDetection:0})}return nt})(),Vt=(()=>{class nt extends H{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav-container"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&(C.wni(Qe,$,5),C.wni(Qe,Ke,5)),2&Ye){let gt;C.mGM(gt=C.lsd())&&(fe._content=gt.first),C.mGM(gt=C.lsd())&&(fe._allDrawers=gt)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&C.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},exportAs:["matSidenavContainer"],features:[C.Jv_([{provide:ie,useExisting:nt},{provide:H,useExisting:nt}]),C.Vt3],ngContentSelectors:_e,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,fe){1&Ye&&(C.NAR(Xe),C.nVh(0,he,1,2,"div",0),C.SdG(1),C.SdG(2,1),C.nVh(3,Dt,2,0,"mat-sidenav-content")),2&Ye&&(C.vxM(fe.hasBackdrop?0:-1),C.R7$(3),C.vxM(fe._content?-1:3))},dependencies:[$],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return nt})(),St=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=C.$C({type:nt});static \u0275inj=L.G2t({imports:[V.y,u.Gj,u.Gj,V.y]})}return nt})()},450(Zt,pe,l){"use strict";l.d(pe,{mV:()=>W,sG:()=>j});var i=l(2615),d=l(3664),v=l(7705),T=l(9417),w=l(6838),e=l(9726),O=l(8968),f=l(1804),u=l(2046),L=l(2496),C=l(3155),B=l(2466);const A=["switch"],Pe=["*"];function le(G,re){1&G&&(d.j41(0,"span",11),i.qSk(),d.j41(1,"svg",13),d.nrm(2,"path",14),d.k0s(),d.j41(3,"svg",15),d.nrm(4,"path",16),d.k0s()())}const Ce=new i.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})});class Ae{source;checked;constructor(re,xe){this.source=re,this.checked=xe}}let j=(()=>{class G{_elementRef=(0,i.WQX)(d.aKT);_focusMonitor=(0,i.WQX)(w.FN);_changeDetectorRef=(0,i.WQX)(v.gRc);defaults=(0,i.WQX)(Ce);_onChange=xe=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(xe){return new Ae(this,xe)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=(0,f.Rc)();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(xe){this._checked=xe,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new d.bkB;toggleChange=new d.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,i.WQX)(O.l).load(u.A);const xe=(0,i.WQX)(new v.ES_("tabindex"),{optional:!0}),Ee=this.defaults;this.tabIndex=null==xe?0:parseInt(xe)||0,this.color=Ee.color||"accent",this.id=this._uniqueId=(0,i.WQX)(e.g).getId("mat-mdc-slide-toggle-"),this.hideIcon=Ee.hideIcon??!1,this.disabledInteractive=Ee.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(xe=>{"keyboard"===xe||"program"===xe?(this._focused=!0,this._changeDetectorRef.markForCheck()):xe||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(xe){xe.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(xe){this.checked=!!xe}registerOnChange(xe){this._onChange=xe}registerOnTouched(xe){this._onTouched=xe}validate(xe){return this.required&&!0!==xe.value?{required:!0}:null}registerOnValidatorChange(xe){this._validatorOnChange=xe}setDisabledState(xe){this.disabled=xe,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Ae(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(Ee){return new(Ee||G)};static \u0275cmp=d.VBU({type:G,selectors:[["mat-slide-toggle"]],viewQuery:function(Ee,V){if(1&Ee&&d.GBs(A,5),2&Ee){let ce;d.mGM(ce=d.lsd())&&(V._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(Ee,V){2&Ee&&(d.Avn("id",V.id),d.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),d.HbH(V.color?"mat-"+V.color:""),d.AVh("mat-mdc-slide-toggle-focused",V._focused)("mat-mdc-slide-toggle-checked",V.checked)("_mat-animation-noopable",V._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",v.L39],color:"color",disabled:[2,"disabled","disabled",v.L39],disableRipple:[2,"disableRipple","disableRipple",v.L39],tabIndex:[2,"tabIndex","tabIndex",xe=>null==xe?0:(0,v.Udg)(xe)],checked:[2,"checked","checked",v.L39],hideIcon:[2,"hideIcon","hideIcon",v.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",v.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[d.Jv_([{provide:T.kq,useExisting:(0,i.Rfq)(()=>G),multi:!0},{provide:T.cz,useExisting:G,multi:!0}]),d.OA$],ngContentSelectors:Pe,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(Ee,V){if(1&Ee){const ce=d.RV6();d.NAR(),d.j41(0,"div",1)(1,"button",2,0),d.bIt("click",function(){return i.eBV(ce),i.Njj(V._handleClick())}),d.nrm(3,"div",3)(4,"span",4),d.j41(5,"span",5)(6,"span",6)(7,"span",7),d.nrm(8,"span",8),d.k0s(),d.j41(9,"span",9),d.nrm(10,"span",10),d.k0s(),d.nVh(11,le,5,0,"span",11),d.k0s()()(),d.j41(12,"label",12),d.bIt("click",function(ne){return i.eBV(ce),i.Njj(ne.stopPropagation())}),d.SdG(13),d.k0s()()}if(2&Ee){const ce=d.sdS(2);d.Y8G("labelPosition",V.labelPosition),d.R7$(),d.AVh("mdc-switch--selected",V.checked)("mdc-switch--unselected",!V.checked)("mdc-switch--checked",V.checked)("mdc-switch--disabled",V.disabled)("mat-mdc-slide-toggle-disabled-interactive",V.disabledInteractive),d.Y8G("tabIndex",V.disabled&&!V.disabledInteractive?-1:V.tabIndex)("disabled",V.disabled&&!V.disabledInteractive),d.BMQ("id",V.buttonId)("name",V.name)("aria-label",V.ariaLabel)("aria-labelledby",V._getAriaLabelledBy())("aria-describedby",V.ariaDescribedby)("aria-required",V.required||null)("aria-checked",V.checked)("aria-disabled",V.disabled&&V.disabledInteractive?"true":null),d.R7$(9),d.Y8G("matRippleTrigger",ce)("matRippleDisabled",V.disableRipple||V.disabled)("matRippleCentered",!0),d.R7$(),d.vxM(V.hideIcon?-1:11),d.R7$(),d.Y8G("for",V.buttonId),d.BMQ("id",V._labelId)}},dependencies:[L.r6,C.t],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return G})(),W=(()=>{class G{static \u0275fac=function(Ee){return new(Ee||G)};static \u0275mod=d.$C({type:G});static \u0275inj=i.G2t({imports:[j,B.y,B.y]})}return G})()},5416(Zt,pe,l){"use strict";l.d(pe,{UG:()=>he,_T:()=>lt,x6:()=>_e});var i=l(2615),d=l(3664),v=l(7705),T=l(1413),w=l(7673),e=l(8834),O=l(7094),f=l(9726),u=l(9842),L=l(6939),C=l(1804),B=l(9327),A=l(4330),Pe=l(9338),le=l(6977),Ce=l(2466);function Ae(te,ie){if(1&te){const P=d.RV6();d.j41(0,"div",1)(1,"button",2),d.bIt("click",function(){i.eBV(P);const ve=d.XpG();return i.Njj(ve.action())}),d.EFF(2),d.k0s()()}if(2&te){const P=d.XpG();d.R7$(2),d.SpI(" ",P.data.action," ")}}const j=["label"];function W(te,ie){}const G=Math.pow(2,31)-1;class re{_overlayRef;instance;containerInstance;_afterDismissed=new T.B;_afterOpened=new T.B;_onAction=new T.B;_durationTimeoutId;_dismissedByAction=!1;constructor(ie,P){this._overlayRef=P,this.containerInstance=ie,ie._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(ie){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(ie,G))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const xe=new i.nKC("MatSnackBarData");class Ee{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let V=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return te})(),ce=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return te})(),be=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return te})(),ne=(()=>{class te{snackBarRef=(0,i.WQX)(re);data=(0,i.WQX)(xe);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=d.VBU({type:te,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(F,ve){1&F&&(d.j41(0,"div",0),d.EFF(1),d.k0s(),d.nVh(2,Ae,3,1,"div",1)),2&F&&(d.R7$(),d.SpI(" ",ve.data.message,"\n"),d.R7$(),d.vxM(ve.hasAction?2:-1))},dependencies:[e.$z,V,ce,be],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],encapsulation:2,changeDetection:0})}return te})();const J="_mat-snack-bar-enter",De="_mat-snack-bar-exit";let Re=(()=>{class te extends L.lb{_ngZone=(0,i.WQX)(d.SKi);_elementRef=(0,i.WQX)(d.aKT);_changeDetectorRef=(0,i.WQX)(v.gRc);_platform=(0,i.WQX)(u.O);_animationsDisabled=(0,C.Rc)();snackBarConfig=(0,i.WQX)(Ee);_document=(0,i.WQX)(i.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,i.WQX)(i.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new T.B;_onExit=new T.B;_onEnter=new T.B;_animationState="void";_live;_label;_role;_liveElementId=(0,i.WQX)(f.g).getId("mat-snack-bar-container-live-");constructor(){super();const P=this.snackBarConfig;this._live="assertive"!==P.politeness||P.announcementMessage?"off"===P.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(P){this._assertNotAttached();const F=this._portalOutlet.attachComponentPortal(P);return this._afterPortalAttached(),F}attachTemplatePortal(P){this._assertNotAttached();const F=this._portalOutlet.attachTemplatePortal(P);return this._afterPortalAttached(),F}attachDomPortal=P=>{this._assertNotAttached();const F=this._portalOutlet.attachDomPortal(P);return this._afterPortalAttached(),F};onAnimationEnd(P){P===De?this._completeExit():P===J&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,d.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(J)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(J)},200)))}exit(){return this._destroyed?(0,w.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,d.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(De)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(De),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const P=this._elementRef.nativeElement,F=this.snackBarConfig.panelClass;F&&(Array.isArray(F)?F.forEach($=>P.classList.add($)):P.classList.add(F)),this._exposeToModals();const ve=this._label.nativeElement,H="mdc-snackbar__label";ve.classList.toggle(H,!ve.querySelector(`.${H}`))}_exposeToModals(){const P=this._liveElementId,F=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ve=0;ve{const F=P.getAttribute("aria-owns");if(F){const ve=F.replace(this._liveElementId,"").trim();ve.length>0?P.setAttribute("aria-owns",ve):P.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const P=this._elementRef.nativeElement,F=P.querySelector("[aria-hidden]"),ve=P.querySelector("[aria-live]");if(F&&ve){let H=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&F.contains(document.activeElement)&&(H=document.activeElement),F.removeAttribute("aria-hidden"),ve.appendChild(F),H?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=d.VBU({type:te,selectors:[["mat-snack-bar-container"]],viewQuery:function(F,ve){if(1&F&&(d.GBs(L.I3,7),d.GBs(j,7)),2&F){let H;d.mGM(H=d.lsd())&&(ve._portalOutlet=H.first),d.mGM(H=d.lsd())&&(ve._label=H.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(F,ve){1&F&&d.bIt("animationend",function($){return ve.onAnimationEnd($.animationName)})("animationcancel",function($){return ve.onAnimationEnd($.animationName)}),2&F&&d.AVh("mat-snack-bar-container-enter","visible"===ve._animationState)("mat-snack-bar-container-exit","hidden"===ve._animationState)("mat-snack-bar-container-animations-enabled",!ve._animationsDisabled)},features:[d.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(F,ve){1&F&&(d.j41(0,"div",1)(1,"div",2,0)(3,"div",3),d.DNE(4,W,0,0,"ng-template",4),d.k0s(),d.nrm(5,"div"),d.k0s()()),2&F&&(d.R7$(5),d.BMQ("aria-live",ve._live)("role",ve._role)("id",ve._liveElementId))},dependencies:[L.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return te})();const _e=new i.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Xe(){return new Ee}});let he=(()=>{class te{_live=(0,i.WQX)(O.Ai);_injector=(0,i.WQX)(i.zZn);_breakpointObserver=(0,i.WQX)(A.Q);_parentSnackBar=(0,i.WQX)(te,{optional:!0,skipSelf:!0});_defaultConfig=(0,i.WQX)(_e);_animationsDisabled=(0,C.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=ne;snackBarContainerComponent=Re;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const P=this._parentSnackBar;return P?P._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(P){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=P:this._snackBarRefAtThisLevel=P}constructor(){}openFromComponent(P,F){return this._attach(P,F)}openFromTemplate(P,F){return this._attach(P,F)}open(P,F="",ve){const H={...this._defaultConfig,...ve};return H.data={message:P,action:F},H.announcementMessage===P&&(H.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,H)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(P,F){const H=i.zZn.create({parent:F&&F.viewContainerRef&&F.viewContainerRef.injector||this._injector,providers:[{provide:Ee,useValue:F}]}),$=new L.A8(this.snackBarContainerComponent,F.viewContainerRef,H),Ke=P.attach($);return Ke.instance.snackBarConfig=F,Ke.instance}_attach(P,F){const ve={...new Ee,...this._defaultConfig,...F},H=this._createOverlay(ve),$=this._attachSnackBarContainer(H,ve),Ke=new re($,H);if(P instanceof d.C4Q){const Vt=new L.VA(P,null,{$implicit:ve.data,snackBarRef:Ke});Ke.instance=$.attachTemplatePortal(Vt)}else{const Vt=this._createInjector(ve,Ke),St=new L.A8(P,void 0,Vt),ot=$.attachComponentPortal(St);Ke.instance=ot.instance}return this._breakpointObserver.observe(B.Rp.HandsetPortrait).pipe((0,le.Q)(H.detachments())).subscribe(Vt=>{H.overlayElement.classList.toggle(this.handsetCssClass,Vt.matches)}),ve.announcementMessage&&$._onAnnounce.subscribe(()=>{this._live.announce(ve.announcementMessage,ve.politeness)}),this._animateSnackBar(Ke,ve),this._openedSnackBarRef=Ke,this._openedSnackBarRef}_animateSnackBar(P,F){P.afterDismissed().subscribe(()=>{this._openedSnackBarRef==P&&(this._openedSnackBarRef=null),F.announcementMessage&&this._live.clear()}),F.duration&&F.duration>0&&P.afterOpened().subscribe(()=>P._dismissAfter(F.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{P.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):P.containerInstance.enter()}_createOverlay(P){const F=new Pe.rR;F.direction=P.direction;const ve=(0,Pe.uA)(this._injector),H="rtl"===P.direction,$="left"===P.horizontalPosition||"start"===P.horizontalPosition&&!H||"end"===P.horizontalPosition&&H,Ke=!$&&"center"!==P.horizontalPosition;return $?ve.left("0"):Ke?ve.right("0"):ve.centerHorizontally(),"top"===P.verticalPosition?ve.top("0"):ve.bottom("0"),F.positionStrategy=ve,F.disableAnimations=this._animationsDisabled,(0,Pe.Y$)(this._injector,F)}_createInjector(P,F){return i.zZn.create({parent:P&&P.viewContainerRef&&P.viewContainerRef.injector||this._injector,providers:[{provide:re,useValue:F},{provide:xe,useValue:P.data}]})}static \u0275fac=function(F){return new(F||te)};static \u0275prov=i.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),lt=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275mod=d.$C({type:te});static \u0275inj=i.G2t({providers:[he],imports:[Pe.z_,L.jc,e.Hl,Ce.y,ne,Ce.y]})}return te})()},2042(Zt,pe,l){"use strict";l.d(pe,{B4:()=>xe,NQ:()=>J,aE:()=>ne});var i=l(2615),d=l(3664),v=l(7705),T=l(8617),w=l(6838),e=l(438),O=l(1413),f=l(2771),u=l(7786),L=l(8968),C=l(1804),B=l(2046),A=l(2466);const Pe=["mat-sort-header",""],le=["*"];function Ce(Re,Xe){1&Re&&(d.rj2(0,"div",2),i.qSk(),d.rj2(1,"svg",3),d.Hgh(2,"path",4),d.eux()())}const re=new i.nKC("MAT_SORT_DEFAULT_OPTIONS");let xe=(()=>{class Re{_defaultOptions;_initializedStream=new f.m(1);sortables=new Map;_stateChanges=new O.B;active;start="asc";get direction(){return this._direction}set direction(_e){this._direction=_e}_direction="";disableClear;disabled=!1;sortChange=new d.bkB;initialized=this._initializedStream;constructor(_e){this._defaultOptions=_e}register(_e){this.sortables.set(_e.id,_e)}deregister(_e){this.sortables.delete(_e.id)}sort(_e){this.active!=_e.id?(this.active=_e.id,this.direction=_e.start?_e.start:this.start):this.direction=this.getNextSortDirection(_e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(_e){if(!_e)return"";let Dt=function Ee(Re,Xe){let _e=["asc","desc"];return"desc"==Re&&_e.reverse(),Xe||_e.push(""),_e}(_e.start||this.start,_e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),lt=Dt.indexOf(this.direction)+1;return lt>=Dt.length&&(lt=0),Dt[lt]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(he){return new(he||Re)(d.rXU(re,8))};static \u0275dir=d.FsC({type:Re,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",v.L39],disabled:[2,"matSortDisabled","disabled",v.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[d.OA$]})}return Re})(),V=(()=>{class Re{changes=new O.B;static \u0275fac=function(he){return new(he||Re)};static \u0275prov=i.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();const be={provide:V,deps:[[new d.Xx1,new d.kdw,V]],useFactory:function ce(Re){return Re||new V}};let ne=(()=>{class Re{_intl=(0,i.WQX)(V);_sort=(0,i.WQX)(xe,{optional:!0});_columnDef=(0,i.WQX)("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=(0,i.WQX)(v.gRc);_focusMonitor=(0,i.WQX)(w.FN);_elementRef=(0,i.WQX)(d.aKT);_ariaDescriber=(0,i.WQX)(T.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,C.Rc)();_recentlyCleared=(0,i.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(_e){this._updateSortActionDescription(_e)}_sortActionDescription="Sort";disableClear;constructor(){(0,i.WQX)(L.l).load(B.A);const _e=(0,i.WQX)(re,{optional:!0});_e?.arrowPosition&&(this.arrowPosition=_e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,u.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const _e=this._isSorted(),he=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(_e&&!this._isSorted()?he:null)}}_handleKeydown(_e){(_e.keyCode===e.t6||_e.keyCode===e.Fm)&&(_e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(_e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,_e)),this._sortActionDescription=_e}static \u0275fac=function(he){return new(he||Re)};static \u0275cmp=d.VBU({type:Re,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(he,Dt){1&he&&d.bIt("click",function(){return Dt._toggleOnInteraction()})("keydown",function(Le){return Dt._handleKeydown(Le)})("mouseleave",function(){return Dt._recentlyCleared.set(null)}),2&he&&(d.BMQ("aria-sort",Dt._getAriaSortAttribute()),d.AVh("mat-sort-header-disabled",Dt._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",v.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",v.L39]},exportAs:["matSortHeader"],attrs:Pe,ngContentSelectors:le,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(he,Dt){1&he&&(d.NAR(),d.rj2(0,"div",0)(1,"div",1),d.SdG(2),d.eux(),d.nVh(3,Ce,3,0,"div",2),d.eux()),2&he&&(d.AVh("mat-sort-header-sorted",Dt._isSorted())("mat-sort-header-position-before","before"===Dt.arrowPosition)("mat-sort-header-descending","desc"===Dt._sort.direction)("mat-sort-header-ascending","asc"===Dt._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===Dt._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===Dt._recentlyCleared())("mat-sort-header-animations-disabled",Dt._animationsDisabled),d.BMQ("tabindex",Dt._isDisabled()?null:0)("role",Dt._isDisabled()?null:"button"),d.R7$(3),d.vxM(Dt._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"],encapsulation:2,changeDetection:0})}return Re})(),J=(()=>{class Re{static \u0275fac=function(he){return new(he||Re)};static \u0275mod=d.$C({type:Re});static \u0275inj=i.G2t({providers:[be],imports:[A.y]})}return Re})()},6013(Zt,pe,l){"use strict";l.d(pe,{F7:()=>cn,FR:()=>Ft,M6:()=>rt,Ti:()=>nt,V5:()=>Gt,aP:()=>Sn,xJ:()=>Qe});var i=l(6939),d=l(7768),v=l(2615),T=l(3664),w=l(7705),e=l(6838),O=l(1413),f=l(8359),u=l(2200),L=l(9046),C=l(8968),B=l(2629),A=l(2046),Pe=l(2496),le=l(9842),Ce=l(6354),Ae=l(9172),j=l(5558),W=l(6977),G=l(2709),re=l(1804),xe=l(2466),Ee=l(6881);const V=(h,jt,Ue)=>({index:h,active:jt,optional:Ue});function ce(h,jt){if(1&h&&T.eu8(0,2),2&h){const Ue=T.XpG();T.Y8G("ngTemplateOutlet",Ue.iconOverrides[Ue.state])("ngTemplateOutletContext",T.sMw(2,V,Ue.index,Ue.active,Ue.optional))}}function be(h,jt){if(1&h&&(T.j41(0,"span",7),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(2);T.R7$(),T.JRh(Ue._getDefaultTextForState(Ue.state))}}function ne(h,jt){if(1&h&&(T.j41(0,"span",8),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(3);T.R7$(),T.JRh(Ue._intl.completedLabel)}}function J(h,jt){if(1&h&&(T.j41(0,"span",8),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(3);T.R7$(),T.JRh(Ue._intl.editableLabel)}}function De(h,jt){if(1&h&&(T.nVh(0,ne,2,1,"span",8)(1,J,2,1,"span",8),T.j41(2,"mat-icon",7),T.EFF(3),T.k0s()),2&h){const Ue=T.XpG(2);T.vxM("done"===Ue.state?0:"edit"===Ue.state?1:-1),T.R7$(3),T.JRh(Ue._getDefaultTextForState(Ue.state))}}function Re(h,jt){if(1&h&&T.nVh(0,be,2,1,"span",7)(1,De,4,2),2&h){let Ue;const wt=T.XpG();T.vxM("number"===(Ue=wt.state)?0:1)}}function Xe(h,jt){1&h&&(T.j41(0,"div",4),T.eu8(1,9),T.k0s()),2&h&&(T.R7$(),T.Y8G("ngTemplateOutlet",jt.template))}function _e(h,jt){if(1&h&&(T.j41(0,"div",4),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue.label)}}function he(h,jt){if(1&h&&(T.j41(0,"div",5),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue._intl.optionalLabel)}}function Dt(h,jt){if(1&h&&(T.j41(0,"div",6),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue.errorMessage)}}const lt=["*"];function Le(h,jt){}function te(h,jt){if(1&h&&(T.SdG(0),T.DNE(1,Le,0,0,"ng-template",0)),2&h){const Ue=T.XpG();T.R7$(),T.Y8G("cdkPortalOutlet",Ue._portal)}}const ie=["animatedContainer"],P=h=>({step:h});function F(h,jt){1&h&&T.SdG(0)}function ve(h,jt){1&h&&T.nrm(0,"div",7)}function H(h,jt){if(1&h&&(T.eu8(0,6),T.nVh(1,ve,1,0,"div",7)),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=jt.$count;T.XpG(2);const Pt=T.sdS(4);T.Y8G("ngTemplateOutlet",Pt)("ngTemplateOutletContext",T.eq3(3,P,Ue)),T.R7$(),T.vxM(wt!==pt-1?1:-1)}}function $(h,jt){if(1&h&&(T.j41(0,"div",8,1),T.eu8(2,9),T.k0s()),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=T.XpG(2);T.HbH("mat-horizontal-stepper-content-"+pt._getAnimationDirection(wt)),T.Y8G("id",pt._getStepContentId(wt)),T.BMQ("aria-labelledby",pt._getStepLabelId(wt))("inert",pt.selectedIndex===wt?null:""),T.R7$(2),T.Y8G("ngTemplateOutlet",Ue.content)}}function Ke(h,jt){if(1&h&&(T.j41(0,"div",2)(1,"div",3),T.Z7z(2,H,2,5,null,null,T.fX1),T.k0s(),T.j41(4,"div",4),T.Z7z(5,$,3,6,"div",5,T.fX1),T.k0s()()),2&h){const Ue=T.XpG();T.R7$(2),T.Dyx(Ue.steps),T.R7$(3),T.Dyx(Ue.steps)}}function Vt(h,jt){if(1&h&&(T.j41(0,"div",10),T.eu8(1,6),T.j41(2,"div",11,1)(4,"div",12)(5,"div",13),T.eu8(6,9),T.k0s()()()()),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=jt.$index,Pt=jt.$count,gn=T.XpG(2),ei=T.sdS(4);T.R7$(),T.Y8G("ngTemplateOutlet",ei)("ngTemplateOutletContext",T.eq3(10,P,Ue)),T.R7$(),T.AVh("mat-stepper-vertical-line",pt!==Pt-1)("mat-vertical-content-container-active",gn.selectedIndex===wt),T.BMQ("inert",gn.selectedIndex===wt?null:""),T.R7$(2),T.Y8G("id",gn._getStepContentId(wt)),T.BMQ("aria-labelledby",gn._getStepLabelId(wt)),T.R7$(2),T.Y8G("ngTemplateOutlet",Ue.content)}}function St(h,jt){if(1&h&&T.Z7z(0,Vt,7,12,"div",10,T.fX1),2&h){const Ue=T.XpG();T.Dyx(Ue.steps)}}function ot(h,jt){if(1&h){const Ue=T.RV6();T.j41(0,"mat-step-header",14),T.bIt("click",function(){const pt=v.eBV(Ue).step;return v.Njj(pt.select())})("keydown",function(pt){v.eBV(Ue);const Pt=T.XpG();return v.Njj(Pt._onKeydown(pt))}),T.k0s()}if(2&h){const Ue=jt.step,wt=T.XpG();T.AVh("mat-horizontal-stepper-header","horizontal"===wt.orientation)("mat-vertical-stepper-header","vertical"===wt.orientation),T.Y8G("tabIndex",wt._getFocusIndex()===Ue.index()?0:-1)("id",wt._getStepLabelId(Ue.index()))("index",Ue.index())("state",Ue.indicatorType())("label",Ue.stepLabel||Ue.label)("selected",Ue.isSelected())("active",Ue.isNavigable())("optional",Ue.optional)("errorMessage",Ue.errorMessage)("iconOverrides",wt._iconOverrides)("disableRipple",wt.disableRipple||!Ue.isNavigable())("color",Ue.color||wt.color),T.BMQ("aria-posinset",Ue.index()+1)("aria-setsize",wt.steps.length)("aria-controls",wt._getStepContentId(Ue.index()))("aria-selected",Ue.isSelected())("aria-label",Ue.ariaLabel||null)("aria-labelledby",!Ue.ariaLabel&&Ue.ariaLabelledby?Ue.ariaLabelledby:null)("aria-disabled",!Ue.isNavigable()||null)}}let nt=(()=>{class h extends d.nb{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["","matStepLabel",""]],features:[T.Vt3]})}return h})(),ht=(()=>{class h{changes=new O.B;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=v.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Ye={provide:ht,deps:[[new T.Xx1,new T.kdw,ht]],useFactory:function oe(h){return h||new ht}};let fe=(()=>{class h extends d.oX{_intl=(0,v.WQX)(ht);_focusMonitor=(0,v.WQX)(e.FN);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();const Ue=(0,v.WQX)(C.l);Ue.load(A.A),Ue.load(L.Y);const wt=(0,v.WQX)(w.gRc);this._intlSubscription=this._intl.changes.subscribe(()=>wt.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ue,wt){Ue?this._focusMonitor.focusVia(this._elementRef,Ue,wt):this._elementRef.nativeElement.focus(wt)}_stringLabel(){return this.label instanceof nt?null:this.label}_templateLabel(){return this.label instanceof nt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(Ue){return"number"==Ue?`${this.index+1}`:"edit"==Ue?"create":"error"==Ue?"warning":Ue}_hasEmptyLabel(){return!(this._stringLabel()||this._templateLabel()||this._hasOptionalLabel()||this._hasErrorLabel())}_hasOptionalLabel(){return this.optional&&"error"!==this.state}_hasErrorLabel(){return"error"===this.state}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=T.VBU({type:h,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:4,hostBindings:function(wt,pt){2&wt&&(T.HbH("mat-"+(pt.color||"primary")),T.AVh("mat-step-header-empty-label",pt._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[T.Vt3],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(wt,pt){if(1&wt&&(T.nrm(0,"div",0),T.j41(1,"div")(2,"div",1),T.nVh(3,ce,1,6,"ng-container",2)(4,Re,2,1),T.k0s()(),T.j41(5,"div",3),T.nVh(6,Xe,2,1,"div",4)(7,_e,2,1,"div",4),T.nVh(8,he,2,1,"div",5),T.nVh(9,Dt,2,1,"div",6),T.k0s()),2&wt){let Pt;T.Y8G("matRippleTrigger",pt._getHostElement())("matRippleDisabled",pt.disableRipple),T.R7$(),T.HbH(T.VkB("mat-step-icon-state-",pt.state," mat-step-icon")),T.AVh("mat-step-icon-selected",pt.selected),T.R7$(2),T.vxM(pt.iconOverrides&&pt.iconOverrides[pt.state]?3:4),T.R7$(2),T.AVh("mat-step-label-active",pt.active)("mat-step-label-selected",pt.selected)("mat-step-label-error","error"==pt.state),T.R7$(),T.vxM((Pt=pt._templateLabel())?6:pt._stringLabel()?7:-1,Pt),T.R7$(2),T.vxM(pt._hasOptionalLabel()?8:-1),T.R7$(),T.vxM(pt._hasErrorLabel()?9:-1)}},dependencies:[Pe.r6,u.T3,B.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],encapsulation:2,changeDetection:0})}return h})(),Qe=(()=>{class h{templateRef=(0,v.WQX)(T.C4Q);name;constructor(){}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=T.FsC({type:h,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return h})(),gt=(()=>{class h{_template=(0,v.WQX)(T.C4Q);constructor(){}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=T.FsC({type:h,selectors:[["ng-template","matStepContent",""]]})}return h})(),Gt=(()=>{class h extends d.VI{_errorStateMatcher=(0,v.WQX)(G.e,{skipSelf:!0});_viewContainerRef=(0,v.WQX)(T.c1b);_isSelected=f.yU.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,j.n)(()=>this._stepper.selectionChange.pipe((0,Ce.T)(Ue=>Ue.selectedStep===this),(0,Ae.Z)(this._stepper.selected===this)))).subscribe(Ue=>{Ue&&this._lazyContent&&!this._portal&&(this._portal=new i.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Ue,wt){return this._errorStateMatcher.isErrorState(Ue,wt)||!!(Ue&&Ue.invalid&&this.interacted)}static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275cmp=T.VBU({type:h,selectors:[["mat-step"]],contentQueries:function(wt,pt,Pt){if(1&wt&&(T.wni(Pt,nt,5),T.wni(Pt,gt,5)),2&wt){let gn;T.mGM(gn=T.lsd())&&(pt.stepLabel=gn.first),T.mGM(gn=T.lsd())&&(pt._lazyContent=gn.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[T.Jv_([{provide:G.e,useExisting:h},{provide:d.VI,useExisting:h}]),T.Vt3],ngContentSelectors:lt,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(wt,pt){1&wt&&(T.NAR(),T.DNE(0,te,2,1,"ng-template"))},dependencies:[i.I3],encapsulation:2,changeDetection:0})}return h})(),rt=(()=>{class h extends d.Up{_ngZone=(0,v.WQX)(T.SKi);_renderer=(0,v.WQX)(T.sFG);_animationsDisabled=(0,re.Rc)();_cleanupTransition;_isAnimating=(0,v.vPA)(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new T.rOR;_icons;animationDone=new T.bkB;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(Ue){this._animationDuration=/^\d+$/.test(Ue)?Ue+"ms":Ue}_animationDuration="";_isServer=!(0,v.WQX)(le.O).isBrowser;constructor(){super();const wt=(0,v.WQX)(T.aKT).nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===wt?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Ue,templateRef:wt})=>this._iconOverrides[Ue]=wt),this.steps.changes.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe((0,W.Q)(this._destroyed)).subscribe(()=>{const Ue=this._getAnimationDuration();"0ms"===Ue||"0s"===Ue?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),"function"==typeof queueMicrotask){let Ue=!1;this._animatedContainers.changes.pipe((0,Ae.Z)(null),(0,W.Q)(this._destroyed)).subscribe(()=>queueMicrotask(()=>{Ue||(Ue=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}_handleTransitionend=Ue=>{const wt=Ue.target;if(!wt)return;const pt="horizontal"===this.orientation&&"transform"===Ue.propertyName&&wt.classList.contains("mat-horizontal-stepper-content-current"),Pt="vertical"===this.orientation&&"grid-template-rows"===Ue.propertyName&&wt.classList.contains("mat-vertical-content-container-active");(pt||Pt)&&this._animatedContainers.find(ei=>ei.nativeElement===wt)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=T.VBU({type:h,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(wt,pt,Pt){if(1&wt&&(T.wni(Pt,Gt,5),T.wni(Pt,Qe,5)),2&wt){let gn;T.mGM(gn=T.lsd())&&(pt._steps=gn),T.mGM(gn=T.lsd())&&(pt._icons=gn)}},viewQuery:function(wt,pt){if(1&wt&&(T.GBs(fe,5),T.GBs(ie,5)),2&wt){let Pt;T.mGM(Pt=T.lsd())&&(pt._stepHeader=Pt),T.mGM(Pt=T.lsd())&&(pt._animatedContainers=Pt)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(wt,pt){2&wt&&(T.BMQ("aria-orientation",pt.orientation),T.xc7("--mat-stepper-animation-duration",pt._getAnimationDuration()),T.AVh("mat-stepper-horizontal","horizontal"===pt.orientation)("mat-stepper-vertical","vertical"===pt.orientation)("mat-stepper-label-position-end","horizontal"===pt.orientation&&"end"==pt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===pt.orientation&&"bottom"==pt.labelPosition)("mat-stepper-header-position-bottom","bottom"===pt.headerPosition)("mat-stepper-animating",pt._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[T.Jv_([{provide:d.Up,useExisting:h}]),T.Vt3],ngContentSelectors:lt,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(wt,pt){if(1&wt&&(T.NAR(),T.nVh(0,F,1,0),T.nVh(1,Ke,7,0,"div",2)(2,St,2,0),T.DNE(3,ot,1,23,"ng-template",null,0,T.C5r)),2&wt){let Pt;T.vxM(pt._isServer?0:-1),T.R7$(),T.vxM("horizontal"===(Pt=pt.orientation)?1:"vertical"===Pt?2:-1)}},dependencies:[u.T3,fe],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],encapsulation:2,changeDetection:0})}return h})(),cn=(()=>{class h extends d.v5{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(wt,pt){2&wt&&T.Avn("type",pt.type)},features:[T.Vt3]})}return h})(),Ft=(()=>{class h extends d.FK{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(wt,pt){2&wt&&T.Avn("type",pt.type)},features:[T.Vt3]})}return h})(),Sn=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=T.$C({type:h});static \u0275inj=v.G2t({providers:[Ye,G.e],imports:[xe.y,i.jc,d.uY,B.m_,Ee.p,rt,fe,xe.y]})}return h})()},2046(Zt,pe,l){"use strict";l.d(pe,{A:()=>d});var i=l(3664);let d=(()=>{class v{static \u0275fac=function(e){return new(e||v)};static \u0275cmp=i.VBU({type:v,selectors:[["structural-styles"]],decls:0,vars:0,template:function(e,O){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return v})()},1676(Zt,pe,l){"use strict";l.d(pe,{$R:()=>Ge,YV:()=>at,cC:()=>Je,Qo:()=>ut,Zq:()=>pn,iF:()=>on,xW:()=>We,KS:()=>Be,tL:()=>qe,YZ:()=>tn,ji:()=>se,NB:()=>un,iL:()=>bt,Zl:()=>Me,I6:()=>Yi,tP:()=>Jn});var i=l(3664),d=l(2615),v=l(7705),T=l(4117),w=l(1413),e=l(4412),O=l(4402),f=l(7673),u=l(6977),C=function(Tt){return Tt[Tt.REPLACED=0]="REPLACED",Tt[Tt.INSERTED=1]="INSERTED",Tt[Tt.MOVED=2]="MOVED",Tt[Tt.REMOVED=3]="REMOVED",Tt}(C||{});const B=new d.nKC("_ViewRepeater");class Pe{applyChanges(At,we,ae,Lt,Ht){At.forEachOperation((_n,fi,bi)=>{let Qi,zi;if(null==_n.previousIndex){const It=ae(_n,fi,bi);Qi=we.createEmbeddedView(It.templateRef,It.context,It.index),zi=C.INSERTED}else null==bi?(we.remove(fi),zi=C.REMOVED):(Qi=we.get(fi),we.move(Qi,bi),zi=C.MOVED);Ht&&Ht({context:Qi?.context,operation:zi,record:_n})})}detach(){}}var le=l(1577),Ce=l(9842),Ae=l(5718);const j=[[["caption"]],[["colgroup"],["col"]],"*"],W=["caption","colgroup, col","*"];function G(Tt,At){1&Tt&&i.SdG(0,2)}function re(Tt,At){1&Tt&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",0),i.eu8(3,2)(4,3),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,4),i.k0s())}function xe(Tt,At){1&Tt&&i.eu8(0,1)(1,2)(2,3)(3,4)}const ce=new d.nKC("CDK_TABLE");let ne=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkCellDef",""]]})}return Tt})(),J=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkHeaderCellDef",""]]})}return Tt})(),De=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkFooterCellDef",""]]})}return Tt})(),Re=(()=>{class Tt{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(we){this._setNameInput(we)}_name;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(we){we!==this._stickyEnd&&(this._stickyEnd=we,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(we){we&&(this._name=we,this.cssClassFriendlyName=we.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkColumnDef",""]],contentQueries:function(ae,Lt,Ht){if(1&ae&&(i.wni(Ht,ne,5),i.wni(Ht,J,5),i.wni(Ht,De,5)),2&ae){let _n;i.mGM(_n=i.lsd())&&(Lt.cell=_n.first),i.mGM(_n=i.lsd())&&(Lt.headerCell=_n.first),i.mGM(_n=i.lsd())&&(Lt.footerCell=_n.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",v.L39],stickyEnd:[2,"stickyEnd","stickyEnd",v.L39]},features:[i.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Tt}])]})}return Tt})();class Xe{constructor(At,we){we.nativeElement.classList.add(...At._columnCssClassName)}}let _e=(()=>{class Tt extends Xe{constructor(){super((0,d.WQX)(Re),(0,d.WQX)(i.aKT))}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.Vt3]})}return Tt})(),he=(()=>{class Tt extends Xe{constructor(){const we=(0,d.WQX)(Re),ae=(0,d.WQX)(i.aKT);super(we,ae);const Lt=we._table?._getCellRole();Lt&&ae.nativeElement.setAttribute("role",Lt)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.Vt3]})}return Tt})(),Dt=(()=>{class Tt extends Xe{constructor(){const we=(0,d.WQX)(Re),ae=(0,d.WQX)(i.aKT);super(we,ae);const Lt=we._table?._getCellRole();Lt&&ae.nativeElement.setAttribute("role",Lt)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.Vt3]})}return Tt})(),Le=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);_differs=(0,d.WQX)(v._q3);columns;_columnsDiffer;constructor(){}ngOnChanges(we){if(!this._columnsDiffer){const ae=we.columns&&we.columns.currentValue||[];this._columnsDiffer=this._differs.find(ae).create(),this._columnsDiffer.diff(ae)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(we){return this instanceof te?we.headerCell.template:this instanceof ie?we.footerCell.template:we.cell.template}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,features:[i.OA$]})}return Tt})(),te=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}ngOnChanges(we){super.ngOnChanges(we)}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",v.L39]},features:[i.Vt3,i.OA$]})}return Tt})(),ie=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}ngOnChanges(we){super.ngOnChanges(we)}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",v.L39]},features:[i.Vt3,i.OA$]})}return Tt})(),P=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});when;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[i.Vt3]})}return Tt})(),F=(()=>{class Tt{_viewContainer=(0,d.WQX)(i.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){Tt.mostRecentCellOutlet=this}ngOnDestroy(){Tt.mostRecentCellOutlet===this&&(Tt.mostRecentCellOutlet=null)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkCellOutlet",""]]})}return Tt})(),ve=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),H=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),$=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),Ke=(()=>{class Tt{templateRef=(0,d.WQX)(i.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["ng-template","cdkNoDataRow",""]]})}return Tt})();const Vt=["top","bottom","left","right"];class St{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(At=>this._updateCachedSizes(At)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(At,we,ae=!0,Lt=!0,Ht,_n,fi){this._isNativeHtmlTable=At,this._stickCellCss=we,this._isBrowser=ae,this._needsPositionStickyOnElement=Lt,this.direction=Ht,this._positionListener=_n,this._tableInjector=fi,this._borderCellCss={top:`${we}-border-elem-top`,bottom:`${we}-border-elem-bottom`,left:`${we}-border-elem-left`,right:`${we}-border-elem-right`}}clearStickyPositioning(At,we){(we.includes("left")||we.includes("right"))&&this._removeFromStickyColumnReplayQueue(At);const ae=[];for(const Lt of At)Lt.nodeType===Lt.ELEMENT_NODE&&ae.push(Lt,...Array.from(Lt.children));(0,i.mal)({write:()=>{for(const Lt of ae)this._removeStickyStyle(Lt,we)}},{injector:this._tableInjector})}updateStickyColumns(At,we,ae,Lt=!0,Ht=!0){if(!At.length||!this._isBrowser||!we.some(Fn=>Fn)&&!ae.some(Fn=>Fn))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const _n=At[0],fi=_n.children.length,bi="rtl"===this.direction,Qi=bi?"right":"left",zi=bi?"left":"right",It=we.lastIndexOf(!0),an=ae.indexOf(!0);let Yt,Un,zn;Ht&&this._updateStickyColumnReplayQueue({rows:[...At],stickyStartStates:[...we],stickyEndStates:[...ae]}),(0,i.mal)({earlyRead:()=>{Yt=this._getCellWidths(_n,Lt),Un=this._getStickyStartColumnPositions(Yt,we),zn=this._getStickyEndColumnPositions(Yt,ae)},write:()=>{for(const Fn of At)for(let ci=0;ci!!Fn)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===It?[]:Yt.slice(0,It+1).map((Fn,ci)=>we[ci]?Fn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===an?[]:Yt.slice(an).map((Fn,ci)=>ae[ci+an]?Fn:null).reverse()}))}},{injector:this._tableInjector})}stickRows(At,we,ae){if(!this._isBrowser)return;const Lt="bottom"===ae?At.slice().reverse():At,Ht="bottom"===ae?we.slice().reverse():we,_n=[],fi=[],bi=[];(0,i.mal)({earlyRead:()=>{for(let Qi=0,zi=0;Qi{const Qi=Ht.lastIndexOf(!0);for(let zi=0;zi{const ae=At.querySelector("tfoot");ae&&(we.some(Lt=>!Lt)?this._removeStickyStyle(ae,["bottom"]):this._addStickyStyle(ae,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(At,we){if(At.classList.contains(this._stickCellCss)){for(const Lt of we)At.style[Lt]="",At.classList.remove(this._borderCellCss[Lt]);Vt.some(Lt=>-1===we.indexOf(Lt)&&At.style[Lt])?At.style.zIndex=this._getCalculatedZIndex(At):(At.style.zIndex="",this._needsPositionStickyOnElement&&(At.style.position=""),At.classList.remove(this._stickCellCss))}}_addStickyStyle(At,we,ae,Lt){At.classList.add(this._stickCellCss),Lt&&At.classList.add(this._borderCellCss[we]),At.style[we]=`${ae}px`,At.style.zIndex=this._getCalculatedZIndex(At),this._needsPositionStickyOnElement&&(At.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(At){const we={top:100,bottom:10,left:1,right:1};let ae=0;for(const Lt of Vt)At.style[Lt]&&(ae+=we[Lt]);return ae?`${ae}`:""}_getCellWidths(At,we=!0){if(!we&&this._cachedCellWidths.length)return this._cachedCellWidths;const ae=[],Lt=At.children;for(let Ht=0;Ht0;Ht--)we[Ht]&&(ae[Ht]=Lt,Lt+=At[Ht]);return ae}_retrieveElementSize(At){const we=this._elemSizeCache.get(At);if(we)return we;const ae=At.getBoundingClientRect(),Lt={width:ae.width,height:ae.height};return this._resizeObserver&&(this._elemSizeCache.set(At,Lt),this._resizeObserver.observe(At,{box:"border-box"})),Lt}_updateStickyColumnReplayQueue(At){this._removeFromStickyColumnReplayQueue(At.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(At)}_removeFromStickyColumnReplayQueue(At){const we=new Set(At);for(const ae of this._updatedStickyColumnsParamsToReplay)ae.rows=ae.rows.filter(Lt=>!we.has(Lt));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(ae=>!!ae.rows.length)}_updateCachedSizes(At){let we=!1;for(const ae of At){const Lt=ae.borderBoxSize?.length?{width:ae.borderBoxSize[0].inlineSize,height:ae.borderBoxSize[0].blockSize}:{width:ae.contentRect.width,height:ae.contentRect.height};Lt.width!==this._elemSizeCache.get(ae.target)?.width&&ot(ae.target)&&(we=!0),this._elemSizeCache.set(ae.target,Lt)}we&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const ae of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(ae.rows,ae.stickyStartStates,ae.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function ot(Tt){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(At=>Tt.classList.contains(At))}const rt=new d.nKC("CDK_SPL");let Ft=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._rowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","rowOutlet",""]]})}return Tt})(),Sn=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._headerRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","headerRowOutlet",""]]})}return Tt})(),Qn=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._footerRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","footerRowOutlet",""]]})}return Tt})(),h=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._noDataRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","noDataRowOutlet",""]]})}return Tt})(),jt=(()=>{class Tt{_differs=(0,d.WQX)(v._q3);_changeDetectorRef=(0,d.WQX)(v.gRc);_elementRef=(0,d.WQX)(i.aKT);_dir=(0,d.WQX)(le.dS,{optional:!0});_platform=(0,d.WQX)(Ce.O);_viewRepeater=(0,d.WQX)(B);_viewportRuler=(0,d.WQX)(Ae.Xj);_stickyPositioningListener=(0,d.WQX)(rt,{optional:!0,skipSelf:!0});_document=(0,d.WQX)(d.qQL);_data;_onDestroy=new w.B;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const we=this._elementRef.nativeElement.getAttribute("role");return"grid"===we||"treegrid"===we?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(we){this._trackByFn=we}_trackByFn;get dataSource(){return this._dataSource}set dataSource(we){this._dataSource!==we&&this._switchDataSource(we)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(we){this._multiTemplateDataRows=we,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(we){this._fixedLayout=we,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new i.bkB;viewChange=new e.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=(0,d.WQX)(d.zZn);constructor(){(0,d.WQX)(new v.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((ae,Lt)=>this.trackBy?this.trackBy(Lt.dataIndex,Lt.data):Lt)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,u.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(we=>{we?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,T.y)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const we=this._dataDiffer.diff(this._renderRows);if(!we)return this._updateNoDataRow(),void this.contentChanged.next();const ae=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(we,ae,(Lt,Ht,_n)=>this._getEmbeddedViewArgs(Lt.item,_n),Lt=>Lt.item.data,Lt=>{Lt.operation===C.INSERTED&&Lt.context&&this._renderCellTemplateForItem(Lt.record.item.rowDef,Lt.context)}),this._updateRowIndexContext(),we.forEachIdentityChange(Lt=>{ae.get(Lt.currentIndex).context.$implicit=Lt.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(we){this._customColumnDefs.add(we)}removeColumnDef(we){this._customColumnDefs.delete(we)}addRowDef(we){this._customRowDefs.add(we)}removeRowDef(we){this._customRowDefs.delete(we)}addHeaderRowDef(we){this._customHeaderRowDefs.add(we),this._headerRowDefChanged=!0}removeHeaderRowDef(we){this._customHeaderRowDefs.delete(we),this._headerRowDefChanged=!0}addFooterRowDef(we){this._customFooterRowDefs.add(we),this._footerRowDefChanged=!0}removeFooterRowDef(we){this._customFooterRowDefs.delete(we),this._footerRowDefChanged=!0}setNoDataRow(we){this._customNoDataRow=we}updateStickyHeaderRowStyles(){const we=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Lt=wt(this._headerRowOutlet,"thead");Lt&&(Lt.style.display=we.length?"":"none")}const ae=this._headerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["top"]),this._stickyStyler.stickRows(we,ae,"top"),this._headerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyFooterRowStyles(){const we=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Lt=wt(this._footerRowOutlet,"tfoot");Lt&&(Lt.style.display=we.length?"":"none")}const ae=this._footerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["bottom"]),this._stickyStyler.stickRows(we,ae,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,ae),this._footerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyColumnStyles(){const we=this._getRenderedRows(this._headerRowOutlet),ae=this._getRenderedRows(this._rowOutlet),Lt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...we,...ae,...Lt],["left","right"]),this._stickyColumnStylesNeedReset=!1),we.forEach((Ht,_n)=>{this._addStickyColumnStyles([Ht],this._headerRowDefs[_n])}),this._rowDefs.forEach(Ht=>{const _n=[];for(let fi=0;fi{this._addStickyColumnStyles([Ht],this._footerRowDefs[_n])}),Array.from(this._columnDefsByName.values()).forEach(Ht=>Ht.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const ae=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ae,this._forceRecalculateCellWidths=ae,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const we=[],ae=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return we;for(let Lt=0;Lt{const fi=Lt&&Lt.has(_n)?Lt.get(_n):[];if(fi.length){const bi=fi.shift();return bi.dataIndex=ae,bi}return{data:we,rowDef:_n,dataIndex:ae}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ue(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ae=>{this._columnDefsByName.has(ae.name),this._columnDefsByName.set(ae.name,ae)})}_cacheRowDefs(){this._headerRowDefs=Ue(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ue(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ue(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const we=this._rowDefs.filter(ae=>!ae.when);this._defaultRowDef=we[0]}_renderUpdatedColumns(){const we=(_n,fi)=>{const bi=!!fi.getColumnsDiff();return _n||bi},ae=this._rowDefs.reduce(we,!1);ae&&this._forceRenderDataRows();const Lt=this._headerRowDefs.reduce(we,!1);Lt&&this._forceRenderHeaderRows();const Ht=this._footerRowDefs.reduce(we,!1);return Ht&&this._forceRenderFooterRows(),ae||Lt||Ht}_switchDataSource(we){this._data=[],(0,T.y)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),we||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=we}_observeRenderChanges(){if(!this.dataSource)return;let we;(0,T.y)(this.dataSource)?we=this.dataSource.connect(this):(0,O.A)(this.dataSource)?we=this.dataSource:Array.isArray(this.dataSource)&&(we=(0,f.of)(this.dataSource)),this._renderChangeSubscription=we.pipe((0,u.Q)(this._onDestroy)).subscribe(ae=>{this._data=ae||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((we,ae)=>this._renderRow(this._headerRowOutlet,we,ae)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((we,ae)=>this._renderRow(this._footerRowOutlet,we,ae)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(we,ae){const Lt=Array.from(ae?.columns||[]).map(fi=>this._columnDefsByName.get(fi)),Ht=Lt.map(fi=>fi.sticky),_n=Lt.map(fi=>fi.stickyEnd);this._stickyStyler.updateStickyColumns(we,Ht,_n,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(we){const ae=[];for(let Lt=0;Lt!Ht.when||Ht.when(ae,we));else{let Ht=this._rowDefs.find(_n=>_n.when&&_n.when(ae,we))||this._defaultRowDef;Ht&&Lt.push(Ht)}return Lt}_getEmbeddedViewArgs(we,ae){return{templateRef:we.rowDef.template,context:{$implicit:we.data},index:ae}}_renderRow(we,ae,Lt,Ht={}){const _n=we.viewContainer.createEmbeddedView(ae.template,Ht,Lt);return this._renderCellTemplateForItem(ae,Ht),_n}_renderCellTemplateForItem(we,ae){for(let Lt of this._getCellTemplates(we))F.mostRecentCellOutlet&&F.mostRecentCellOutlet._viewContainer.createEmbeddedView(Lt,ae);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const we=this._rowOutlet.viewContainer;for(let ae=0,Lt=we.length;ae{const Lt=this._columnDefsByName.get(ae);return we.extractCellTemplate(Lt)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const we=(ae,Lt)=>ae||Lt.hasStickyChanged();this._headerRowDefs.reduce(we,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(we,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(we,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new St(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:(0,f.of)()).pipe((0,u.Q)(this._onDestroy)).subscribe(ae=>{this._stickyStyler.direction=ae,this.updateStickyColumnStyles()})}_getOwnDefs(we){return we.filter(ae=>!ae._table||ae._table===this)}_updateNoDataRow(){const we=this._customNoDataRow||this._noDataRow;if(!we)return;const ae=0===this._rowOutlet.viewContainer.length;if(ae===this._isShowingNoDataRow)return;const Lt=this._noDataRowOutlet.viewContainer;if(ae){const Ht=Lt.createEmbeddedView(we.templateRef),_n=Ht.rootNodes[0];if(1===Ht.rootNodes.length&&_n?.nodeType===this._document.ELEMENT_NODE){_n.setAttribute("role","row"),_n.classList.add(...we._contentClassNames);const fi=_n.querySelectorAll(we._cellSelector);for(let bi=0;bi{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275mod=i.$C({type:Tt});static \u0275inj=d.G2t({imports:[Ae.E9]})}return Tt})();var ei=l(2466),vi=l(7786),Ni=l(4572),kn=l(7847),Ri=l(6354);const vt=[[["caption"]],[["colgroup"],["col"]],"*"],ee=["caption","colgroup, col","*"];function ye(Tt,At){1&Tt&&i.SdG(0,2)}function ke(Tt,At){1&Tt&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",2),i.eu8(3,3)(4,4),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,5),i.k0s())}function Se(Tt,At){1&Tt&&i.eu8(0,1)(1,3)(2,4)(3,5)}let Me=(()=>{class Tt extends jt{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ae,Lt){2&ae&&i.AVh("mdc-table-fixed-layout",Lt.fixedLayout)},exportAs:["matTable"],features:[i.Jv_([{provide:jt,useExisting:Tt},{provide:ce,useExisting:Tt},{provide:B,useClass:Pe},{provide:rt,useValue:null}]),i.Vt3],ngContentSelectors:ee,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ae,Lt){1&ae&&(i.NAR(vt),i.SdG(0),i.SdG(1,1),i.nVh(2,ye,1,0),i.nVh(3,ke,7,0)(4,Se,4,0)),2&ae&&(i.R7$(2),i.vxM(Lt._isServer?2:-1),i.R7$(),i.vxM(Lt._isNativeHtmlTable?3:4))},dependencies:[Sn,Ft,h,Qn],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],encapsulation:2})}return Tt})(),at=(()=>{class Tt extends ne{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matCellDef",""]],features:[i.Jv_([{provide:ne,useExisting:Tt}]),i.Vt3]})}return Tt})(),qe=(()=>{class Tt extends J{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matHeaderCellDef",""]],features:[i.Jv_([{provide:J,useExisting:Tt}]),i.Vt3]})}return Tt})(),pn=(()=>{class Tt extends De{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matFooterCellDef",""]],features:[i.Jv_([{provide:De,useExisting:Tt}]),i.Vt3]})}return Tt})(),Je=(()=>{class Tt extends Re{get name(){return this._name}set name(we){this._setNameInput(we)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[i.Jv_([{provide:Re,useExisting:Tt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Tt}]),i.Vt3]})}return Tt})(),Be=(()=>{class Tt extends _e{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[i.Vt3]})}return Tt})(),ut=(()=>{class Tt extends he{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[i.Vt3]})}return Tt})(),Ge=(()=>{class Tt extends Dt{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[i.Vt3]})}return Tt})(),se=(()=>{class Tt extends te{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",v.L39]},features:[i.Jv_([{provide:te,useExisting:Tt}]),i.Vt3]})}return Tt})(),We=(()=>{class Tt extends ie{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",v.L39]},features:[i.Jv_([{provide:ie,useExisting:Tt}]),i.Vt3]})}return Tt})(),bt=(()=>{class Tt extends P{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[i.Jv_([{provide:P,useExisting:Tt}]),i.Vt3]})}return Tt})(),tn=(()=>{class Tt extends ve{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[i.Jv_([{provide:ve,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),on=(()=>{class Tt extends H{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[i.Jv_([{provide:H,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),un=(()=>{class Tt extends ${static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[i.Jv_([{provide:$,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),Jn=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275mod=i.$C({type:Tt});static \u0275inj=d.G2t({imports:[ei.y,gn,ei.y]})}return Tt})();class Yi extends T.q{_data;_renderData=new e.t([]);_filter=new e.t("");_internalPageChanges=new w.B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(At){At=Array.isArray(At)?At:[],this._data.next(At),this._renderChangesSubscription||this._filterData(At)}get filter(){return this._filter.value}set filter(At){this._filter.next(At),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(At){this._sort=At,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(At){this._paginator=At,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(At,we)=>{const ae=At[we];if((0,kn.o1)(ae)){const Lt=Number(ae);return Lt<9007199254740991?Lt:ae}return ae};sortData=(At,we)=>{const ae=we.active,Lt=we.direction;return ae&&""!=Lt?At.sort((Ht,_n)=>{let fi=this.sortingDataAccessor(Ht,ae),bi=this.sortingDataAccessor(_n,ae);const Qi=typeof fi,zi=typeof bi;Qi!==zi&&("number"===Qi&&(fi+=""),"number"===zi&&(bi+=""));let It=0;return null!=fi&&null!=bi?fi>bi?It=1:fi{const ae=we.trim().toLowerCase();return Object.values(At).some(Lt=>`${Lt}`.toLowerCase().includes(ae))};constructor(At=[]){super(),this._data=new e.t(At),this._updateChangeSubscription()}_updateChangeSubscription(){const At=this._sort?(0,vi.h)(this._sort.sortChange,this._sort.initialized):(0,f.of)(null),we=this._paginator?(0,vi.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,f.of)(null),Lt=(0,Ni.z)([this._data,this._filter]).pipe((0,Ri.T)(([fi])=>this._filterData(fi))),Ht=(0,Ni.z)([Lt,At]).pipe((0,Ri.T)(([fi])=>this._orderData(fi))),_n=(0,Ni.z)([Ht,we]).pipe((0,Ri.T)(([fi])=>this._pageData(fi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=_n.subscribe(fi=>this._renderData.next(fi))}_filterData(At){return this.filteredData=null==this.filter||""===this.filter?At:At.filter(we=>this.filterPredicate(we,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(At){return this.sort?this.sortData(At.slice(),this.sort):At}_pageData(At){if(!this.paginator)return At;const we=this.paginator.pageIndex*this.paginator.pageSize;return At.slice(we,we+this.paginator.pageSize)}_updatePaginator(At){Promise.resolve().then(()=>{const we=this.paginator;if(we&&(we.length=At,we.pageIndex>0)){const ae=Math.ceil(we.length/we.pageSize)-1||0,Lt=Math.min(we.pageIndex,ae);Lt!==we.pageIndex&&(we.pageIndex=Lt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850(Zt,pe,l){"use strict";l.d(pe,{Bu:()=>ge,ES:()=>Ft,Ql:()=>N,RI:()=>Me,T8:()=>ke,hQ:()=>Z,mq:()=>Qn});var i=l(6838),d=l(9726),v=l(4123),T=l(1577),w=l(7336),e=l(438),O=l(3610),f=l(9842),u=l(5718),L=l(2615),C=l(3664),B=l(7705),A=l(9295),Pe=l(1985),le=l(1413),Ce=l(4412),Ae=l(8359),j=l(7786),W=l(7673),G=l(1807),re=l(983),xe=l(152),Ee=l(5964),V=l(5245),ce=l(9172),be=l(5558),ne=l(6977),J=l(1804),De=l(6939),Re=l(8968),Xe=l(2046),_e=l(2318),he=l(2496),Dt=l(2466);const lt=["*"];function Le(qe,pn){1&qe&&C.SdG(0)}const te=["tabListContainer"],ie=["tabList"],P=["tabListInner"],F=["nextPaginator"],ve=["previousPaginator"],H=["content"];function $(qe,pn){}const Ke=["tabBodyWrapper"],Vt=["tabHeader"];function St(qe,pn){}function ot(qe,pn){if(1&qe&&C.DNE(0,St,0,0,"ng-template",12),2&qe){const Je=C.XpG().$implicit;C.Y8G("cdkPortalOutlet",Je.templateLabel)}}function nt(qe,pn){if(1&qe&&C.EFF(0),2&qe){const Je=C.XpG().$implicit;C.JRh(Je.textLabel)}}function ht(qe,pn){if(1&qe){const Je=C.RV6();C.j41(0,"div",7,2),C.bIt("click",function(){const ut=L.eBV(Je),Ge=ut.$implicit,Ot=ut.$index,se=C.XpG(),We=C.sdS(1);return L.Njj(se._handleClick(Ge,We,Ot))})("cdkFocusChange",function(ut){const Ge=L.eBV(Je).$index,Ot=C.XpG();return L.Njj(Ot._tabFocusChanged(ut,Ge))}),C.nrm(2,"span",8)(3,"div",9),C.j41(4,"span",10)(5,"span",11),C.nVh(6,ot,1,1,null,12)(7,nt,1,1),C.k0s()()()}if(2&qe){const Je=pn.$implicit,Be=pn.$index,ut=C.sdS(1),Ge=C.XpG();C.HbH(Je.labelClass),C.AVh("mdc-tab--active",Ge.selectedIndex===Be),C.Y8G("id",Ge._getTabLabelId(Je,Be))("disabled",Je.disabled)("fitInkBarToContent",Ge.fitInkBarToContent),C.BMQ("tabIndex",Ge._getTabIndex(Be))("aria-posinset",Be+1)("aria-setsize",Ge._tabs.length)("aria-controls",Ge._getTabContentId(Be))("aria-selected",Ge.selectedIndex===Be)("aria-label",Je.ariaLabel||null)("aria-labelledby",!Je.ariaLabel&&Je.ariaLabelledby?Je.ariaLabelledby:null),C.R7$(3),C.Y8G("matRippleTrigger",ut)("matRippleDisabled",Je.disabled||Ge.disableRipple),C.R7$(3),C.vxM(Je.templateLabel?6:7)}}function oe(qe,pn){1&qe&&C.SdG(0)}function Ye(qe,pn){if(1&qe){const Je=C.RV6();C.j41(0,"mat-tab-body",13),C.bIt("_onCentered",function(){L.eBV(Je);const ut=C.XpG();return L.Njj(ut._removeTabBodyWrapperHeight())})("_onCentering",function(ut){L.eBV(Je);const Ge=C.XpG();return L.Njj(Ge._setTabBodyWrapperHeight(ut))})("_beforeCentering",function(ut){L.eBV(Je);const Ge=C.XpG();return L.Njj(Ge._bodyCentered(ut))}),C.k0s()}if(2&qe){const Je=pn.$implicit,Be=pn.$index,ut=C.XpG();C.HbH(Je.bodyClass),C.Y8G("id",ut._getTabContentId(Be))("content",Je.content)("position",Je.position)("animationDuration",ut.animationDuration)("preserveContent",ut.preserveContent),C.BMQ("tabindex",null!=ut.contentTabIndex&&ut.selectedIndex===Be?ut.contentTabIndex:null)("aria-labelledby",ut._getTabLabelId(Je,Be))("aria-hidden",ut.selectedIndex!==Be)}}const fe=["mat-tab-nav-bar",""],Qe=["mat-tab-link",""],gt=new L.nKC("MatTabContent");let Gt=(()=>{class qe{template=(0,L.WQX)(C.C4Q);constructor(){}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,selectors:[["","matTabContent",""]],features:[C.Jv_([{provide:gt,useExisting:qe}])]})}return qe})();const rt=new L.nKC("MatTabLabel"),cn=new L.nKC("MAT_TAB");let Ft=(()=>{class qe extends De.bV{_closestTab=(0,L.WQX)(cn,{optional:!0});static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275dir=C.FsC({type:qe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[C.Jv_([{provide:rt,useExisting:qe}]),C.Vt3]})}return qe})();const Sn=new L.nKC("MAT_TAB_GROUP");let Qn=(()=>{class qe{_viewContainerRef=(0,L.WQX)(C.c1b);_closestTabGroup=(0,L.WQX)(Sn,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(Je){this._setTemplateLabelInput(Je)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new le.B;position=null;origin=null;isActive=!1;constructor(){(0,L.WQX)(Re.l).load(Xe.A)}ngOnChanges(Je){(Je.hasOwnProperty("textLabel")||Je.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new De.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Je){Je&&Je._closestTab===this&&(this._templateLabel=Je)}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab"]],contentQueries:function(Be,ut,Ge){if(1&Be&&(C.wni(Ge,Ft,5),C.wni(Ge,Gt,7,C.C4Q)),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut.templateLabel=Ot.first),C.mGM(Ot=C.lsd())&&(ut._explicitContent=Ot.first)}},viewQuery:function(Be,ut){if(1&Be&&C.GBs(C.C4Q,7),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._implicitContent=Ge.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(Be,ut){2&Be&&C.BMQ("id",null)},inputs:{disabled:[2,"disabled","disabled",B.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[C.Jv_([{provide:cn,useExisting:qe}]),C.OA$],ngContentSelectors:lt,decls:1,vars:0,template:function(Be,ut){1&Be&&(C.NAR(),C.PeT(0,Le,1,0,"ng-template"))},encapsulation:2})}return qe})();const h="mdc-tab-indicator--active",jt="mdc-tab-indicator--no-transition";class Ue{_items;_currentItem;constructor(pn){this._items=pn}hide(){this._items.forEach(pn=>pn.deactivateInkBar()),this._currentItem=void 0}alignToElement(pn){const Je=this._items.find(ut=>ut.elementRef.nativeElement===pn),Be=this._currentItem;if(Je!==Be&&(Be?.deactivateInkBar(),Je)){const ut=Be?.elementRef.nativeElement.getBoundingClientRect?.();Je.activateInkBar(ut),this._currentItem=Je}}}let wt=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Je){this._fitToContent!==Je&&(this._fitToContent=Je,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Je){const Be=this._elementRef.nativeElement;if(!Je||!Be.getBoundingClientRect||!this._inkBarContentElement)return void Be.classList.add(h);const ut=Be.getBoundingClientRect(),Ge=Je.width/ut.width,Ot=Je.left-ut.left;Be.classList.add(jt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ot}px) scaleX(${Ge})`),Be.getBoundingClientRect(),Be.classList.remove(jt),Be.classList.add(h),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(h)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Je=this._elementRef.nativeElement.ownerDocument||document,Be=this._inkBarElement=Je.createElement("span"),ut=this._inkBarContentElement=Je.createElement("span");Be.className="mdc-tab-indicator",ut.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Be.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B.L39]}})}return qe})(),gn=(()=>{class qe extends wt{elementRef=(0,L.WQX)(C.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275dir=C.FsC({type:qe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Be,ut){2&Be&&(C.BMQ("aria-disabled",!!ut.disabled),C.AVh("mat-mdc-tab-disabled",ut.disabled))},inputs:{disabled:[2,"disabled","disabled",B.L39]},features:[C.Vt3]})}return qe})();const ei={passive:!0};let kn=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_changeDetectorRef=(0,L.WQX)(B.gRc);_viewportRuler=(0,L.WQX)(u.Xj);_dir=(0,L.WQX)(T.dS,{optional:!0});_ngZone=(0,L.WQX)(C.SKi);_platform=(0,L.WQX)(f.O);_sharedResizeObserver=(0,L.WQX)(O.a);_injector=(0,L.WQX)(L.zZn);_renderer=(0,L.WQX)(C.sFG);_animationsDisabled=(0,J.Rc)();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new le.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new le.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Je){const Be=isNaN(Je)?0:Je;this._selectedIndex!=Be&&(this._selectedIndexChanged=!0,this._selectedIndex=Be,this._keyManager&&this._keyManager.updateActiveItem(Be))}_selectedIndex=0;selectFocusedIndex=new C.bkB;indexFocused=new C.bkB;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),ei),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),ei))}ngAfterContentInit(){const Je=this._dir?this._dir.change:(0,W.of)("ltr"),Be=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe((0,xe.B)(32),(0,ne.Q)(this._destroyed)),ut=this._viewportRuler.change(150).pipe((0,ne.Q)(this._destroyed)),Ge=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new v.B(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),(0,C.mal)(Ge,{injector:this._injector}),(0,j.h)(Je,ut,Be,this._items.changes,this._itemsResized()).pipe((0,ne.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ge()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ot=>{this.indexFocused.emit(Ot),this._setTabFocus(Ot)})}_itemsResized(){return"function"!=typeof ResizeObserver?re.w:this._items.changes.pipe((0,ce.Z)(this._items),(0,be.n)(Je=>new Pe.c(Be=>this._ngZone.runOutsideAngular(()=>{const ut=new ResizeObserver(Ge=>Be.next(Ge));return Je.forEach(Ge=>ut.observe(Ge.elementRef.nativeElement)),()=>{ut.disconnect()}}))),(0,V.i)(1),(0,Ee.p)(Je=>Je.some(Be=>Be.contentRect.width>0&&Be.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(Je=>Je()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Je){if(!(0,w.rp)(Je))switch(Je.keyCode){case e.Fm:case e.t6:if(this.focusIndex!==this.selectedIndex){const Be=this._items.get(this.focusIndex);Be&&!Be.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Je))}break;default:this._keyManager?.onKeydown(Je)}}_onContentChanges(){const Je=this._elementRef.nativeElement.textContent;Je!==this._currentTextContent&&(this._currentTextContent=Je||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Je){!this._isValidIndex(Je)||this.focusIndex===Je||!this._keyManager||this._keyManager.setActiveItem(Je)}_isValidIndex(Je){return!this._items||!!this._items.toArray()[Je]}_setTabFocus(Je){if(this._showPaginationControls&&this._scrollToLabel(Je),this._items&&this._items.length){this._items.toArray()[Je].focus();const Be=this._tabListContainer.nativeElement;Be.scrollLeft="ltr"==this._getLayoutDirection()?0:Be.scrollWidth-Be.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Je=this.scrollDistance,Be="ltr"===this._getLayoutDirection()?-Je:Je;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Be)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Je){this._scrollTo(Je)}_scrollHeader(Je){return this._scrollTo(this._scrollDistance+("before"==Je?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Je){this._stopInterval(),this._scrollHeader(Je)}_scrollToLabel(Je){if(this.disablePagination)return;const Be=this._items?this._items.toArray()[Je]:null;if(!Be)return;const ut=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ge,offsetWidth:Ot}=Be.elementRef.nativeElement;let se,We;"ltr"==this._getLayoutDirection()?(se=Ge,We=se+Ot):(We=this._tabListInner.nativeElement.offsetWidth-Ge,se=We-Ot);const bt=this.scrollDistance,tn=this.scrollDistance+ut;setn&&(this.scrollDistance+=Math.min(We-tn,se-bt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ut=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;ut||(this.scrollDistance=0),ut!==this._showPaginationControls&&(this._showPaginationControls=ut,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Je=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Be=Je?Je.elementRef.nativeElement:null;Be?this._inkBar.alignToElement(Be):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Je,Be){Be&&null!=Be.button&&0!==Be.button||(this._stopInterval(),(0,G.O)(650,100).pipe((0,ne.Q)((0,j.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ut,distance:Ge}=this._scrollHeader(Je);(0===Ge||Ge>=ut)&&this._stopInterval()}))}_scrollTo(Je){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Be=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Be,Je)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Be,distance:this._scrollDistance}}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,inputs:{disablePagination:[2,"disablePagination","disablePagination",B.L39],selectedIndex:[2,"selectedIndex","selectedIndex",B.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return qe})(),Ri=(()=>{class qe extends kn{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Ue(this._items),super.ngAfterContentInit()}_itemSelected(Je){Je.preventDefault()}static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-header"]],contentQueries:function(Be,ut,Ge){if(1&Be&&C.wni(Ge,gn,4),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut._items=Ot)}},viewQuery:function(Be,ut){if(1&Be&&(C.GBs(te,7),C.GBs(ie,7),C.GBs(P,7),C.GBs(F,5),C.GBs(ve,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._tabListContainer=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabList=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabListInner=Ge.first),C.mGM(Ge=C.lsd())&&(ut._nextPaginator=Ge.first),C.mGM(Ge=C.lsd())&&(ut._previousPaginator=Ge.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Be,ut){2&Be&&C.AVh("mat-mdc-tab-header-pagination-controls-enabled",ut._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ut._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",B.L39]},features:[C.Vt3],ngContentSelectors:lt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(Be,ut){if(1&Be){const Ge=C.RV6();C.NAR(),C.j41(0,"div",5,0),C.bIt("click",function(){return L.eBV(Ge),L.Njj(ut._handlePaginatorClick("before"))})("mousedown",function(se){return L.eBV(Ge),L.Njj(ut._handlePaginatorPress("before",se))})("touchend",function(){return L.eBV(Ge),L.Njj(ut._stopInterval())}),C.nrm(2,"div",6),C.k0s(),C.j41(3,"div",7,1),C.bIt("keydown",function(se){return L.eBV(Ge),L.Njj(ut._handleKeydown(se))}),C.j41(5,"div",8,2),C.bIt("cdkObserveContent",function(){return L.eBV(Ge),L.Njj(ut._onContentChanges())}),C.j41(7,"div",9,3),C.SdG(9),C.k0s()()(),C.j41(10,"div",10,4),C.bIt("mousedown",function(se){return L.eBV(Ge),L.Njj(ut._handlePaginatorPress("after",se))})("click",function(){return L.eBV(Ge),L.Njj(ut._handlePaginatorClick("after"))})("touchend",function(){return L.eBV(Ge),L.Njj(ut._stopInterval())}),C.nrm(12,"div",6),C.k0s()}2&Be&&(C.AVh("mat-mdc-tab-header-pagination-disabled",ut._disableScrollBefore),C.Y8G("matRippleDisabled",ut._disableScrollBefore||ut.disableRipple),C.R7$(3),C.AVh("_mat-animation-noopable",ut._animationsDisabled),C.R7$(2),C.BMQ("aria-label",ut.ariaLabel||null)("aria-labelledby",ut.ariaLabelledby||null),C.R7$(5),C.AVh("mat-mdc-tab-header-pagination-disabled",ut._disableScrollAfter),C.Y8G("matRippleDisabled",ut._disableScrollAfter||ut.disableRipple))},dependencies:[he.r6,_e.Wv],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],encapsulation:2})}return qe})();const vt=new L.nKC("MAT_TABS_CONFIG");let ee=(()=>{class qe extends De.I3{_host=(0,L.WQX)(ye);_ngZone=(0,L.WQX)(C.SKi);_centeringSub=Ae.yU.EMPTY;_leavingSub=Ae.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ce.Z)(this._host._isCenterPosition())).subscribe(Je=>{this._host._content&&Je&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,selectors:[["","matTabBodyHost",""]],features:[C.Vt3]})}return qe})(),ye=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_dir=(0,L.WQX)(T.dS,{optional:!0});_ngZone=(0,L.WQX)(C.SKi);_injector=(0,L.WQX)(L.zZn);_renderer=(0,L.WQX)(C.sFG);_diAnimationsDisabled=(0,J.Rc)();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=Ae.yU.EMPTY;_position;_previousPosition;_onCentering=new C.bkB;_beforeCentering=new C.bkB;_afterLeavingCenter=new C.bkB;_onCentered=new C.bkB(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(Je){this._positionIndex=Je,this._computePositionAnimationState()}constructor(){if(this._dir){const Je=(0,L.WQX)(B.gRc);this._dirChangeSubscription=this._dir.change.subscribe(Be=>{this._computePositionAnimationState(Be),Je.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),"center"===this._position&&(this._setActiveClass(!0),(0,C.mal)(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(Je=>Je()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{const Je=this._elementRef.nativeElement,Be=ut=>{ut.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),"transitionend"===ut.type&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(Je,"transitionstart",ut=>{ut.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(Je,"transitionend",Be),this._renderer.listen(Je,"transitioncancel",Be)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);const Je="center"===this._position;this._beforeCentering.emit(Je),Je&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){"center"===this._position?this._onCentered.emit():"center"===this._previousPosition&&this._afterLeavingCenter.emit()}_setActiveClass(Je){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",Je)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(){return 0===this._positionIndex}_computePositionAnimationState(Je=this._getLayoutDirection()){this._previousPosition=this._position,this._position=this._positionIndex<0?"ltr"==Je?"left":"right":this._positionIndex>0?"ltr"==Je?"right":"left":"center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&("center"===this._position||"center"===this._previousPosition)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),(0,C.mal)(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||"0ms"===this.animationDuration||"0s"===this.animationDuration}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-body"]],viewQuery:function(Be,ut){if(1&Be&&(C.GBs(ee,5),C.GBs(H,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._portalHost=Ge.first),C.mGM(Ge=C.lsd())&&(ut._contentElement=Ge.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(Be,ut){2&Be&&C.BMQ("inert","center"===ut._position?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Be,ut){1&Be&&(C.j41(0,"div",1,0),C.DNE(2,$,0,0,"ng-template",2),C.k0s()),2&Be&&C.AVh("mat-tab-body-content-left","left"===ut._position)("mat-tab-body-content-right","right"===ut._position)("mat-tab-body-content-can-animate","center"===ut._position||"center"===ut._previousPosition)},dependencies:[ee,u.uv],styles:[".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}\n"],encapsulation:2})}return qe})(),ke=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_changeDetectorRef=(0,L.WQX)(B.gRc);_ngZone=(0,L.WQX)(C.SKi);_tabsSubscription=Ae.yU.EMPTY;_tabLabelSubscription=Ae.yU.EMPTY;_tabBodySubscription=Ae.yU.EMPTY;_diAnimationsDisabled=(0,J.Rc)();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new C.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Je){this._fitInkBarToContent=Je,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Je){this._indexToSelect=isNaN(Je)?null:Je}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(Je){const Be=Je+"";this._animationDuration=/^\d+$/.test(Be)?Je+"ms":Be}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Je){this._contentTabIndex=isNaN(Je)?null:Je}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(Je){const Be=this._elementRef.nativeElement.classList;Be.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Je&&Be.add("mat-tabs-with-background",`mat-background-${Je}`),this._backgroundColor=Je}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new C.bkB;focusChange=new C.bkB;animationDone=new C.bkB;selectedTabChange=new C.bkB(!0);_groupId;_isServer=!(0,L.WQX)(f.O).isBrowser;constructor(){const Je=(0,L.WQX)(vt,{optional:!0});this._groupId=(0,L.WQX)(d.g).getId("mat-tab-group-"),this.animationDuration=Je&&Je.animationDuration?Je.animationDuration:"500ms",this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.dynamicHeight=!(!Je||null==Je.dynamicHeight)&&Je.dynamicHeight,null!=Je?.contentTabIndex&&(this.contentTabIndex=Je.contentTabIndex),this.preserveContent=!!Je?.preserveContent,this.fitInkBarToContent=!(!Je||null==Je.fitInkBarToContent)&&Je.fitInkBarToContent,this.stretchTabs=!Je||null==Je.stretchTabs||Je.stretchTabs,this.alignTabs=Je&&null!=Je.alignTabs?Je.alignTabs:null}ngAfterContentChecked(){const Je=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Je){const Be=null==this._selectedIndex;if(!Be){this.selectedTabChange.emit(this._createChangeEvent(Je));const ut=this._tabBodyWrapper.nativeElement;ut.style.minHeight=ut.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ut,Ge)=>ut.isActive=Ge===Je),Be||(this.selectedIndexChange.emit(Je),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Be,ut)=>{Be.position=ut-Je,null!=this._selectedIndex&&0==Be.position&&!Be.origin&&(Be.origin=Je-this._selectedIndex)}),this._selectedIndex!==Je&&(this._selectedIndex=Je,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Je=this._clampTabIndex(this._indexToSelect);if(Je===this._selectedIndex){const Be=this._tabs.toArray();let ut;for(let Ge=0;Ge{Be[Je].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Je))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ce.Z)(this._allTabs)).subscribe(Je=>{this._tabs.reset(Je.filter(Be=>Be._closestTabGroup===this||!Be._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Je){const Be=this._tabHeader;Be&&(Be.focusIndex=Je)}_focusChanged(Je){this._lastFocusedTabIndex=Je,this.focusChange.emit(this._createChangeEvent(Je))}_createChangeEvent(Je){const Be=new Se;return Be.index=Je,this._tabs&&this._tabs.length&&(Be.tab=this._tabs.toArray()[Je]),Be}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,j.h)(...this._tabs.map(Je=>Je._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Je){return Math.min(this._tabs.length-1,Math.max(Je||0,0))}_getTabLabelId(Je,Be){return Je.id||`${this._groupId}-label-${Be}`}_getTabContentId(Je){return`${this._groupId}-content-${Je}`}_setTabBodyWrapperHeight(Je){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return void(this._tabBodyWrapperHeight=Je);const Be=this._tabBodyWrapper.nativeElement;Be.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Be.style.height=Je+"px")}_removeTabBodyWrapperHeight(){const Je=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Je.clientHeight,Je.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(Je,Be,ut){Be.focusIndex=ut,Je.disabled||(this.selectedIndex=ut)}_getTabIndex(Je){return Je===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Je,Be){Je&&"mouse"!==Je&&"touch"!==Je&&(this._tabHeader.focusIndex=Be)}_bodyCentered(Je){Je&&this._tabBodies?.forEach((Be,ut)=>Be._setActiveClass(ut===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||"0"===this.animationDuration||"0ms"===this.animationDuration}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-group"]],contentQueries:function(Be,ut,Ge){if(1&Be&&C.wni(Ge,Qn,5),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut._allTabs=Ot)}},viewQuery:function(Be,ut){if(1&Be&&(C.GBs(Ke,5),C.GBs(Vt,5),C.GBs(ye,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._tabBodyWrapper=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabHeader=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabBodies=Ge)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(Be,ut){2&Be&&(C.BMQ("mat-align-tabs",ut.alignTabs),C.HbH("mat-"+(ut.color||"primary")),C.xc7("--mat-tab-animation-duration",ut.animationDuration),C.AVh("mat-mdc-tab-group-dynamic-height",ut.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ut.headerPosition)("mat-mdc-tab-group-stretch-tabs",ut.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",B.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",B.L39],selectedIndex:[2,"selectedIndex","selectedIndex",B.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",B.Udg],disablePagination:[2,"disablePagination","disablePagination",B.L39],disableRipple:[2,"disableRipple","disableRipple",B.L39],preserveContent:[2,"preserveContent","preserveContent",B.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[C.Jv_([{provide:Sn,useExisting:qe}])],ngContentSelectors:lt,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(Be,ut){if(1&Be){const Ge=C.RV6();C.NAR(),C.j41(0,"mat-tab-header",3,0),C.bIt("indexFocused",function(se){return L.eBV(Ge),L.Njj(ut._focusChanged(se))})("selectFocusedIndex",function(se){return L.eBV(Ge),L.Njj(ut.selectedIndex=se)}),C.Z7z(2,ht,8,17,"div",4,C.fX1),C.k0s(),C.nVh(4,oe,1,0),C.j41(5,"div",5,1),C.Z7z(7,Ye,1,10,"mat-tab-body",6,C.fX1),C.k0s()}2&Be&&(C.Y8G("selectedIndex",ut.selectedIndex||0)("disableRipple",ut.disableRipple)("disablePagination",ut.disablePagination),C.jOp("aria-label",ut.ariaLabel)("aria-labelledby",ut.ariaLabelledby),C.R7$(2),C.Dyx(ut._tabs),C.R7$(2),C.vxM(ut._isServer?4:-1),C.R7$(),C.AVh("_mat-animation-noopable",ut._animationsDisabled()),C.R7$(2),C.Dyx(ut._tabs))},dependencies:[Ri,gn,i.vR,he.r6,De.I3,ye],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],encapsulation:2})}return qe})();class Se{index;tab}let ge=(()=>{class qe extends kn{_focusedItem=(0,L.vPA)(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Je){this._fitInkBarToContent.next(Je),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new Ce.t(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(Je){const Be=Je+"";this._animationDuration=/^\d+$/.test(Be)?Je+"ms":Be}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(Je){const Be=this._elementRef.nativeElement.classList;Be.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Je&&Be.add("mat-tabs-with-background",`mat-background-${Je}`),this._backgroundColor=Je}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(Je){this._disableRipple.set(Je)}_disableRipple=(0,L.vPA)(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){const Je=(0,L.WQX)(vt,{optional:!0});super(),this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.fitInkBarToContent=!(!Je||null==Je.fitInkBarToContent)&&Je.fitInkBarToContent,this.stretchTabs=!Je||null==Je.stretchTabs||Je.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Ue(this._items),this._items.changes.pipe((0,ce.Z)(null),(0,ne.Q)(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe((0,ce.Z)(null),(0,ne.Q)(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Je=this._items.toArray();for(let Be=0;Be.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}\n"],encapsulation:2})}return qe})(),N=(()=>{class qe extends wt{_tabNavBar=(0,L.WQX)(ge);elementRef=(0,L.WQX)(C.aKT);_focusMonitor=(0,L.WQX)(i.FN);_destroyed=new le.B;_isActive=!1;_tabIndex=(0,A.EW)(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(Je){Je!==this._isActive&&(this._isActive=Je,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(Je){this._disableRipple.set(Je)}_disableRipple=(0,L.vPA)(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=(0,L.WQX)(d.g).getId("mat-tab-link-");constructor(){super(),(0,L.WQX)(Re.l).load(Xe.A);const Je=(0,L.WQX)(he.$E,{optional:!0}),Be=(0,L.WQX)(new B.ES_("tabindex"),{optional:!0});this.rippleConfig=Je||{},this.tabIndex=null==Be?0:parseInt(Be)||0,(0,J.Rc)()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe((0,ne.Q)(this._destroyed)).subscribe(ut=>{this.fitInkBarToContent=ut})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Je){(Je.keyCode===e.t6||Je.keyCode===e.Fm)&&(this.disabled?Je.preventDefault():this._tabNavBar.tabPanel&&(Je.keyCode===e.t6&&Je.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(Be,ut){1&Be&&C.bIt("focus",function(){return ut._handleFocus()})("keydown",function(Ot){return ut._handleKeydown(Ot)}),2&Be&&(C.BMQ("aria-controls",ut._getAriaControls())("aria-current",ut._getAriaCurrent())("aria-disabled",ut.disabled)("aria-selected",ut._getAriaSelected())("id",ut.id)("tabIndex",ut._tabIndex())("role",ut._getRole()),C.AVh("mat-mdc-tab-disabled",ut.disabled)("mdc-tab--active",ut.active))},inputs:{active:[2,"active","active",B.L39],disabled:[2,"disabled","disabled",B.L39],disableRipple:[2,"disableRipple","disableRipple",B.L39],tabIndex:[2,"tabIndex","tabIndex",Je=>null==Je?0:(0,B.Udg)(Je)],id:"id"},exportAs:["matTabLink"],features:[C.Vt3],attrs:Qe,ngContentSelectors:lt,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(Be,ut){1&Be&&(C.NAR(),C.nrm(0,"span",0)(1,"div",1),C.j41(2,"span",2)(3,"span",3),C.SdG(4),C.k0s()()),2&Be&&(C.R7$(),C.Y8G("matRippleTrigger",ut.elementRef.nativeElement)("matRippleDisabled",ut.rippleDisabled))},dependencies:[he.r6],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],encapsulation:2,changeDetection:0})}return qe})(),Z=(()=>{class qe{id=(0,L.WQX)(d.g).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Be,ut){2&Be&&C.BMQ("aria-labelledby",ut._activeTabId)("id",ut.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:lt,decls:1,vars:0,template:function(Be,ut){1&Be&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return qe})(),Me=(()=>{class qe{static \u0275fac=function(Be){return new(Be||qe)};static \u0275mod=C.$C({type:qe});static \u0275inj=L.G2t({imports:[Dt.y,Dt.y]})}return qe})()},5911(Zt,pe,l){"use strict";l.d(pe,{KQ:()=>f,s5:()=>L});var i=l(2615),d=l(3664),v=l(9842),T=l(2466);const w=["*",[["mat-toolbar-row"]]],e=["*","mat-toolbar-row"];let O=(()=>{class C{static \u0275fac=function(Pe){return new(Pe||C)};static \u0275dir=d.FsC({type:C,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return C})(),f=(()=>{class C{_elementRef=(0,i.WQX)(d.aKT);_platform=(0,i.WQX)(v.O);_document=(0,i.WQX)(i.qQL);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(Pe){return new(Pe||C)};static \u0275cmp=d.VBU({type:C,selectors:[["mat-toolbar"]],contentQueries:function(Pe,le,Ce){if(1&Pe&&d.wni(Ce,O,5),2&Pe){let Ae;d.mGM(Ae=d.lsd())&&(le._toolbarRows=Ae)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(Pe,le){2&Pe&&(d.HbH(le.color?"mat-"+le.color:""),d.AVh("mat-toolbar-multiple-rows",le._toolbarRows.length>0)("mat-toolbar-single-row",0===le._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:e,decls:2,vars:0,template:function(Pe,le){1&Pe&&(d.NAR(w),d.SdG(0),d.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}\n"],encapsulation:2,changeDetection:0})}return C})(),L=(()=>{class C{static \u0275fac=function(Pe){return new(Pe||C)};static \u0275mod=d.$C({type:C});static \u0275inj=i.G2t({imports:[T.y,T.y]})}return C})()},6156(Zt,pe,l){"use strict";l.d(pe,{u:()=>f});var i=l(2615),d=l(3664),v=l(7094),T=l(9338),w=l(5718),e=l(455),O=l(2466);let f=(()=>{class u{static \u0275fac=function(B){return new(B||u)};static \u0275mod=d.$C({type:u});static \u0275inj=i.G2t({providers:[e.YZ],imports:[v.Pd,T.z_,O.y,O.y,w.Gj]})}return u})()},455(Zt,pe,l){"use strict";l.d(pe,{YZ:()=>ce,oV:()=>lt});var i=l(6977),d=l(4085),v=l(7847),T=l(7336),w=l(438),e=l(2615),O=l(3664),f=l(7705),u=l(2200),L=l(9842),C=l(3300),B=l(8617),A=l(6838),Pe=l(1577),le=l(9338),Ce=l(5718),Ae=l(6939),j=l(1413),W=l(1804);const G=["tooltip"],Ee=new e.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const te=(0,e.WQX)(e.zZn);return()=>(0,le.RH)(te,{scrollThrottle:20})}}),ce={provide:Ee,deps:[],useFactory:function V(te){const ie=(0,e.WQX)(e.zZn);return()=>(0,le.RH)(ie,{scrollThrottle:20})}},ne=new e.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function be(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),De="tooltip-panel",Re=(0,C.B)({passive:!0});let lt=(()=>{class te{_elementRef=(0,e.WQX)(O.aKT);_ngZone=(0,e.WQX)(O.SKi);_platform=(0,e.WQX)(L.O);_ariaDescriber=(0,e.WQX)(B.vr);_focusMonitor=(0,e.WQX)(A.FN);_dir=(0,e.WQX)(Pe.dS);_injector=(0,e.WQX)(e.zZn);_viewContainerRef=(0,e.WQX)(O.c1b);_animationsDisabled=(0,W.Rc)();_defaultOptions=(0,e.WQX)(ne,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Le;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(P){P!==this._position&&(this._position=P,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(P){this._positionAtOrigin=(0,d.he)(P),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(P){const F=(0,d.he)(P);this._disabled!==F&&(this._disabled=F,F?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(P){this._showDelay=(0,v.OE)(P)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(P){this._hideDelay=(0,v.OE)(P),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(P){const F=this._message;this._message=null!=P?String(P).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(F)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(P){this._tooltipClass=P,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new j.B;_isDestroyed=!1;constructor(){const P=this._defaultOptions;P&&(this._showDelay=P.showDelay,this._hideDelay=P.hideDelay,P.position&&(this.position=P.position),P.positionAtOrigin&&(this.positionAtOrigin=P.positionAtOrigin),P.touchGestures&&(this.touchGestures=P.touchGestures),P.tooltipClass&&(this.tooltipClass=P.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,i.Q)(this._destroyed)).subscribe(P=>{P?"keyboard"===P&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const P=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([F,ve])=>{P.removeEventListener(F,ve,Re)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(P,this.message,"tooltip"),this._focusMonitor.stopMonitoring(P)}show(P=this.showDelay,F){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ve=this._createOverlay(F);this._detach(),this._portal=this._portal||new Ae.A8(this._tooltipComponent,this._viewContainerRef);const H=this._tooltipInstance=ve.attach(this._portal).instance;H._triggerElement=this._elementRef.nativeElement,H._mouseLeaveHideDelay=this._hideDelay,H.afterHidden().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),H.show(P)}hide(P=this.hideDelay){const F=this._tooltipInstance;F&&(F.isVisible()?F.hide(P):(F._cancelPendingAnimations(),this._detach()))}toggle(P){this._isTooltipVisible()?this.hide():this.show(void 0,P)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(P){if(this._overlayRef){const $=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!P)&&$._origin instanceof O.aKT)return this._overlayRef;this._detach()}const F=this._injector.get(Ce.R).getAncestorScrollContainers(this._elementRef),ve=`${this._cssClassPrefix}-${De}`,H=(0,le.$M)(this._injector,this.positionAtOrigin&&P||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(F);return H.positionChanges.pipe((0,i.Q)(this._destroyed)).subscribe($=>{this._updateCurrentPositionClass($.connectionPair),this._tooltipInstance&&$.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,le.Y$)(this._injector,{direction:this._dir,positionStrategy:H,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,ve]:ve,scrollStrategy:this._injector.get(Ee)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,i.Q)(this._destroyed)).subscribe($=>{this._isTooltipVisible()&&$.keyCode===w._f&&!(0,T.rp)($)&&($.preventDefault(),$.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,i.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(P){const F=P.getConfig().positionStrategy,ve=this._getOrigin(),H=this._getOverlayPosition();F.withPositions([this._addOffset({...ve.main,...H.main}),this._addOffset({...ve.fallback,...H.fallback})])}_addOffset(P){const ve=!this._dir||"ltr"==this._dir.value;return"top"===P.originY?P.offsetY=-8:"bottom"===P.originY?P.offsetY=8:"start"===P.originX?P.offsetX=ve?-8:8:"end"===P.originX&&(P.offsetX=ve?8:-8),P}_getOrigin(){const P=!this._dir||"ltr"==this._dir.value,F=this.position;let ve;"above"==F||"below"==F?ve={originX:"center",originY:"above"==F?"top":"bottom"}:"before"==F||"left"==F&&P||"right"==F&&!P?ve={originX:"start",originY:"center"}:("after"==F||"right"==F&&P||"left"==F&&!P)&&(ve={originX:"end",originY:"center"});const{x:H,y:$}=this._invertPosition(ve.originX,ve.originY);return{main:ve,fallback:{originX:H,originY:$}}}_getOverlayPosition(){const P=!this._dir||"ltr"==this._dir.value,F=this.position;let ve;"above"==F?ve={overlayX:"center",overlayY:"bottom"}:"below"==F?ve={overlayX:"center",overlayY:"top"}:"before"==F||"left"==F&&P||"right"==F&&!P?ve={overlayX:"end",overlayY:"center"}:("after"==F||"right"==F&&P||"left"==F&&!P)&&(ve={overlayX:"start",overlayY:"center"});const{x:H,y:$}=this._invertPosition(ve.overlayX,ve.overlayY);return{main:ve,fallback:{overlayX:H,overlayY:$}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,O.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(P){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=P,this._tooltipInstance._markForCheck())}_invertPosition(P,F){return"above"===this.position||"below"===this.position?"top"===F?F="bottom":"bottom"===F&&(F="top"):"end"===P?P="start":"start"===P&&(P="end"),{x:P,y:F}}_updateCurrentPositionClass(P){const{overlayY:F,originX:ve,originY:H}=P;let $;if($="center"===F?this._dir&&"rtl"===this._dir.value?"end"===ve?"left":"right":"start"===ve?"left":"right":"bottom"===F&&"top"===H?"above":"below",$!==this._currentPosition){const Ke=this._overlayRef;if(Ke){const Vt=`${this._cssClassPrefix}-${De}-`;Ke.removePanelClass(Vt+this._currentPosition),Ke.addPanelClass(Vt+$)}this._currentPosition=$}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",P=>{let F;this._setupPointerExitEventsIfNeeded(),void 0!==P.x&&void 0!==P.y&&(F=P),this.show(void 0,F)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",P=>{const F=P.targetTouches?.[0],ve=F?{x:F.clientX,y:F.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,ve)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const P=[];if(this._platformSupportsMouseEvents())P.push(["mouseleave",F=>{const ve=F.relatedTarget;(!ve||!this._overlayRef?.overlayElement.contains(ve))&&this.hide()}],["wheel",F=>this._wheelListener(F)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const F=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};P.push(["touchend",F],["touchcancel",F])}this._addListeners(P),this._passiveListeners.push(...P)}_addListeners(P){P.forEach(([F,ve])=>{this._elementRef.nativeElement.addEventListener(F,ve,Re)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(P){if(this._isTooltipVisible()){const F=this._injector.get(e.qQL).elementFromPoint(P.clientX,P.clientY),ve=this._elementRef.nativeElement;F!==ve&&!ve.contains(F)&&this.hide()}}_disableNativeGesturesIfNecessary(){const P=this.touchGestures;if("off"!==P){const F=this._elementRef.nativeElement,ve=F.style;("on"===P||"INPUT"!==F.nodeName&&"TEXTAREA"!==F.nodeName)&&(ve.userSelect=ve.msUserSelect=ve.webkitUserSelect=ve.MozUserSelect="none"),("on"===P||!F.draggable)&&(ve.webkitUserDrag="none"),ve.touchAction="none",ve.webkitTapHighlightColor="transparent"}}_syncAriaDescription(P){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,P,"tooltip"),this._isDestroyed||(0,O.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(F){return new(F||te)};static \u0275dir=O.FsC({type:te,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(F,ve){2&F&&O.AVh("mat-mdc-tooltip-disabled",ve.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return te})(),Le=(()=>{class te{_changeDetectorRef=(0,e.WQX)(f.gRc);_elementRef=(0,e.WQX)(O.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,W.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new j.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(P){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},P)}hide(P){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},P)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:P}){(!P||!this._triggerElement.contains(P))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const P=this._elementRef.nativeElement.getBoundingClientRect();return P.height>24&&P.width>=200}_handleAnimationEnd({animationName:P}){(P===this._showAnimation||P===this._hideAnimation)&&this._finalizeAnimation(P===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(P){P?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(P){const F=this._tooltip.nativeElement,ve=this._showAnimation,H=this._hideAnimation;if(F.classList.remove(P?H:ve),F.classList.add(P?ve:H),this._isVisible!==P&&(this._isVisible=P,this._changeDetectorRef.markForCheck()),P&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const $=getComputedStyle(F);("0s"===$.getPropertyValue("animation-duration")||"none"===$.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}P&&this._onShow(),this._animationsDisabled&&(F.classList.add("_mat-animation-noopable"),this._finalizeAnimation(P))}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=O.VBU({type:te,selectors:[["mat-tooltip-component"]],viewQuery:function(F,ve){if(1&F&&O.GBs(G,7),2&F){let H;O.mGM(H=O.lsd())&&(ve._tooltip=H.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(F,ve){1&F&&O.bIt("mouseleave",function($){return ve._handleMouseLeave($)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(F,ve){if(1&F){const H=O.RV6();O.j41(0,"div",1,0),O.bIt("animationend",function(Ke){return e.eBV(H),e.Njj(ve._handleAnimationEnd(Ke))}),O.j41(2,"div",2),O.EFF(3),O.k0s()()}2&F&&(O.AVh("mdc-tooltip--multiline",ve._isMultiline),O.Y8G("ngClass",ve.tooltipClass),O.R7$(3),O.JRh(ve.message))},dependencies:[u.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],encapsulation:2,changeDetection:0})}return te})()},7358(Zt,pe,l){"use strict";l.d(pe,{Zh:()=>Ee,d6:()=>B,jH:()=>G,lQ:()=>Ae,pO:()=>j,q1:()=>Pe,wx:()=>Ce,yI:()=>A});var d=l(2279),v=l(2615),T=l(3664),w=l(7705),e=l(2466),O=l(4117),f=l(4412),u=l(7786),L=l(6354);let B=(()=>{class V extends d.xn{get tabIndexInputBinding(){return this._tabIndexInputBinding}set tabIndexInputBinding(be){this._tabIndexInputBinding=be}_tabIndexInputBinding;defaultTabIndex=0;_getTabindexAttribute(){return function C(V){return!!V._isNoopTreeKeyManager}(this._tree._keyManager)?this.tabIndexInputBinding:this._tabindex}get disabled(){return this.isDisabled}set disabled(be){this.isDisabled=be}constructor(){super();const be=(0,v.WQX)(new w.ES_("tabindex"),{optional:!0});this.tabIndexInputBinding=Number(be)||this.defaultTabIndex}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:5,hostBindings:function(ne,J){1&ne&&T.bIt("click",function(){return J._focusItem()}),2&ne&&(T.Avn("tabIndex",J._getTabindexAttribute()),T.BMQ("aria-expanded",J._getAriaExpanded())("aria-level",J.level+1)("aria-posinset",J._getPositionInSet())("aria-setsize",J._getSetSize()))},inputs:{tabIndexInputBinding:[2,"tabIndex","tabIndexInputBinding",be=>null==be?0:(0,w.Udg)(be)],disabled:[2,"disabled","disabled",w.L39]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matTreeNode"],features:[T.Jv_([{provide:d.xn,useExisting:V}]),T.Vt3]})}return V})(),A=(()=>{class V extends d.Sz{data;static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},features:[T.Jv_([{provide:d.Sz,useExisting:V}]),T.Vt3]})}return V})(),Pe=(()=>{class V extends d.s3{node;get disabled(){return this.isDisabled}set disabled(be){this.isDisabled=be}get tabIndex(){return this.isDisabled?-1:this._tabIndex}set tabIndex(be){this._tabIndex=be}_tabIndex;ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",w.L39],tabIndex:[2,"tabIndex","tabIndex",be=>null==be?0:(0,w.Udg)(be)]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matNestedTreeNode"],features:[T.Jv_([{provide:d.s3,useExisting:V},{provide:d.xn,useExisting:V},{provide:d.kZ,useExisting:V}]),T.Vt3]})}return V})(),Ce=(()=>{class V{viewContainer=(0,v.WQX)(T.c1b);_node=(0,v.WQX)(d.kZ,{optional:!0});static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeOutlet",""]],features:[T.Jv_([{provide:d.a$,useExisting:V}])]})}return V})(),Ae=(()=>{class V extends d.NL{_nodeOutlet=void 0;static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275cmp=T.VBU({type:V,selectors:[["mat-tree"]],viewQuery:function(ne,J){if(1&ne&&T.GBs(Ce,7),2&ne){let De;T.mGM(De=T.lsd())&&(J._nodeOutlet=De.first)}},hostAttrs:[1,"mat-tree"],exportAs:["matTree"],features:[T.Jv_([{provide:d.NL,useExisting:V}]),T.Vt3],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ne,J){1&ne&&T.eu8(0,0)},dependencies:[Ce],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-sys-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-sys-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-sys-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height, 48px)}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2})}return V})(),j=(()=>{class V extends d.Hy{static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},features:[T.Jv_([{provide:d.Hy,useExisting:V}]),T.Vt3]})}return V})(),G=(()=>{class V{static \u0275fac=function(ne){return new(ne||V)};static \u0275mod=T.$C({type:V});static \u0275inj=v.G2t({imports:[d.Dc,e.y,e.y]})}return V})();class Ee extends O.q{get data(){return this._data.value}set data(ce){this._data.next(ce)}_data=new f.t([]);connect(ce){return(0,u.h)(ce.viewChange,this._data).pipe((0,L.T)(()=>this.data))}disconnect(){}}},3393(Zt,pe,l){"use strict";l.d(pe,{CI:()=>A,EU:()=>O,Hl:()=>T,Q5:()=>e,jd:()=>w,mE:()=>ne});var i=l(2615),d=l(7303),v=l(3664);class T{_doc;constructor(Le){this._doc=Le}manager}let w=(()=>{class lt extends T{constructor(te){super(te)}supports(te){return!0}addEventListener(te,ie,P,F){return te.addEventListener(ie,P,F),()=>this.removeEventListener(te,ie,P,F)}removeEventListener(te,ie,P,F){return te.removeEventListener(ie,P,F)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(i.qQL))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const e=new i.nKC("");let O=(()=>{class lt{_zone;_plugins;_eventNameToPlugin=new Map;constructor(te,ie){this._zone=ie,te.forEach(ve=>{ve.manager=this});const P=te.filter(ve=>!(ve instanceof w));this._plugins=P.slice().reverse();const F=te.find(ve=>ve instanceof w);F&&this._plugins.push(F)}addEventListener(te,ie,P,F){return this._findPluginFor(ie).addEventListener(te,ie,P,F)}getZone(){return this._zone}_findPluginFor(te){let ie=this._eventNameToPlugin.get(te);if(ie)return ie;if(ie=this._plugins.find(F=>F.supports(te)),!ie)throw new i.buA(5101,!1);return this._eventNameToPlugin.set(te,ie),ie}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(e),i.KVO(v.SKi))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const f="ng-app-id";function u(lt){for(const Le of lt)Le.remove()}function L(lt,Le){const te=Le.createElement("style");return te.textContent=lt,te}function B(lt,Le){const te=Le.createElement("link");return te.setAttribute("rel","stylesheet"),te.setAttribute("href",lt),te}let A=(()=>{class lt{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(te,ie,P,F={}){this.doc=te,this.appId=ie,this.nonce=P,function C(lt,Le,te,ie){const P=lt.head?.querySelectorAll(`style[${f}="${Le}"],link[${f}="${Le}"]`);if(P)for(const F of P)F.removeAttribute(f),F instanceof HTMLLinkElement?ie.set(F.href.slice(F.href.lastIndexOf("/")+1),{usage:0,elements:[F]}):F.textContent&&te.set(F.textContent,{usage:0,elements:[F]})}(te,ie,this.inline,this.external),this.hosts.add(te.head)}addStyles(te,ie){for(const P of te)this.addUsage(P,this.inline,L);ie?.forEach(P=>this.addUsage(P,this.external,B))}removeStyles(te,ie){for(const P of te)this.removeUsage(P,this.inline);ie?.forEach(P=>this.removeUsage(P,this.external))}addUsage(te,ie,P){const F=ie.get(te);F?F.usage++:ie.set(te,{usage:1,elements:[...this.hosts].map(ve=>this.addElement(ve,P(te,this.doc)))})}removeUsage(te,ie){const P=ie.get(te);P&&(P.usage--,P.usage<=0&&(u(P.elements),ie.delete(te)))}ngOnDestroy(){for(const[,{elements:te}]of[...this.inline,...this.external])u(te);this.hosts.clear()}addHost(te){this.hosts.add(te);for(const[ie,{elements:P}]of this.inline)P.push(this.addElement(te,L(ie,this.doc)));for(const[ie,{elements:P}]of this.external)P.push(this.addElement(te,B(ie,this.doc)))}removeHost(te){this.hosts.delete(te)}addElement(te,ie){return this.nonce&&ie.setAttribute("nonce",this.nonce),te.appendChild(ie)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(i.qQL),i.KVO(v.sZ2),i.KVO(v.BIS,8),i.KVO(v.Agw))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const Pe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},le=/%COMP%/g,j="%COMP%",W=`_nghost-${j}`,G=`_ngcontent-${j}`,xe=new i.nKC("",{providedIn:"root",factory:()=>!0});function ce(lt,Le){return Le.map(te=>te.replace(le,lt))}let ne=(()=>{class lt{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(te,ie,P,F,ve,H,$=null,Ke=null){this.eventManager=te,this.sharedStylesHost=ie,this.appId=P,this.removeStylesOnCompDestroy=F,this.doc=ve,this.ngZone=H,this.nonce=$,this.tracingService=Ke,this.platformIsServer=!1,this.defaultRenderer=new J(te,ve,H,this.platformIsServer,this.tracingService)}createRenderer(te,ie){if(!te||!ie)return this.defaultRenderer;const P=this.getOrCreateRenderer(te,ie);return P instanceof Dt?P.applyToHost(te):P instanceof he&&P.applyStyles(),P}getOrCreateRenderer(te,ie){const P=this.rendererByCompId;let F=P.get(ie.id);if(!F){const ve=this.doc,H=this.ngZone,$=this.eventManager,Ke=this.sharedStylesHost,Vt=this.removeStylesOnCompDestroy,St=this.platformIsServer,ot=this.tracingService;switch(ie.encapsulation){case v.gXe.Emulated:F=new Dt($,Ke,ie,this.appId,Vt,ve,H,St,ot);break;case v.gXe.ShadowDom:return new _e($,Ke,te,ie,ve,H,this.nonce,St,ot);default:F=new he($,Ke,ie,Vt,ve,H,St,ot)}P.set(ie.id,F)}return F}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(te){this.rendererByCompId.delete(te)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(O),i.KVO(A),i.KVO(v.sZ2),i.KVO(xe),i.KVO(i.qQL),i.KVO(v.SKi),i.KVO(v.BIS),i.KVO(v.a8H,8))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();class J{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Le,te,ie,P,F){this.eventManager=Le,this.doc=te,this.ngZone=ie,this.platformIsServer=P,this.tracingService=F}destroy(){}destroyNode=null;createElement(Le,te){return te?this.doc.createElementNS(Pe[te]||te,Le):this.doc.createElement(Le)}createComment(Le){return this.doc.createComment(Le)}createText(Le){return this.doc.createTextNode(Le)}appendChild(Le,te){(Xe(Le)?Le.content:Le).appendChild(te)}insertBefore(Le,te,ie){Le&&(Xe(Le)?Le.content:Le).insertBefore(te,ie)}removeChild(Le,te){te.remove()}selectRootElement(Le,te){let ie="string"==typeof Le?this.doc.querySelector(Le):Le;if(!ie)throw new i.buA(-5104,!1);return te||(ie.textContent=""),ie}parentNode(Le){return Le.parentNode}nextSibling(Le){return Le.nextSibling}setAttribute(Le,te,ie,P){if(P){te=P+":"+te;const F=Pe[P];F?Le.setAttributeNS(F,te,ie):Le.setAttribute(te,ie)}else Le.setAttribute(te,ie)}removeAttribute(Le,te,ie){if(ie){const P=Pe[ie];P?Le.removeAttributeNS(P,te):Le.removeAttribute(`${ie}:${te}`)}else Le.removeAttribute(te)}addClass(Le,te){Le.classList.add(te)}removeClass(Le,te){Le.classList.remove(te)}setStyle(Le,te,ie,P){P&(v.czy.DashCase|v.czy.Important)?Le.style.setProperty(te,ie,P&v.czy.Important?"important":""):Le.style[te]=ie}removeStyle(Le,te,ie){ie&v.czy.DashCase?Le.style.removeProperty(te):Le.style[te]=""}setProperty(Le,te,ie){null!=Le&&(Le[te]=ie)}setValue(Le,te){Le.nodeValue=te}listen(Le,te,ie,P){if("string"==typeof Le&&!(Le=(0,d.rb)().getGlobalEventTarget(this.doc,Le)))throw new i.buA(5102,!1);let F=this.decoratePreventDefault(ie);return this.tracingService?.wrapEventListener&&(F=this.tracingService.wrapEventListener(Le,te,F)),this.eventManager.addEventListener(Le,te,F,P)}decoratePreventDefault(Le){return te=>{if("__ngUnwrap__"===te)return Le;!1===Le(te)&&te.preventDefault()}}}function Xe(lt){return"TEMPLATE"===lt.tagName&&void 0!==lt.content}class _e extends J{sharedStylesHost;hostEl;shadowRoot;constructor(Le,te,ie,P,F,ve,H,$,Ke){super(Le,F,ve,$,Ke),this.sharedStylesHost=te,this.hostEl=ie,this.shadowRoot=ie.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Vt=P.styles;Vt=ce(P.id,Vt);for(const ot of Vt){const nt=document.createElement("style");H&&nt.setAttribute("nonce",H),nt.textContent=ot,this.shadowRoot.appendChild(nt)}const St=P.getExternalStyles?.();if(St)for(const ot of St){const nt=B(ot,F);H&&nt.setAttribute("nonce",H),this.shadowRoot.appendChild(nt)}}nodeOrShadowRoot(Le){return Le===this.hostEl?this.shadowRoot:Le}appendChild(Le,te){return super.appendChild(this.nodeOrShadowRoot(Le),te)}insertBefore(Le,te,ie){return super.insertBefore(this.nodeOrShadowRoot(Le),te,ie)}removeChild(Le,te){return super.removeChild(null,te)}parentNode(Le){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Le)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class he extends J{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Le,te,ie,P,F,ve,H,$,Ke){super(Le,F,ve,H,$),this.sharedStylesHost=te,this.removeStylesOnCompDestroy=P;let Vt=ie.styles;this.styles=Ke?ce(Ke,Vt):Vt,this.styleUrls=ie.getExternalStyles?.(Ke)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===v.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Dt extends he{contentAttr;hostAttr;constructor(Le,te,ie,P,F,ve,H,$,Ke){const Vt=P+"-"+ie.id;super(Le,te,ie,F,ve,H,$,Ke,Vt),this.contentAttr=function Ee(lt){return G.replace(le,lt)}(Vt),this.hostAttr=function V(lt){return W.replace(le,lt)}(Vt)}applyToHost(Le){this.applyStyles(),this.setAttribute(Le,this.hostAttr,"")}createElement(Le,te){const ie=super.createElement(Le,te);return super.setAttribute(ie,this.contentAttr,""),ie}}},345(Zt,pe,l){"use strict";l.d(pe,{fM:()=>P,hE:()=>ce,up:()=>F});var G=l(2615),re=l(3664),xe=l(3393);let ce=(()=>{class Qe{_doc;constructor(Gt){this._doc=Gt}getTitle(){return this._doc.title}setTitle(Gt){this._doc.title=Gt||""}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();const Dt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},lt=new G.nKC(""),Le=new G.nKC("");let te=(()=>{class Qe{events=[];overrides={};options;buildHammer(Gt){const rt=new Hammer(Gt,this.options);rt.get("pinch").set({enable:!0}),rt.get("rotate").set({enable:!0});for(const cn in this.overrides)rt.get(cn).set(this.overrides[cn]);return rt}static \u0275fac=function(rt){return new(rt||Qe)};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),ie=(()=>{class Qe extends xe.Hl{_config;_injector;loader;_loaderPromise=null;constructor(Gt,rt,cn,Ft){super(Gt),this._config=rt,this._injector=cn,this.loader=Ft}supports(Gt){return!(!Dt.hasOwnProperty(Gt.toLowerCase())&&!this.isCustomEvent(Gt)||!window.Hammer&&!this.loader)}addEventListener(Gt,rt,cn){const Ft=this.manager.getZone();if(rt=rt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ft.runOutsideAngular(()=>this.loader());let Sn=!1,Qn=()=>{Sn=!0};return Ft.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Sn||(Qn=this.addEventListener(Gt,rt,cn)):Qn=()=>{}}).catch(()=>{Qn=()=>{}})),()=>{Qn()}}return Ft.runOutsideAngular(()=>{const Sn=this._config.buildHammer(Gt),Qn=function(h){Ft.runGuarded(function(){cn(h)})};return Sn.on(rt,Qn),()=>{Sn.off(rt,Qn),"function"==typeof Sn.destroy&&Sn.destroy()}})}isCustomEvent(Gt){return this._config.events.indexOf(Gt)>-1}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL),G.KVO(lt),G.KVO(G.zZn),G.KVO(Le,8))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),P=(()=>{class Qe{static \u0275fac=function(rt){return new(rt||Qe)};static \u0275mod=re.$C({type:Qe});static \u0275inj=G.G2t({providers:[{provide:xe.Q5,useClass:ie,multi:!0,deps:[G.qQL,lt,G.zZn,[new re.Xx1,Le]]},{provide:lt,useClass:te}]})}return Qe})(),F=(()=>{class Qe{static \u0275fac=function(rt){return new(rt||Qe)};static \u0275prov=G.jDH({token:Qe,factory:function(rt){let cn=null;return cn=rt?new(rt||Qe):G.KVO(ve),cn},providedIn:"root"})}return Qe})(),ve=(()=>{class Qe extends F{_doc;constructor(Gt){super(),this._doc=Gt}sanitize(Gt,rt){if(null==rt)return null;switch(Gt){case re.WPN.NONE:return rt;case re.WPN.HTML:return(0,re.iWE)(rt,"HTML")?(0,re.aCM)(rt):(0,re.wr$)(this._doc,String(rt)).toString();case re.WPN.STYLE:return(0,re.iWE)(rt,"Style")?(0,re.aCM)(rt):rt;case re.WPN.SCRIPT:if((0,re.iWE)(rt,"Script"))return(0,re.aCM)(rt);throw new G.buA(5200,!1);case re.WPN.URL:return(0,re.iWE)(rt,"URL")?(0,re.aCM)(rt):(0,re.gil)(String(rt));case re.WPN.RESOURCE_URL:if((0,re.iWE)(rt,"ResourceURL"))return(0,re.aCM)(rt);throw new G.buA(5201,!1);default:throw new G.buA(5202,!1)}}bypassSecurityTrustHtml(Gt){return(0,re.PYC)(Gt)}bypassSecurityTrustStyle(Gt){return(0,re.rAh)(Gt)}bypassSecurityTrustScript(Gt){return(0,re.p2i)(Gt)}bypassSecurityTrustUrl(Gt){return(0,re.B1s)(Gt)}bypassSecurityTrustResourceUrl(Gt){return(0,re.RPW)(Gt)}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})()},3694(Zt,pe,l){"use strict";l.d(pe,{nX:()=>Ze,Pu:()=>io,Zp:()=>Jt,nU:()=>Ni,wU:()=>Un,c1:()=>fr,XR:()=>Wr,j5:()=>Vn,wF:()=>rn,L6:()=>Bn,lW:()=>ii,mo:()=>Mn,Z:()=>ci,J2:()=>ao,J_:()=>So,bw:()=>fo,gx:()=>qt,tD:()=>zo,Ix:()=>Wo,D$:()=>To,n3:()=>hr,OY:()=>da,Sd:()=>vi,bK:()=>Ys,gk:()=>Ll,Lg:()=>Dr,wO:()=>un,Us:()=>oi,we:()=>pr});var i=l(2615),d=l(7303),v=l(3664),T=l(7705),w=l(9295),e=l(4402),O=l(2806),f=l(7673),u=l(4412),L=l(4572),C=l(9350),B=l(8793),A=l(9030),Pe=l(1203),le=l(8810),Ce=l(983),Ae=l(17),j=l(1413),W=l(1985),G=l(8359),re=l(6354),xe=l(5558),Ee=l(6697),V=l(9172),ce=l(5964),be=l(1397),ne=l(1594),J=l(274),De=l(8141),Re=l(9437),Xe=l(1943),_e=l(9901),he=l(9974),Dt=l(4360);function lt(X){return X<=0?()=>Ce.w:(0,he.N)((de,Q)=>{let me=[];de.subscribe((0,Dt._)(Q,et=>{me.push(et),X{for(const et of me)Q.next(et);Q.complete()},void 0,()=>{me=null}))})}var Le=l(3774),te=l(3669),P=l(980),F=l(9898),ve=l(6977),H=l(345);const $="primary",Ke=Symbol("RouteTitle");class Vt{params;constructor(de){this.params=de||{}}has(de){return Object.prototype.hasOwnProperty.call(this.params,de)}get(de){if(this.has(de)){const Q=this.params[de];return Array.isArray(Q)?Q[0]:Q}return null}getAll(de){if(this.has(de)){const Q=this.params[de];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function St(X){return new Vt(X)}function ot(X,de,Q){const me=Q.path.split("/");if(me.length>X.length||"full"===Q.pathMatch&&(de.hasChildren()||me.lengthme[Mt]===et)}return X===de}function fe(X){return X.length>0?X[X.length-1]:null}function Qe(X){return(0,e.A)(X)?X:(0,v.yLl)(X)?(0,O.H)(Promise.resolve(X)):(0,f.of)(X)}const gt={exact:function Ft(X,de,Q){if(!gn(X.segments,de.segments)||!jt(X.segments,de.segments,Q)||X.numberOfChildren!==de.numberOfChildren)return!1;for(const me in de.children)if(!X.children[me]||!Ft(X.children[me],de.children[me],Q))return!1;return!0},subset:Qn},Gt={exact:function cn(X,de){return ht(X,de)},subset:function Sn(X,de){return Object.keys(de).length<=Object.keys(X).length&&Object.keys(de).every(Q=>Ye(X[Q],de[Q]))},ignored:()=>!0};function rt(X,de,Q){return gt[Q.paths](X.root,de.root,Q.matrixParams)&&Gt[Q.queryParams](X.queryParams,de.queryParams)&&!("exact"===Q.fragment&&X.fragment!==de.fragment)}function Qn(X,de,Q){return h(X,de,de.segments,Q)}function h(X,de,Q,me){if(X.segments.length>Q.length){const et=X.segments.slice(0,Q.length);return!(!gn(et,Q)||de.hasChildren()||!jt(et,Q,me))}if(X.segments.length===Q.length){if(!gn(X.segments,Q)||!jt(X.segments,Q,me))return!1;for(const et in de.children)if(!X.children[et]||!Qn(X.children[et],de.children[et],me))return!1;return!0}{const et=Q.slice(0,X.segments.length),Mt=Q.slice(X.segments.length);return!!(gn(X.segments,et)&&jt(X.segments,et,me)&&X.children[$])&&h(X.children[$],de,Mt,me)}}function jt(X,de,Q){return de.every((me,et)=>Gt[Q](X[et].parameters,me.parameters))}class Ue{root;queryParams;fragment;_queryParamMap;constructor(de=new wt([],{}),Q={},me=null){this.root=de,this.queryParams=Q,this.fragment=me}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return kn.serialize(this)}}class wt{segments;children;parent=null;constructor(de,Q){this.segments=de,this.children=Q,Object.values(Q).forEach(me=>me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ri(this)}}class pt{path;parameters;_parameterMap;constructor(de,Q){this.path=de,this.parameters=Q}get parameterMap(){return this._parameterMap??=St(this.parameters),this._parameterMap}toString(){return Z(this)}}function gn(X,de){return X.length===de.length&&X.every((Q,me)=>Q.path===de[me].path)}let vi=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>new Ni,providedIn:"root"})}return X})();class Ni{parse(de){const Q=new We(de);return new Ue(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(de){const Q=`/${vt(de.root,!0)}`,me=function at(X){const de=Object.entries(X).map(([Q,me])=>Array.isArray(me)?me.map(et=>`${ye(Q)}=${ye(et)}`).join("&"):`${ye(Q)}=${ye(me)}`).filter(Q=>Q);return de.length?`?${de.join("&")}`:""}(de.queryParams);return`${Q}${me}${"string"==typeof de.fragment?`#${function ke(X){return encodeURI(X)}(de.fragment)}`:""}`}}const kn=new Ni;function Ri(X){return X.segments.map(de=>Z(de)).join("/")}function vt(X,de){if(!X.hasChildren())return Ri(X);if(de){const Q=X.children[$]?vt(X.children[$],!1):"",me=[];return Object.entries(X.children).forEach(([et,Mt])=>{et!==$&&me.push(`${et}:${vt(Mt,!1)}`)}),me.length>0?`${Q}(${me.join("//")})`:Q}{const Q=function ei(X,de){let Q=[];return Object.entries(X.children).forEach(([me,et])=>{me===$&&(Q=Q.concat(de(et,me)))}),Object.entries(X.children).forEach(([me,et])=>{me!==$&&(Q=Q.concat(de(et,me)))}),Q}(X,(me,et)=>et===$?[vt(X.children[$],!1)]:[`${et}:${vt(me,!1)}`]);return 1===Object.keys(X.children).length&&null!=X.children[$]?`${Ri(X)}/${Q[0]}`:`${Ri(X)}/(${Q.join("//")})`}}function ee(X){return encodeURIComponent(X).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ye(X){return ee(X).replace(/%3B/gi,";")}function Se(X){return ee(X).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ge(X){return decodeURIComponent(X)}function N(X){return ge(X.replace(/\+/g,"%20"))}function Z(X){return`${Se(X.path)}${function Me(X){return Object.entries(X).map(([de,Q])=>`;${Se(de)}=${Se(Q)}`).join("")}(X.parameters)}`}const qe=/^[^\/()?;#]+/;function pn(X){const de=X.match(qe);return de?de[0]:""}const Je=/^[^\/()?;=#]+/,ut=/^[^=?&#]+/,Ot=/^[^&#]+/;class We{url;remaining;constructor(de){this.url=de,this.remaining=de}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const de={};if(this.consumeOptional("?"))do{this.parseQueryParam(de)}while(this.consumeOptional("&"));return de}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const de=[];for(this.peekStartsWith("(")||de.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),de.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let me={};return this.peekStartsWith("(")&&(me=this.parseParens(!1)),(de.length>0||Object.keys(Q).length>0)&&(me[$]=new wt(de,Q)),me}parseSegment(){const de=pn(this.remaining);if(""===de&&this.peekStartsWith(";"))throw new i.buA(4009,!1);return this.capture(de),new pt(ge(de),this.parseMatrixParams())}parseMatrixParams(){const de={};for(;this.consumeOptional(";");)this.parseParam(de);return de}parseParam(de){const Q=function Be(X){const de=X.match(Je);return de?de[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let me="";if(this.consumeOptional("=")){const et=pn(this.remaining);et&&(me=et,this.capture(me))}de[ge(Q)]=ge(me)}parseQueryParam(de){const Q=function Ge(X){const de=X.match(ut);return de?de[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let me="";if(this.consumeOptional("=")){const Kt=function se(X){const de=X.match(Ot);return de?de[0]:""}(this.remaining);Kt&&(me=Kt,this.capture(me))}const et=N(Q),Mt=N(me);if(de.hasOwnProperty(et)){let Kt=de[et];Array.isArray(Kt)||(Kt=[Kt],de[et]=Kt),Kt.push(Mt)}else de[et]=Mt}parseParens(de){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const me=pn(this.remaining),et=this.remaining[me.length];if("/"!==et&&")"!==et&&";"!==et)throw new i.buA(4010,!1);let Mt;me.indexOf(":")>-1?(Mt=me.slice(0,me.indexOf(":")),this.capture(Mt),this.capture(":")):de&&(Mt=$);const Kt=this.parseChildren();Q[Mt??$]=1===Object.keys(Kt).length&&Kt[$]?Kt[$]:new wt([],Kt),this.consumeOptional("//")}return Q}peekStartsWith(de){return this.remaining.startsWith(de)}consumeOptional(de){return!!this.peekStartsWith(de)&&(this.remaining=this.remaining.substring(de.length),!0)}capture(de){if(!this.consumeOptional(de))throw new i.buA(4011,!1)}}function bt(X){return X.segments.length>0?new wt([],{[$]:X}):X}function tn(X){const de={};for(const[me,et]of Object.entries(X.children)){const Mt=tn(et);if(me===$&&0===Mt.segments.length&&Mt.hasChildren())for(const[Kt,Tn]of Object.entries(Mt.children))de[Kt]=Tn;else(Mt.segments.length>0||Mt.hasChildren())&&(de[me]=Mt)}return function on(X){if(1===X.numberOfChildren&&X.children[$]){const de=X.children[$];return new wt(X.segments.concat(de.segments),de.children)}return X}(new wt(X.segments,de))}function un(X){return X instanceof Ue}function dn(X){let de;const et=bt(function Q(Mt){const Kt={};for(const ai of Mt.children){const Gi=Q(ai);Kt[ai.outlet]=Gi}const Tn=new wt(Mt.url,Kt);return Mt===X&&(de=Tn),Tn}(X.root));return de??et}function xn(X,de,Q,me){let et=X;for(;et.parent;)et=et.parent;if(0===de.length)return Yi(et,et,et,Q,me);const Mt=function we(X){if("string"==typeof X[0]&&1===X.length&&"/"===X[0])return new At(!0,0,X);let de=0,Q=!1;const me=X.reduce((et,Mt,Kt)=>{if("object"==typeof Mt&&null!=Mt){if(Mt.outlets){const Tn={};return Object.entries(Mt.outlets).forEach(([ai,Gi])=>{Tn[ai]="string"==typeof Gi?Gi.split("/"):Gi}),[...et,{outlets:Tn}]}if(Mt.segmentPath)return[...et,Mt.segmentPath]}return"string"!=typeof Mt?[...et,Mt]:0===Kt?(Mt.split("/").forEach((Tn,ai)=>{0==ai&&"."===Tn||(0==ai&&""===Tn?Q=!0:".."===Tn?de++:""!=Tn&&et.push(Tn))}),et):[...et,Mt]},[]);return new At(Q,de,me)}(de);if(Mt.toRoot())return Yi(et,et,new wt([],{}),Q,me);const Kt=function Lt(X,de,Q){if(X.isAbsolute)return new ae(de,!0,0);if(!Q)return new ae(de,!1,NaN);if(null===Q.parent)return new ae(Q,!0,0);const me=Jn(X.commands[0])?0:1;return function Ht(X,de,Q){let me=X,et=de,Mt=Q;for(;Mt>et;){if(Mt-=et,me=me.parent,!me)throw new i.buA(4005,!1);et=me.segments.length}return new ae(me,!1,et-Mt)}(Q,Q.segments.length-1+me,X.numberOfDoubleDots)}(Mt,et,X),Tn=Kt.processChildren?bi(Kt.segmentGroup,Kt.index,Mt.commands):fi(Kt.segmentGroup,Kt.index,Mt.commands);return Yi(et,Kt.segmentGroup,Tn,Q,me)}function Jn(X){return"object"==typeof X&&null!=X&&!X.outlets&&!X.segmentPath}function xi(X){return"object"==typeof X&&null!=X&&X.outlets}function Yi(X,de,Q,me,et){let Kt,Mt={};me&&Object.entries(me).forEach(([ai,Gi])=>{Mt[ai]=Array.isArray(Gi)?Gi.map(La=>`${La}`):`${Gi}`}),Kt=X===de?Q:Tt(X,de,Q);const Tn=bt(tn(Kt));return new Ue(Tn,Mt,et)}function Tt(X,de,Q){const me={};return Object.entries(X.children).forEach(([et,Mt])=>{me[et]=Mt===de?Q:Tt(Mt,de,Q)}),new wt(X.segments,me)}class At{isAbsolute;numberOfDoubleDots;commands;constructor(de,Q,me){if(this.isAbsolute=de,this.numberOfDoubleDots=Q,this.commands=me,de&&me.length>0&&Jn(me[0]))throw new i.buA(4003,!1);const et=me.find(xi);if(et&&et!==fe(me))throw new i.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ae{segmentGroup;processChildren;index;constructor(de,Q,me){this.segmentGroup=de,this.processChildren=Q,this.index=me}}function fi(X,de,Q){if(X??=new wt([],{}),0===X.segments.length&&X.hasChildren())return bi(X,de,Q);const me=function Qi(X,de,Q){let me=0,et=de;const Mt={match:!1,pathIndex:0,commandIndex:0};for(;et=Q.length)return Mt;const Kt=X.segments[et],Tn=Q[me];if(xi(Tn))break;const ai=`${Tn}`,Gi=me0&&void 0===ai)break;if(ai&&Gi&&"object"==typeof Gi&&void 0===Gi.outlets){if(!Yt(ai,Gi,Kt))return Mt;me+=2}else{if(!Yt(ai,{},Kt))return Mt;me++}et++}return{match:!0,pathIndex:et,commandIndex:me}}(X,de,Q),et=Q.slice(me.commandIndex);if(me.match&&me.pathIndexMt!==$)&&X.children[$]&&1===X.numberOfChildren&&0===X.children[$].segments.length){const Mt=bi(X.children[$],de,Q);return new wt(X.segments,Mt.children)}return Object.entries(me).forEach(([Mt,Kt])=>{"string"==typeof Kt&&(Kt=[Kt]),null!==Kt&&(et[Mt]=fi(X.children[Mt],de,Kt))}),Object.entries(X.children).forEach(([Mt,Kt])=>{void 0===me[Mt]&&(et[Mt]=Kt)}),new wt(X.segments,et)}}function zi(X,de,Q){const me=X.segments.slice(0,de);let et=0;for(;et{"string"==typeof me&&(me=[me]),null!==me&&(de[Q]=zi(new wt([],{}),0,me))}),de}function an(X){const de={};return Object.entries(X).forEach(([Q,me])=>de[Q]=`${me}`),de}function Yt(X,de,Q){return X==Q.path&&ht(de,Q.parameters)}const Un="imperative";var zn=function(X){return X[X.NavigationStart=0]="NavigationStart",X[X.NavigationEnd=1]="NavigationEnd",X[X.NavigationCancel=2]="NavigationCancel",X[X.NavigationError=3]="NavigationError",X[X.RoutesRecognized=4]="RoutesRecognized",X[X.ResolveStart=5]="ResolveStart",X[X.ResolveEnd=6]="ResolveEnd",X[X.GuardsCheckStart=7]="GuardsCheckStart",X[X.GuardsCheckEnd=8]="GuardsCheckEnd",X[X.RouteConfigLoadStart=9]="RouteConfigLoadStart",X[X.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",X[X.ChildActivationStart=11]="ChildActivationStart",X[X.ChildActivationEnd=12]="ChildActivationEnd",X[X.ActivationStart=13]="ActivationStart",X[X.ActivationEnd=14]="ActivationEnd",X[X.Scroll=15]="Scroll",X[X.NavigationSkipped=16]="NavigationSkipped",X}(zn||{});class Fn{id;url;constructor(de,Q){this.id=de,this.url=Q}}class ci extends Fn{type=zn.NavigationStart;navigationTrigger;restoredState;constructor(de,Q,me="imperative",et=null){super(de,Q),this.navigationTrigger=me,this.restoredState=et}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rn extends Fn{urlAfterRedirects;type=zn.NavigationEnd;constructor(de,Q,me){super(de,Q),this.urlAfterRedirects=me}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var In=function(X){return X[X.Redirect=0]="Redirect",X[X.SupersededByNewNavigation=1]="SupersededByNewNavigation",X[X.NoDataFromResolver=2]="NoDataFromResolver",X[X.GuardRejected=3]="GuardRejected",X[X.Aborted=4]="Aborted",X}(In||{}),Mn=function(X){return X[X.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",X[X.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",X}(Mn||{});class Vn extends Fn{reason;code;type=zn.NavigationCancel;constructor(de,Q,me,et){super(de,Q),this.reason=me,this.code=et}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ii extends Fn{reason;code;type=zn.NavigationSkipped;constructor(de,Q,me,et){super(de,Q),this.reason=me,this.code=et}}class Bn extends Fn{error;target;type=zn.NavigationError;constructor(de,Q,me,et){super(de,Q),this.error=me,this.target=et}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ia extends Fn{urlAfterRedirects;state;type=zn.RoutesRecognized;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ra extends Fn{urlAfterRedirects;state;type=zn.GuardsCheckStart;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fa extends Fn{urlAfterRedirects;state;shouldActivate;type=zn.GuardsCheckEnd;constructor(de,Q,me,et,Mt){super(de,Q),this.urlAfterRedirects=me,this.state=et,this.shouldActivate=Mt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ha extends Fn{urlAfterRedirects;state;type=zn.ResolveStart;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qt extends Fn{urlAfterRedirects;state;type=zn.ResolveEnd;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class En{route;type=zn.RouteConfigLoadStart;constructor(de){this.route=de}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Wn{route;type=zn.RouteConfigLoadEnd;constructor(de){this.route=de}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ri{snapshot;type=zn.ChildActivationStart;constructor(de){this.snapshot=de}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rn{snapshot;type=zn.ChildActivationEnd;constructor(de){this.snapshot=de}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hn{snapshot;type=zn.ActivationStart;constructor(de){this.snapshot=de}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pi{snapshot;type=zn.ActivationEnd;constructor(de){this.snapshot=de}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class da{routerEvent;position;anchor;type=zn.Scroll;constructor(de,Q,me){this.routerEvent=de,this.position=Q,this.anchor=me}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ta{}class en{url;navigationBehaviorOptions;constructor(de,Q){this.url=de,this.navigationBehaviorOptions=Q}}function oi(X){switch(X.type){case zn.ActivationEnd:return`ActivationEnd(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ActivationStart:return`ActivationStart(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ChildActivationEnd:return`ChildActivationEnd(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ChildActivationStart:return`ChildActivationStart(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.GuardsCheckEnd:return`GuardsCheckEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state}, shouldActivate: ${X.shouldActivate})`;case zn.GuardsCheckStart:return`GuardsCheckStart(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.NavigationCancel:return`NavigationCancel(id: ${X.id}, url: '${X.url}')`;case zn.NavigationSkipped:return`NavigationSkipped(id: ${X.id}, url: '${X.url}')`;case zn.NavigationEnd:return`NavigationEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}')`;case zn.NavigationError:return`NavigationError(id: ${X.id}, url: '${X.url}', error: ${X.error})`;case zn.NavigationStart:return`NavigationStart(id: ${X.id}, url: '${X.url}')`;case zn.ResolveEnd:return`ResolveEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.ResolveStart:return`ResolveStart(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${X.route.path})`;case zn.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${X.route.path})`;case zn.RoutesRecognized:return`RoutesRecognized(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.Scroll:return`Scroll(anchor: '${X.anchor}', position: '${X.position?`${X.position[0]}, ${X.position[1]}`:null}')`}}function Fe(X){return X.outlet||$}function Ve(X){if(!X)return null;if(X.routeConfig?._injector)return X.routeConfig._injector;for(let de=X.parent;de;de=de.parent){const Q=de.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class Et{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ve(this.route?.snapshot)??this.rootInjector}constructor(de){this.rootInjector=de,this.children=new Jt(this.rootInjector)}}let Jt=(()=>{class X{rootInjector;contexts=new Map;constructor(Q){this.rootInjector=Q}onChildOutletCreated(Q,me){const et=this.getOrCreateContext(Q);et.outlet=me,this.contexts.set(Q,et)}onChildOutletDestroyed(Q){const me=this.getContext(Q);me&&(me.outlet=null,me.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let me=this.getContext(Q);return me||(me=new Et(this.rootInjector),this.contexts.set(Q,me)),me}getContext(Q){return this.contexts.get(Q)||null}static \u0275fac=function(me){return new(me||X)(i.KVO(i.uvJ))};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();class ti{_root;constructor(de){this._root=de}get root(){return this._root.value}parent(de){const Q=this.pathFromRoot(de);return Q.length>1?Q[Q.length-2]:null}children(de){const Q=di(de,this._root);return Q?Q.children.map(me=>me.value):[]}firstChild(de){const Q=di(de,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(de){const Q=Ii(de,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(et=>et.value).filter(et=>et!==de)}pathFromRoot(de){return Ii(de,this._root).map(Q=>Q.value)}}function di(X,de){if(X===de.value)return de;for(const Q of de.children){const me=di(X,Q);if(me)return me}return null}function Ii(X,de){if(X===de.value)return[de];for(const Q of de.children){const me=Ii(X,Q);if(me.length)return me.unshift(de),me}return[]}class ca{value;children;constructor(de,Q){this.value=de,this.children=Q}toString(){return`TreeNode(${this.value})`}}function nn(X){const de={};return X&&X.children.forEach(Q=>de[Q.value.outlet]=Q),de}class ni extends ti{snapshot;constructor(de,Q){super(de),this.snapshot=Q,_a(this,de)}toString(){return this.snapshot.toString()}}function U(X){const de=function tt(X){const Mt=new Nn([],{},{},"",{},$,X,null,{});return new Ki("",new ca(Mt,[]))}(X),Q=new u.t([new pt("",{})]),me=new u.t({}),et=new u.t({}),Mt=new u.t({}),Kt=new u.t(""),Tn=new Ze(Q,me,Mt,Kt,et,$,X,de.root);return Tn.snapshot=de.root,new ni(new ca(Tn,[]),de)}class Ze{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(de,Q,me,et,Mt,Kt,Tn,ai){this.urlSubject=de,this.paramsSubject=Q,this.queryParamsSubject=me,this.fragmentSubject=et,this.dataSubject=Mt,this.outlet=Kt,this.component=Tn,this._futureSnapshot=ai,this.title=this.dataSubject?.pipe((0,re.T)(Gi=>Gi[Ke]))??(0,f.of)(void 0),this.url=de,this.params=Q,this.queryParams=me,this.fragment=et,this.data=Mt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,re.T)(de=>St(de))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,re.T)(de=>St(de))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(X,de,Q="emptyOnly"){let me;const{routeConfig:et}=X;return me=null===de||"always"!==Q&&""!==et?.path&&(de.component||de.routeConfig?.loadComponent)?{params:{...X.params},data:{...X.data},resolve:{...X.data,...X._resolvedData??{}}}:{params:{...de.params,...X.params},data:{...de.data,...X.data},resolve:{...X.data,...de.data,...et?.data,...X._resolvedData}},et&&Ga(et)&&(me.resolve[Ke]=et.title),me}class Nn{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ke]}constructor(de,Q,me,et,Mt,Kt,Tn,ai,Gi){this.url=de,this.params=Q,this.queryParams=me,this.fragment=et,this.data=Mt,this.outlet=Kt,this.component=Tn,this.routeConfig=ai,this._resolve=Gi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=St(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(me=>me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ki extends ti{url;constructor(de,Q){super(Q),this.url=de,_a(this,Q)}toString(){return Ua(this._root)}}function _a(X,de){de.value._routerState=X,de.children.forEach(Q=>_a(X,Q))}function Ua(X){const de=X.children.length>0?` { ${X.children.map(Ua).join(", ")} } `:"";return`${X.value}${de}`}function $a(X){if(X.snapshot){const de=X.snapshot,Q=X._futureSnapshot;X.snapshot=Q,ht(de.queryParams,Q.queryParams)||X.queryParamsSubject.next(Q.queryParams),de.fragment!==Q.fragment&&X.fragmentSubject.next(Q.fragment),ht(de.params,Q.params)||X.paramsSubject.next(Q.params),function nt(X,de){if(X.length!==de.length)return!1;for(let Q=0;Qht(Q.parameters,de[me].parameters))}(X.url,de.url);return Q&&!(!X.parent!=!de.parent)&&(!X.parent||ns(X.parent,de.parent))}function Ga(X){return"string"==typeof X.title||null===X.title}const As=new i.nKC("");let hr=(()=>{class X{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new v.bkB;deactivateEvents=new v.bkB;attachEvents=new v.bkB;detachEvents=new v.bkB;routerOutletData=(0,T.hFB)();parentContexts=(0,i.WQX)(Jt);location=(0,i.WQX)(v.c1b);changeDetector=(0,i.WQX)(T.gRc);inputBinder=(0,i.WQX)(fr,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(Q){if(Q.name){const{firstChange:me,previousValue:et}=Q.name;if(me)return;this.isTrackedInParentContexts(et)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(et)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Q){return this.parentContexts.getContext(Q)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Q=this.parentContexts.getContext(this.name);Q?.route&&(Q.attachRef?this.attach(Q.attachRef,Q.route):this.activateWith(Q.route,Q.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.buA(4012,!1);this.location.detach();const Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,me){this.activated=Q,this._activatedRoute=me,this.location.insert(Q.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Q.instance)}deactivate(){if(this.activated){const Q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Q)}}activateWith(Q,me){if(this.isActivated)throw new i.buA(4013,!1);this._activatedRoute=Q;const et=this.location,Kt=Q.snapshot.component,Tn=this.parentContexts.getOrCreateContext(this.name).children,ai=new mr(Q,Tn,et.injector,this.routerOutletData);this.activated=et.createComponent(Kt,{index:et.length,injector:ai,environmentInjector:me}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(me){return new(me||X)};static \u0275dir=v.FsC({type:X,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[v.OA$]})}return X})();class mr{route;childContexts;parent;outletData;constructor(de,Q,me,et){this.route=de,this.childContexts=Q,this.parent=me,this.outletData=et}get(de,Q){return de===Ze?this.route:de===Jt?this.childContexts:de===As?this.outletData:this.parent.get(de,Q)}}const fr=new i.nKC("");let zo=(()=>{class X{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(Q){this.unsubscribeFromRouteData(Q),this.subscribeToRouteData(Q)}unsubscribeFromRouteData(Q){this.outletDataSubscriptions.get(Q)?.unsubscribe(),this.outletDataSubscriptions.delete(Q)}subscribeToRouteData(Q){const{activatedRoute:me}=Q,et=(0,L.z)([me.queryParams,me.params,me.data]).pipe((0,xe.n)(([Mt,Kt,Tn],ai)=>(Tn={...Mt,...Kt,...Tn},0===ai?(0,f.of)(Tn):Promise.resolve(Tn)))).subscribe(Mt=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==me||null===me.component)return void this.unsubscribeFromRouteData(Q);const Kt=(0,T.HJs)(me.component);if(Kt)for(const{templateName:Tn}of Kt.inputs)Q.activatedComponentRef.setInput(Tn,Mt[Tn]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,et)}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac})}return X})(),pr=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275cmp=v.VBU({type:X,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(me,et){1&me&&v.nrm(0,"router-outlet")},dependencies:[hr],encapsulation:2})}return X})();function gr(X){const de=X.children&&X.children.map(gr),Q=de?{...X,children:de}:{...X};return!Q.component&&!Q.loadComponent&&(de||Q.loadChildren)&&Q.outlet&&Q.outlet!==$&&(Q.component=pr),Q}function Zs(X,de,Q){if(Q&&X.shouldReuseRoute(de.value,Q.value.snapshot)){const me=Q.value;me._futureSnapshot=de.value;const et=function jr(X,de,Q){return de.children.map(me=>{for(const et of Q.children)if(X.shouldReuseRoute(me.value,et.value.snapshot))return Zs(X,me,et);return Zs(X,me)})}(X,de,Q);return new ca(me,et)}{if(X.shouldAttach(de.value)){const Mt=X.retrieve(de.value);if(null!==Mt){const Kt=Mt.route;return Kt.value._futureSnapshot=de.value,Kt.children=de.children.map(Tn=>Zs(X,Tn)),Kt}}const me=function Er(X){return new Ze(new u.t(X.url),new u.t(X.params),new u.t(X.queryParams),new u.t(X.fragment),new u.t(X.data),X.outlet,X.component,X)}(de.value),et=de.children.map(Mt=>Zs(X,Mt));return new ca(me,et)}}class Ka{redirectTo;navigationBehaviorOptions;constructor(de,Q){this.redirectTo=de,this.navigationBehaviorOptions=Q}}const Ps="ngNavigationCancelingError";function kr(X,de){const{redirectTo:Q,navigationBehaviorOptions:me}=un(de)?{redirectTo:de,navigationBehaviorOptions:void 0}:de,et=js(!1,In.Redirect);return et.url=Q,et.navigationBehaviorOptions=me,et}function js(X,de){const Q=new Error(`NavigationCancelingError: ${X||""}`);return Q[Ps]=!0,Q.cancellationCode=de,Q}function Zr(X){return!!X&&X[Ps]}class Co{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(de,Q,me,et,Mt){this.routeReuseStrategy=de,this.futureState=Q,this.currState=me,this.forwardEvent=et,this.inputBindingEnabled=Mt}activate(de){const Q=this.futureState._root,me=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,me,de),$a(this.futureState.root),this.activateChildRoutes(Q,me,de)}deactivateChildRoutes(de,Q,me){const et=nn(Q);de.children.forEach(Mt=>{const Kt=Mt.value.outlet;this.deactivateRoutes(Mt,et[Kt],me),delete et[Kt]}),Object.values(et).forEach(Mt=>{this.deactivateRouteAndItsChildren(Mt,me)})}deactivateRoutes(de,Q,me){const et=de.value,Mt=Q?Q.value:null;if(et===Mt)if(et.component){const Kt=me.getContext(et.outlet);Kt&&this.deactivateChildRoutes(de,Q,Kt.children)}else this.deactivateChildRoutes(de,Q,me);else Mt&&this.deactivateRouteAndItsChildren(Q,me)}deactivateRouteAndItsChildren(de,Q){de.value.component&&this.routeReuseStrategy.shouldDetach(de.value.snapshot)?this.detachAndStoreRouteSubtree(de,Q):this.deactivateRouteAndOutlet(de,Q)}detachAndStoreRouteSubtree(de,Q){const me=Q.getContext(de.value.outlet),et=me&&de.value.component?me.children:Q,Mt=nn(de);for(const Kt of Object.values(Mt))this.deactivateRouteAndItsChildren(Kt,et);if(me&&me.outlet){const Kt=me.outlet.detach(),Tn=me.children.onOutletDeactivated();this.routeReuseStrategy.store(de.value.snapshot,{componentRef:Kt,route:de,contexts:Tn})}}deactivateRouteAndOutlet(de,Q){const me=Q.getContext(de.value.outlet),et=me&&de.value.component?me.children:Q,Mt=nn(de);for(const Kt of Object.values(Mt))this.deactivateRouteAndItsChildren(Kt,et);me&&(me.outlet&&(me.outlet.deactivate(),me.children.onOutletDeactivated()),me.attachRef=null,me.route=null)}activateChildRoutes(de,Q,me){const et=nn(Q);de.children.forEach(Mt=>{this.activateRoutes(Mt,et[Mt.value.outlet],me),this.forwardEvent(new Pi(Mt.value.snapshot))}),de.children.length&&this.forwardEvent(new Rn(de.value.snapshot))}activateRoutes(de,Q,me){const et=de.value,Mt=Q?Q.value:null;if($a(et),et===Mt)if(et.component){const Kt=me.getOrCreateContext(et.outlet);this.activateChildRoutes(de,Q,Kt.children)}else this.activateChildRoutes(de,Q,me);else if(et.component){const Kt=me.getOrCreateContext(et.outlet);if(this.routeReuseStrategy.shouldAttach(et.snapshot)){const Tn=this.routeReuseStrategy.retrieve(et.snapshot);this.routeReuseStrategy.store(et.snapshot,null),Kt.children.onOutletReAttached(Tn.contexts),Kt.attachRef=Tn.componentRef,Kt.route=Tn.route.value,Kt.outlet&&Kt.outlet.attach(Tn.componentRef,Tn.route.value),$a(Tn.route.value),this.activateChildRoutes(de,null,Kt.children)}else Kt.attachRef=null,Kt.route=et,Kt.outlet&&Kt.outlet.activateWith(et,Kt.injector),this.activateChildRoutes(de,null,Kt.children)}else this.activateChildRoutes(de,null,me)}}class Js{path;route;constructor(de){this.path=de,this.route=this.path[this.path.length-1]}}class _r{component;route;constructor(de,Q){this.component=de,this.route=Q}}function rs(X,de,Q){const me=X._root;return Hs(me,de?de._root:null,Q,[me.value])}function is(X,de){const Q=Symbol(),me=de.get(X,Q);return me===Q?"function"!=typeof X||(0,i.muV)(X)?de.get(X):X:me}function Hs(X,de,Q,me,et={canDeactivateChecks:[],canActivateChecks:[]}){const Mt=nn(de);return X.children.forEach(Kt=>{(function Ws(X,de,Q,me,et={canDeactivateChecks:[],canActivateChecks:[]}){const Mt=X.value,Kt=de?de.value:null,Tn=Q?Q.getContext(X.value.outlet):null;if(Kt&&Mt.routeConfig===Kt.routeConfig){const ai=function Mr(X,de,Q){if("function"==typeof Q)return Q(X,de);switch(Q){case"pathParamsChange":return!gn(X.url,de.url);case"pathParamsOrQueryParamsChange":return!gn(X.url,de.url)||!ht(X.queryParams,de.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ns(X,de)||!ht(X.queryParams,de.queryParams);default:return!ns(X,de)}}(Kt,Mt,Mt.routeConfig.runGuardsAndResolvers);ai?et.canActivateChecks.push(new Js(me)):(Mt.data=Kt.data,Mt._resolvedData=Kt._resolvedData),Hs(X,de,Mt.component?Tn?Tn.children:null:Q,me,et),ai&&Tn&&Tn.outlet&&Tn.outlet.isActivated&&et.canDeactivateChecks.push(new _r(Tn.outlet.component,Kt))}else Kt&&Ui(de,Tn,et),et.canActivateChecks.push(new Js(me)),Hs(X,null,Mt.component?Tn?Tn.children:null:Q,me,et)})(Kt,Mt[Kt.value.outlet],Q,me.concat([Kt.value]),et),delete Mt[Kt.value.outlet]}),Object.entries(Mt).forEach(([Kt,Tn])=>Ui(Tn,Q.getContext(Kt),et)),et}function Ui(X,de,Q){const me=nn(X),et=X.value;Object.entries(me).forEach(([Mt,Kt])=>{Ui(Kt,et.component?de?de.children.getContext(Mt):null:de,Q)}),Q.canDeactivateChecks.push(new _r(et.component&&de&&de.outlet&&de.outlet.isActivated?de.outlet.component:null,et))}function xs(X){return"function"==typeof X}function wa(X){return X instanceof C.G||"EmptyError"===X?.name}const ja=Symbol("INITIAL_VALUE");function Za(){return(0,xe.n)(X=>(0,L.z)(X.map(de=>de.pipe((0,Ee.s)(1),(0,V.Z)(ja)))).pipe((0,re.T)(de=>{for(const Q of de)if(!0!==Q){if(Q===ja)return ja;if(!1===Q||Or(Q))return Q}return!0}),(0,ce.p)(de=>de!==ja),(0,Ee.s)(1)))}function Or(X){return un(X)||X instanceof Ka}function ln(X){return(0,Pe.F)((0,De.M)(de=>{if("boolean"!=typeof de)throw kr(0,de)}),(0,re.T)(de=>!0===de))}class ua{segmentGroup;constructor(de){this.segmentGroup=de||null}}class Es extends Error{urlTree;constructor(de){super(),this.urlTree=de}}function kt(X){return(0,le.$)(new ua(X))}function On(X){return(0,le.$)(new i.buA(4e3,!1))}class mn{urlSerializer;urlTree;constructor(de,Q){this.urlSerializer=de,this.urlTree=Q}lineralizeSegments(de,Q){let me=[],et=Q.root;for(;;){if(me=me.concat(et.segments),0===et.numberOfChildren)return(0,f.of)(me);if(et.numberOfChildren>1||!et.children[$])return On();et=et.children[$]}}applyRedirectCommands(de,Q,me,et,Mt){return function Ln(X,de,Q){if("string"==typeof X)return(0,f.of)(X);const me=X,{queryParams:et,fragment:Mt,routeConfig:Kt,url:Tn,outlet:ai,params:Gi,data:La,title:as}=de;return Qe((0,i.N4e)(Q,()=>me({params:Gi,data:La,queryParams:et,fragment:Mt,routeConfig:Kt,url:Tn,outlet:ai,title:as})))}(Q,et,Mt).pipe((0,re.T)(Kt=>{if(Kt instanceof Ue)throw new Es(Kt);const Tn=this.applyRedirectCreateUrlTree(Kt,this.urlSerializer.parse(Kt),de,me);if("/"===Kt[0])throw new Es(Tn);return Tn}))}applyRedirectCreateUrlTree(de,Q,me,et){const Mt=this.createSegmentGroup(de,Q.root,me,et);return new Ue(Mt,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(de,Q){const me={};return Object.entries(de).forEach(([et,Mt])=>{if("string"==typeof Mt&&":"===Mt[0]){const Tn=Mt.substring(1);me[et]=Q[Tn]}else me[et]=Mt}),me}createSegmentGroup(de,Q,me,et){const Mt=this.createSegments(de,Q.segments,me,et);let Kt={};return Object.entries(Q.children).forEach(([Tn,ai])=>{Kt[Tn]=this.createSegmentGroup(de,ai,me,et)}),new wt(Mt,Kt)}createSegments(de,Q,me,et){return Q.map(Mt=>":"===Mt.path[0]?this.findPosParam(de,Mt,et):this.findOrReturn(Mt,me))}findPosParam(de,Q,me){const et=me[Q.path.substring(1)];if(!et)throw new i.buA(4001,!1);return et}findOrReturn(de,Q){let me=0;for(const et of Q){if(et.path===de.path)return Q.splice(me),et;me++}return de}}const Ei={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xa(X,de,Q,me,et){const Mt=cs(X,de,Q);return Mt.matched?(me=function bn(X,de){return X.providers&&!X._injector&&(X._injector=(0,v.Ol2)(X.providers,de,`Route: ${X.path}`)),X._injector??de}(de,me),function Oi(X,de,Q,me){const et=de.canMatch;if(!et||0===et.length)return(0,f.of)(!0);const Mt=et.map(Kt=>{const Tn=is(Kt,X);return Qe(function Xs(X){return X&&xs(X.canMatch)}(Tn)?Tn.canMatch(de,Q):(0,i.N4e)(X,()=>Tn(de,Q)))});return(0,f.of)(Mt).pipe(Za(),ln())}(me,de,Q).pipe((0,re.T)(Kt=>!0===Kt?Mt:{...Ei}))):(0,f.of)(Mt)}function cs(X,de,Q){if("**"===de.path)return function qr(X){return{matched:!0,parameters:X.length>0?fe(X).parameters:{},consumedSegments:X,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===de.path)return"full"===de.pathMatch&&(X.hasChildren()||Q.length>0)?{...Ei}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const et=(de.matcher||ot)(Q,X,de);if(!et)return{...Ei};const Mt={};Object.entries(et.posParams??{}).forEach(([Tn,ai])=>{Mt[Tn]=ai.path});const Kt=et.consumed.length>0?{...Mt,...et.consumed[et.consumed.length-1].parameters}:Mt;return{matched:!0,consumedSegments:et.consumed,remainingSegments:Q.slice(et.consumed.length),parameters:Kt,positionalParamSegments:et.posParams??{}}}function xo(X,de,Q,me){return Q.length>0&&function Ml(X,de,Q){return Q.some(me=>tr(X,de,me)&&Fe(me)!==$)}(X,Q,me)?{segmentGroup:new wt(de,el(me,new wt(Q,X.children))),slicedSegments:[]}:0===Q.length&&function Ss(X,de,Q){return Q.some(me=>tr(X,de,me))}(X,Q,me)?{segmentGroup:new wt(X.segments,Ms(X,Q,me,X.children)),slicedSegments:Q}:{segmentGroup:new wt(X.segments,X.children),slicedSegments:Q}}function Ms(X,de,Q,me){const et={};for(const Mt of Q)if(tr(X,de,Mt)&&!me[Fe(Mt)]){const Kt=new wt([],{});et[Fe(Mt)]=Kt}return{...me,...et}}function el(X,de){const Q={};Q[$]=de;for(const me of X)if(""===me.path&&Fe(me)!==$){const et=new wt([],{});Q[Fe(me)]=et}return Q}function tr(X,de,Q){return(!(X.hasChildren()||de.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Mo{}class zl{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(de,Q,me,et,Mt,Kt,Tn){this.injector=de,this.configLoader=Q,this.rootComponentType=me,this.config=et,this.urlTree=Mt,this.paramsInheritanceStrategy=Kt,this.urlSerializer=Tn,this.applyRedirects=new mn(this.urlSerializer,this.urlTree)}noMatchError(de){return new i.buA(4002,`'${de.segmentGroup}'`)}recognize(){const de=xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(de).pipe((0,re.T)(({children:Q,rootSnapshot:me})=>{const et=new ca(me,Q),Mt=new Ki("",et),Kt=function Nt(X,de,Q=null,me=null){return xn(dn(X),de,Q,me)}(me,[],this.urlTree.queryParams,this.urlTree.fragment);return Kt.queryParams=this.urlTree.queryParams,Mt.url=this.urlSerializer.serialize(Kt),{state:Mt,tree:Kt}}))}match(de){const Q=new Nn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,de,$,Q).pipe((0,re.T)(me=>({children:me,rootSnapshot:Q})),(0,Re.W)(me=>{if(me instanceof Es)return this.urlTree=me.urlTree,this.match(me.urlTree.root);throw me instanceof ua?this.noMatchError(me):me}))}processSegmentGroup(de,Q,me,et,Mt){return 0===me.segments.length&&me.hasChildren()?this.processChildren(de,Q,me,Mt):this.processSegment(de,Q,me,me.segments,et,!0,Mt).pipe((0,re.T)(Kt=>Kt instanceof ca?[Kt]:[]))}processChildren(de,Q,me,et){const Mt=[];for(const Kt of Object.keys(me.children))"primary"===Kt?Mt.unshift(Kt):Mt.push(Kt);return(0,O.H)(Mt).pipe((0,J.H)(Kt=>{const Tn=me.children[Kt],ai=function Wt(X,de){const Q=X.filter(me=>Fe(me)===de);return Q.push(...X.filter(me=>Fe(me)!==de)),Q}(Q,Kt);return this.processSegmentGroup(de,ai,Tn,Kt,et)}),(0,Xe.S)((Kt,Tn)=>(Kt.push(...Tn),Kt)),(0,_e.U)(null),function ie(X,de){const Q=arguments.length>=2;return me=>me.pipe(X?(0,ce.p)((et,Mt)=>X(et,Mt,me)):te.D,lt(1),Q?(0,_e.U)(de):(0,Le.v)(()=>new C.G))}(),(0,be.Z)(Kt=>{if(null===Kt)return kt(me);const Tn=mi(Kt);return function ds(X){X.sort((de,Q)=>de.value.outlet===$?-1:Q.value.outlet===$?1:de.value.outlet.localeCompare(Q.value.outlet))}(Tn),(0,f.of)(Tn)}))}processSegment(de,Q,me,et,Mt,Kt,Tn){return(0,O.H)(Q).pipe((0,J.H)(ai=>this.processSegmentAgainstRoute(ai._injector??de,Q,ai,me,et,Mt,Kt,Tn).pipe((0,Re.W)(Gi=>{if(Gi instanceof ua)return(0,f.of)(null);throw Gi}))),(0,ne.$)(ai=>!!ai),(0,Re.W)(ai=>{if(wa(ai))return function Eo(X,de,Q){return 0===de.length&&!X.children[Q]}(me,et,Mt)?(0,f.of)(new Mo):kt(me);throw ai}))}processSegmentAgainstRoute(de,Q,me,et,Mt,Kt,Tn,ai){return Fe(me)===Kt||Kt!==$&&tr(et,Mt,me)?void 0===me.redirectTo?this.matchSegmentAgainstRoute(de,et,me,Mt,Kt,ai):this.allowRedirects&&Tn?this.expandSegmentAgainstRouteUsingRedirect(de,et,Q,me,Mt,Kt,ai):kt(et):kt(et)}expandSegmentAgainstRouteUsingRedirect(de,Q,me,et,Mt,Kt,Tn){const{matched:ai,parameters:Gi,consumedSegments:La,positionalParamSegments:as,remainingSegments:Ns}=cs(Q,et,Mt);if(!ai)return kt(Q);"string"==typeof et.redirectTo&&"/"===et.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const il=new Nn(Mt,Gi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Go(et),Fe(et),et.component??et._loadedComponent??null,et,gl(et)),ar=Xt(il,Tn,this.paramsInheritanceStrategy);return il.params=Object.freeze(ar.params),il.data=Object.freeze(ar.data),this.applyRedirects.applyRedirectCommands(La,et.redirectTo,as,il,de).pipe((0,xe.n)(oo=>this.applyRedirects.lineralizeSegments(et,oo)),(0,be.Z)(oo=>this.processSegment(de,me,Q,oo.concat(Ns),Kt,!1,Tn)))}matchSegmentAgainstRoute(de,Q,me,et,Mt,Kt){const Tn=xa(Q,me,et,de);return"**"===me.path&&(Q.children={}),Tn.pipe((0,xe.n)(ai=>ai.matched?this.getChildConfig(de=me._injector??de,me,et).pipe((0,xe.n)(({routes:Gi})=>{const La=me._loadedInjector??de,{parameters:as,consumedSegments:Ns,remainingSegments:il}=ai,ar=new Nn(Ns,as,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Go(me),Fe(me),me.component??me._loadedComponent??null,me,gl(me)),ro=Xt(ar,Kt,this.paramsInheritanceStrategy);ar.params=Object.freeze(ro.params),ar.data=Object.freeze(ro.data);const{segmentGroup:oo,slicedSegments:Il}=xo(Q,Ns,il,Gi);if(0===Il.length&&oo.hasChildren())return this.processChildren(La,Gi,oo,ar).pipe((0,re.T)(ec=>new ca(ar,ec)));if(0===Gi.length&&0===Il.length)return(0,f.of)(new ca(ar,[]));const mc=Fe(me)===Mt;return this.processSegment(La,Gi,oo,Il,mc?$:Mt,!0,ar).pipe((0,re.T)(ec=>new ca(ar,ec instanceof ca?[ec]:[])))})):kt(Q)))}getChildConfig(de,Q,me){return Q.children?(0,f.of)({routes:Q.children,injector:de}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,f.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function mt(X,de,Q,me){const et=de.canLoad;if(void 0===et||0===et.length)return(0,f.of)(!0);const Mt=et.map(Kt=>{const Tn=is(Kt,X);return Qe(function qs(X){return X&&xs(X.canLoad)}(Tn)?Tn.canLoad(de,Q):(0,i.N4e)(X,()=>Tn(de,Q)))});return(0,f.of)(Mt).pipe(Za(),ln())}(de,Q,me).pipe((0,be.Z)(et=>et?this.configLoader.loadChildren(de,Q).pipe((0,De.M)(Mt=>{Q._loadedRoutes=Mt.routes,Q._loadedInjector=Mt.injector})):function $e(){return(0,le.$)(js(!1,In.GuardRejected))}())):(0,f.of)({routes:[],injector:de})}}function nr(X){const de=X.value.routeConfig;return de&&""===de.path}function mi(X){const de=[],Q=new Set;for(const me of X){if(!nr(me)){de.push(me);continue}const et=de.find(Mt=>me.value.routeConfig===Mt.value.routeConfig);void 0!==et?(et.children.push(...me.children),Q.add(et)):de.push(me)}for(const me of Q){const et=mi(me.children);de.push(new ca(me.value,et))}return de.filter(me=>!Q.has(me))}function Go(X){return X.data||{}}function gl(X){return X.resolve||{}}function mo(X){const de=X.children.map(Q=>mo(Q)).flat();return[X,...de]}function us(X){return(0,xe.n)(de=>{const Q=X(de);return Q?(0,O.H)(Q).pipe((0,re.T)(()=>de)):(0,f.of)(de)})}let Dl=(()=>{class X{buildTitle(Q){let me,et=Q.root;for(;void 0!==et;)me=this.getResolvedTitleForRoute(et)??me,et=et.children.find(Mt=>Mt.outlet===$);return me}getResolvedTitleForRoute(Q){return Q.data[Ke]}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(eo),providedIn:"root"})}return X})(),eo=(()=>{class X extends Dl{title;constructor(Q){super(),this.title=Q}updateTitle(Q){const me=this.buildTitle(Q);void 0!==me&&this.title.setTitle(me)}static \u0275fac=function(me){return new(me||X)(i.KVO(H.hE))};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const So=new i.nKC("",{providedIn:"root",factory:()=>({})}),fo=new i.nKC("");let To=(()=>{class X{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,i.WQX)(v.Ql9);loadComponent(Q,me){if(this.componentLoaders.get(me))return this.componentLoaders.get(me);if(me._loadedComponent)return(0,f.of)(me._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(me);const et=Qe((0,i.N4e)(Q,()=>me.loadComponent())).pipe((0,re.T)(to),(0,xe.n)(wl),(0,De.M)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(me),me._loadedComponent=Kt}),(0,P.j)(()=>{this.componentLoaders.delete(me)})),Mt=new Ae.G(et,()=>new j.B).pipe((0,F.B)());return this.componentLoaders.set(me,Mt),Mt}loadChildren(Q,me){if(this.childrenLoaders.get(me))return this.childrenLoaders.get(me);if(me._loadedRoutes)return(0,f.of)({routes:me._loadedRoutes,injector:me._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(me);const Mt=function Ho(X,de,Q,me){return Qe((0,i.N4e)(Q,()=>X.loadChildren())).pipe((0,re.T)(to),(0,xe.n)(wl),(0,be.Z)(et=>et instanceof v.PYt||Array.isArray(et)?(0,f.of)(et):(0,O.H)(de.compileModuleAsync(et))),(0,re.T)(et=>{me&&me(X);let Mt,Kt,Tn=!1;return Array.isArray(et)?(Kt=et,!0):(Mt=et.create(Q).injector,Kt=Mt.get(fo,[],{optional:!0,self:!0}).flat()),{routes:Kt.map(gr),injector:Mt}}))}(me,this.compiler,Q,this.onLoadEndListener).pipe((0,P.j)(()=>{this.childrenLoaders.delete(me)})),Kt=new Ae.G(Mt,()=>new j.B).pipe((0,F.B)());return this.childrenLoaders.set(me,Kt),Kt}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function to(X){return function _l(X){return X&&"object"==typeof X&&"default"in X}(X)?X.default:X}function wl(X){return(0,f.of)(X)}let no=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Al),providedIn:"root"})}return X})(),Al=(()=>{class X{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,me){return Q}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const io=new i.nKC(""),Ys=new i.nKC("");function Dr(X,de,Q){const me=X.get(Ys),et=X.get(i.qQL);if(!et.startViewTransition||me.skipNextTransition)return me.skipNextTransition=!1,new Promise(Gi=>setTimeout(Gi));let Mt;const Kt=new Promise(Gi=>{Mt=Gi}),Tn=et.startViewTransition(()=>(Mt(),function li(X){return new Promise(de=>{(0,v.mal)({read:()=>setTimeout(de)},{injector:X})})}(X)));Tn.ready.catch(Gi=>{});const{onViewTransitionCreated:ai}=me;return ai&&(0,i.N4e)(X,()=>ai({transition:Tn,from:de,to:Q})),Kt}const Wr=new i.nKC("");let ao=(()=>{class X{currentNavigation=(0,i.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new j.B;transitionAbortWithErrorSubject=new j.B;configLoader=(0,i.WQX)(To);environmentInjector=(0,i.WQX)(i.uvJ);destroyRef=(0,i.WQX)(i.abz);urlSerializer=(0,i.WQX)(vi);rootContexts=(0,i.WQX)(Jt);location=(0,i.WQX)(d.aZ);inputBindingEnabled=null!==(0,i.WQX)(fr,{optional:!0});titleStrategy=(0,i.WQX)(Dl);options=(0,i.WQX)(So,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,i.WQX)(no);createViewTransition=(0,i.WQX)(io,{optional:!0});navigationErrorHandler=(0,i.WQX)(Wr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,f.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=et=>this.events.next(new Wn(et)),this.configLoader.onLoadStartListener=et=>this.events.next(new En(et)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const me=++this.navigationId;(0,w.O8)(()=>{this.transitions?.next({...Q,extractedUrl:this.urlHandlingStrategy.extract(Q.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:me})})}setupNavigations(Q){return this.transitions=new u.t(null),this.transitions.pipe((0,ce.p)(me=>null!==me),(0,xe.n)(me=>{let et=!1;return(0,f.of)(me).pipe((0,xe.n)(Mt=>{if(this.navigationId>me.id)return this.cancelNavigationTransition(me,"",In.SupersededByNewNavigation),Ce.w;this.currentTransition=me,this.currentNavigation.set({id:Mt.id,initialUrl:Mt.rawUrl,extractedUrl:Mt.extractedUrl,targetBrowserUrl:"string"==typeof Mt.extras.browserUrl?this.urlSerializer.parse(Mt.extras.browserUrl):Mt.extras.browserUrl,trigger:Mt.source,extras:Mt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Mt.abortController.abort()});const Kt=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Kt&&"reload"!==(Mt.extras.onSameUrlNavigation??Q.onSameUrlNavigation))return this.events.next(new ii(Mt.id,this.urlSerializer.serialize(Mt.rawUrl),"",Mn.IgnoredSameUrlNavigation)),Mt.resolve(!1),Ce.w;if(this.urlHandlingStrategy.shouldProcessUrl(Mt.rawUrl))return(0,f.of)(Mt).pipe((0,xe.n)(ai=>(this.events.next(new ci(ai.id,this.urlSerializer.serialize(ai.extractedUrl),ai.source,ai.restoredState)),ai.id!==this.navigationId?Ce.w:Promise.resolve(ai))),function Tr(X,de,Q,me,et,Mt){return(0,be.Z)(Kt=>function Sl(X,de,Q,me,et,Mt,Kt="emptyOnly"){return new zl(X,de,Q,me,et,Kt,Mt).recognize()}(X,de,Q,me,Kt.extractedUrl,et,Mt).pipe((0,re.T)(({state:Tn,tree:ai})=>({...Kt,targetSnapshot:Tn,urlAfterRedirects:ai}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,De.M)(ai=>{me.targetSnapshot=ai.targetSnapshot,me.urlAfterRedirects=ai.urlAfterRedirects,this.currentNavigation.update(La=>(La.finalUrl=ai.urlAfterRedirects,La));const Gi=new ia(ai.id,this.urlSerializer.serialize(ai.extractedUrl),this.urlSerializer.serialize(ai.urlAfterRedirects),ai.targetSnapshot);this.events.next(Gi)}));if(Kt&&this.urlHandlingStrategy.shouldProcessUrl(Mt.currentRawUrl)){const{id:ai,extractedUrl:Gi,source:La,restoredState:as,extras:Ns}=Mt,il=new ci(ai,this.urlSerializer.serialize(Gi),La,as);this.events.next(il);const ar=U(this.rootComponentType).snapshot;return this.currentTransition=me={...Mt,targetSnapshot:ar,urlAfterRedirects:Gi,extras:{...Ns,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(ro=>(ro.finalUrl=Gi,ro)),(0,f.of)(me)}return this.events.next(new ii(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),"",Mn.IgnoredByUrlHandlingStrategy)),Mt.resolve(!1),Ce.w}),(0,De.M)(Mt=>{const Kt=new ra(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(Kt)}),(0,re.T)(Mt=>(this.currentTransition=me={...Mt,guards:rs(Mt.targetSnapshot,Mt.currentSnapshot,this.rootContexts)},me)),function Rr(X,de){return(0,be.Z)(Q=>{const{targetSnapshot:me,currentSnapshot:et,guards:{canActivateChecks:Mt,canDeactivateChecks:Kt}}=Q;return 0===Kt.length&&0===Mt.length?(0,f.of)({...Q,guardsResult:!0}):function Fs(X,de,Q,me){return(0,O.H)(X).pipe((0,be.Z)(et=>function q(X,de,Q,me,et){const Mt=de&&de.routeConfig?de.routeConfig.canDeactivate:null;if(!Mt||0===Mt.length)return(0,f.of)(!0);const Kt=Mt.map(Tn=>{const ai=Ve(de)??et,Gi=is(Tn,ai);return Qe(function er(X){return X&&xs(X.canDeactivate)}(Gi)?Gi.canDeactivate(X,de,Q,me):(0,i.N4e)(ai,()=>Gi(X,de,Q,me))).pipe((0,ne.$)())});return(0,f.of)(Kt).pipe(Za())}(et.component,et.route,Q,de,me)),(0,ne.$)(et=>!0!==et,!0))}(Kt,me,et,X).pipe((0,be.Z)(Tn=>Tn&&function vr(X){return"boolean"==typeof X}(Tn)?function Hr(X,de,Q,me){return(0,O.H)(de).pipe((0,J.H)(et=>(0,B.x)(function Sr(X,de){return null!==X&&de&&de(new ri(X)),(0,f.of)(!0)}(et.route.parent,me),function Ks(X,de){return null!==X&&de&&de(new Hn(X)),(0,f.of)(!0)}(et.route,me),function He(X,de,Q){const me=de[de.length-1],Mt=de.slice(0,de.length-1).reverse().map(Kt=>function ls(X){const de=X.routeConfig?X.routeConfig.canActivateChild:null;return de&&0!==de.length?{node:X,guards:de}:null}(Kt)).filter(Kt=>null!==Kt).map(Kt=>(0,A.v)(()=>{const Tn=Kt.guards.map(ai=>{const Gi=Ve(Kt.node)??Q,La=is(ai,Gi);return Qe(function yr(X){return X&&xs(X.canActivateChild)}(La)?La.canActivateChild(me,X):(0,i.N4e)(Gi,()=>La(me,X))).pipe((0,ne.$)())});return(0,f.of)(Tn).pipe(Za())}));return(0,f.of)(Mt).pipe(Za())}(X,et.path,Q),function Ne(X,de,Q){const me=de.routeConfig?de.routeConfig.canActivate:null;if(!me||0===me.length)return(0,f.of)(!0);const et=me.map(Mt=>(0,A.v)(()=>{const Kt=Ve(de)??Q,Tn=is(Mt,Kt);return Qe(function Pa(X){return X&&xs(X.canActivate)}(Tn)?Tn.canActivate(de,X):(0,i.N4e)(Kt,()=>Tn(de,X))).pipe((0,ne.$)())}));return(0,f.of)(et).pipe(Za())}(X,et.route,Q))),(0,ne.$)(et=>!0!==et,!0))}(me,Mt,X,de):(0,f.of)(Tn)),(0,re.T)(Tn=>({...Q,guardsResult:Tn})))})}(this.environmentInjector,Mt=>this.events.next(Mt)),(0,De.M)(Mt=>{if(me.guardsResult=Mt.guardsResult,Mt.guardsResult&&"boolean"!=typeof Mt.guardsResult)throw kr(0,Mt.guardsResult);const Kt=new fa(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot,!!Mt.guardsResult);this.events.next(Kt)}),(0,ce.p)(Mt=>!!Mt.guardsResult||(this.cancelNavigationTransition(Mt,"",In.GuardRejected),!1)),us(Mt=>{if(0!==Mt.guards.canActivateChecks.length)return(0,f.of)(Mt).pipe((0,De.M)(Kt=>{const Tn=new ha(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(Tn)}),(0,xe.n)(Kt=>{let Tn=!1;return(0,f.of)(Kt).pipe(function jo(X,de){return(0,be.Z)(Q=>{const{targetSnapshot:me,guards:{canActivateChecks:et}}=Q;if(!et.length)return(0,f.of)(Q);const Mt=new Set(et.map(ai=>ai.route)),Kt=new Set;for(const ai of Mt)if(!Kt.has(ai))for(const Gi of mo(ai))Kt.add(Gi);let Tn=0;return(0,O.H)(Kt).pipe((0,J.H)(ai=>Mt.has(ai)?function Tl(X,de,Q,me){const et=X.routeConfig,Mt=X._resolve;return void 0!==et?.title&&!Ga(et)&&(Mt[Ke]=et.title),(0,A.v)(()=>(X.data=Xt(X,X.parent,Q).resolve,function Vl(X,de,Q,me){const et=oe(X);if(0===et.length)return(0,f.of)({});const Mt={};return(0,O.H)(et).pipe((0,be.Z)(Kt=>function za(X,de,Q,me){const et=Ve(de)??me,Mt=is(X,et);return Qe(Mt.resolve?Mt.resolve(de,Q):(0,i.N4e)(et,()=>Mt(de,Q)))}(X[Kt],de,Q,me).pipe((0,ne.$)(),(0,De.M)(Tn=>{if(Tn instanceof Ka)throw kr(new Ni,Tn);Mt[Kt]=Tn}))),lt(1),(0,re.T)(()=>Mt),(0,Re.W)(Kt=>wa(Kt)?Ce.w:(0,le.$)(Kt)))}(Mt,X,de,me).pipe((0,re.T)(Kt=>(X._resolvedData=Kt,X.data={...X.data,...Kt},null)))))}(ai,me,X,de):(ai.data=Xt(ai,ai.parent,X).resolve,(0,f.of)(void 0))),(0,De.M)(()=>Tn++),lt(1),(0,be.Z)(ai=>Tn===Kt.size?(0,f.of)(Q):Ce.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,De.M)({next:()=>Tn=!0,complete:()=>{Tn||this.cancelNavigationTransition(Kt,"",In.NoDataFromResolver)}}))}),(0,De.M)(Kt=>{const Tn=new qt(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(Tn)}))}),us(Mt=>{const Kt=Tn=>{const ai=[];if(Tn.routeConfig?.loadComponent){const Gi=Ve(Tn)??this.environmentInjector;ai.push(this.configLoader.loadComponent(Gi,Tn.routeConfig).pipe((0,De.M)(La=>{Tn.component=La}),(0,re.T)(()=>{})))}for(const Gi of Tn.children)ai.push(...Kt(Gi));return ai};return(0,L.z)(Kt(Mt.targetSnapshot.root)).pipe((0,_e.U)(null),(0,Ee.s)(1))}),us(()=>this.afterPreactivation()),(0,xe.n)(()=>{const{currentSnapshot:Mt,targetSnapshot:Kt}=me,Tn=this.createViewTransition?.(this.environmentInjector,Mt.root,Kt.root);return Tn?(0,O.H)(Tn).pipe((0,re.T)(()=>me)):(0,f.of)(me)}),(0,re.T)(Mt=>{const Kt=function bo(X,de,Q){const me=Zs(X,de._root,Q?Q._root:void 0);return new ni(me,de)}(Q.routeReuseStrategy,Mt.targetSnapshot,Mt.currentRouterState);return this.currentTransition=me={...Mt,targetRouterState:Kt},this.currentNavigation.update(Tn=>(Tn.targetRouterState=Kt,Tn)),me}),(0,De.M)(()=>{this.events.next(new Ta)}),((X,de,Q,me)=>(0,re.T)(et=>(new Co(de,et.targetRouterState,et.currentRouterState,Q,me).activate(X),et)))(this.rootContexts,Q.routeReuseStrategy,Mt=>this.events.next(Mt),this.inputBindingEnabled),(0,Ee.s)(1),(0,ve.Q)(new W.c(Mt=>{const Kt=me.abortController.signal,Tn=()=>Mt.next();return Kt.addEventListener("abort",Tn),()=>Kt.removeEventListener("abort",Tn)}).pipe((0,ce.p)(()=>!et&&!me.targetRouterState),(0,De.M)(()=>{this.cancelNavigationTransition(me,me.abortController.signal.reason+"",In.Aborted)}))),(0,De.M)({next:Mt=>{et=!0,this.lastSuccessfulNavigation=(0,w.O8)(this.currentNavigation),this.events.next(new rn(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Mt.targetRouterState.snapshot),Mt.resolve(!0)},complete:()=>{et=!0}}),(0,ve.Q)(this.transitionAbortWithErrorSubject.pipe((0,De.M)(Mt=>{throw Mt}))),(0,P.j)(()=>{et||this.cancelNavigationTransition(me,"",In.SupersededByNewNavigation),this.currentTransition?.id===me.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,Re.W)(Mt=>{if(this.destroyed)return me.resolve(!1),Ce.w;if(et=!0,Zr(Mt))this.events.next(new Vn(me.id,this.urlSerializer.serialize(me.extractedUrl),Mt.message,Mt.cancellationCode)),function Vo(X){return Zr(X)&&un(X.url)}(Mt)?this.events.next(new en(Mt.url,Mt.navigationBehaviorOptions)):me.resolve(!1);else{const Kt=new Bn(me.id,this.urlSerializer.serialize(me.extractedUrl),Mt,me.targetSnapshot??void 0);try{const Tn=(0,i.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Kt));if(!(Tn instanceof Ka))throw this.events.next(Kt),Mt;{const{message:ai,cancellationCode:Gi}=kr(0,Tn);this.events.next(new Vn(me.id,this.urlSerializer.serialize(me.extractedUrl),ai,Gi)),this.events.next(new en(Tn.redirectTo,Tn.navigationBehaviorOptions))}}catch(Tn){this.options.resolveNavigationPromiseOnError?me.resolve(!1):me.reject(Tn)}}return Ce.w}))}))}cancelNavigationTransition(Q,me,et){const Mt=new Vn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),me,et);this.events.next(Mt),Q.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const Q=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),me=(0,w.O8)(this.currentNavigation),et=me?.targetBrowserUrl??me?.extractedUrl;return Q.toString()!==et?.toString()&&!me?.extras.skipLocationChange}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function Pr(X){return X!==Un}let so=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Ul),providedIn:"root"})}return X})();class tl{shouldDetach(de){return!1}store(de,Q){}shouldAttach(de){return!1}retrieve(de){return null}shouldReuseRoute(de,Q){return de.routeConfig===Q.routeConfig}}let Ul=(()=>{class X extends tl{static \u0275fac=(()=>{let Q;return function(et){return(Q||(Q=v.xGo(X)))(et||X)}})();static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),Do=(()=>{class X{urlSerializer=(0,i.WQX)(vi);options=(0,i.WQX)(So,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,i.WQX)(d.aZ);urlHandlingStrategy=(0,i.WQX)(no);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ue;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:Q,initialUrl:me,targetBrowserUrl:et}){const Mt=void 0!==Q?this.urlHandlingStrategy.merge(Q,me):me,Kt=et??Mt;return Kt instanceof Ue?this.urlSerializer.serialize(Kt):Kt}commitTransition({targetRouterState:Q,finalUrl:me,initialUrl:et}){me&&Q?(this.currentUrlTree=me,this.rawUrlTree=this.urlHandlingStrategy.merge(me,et),this.routerState=Q):this.rawUrlTree=et}routerState=U(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:Q}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Q??this.rawUrlTree)}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Jl),providedIn:"root"})}return X})(),Jl=(()=>{class X extends Do{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(Q){return this.location.subscribe(me=>{"popstate"===me.type&&setTimeout(()=>{Q(me.url,me.state,"popstate")})})}handleRouterEvent(Q,me){Q instanceof ci?this.updateStateMemento():Q instanceof ii?this.commitTransition(me):Q instanceof ia?"eager"===this.urlUpdateStrategy&&(me.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(me),me)):Q instanceof Ta?(this.commitTransition(me),"deferred"===this.urlUpdateStrategy&&!me.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(me),me)):Q instanceof Vn&&Q.code!==In.SupersededByNewNavigation&&Q.code!==In.Redirect?this.restoreHistory(me):Q instanceof Bn?this.restoreHistory(me,!0):Q instanceof rn&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,{extras:me,id:et}){const{replaceUrl:Mt,state:Kt}=me;if(this.location.isCurrentPathEqualTo(Q)||Mt){const Tn=this.browserPageId,ai={...Kt,...this.generateNgRouterState(et,Tn)};this.location.replaceState(Q,"",ai)}else{const Tn={...Kt,...this.generateNgRouterState(et,this.browserPageId+1)};this.location.go(Q,"",Tn)}}restoreHistory(Q,me=!1){if("computed"===this.canceledNavigationResolution){const Mt=this.currentPageId-this.browserPageId;0!==Mt?this.location.historyGo(Mt):this.getCurrentUrlTree()===Q.finalUrl&&0===Mt&&(this.resetInternalState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(me&&this.resetInternalState(Q),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Q,me){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:me}:{navigationId:Q}}static \u0275fac=(()=>{let Q;return function(et){return(Q||(Q=v.xGo(X)))(et||X)}})();static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function Ll(X,de){X.events.pipe((0,ce.p)(Q=>Q instanceof rn||Q instanceof Vn||Q instanceof Bn||Q instanceof ii),(0,re.T)(Q=>Q instanceof rn||Q instanceof ii?0:Q instanceof Vn&&(Q.code===In.Redirect||Q.code===In.SupersededByNewNavigation)?2:1),(0,ce.p)(Q=>2!==Q),(0,Ee.s)(1)).subscribe(()=>{de()})}const ir={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ql={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Wo=(()=>{class X{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,i.WQX)(v.C7A);stateManager=(0,i.WQX)(Do);options=(0,i.WQX)(So,{optional:!0})||{};pendingTasks=(0,i.WQX)(i.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,i.WQX)(ao);urlSerializer=(0,i.WQX)(vi);location=(0,i.WQX)(d.aZ);urlHandlingStrategy=(0,i.WQX)(no);injector=(0,i.WQX)(i.uvJ);_events=new j.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,i.WQX)(so);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,i.WQX)(fo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,i.WQX)(fr,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:Q=>{this.console.warn(Q)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G.yU;subscribeToNavigationEvents(){const Q=this.navigationTransitions.events.subscribe(me=>{try{const et=this.navigationTransitions.currentTransition,Mt=(0,w.O8)(this.navigationTransitions.currentNavigation);if(null!==et&&null!==Mt)if(this.stateManager.handleRouterEvent(me,Mt),me instanceof Vn&&me.code!==In.Redirect&&me.code!==In.SupersededByNewNavigation)this.navigated=!0;else if(me instanceof rn)this.navigated=!0;else if(me instanceof en){const Kt=me.navigationBehaviorOptions,Tn=this.urlHandlingStrategy.merge(me.url,et.currentRawUrl),ai={browserUrl:et.extras.browserUrl,info:et.extras.info,skipLocationChange:et.extras.skipLocationChange,replaceUrl:et.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Pr(et.source),...Kt};this.scheduleNavigation(Tn,Un,null,ai,{resolve:et.resolve,reject:et.reject,promise:et.promise})}(function vn(X){return!(X instanceof Ta||X instanceof en)})(me)&&this._events.next(me)}catch(et){this.navigationTransitions.transitionAbortWithErrorSubject.next(et)}});this.eventsSubscription.add(Q)}resetRootComponentType(Q){this.routerState.root.component=Q,this.navigationTransitions.rootComponentType=Q}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Un,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,me,et)=>{this.navigateToSyncWithBrowser(Q,et,me)})}navigateToSyncWithBrowser(Q,me,et){const Mt={replaceUrl:!0},Kt=et?.navigationId?et:null;if(et){const ai={...et};delete ai.navigationId,delete ai.\u0275routerPageId,0!==Object.keys(ai).length&&(Mt.state=ai)}const Tn=this.parseUrl(Q);this.scheduleNavigation(Tn,me,Kt,Mt).catch(ai=>{this.disposed||this.injector.get(i.ZTf)(ai)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,w.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(gr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Q,me={}){const{relativeTo:et,queryParams:Mt,fragment:Kt,queryParamsHandling:Tn,preserveFragment:ai}=me,Gi=ai?this.currentUrlTree.fragment:Kt;let as,La=null;switch(Tn??this.options.defaultQueryParamsHandling){case"merge":La={...this.currentUrlTree.queryParams,...Mt};break;case"preserve":La=this.currentUrlTree.queryParams;break;default:La=Mt||null}null!==La&&(La=this.removeEmptyProps(La));try{as=dn(et?et.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||"/"!==Q[0][0])&&(Q=[]),as=this.currentUrlTree.root}return xn(as,Q,La,Gi??null)}navigateByUrl(Q,me={skipLocationChange:!1}){const et=un(Q)?Q:this.parseUrl(Q),Mt=this.urlHandlingStrategy.merge(et,this.rawUrlTree);return this.scheduleNavigation(Mt,Un,null,me)}navigate(Q,me={skipLocationChange:!1}){return function nl(X){for(let de=0;de(null!=Mt&&(me[et]=Mt),me),{})}scheduleNavigation(Q,me,et,Mt,Kt){if(this.disposed)return Promise.resolve(!1);let Tn,ai,Gi;Kt?(Tn=Kt.resolve,ai=Kt.reject,Gi=Kt.promise):Gi=new Promise((as,Ns)=>{Tn=as,ai=Ns});const La=this.pendingTasks.add();return Ll(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(La))}),this.navigationTransitions.handleNavigationRequest({source:me,restoredState:et,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:Mt,resolve:Tn,reject:ai,promise:Gi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Gi.catch(as=>Promise.reject(as))}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})()},8132(Zt,pe,l){"use strict";l.d(pe,{Wk:()=>lt,iI:()=>Ni,wQ:()=>Le});var W=l(467),G=l(7303),re=l(177),xe=l(2200),Ee=l(7705),V=l(2615),ce=l(3664),be=l(9295),ne=l(3694),J=l(1413),De=l(2806),Re=l(7673),Xe=l(274),_e=l(5964),he=l(6365),Dt=l(1397);let lt=(()=>{class ge{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,V.vPA)(null);get href(){return(0,be.O8)(this.reactiveHref)}set href(Z){this.reactiveHref.set(Z)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J.B;applicationErrorHandler=(0,V.WQX)(V.ZTf);options=(0,V.WQX)(ne.J_,{optional:!0});constructor(Z,Me,at,qe,pn,Je){this.router=Z,this.route=Me,this.tabIndexAttribute=at,this.renderer=qe,this.el=pn,this.locationStrategy=Je,this.reactiveHref.set((0,V.WQX)(new Ee.ES_("href"),{optional:!0}));const Be=pn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Be||"area"===Be||!("object"!=typeof customElements||!customElements.get(Be)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Z=this.preserveFragment;const Me=at=>"merge"===at||"preserve"===at;Z||=Me(this.queryParamsHandling),Z||=!this.queryParamsHandling&&!Me(this.options?.defaultQueryParamsHandling),Z&&(this.subscription=this.router.events.subscribe(at=>{at instanceof ne.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Z){null==Z?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,ne.wO)(Z)||Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Z,Me,at,qe,pn){const Je=this.urlTree;if(null===Je||this.isAnchorElement&&(0!==Z||Me||at||qe||pn||"string"==typeof this.target&&"_self"!=this.target))return!0;const Be={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Je,Be)?.catch(ut=>{this.applicationErrorHandler(ut)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.reactiveHref.set(null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z))??"":null)}applyAttributeValue(Z,Me){const at=this.renderer,qe=this.el.nativeElement;null!==Me?at.setAttribute(qe,Z,Me):at.removeAttribute(qe,Z)}get urlTree(){return null===this.routerLinkInput?null:(0,ne.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(Me){return new(Me||ge)(ce.rXU(ne.Ix),ce.rXU(ne.nX),ce.kS0("tabindex"),ce.rXU(ce.sFG),ce.rXU(ce.aKT),ce.rXU(G.hb))};static \u0275dir=ce.FsC({type:ge,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Me,at){1&Me&&ce.bIt("click",function(pn){return at.onClick(pn.button,pn.ctrlKey,pn.shiftKey,pn.altKey,pn.metaKey)}),2&Me&&ce.BMQ("href",at.reactiveHref(),ce.n$t)("target",at.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ee.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ee.L39],replaceUrl:[2,"replaceUrl","replaceUrl",Ee.L39],routerLink:"routerLink"},features:[ce.OA$]})}return ge})(),Le=(()=>{class ge{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ce.bkB;constructor(Z,Me,at,qe,pn){this.router=Z,this.element=Me,this.renderer=at,this.cdr=qe,this.link=pn,this.routerEventsSubscription=Z.events.subscribe(Je=>{Je instanceof ne.wF&&this.update()})}ngAfterContentInit(){(0,Re.of)(this.links.changes,(0,Re.of)(null)).pipe((0,he.U)()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(Me=>!!Me).map(Me=>Me.onChanges);this.linkInputChangesSubscription=(0,De.H)(Z).pipe((0,he.U)()).subscribe(Me=>{this._isActive!==this.isLinkActive(this.router)(Me)&&this.update()})}set routerLinkActive(Z){const Me=Array.isArray(Z)?Z:Z.split(" ");this.classes=Me.filter(at=>!!at)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this.classes.forEach(Me=>{Z?this.renderer.addClass(this.element.nativeElement,Me):this.renderer.removeClass(this.element.nativeElement,Me)}),Z&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.isActiveChange.emit(Z))})}isLinkActive(Z){const Me=function te(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return at=>{const qe=at.urlTree;return!!qe&&Z.isActive(qe,Me)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static \u0275fac=function(Me){return new(Me||ge)(ce.rXU(ne.Ix),ce.rXU(ce.aKT),ce.rXU(ce.sFG),ce.rXU(Ee.gRc),ce.rXU(lt,8))};static \u0275dir=ce.FsC({type:ge,selectors:[["","routerLinkActive",""]],contentQueries:function(Me,at,qe){if(1&Me&&ce.wni(qe,lt,5),2&Me){let pn;ce.mGM(pn=ce.lsd())&&(at.links=pn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ce.OA$]})}return ge})();class ie{}let ve=(()=>{class ge{router;injector;preloadingStrategy;loader;subscription;constructor(Z,Me,at,qe){this.router=Z,this.injector=Me,this.preloadingStrategy=at,this.loader=qe}setUpPreloading(){this.subscription=this.router.events.pipe((0,_e.p)(Z=>Z instanceof ne.wF),(0,Xe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,Me){const at=[];for(const qe of Me){qe.providers&&!qe._injector&&(qe._injector=(0,ce.Ol2)(qe.providers,Z,`Route: ${qe.path}`));const pn=qe._injector??Z,Je=qe._loadedInjector??pn;(qe.loadChildren&&!qe._loadedRoutes&&void 0===qe.canLoad||qe.loadComponent&&!qe._loadedComponent)&&at.push(this.preloadConfig(pn,qe)),(qe.children||qe._loadedRoutes)&&at.push(this.processRoutes(Je,qe.children??qe._loadedRoutes))}return(0,De.H)(at).pipe((0,he.U)())}preloadConfig(Z,Me){return this.preloadingStrategy.preload(Me,()=>{let at;at=Me.loadChildren&&void 0===Me.canLoad?this.loader.loadChildren(Z,Me):(0,Re.of)(null);const qe=at.pipe((0,Dt.Z)(pn=>null===pn?(0,Re.of)(void 0):(Me._loadedRoutes=pn.routes,Me._loadedInjector=pn.injector,this.processRoutes(pn.injector??Z,pn.routes))));if(Me.loadComponent&&!Me._loadedComponent){const pn=this.loader.loadComponent(Z,Me);return(0,De.H)([qe,pn]).pipe((0,he.U)())}return qe})}static \u0275fac=function(Me){return new(Me||ge)(V.KVO(ne.Ix),V.KVO(V.uvJ),V.KVO(ie),V.KVO(ne.D$))};static \u0275prov=V.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const H=new V.nKC("");let $=(()=>{class ge{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ne.wU;restoredId=0;store={};constructor(Z,Me,at,qe,pn={}){this.urlSerializer=Z,this.transitions=Me,this.viewportScroller=at,this.zone=qe,this.options=pn,pn.scrollPositionRestoration||="disabled",pn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof ne.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof ne.wF?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof ne.lW&&Z.code===ne.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{if(!(Z instanceof ne.OY))return;const Me={behavior:"instant"};Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Me):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position,Me):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Z,Me){var at=this;this.zone.runOutsideAngular((0,W.A)(function*(){yield new Promise(qe=>{setTimeout(qe),typeof requestAnimationFrame<"u"&&requestAnimationFrame(qe)}),at.zone.run(()=>{at.transitions.events.next(new ne.OY(Z,"popstate"===at.lastSource?at.store[at.restoredId]:null,Me))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Me){ce.QTQ()};static \u0275prov=V.jDH({token:ge,factory:ge.\u0275fac})}return ge})();function ht(ge,N){return{\u0275kind:ge,\u0275providers:N}}function gt(){const ge=(0,V.WQX)(V.zZn);return N=>{const Z=ge.get(ce.o8S);if(N!==Z.components[0])return;const Me=ge.get(ne.Ix),at=ge.get(Gt);1===ge.get(rt)&&Me.initialNavigation(),ge.get(Qn,null,{optional:!0})?.setUpPreloading(),ge.get(H,null,{optional:!0})?.init(),Me.resetRootComponentType(Z.componentTypes[0]),at.closed||(at.next(),at.complete(),at.unsubscribe())}}const Gt=new V.nKC("",{factory:()=>new J.B}),rt=new V.nKC("",{providedIn:"root",factory:()=>1}),Qn=new V.nKC("");function h(ge){return ht(0,[{provide:Qn,useExisting:ve},{provide:ie,useExisting:ge}])}function Pt(ge){return(0,ce._jY)("NgRouterViewTransitions"),ht(9,[{provide:ne.Pu,useValue:ne.Lg},{provide:ne.bK,useValue:{skipNextTransition:!!ge?.skipInitialTransition,...ge}}])}const vi=[G.aZ,{provide:ne.Sd,useClass:ne.nU},ne.Ix,ne.Zp,{provide:ne.nX,useFactory:function nt(ge){return ge.routerState.root},deps:[ne.Ix]},ne.D$,[]];let Ni=(()=>{class ge{constructor(){}static forRoot(Z,Me){return{ngModule:ge,providers:[vi,[],{provide:ne.bw,multi:!0,useValue:Z},[],Me?.errorHandler?{provide:ne.XR,useValue:Me.errorHandler}:[],{provide:ne.J_,useValue:Me||{}},Me?.useHash?{provide:G.hb,useClass:xe.fw}:{provide:G.hb,useClass:G.Sm},{provide:H,useFactory:()=>{const ge=(0,V.WQX)(re.Xr),N=(0,V.WQX)(ce.SKi),Z=(0,V.WQX)(ne.J_),Me=(0,V.WQX)(ne.J2),at=(0,V.WQX)(ne.Sd);return Z.scrollOffset&&ge.setOffset(Z.scrollOffset),new $(at,Me,ge,N,Z)}},Me?.preloadingStrategy?h(Me.preloadingStrategy).\u0275providers:[],Me?.initialNavigation?ye(Me):[],Me?.bindToComponentInputs?ht(8,[ne.tD,{provide:ne.c1,useExisting:ne.tD}]).\u0275providers:[],Me?.enableViewTransitions?Pt().\u0275providers:[],[{provide:ke,useFactory:gt},{provide:ce.iLQ,multi:!0,useExisting:ke}]]}}static forChild(Z){return{ngModule:ge,providers:[{provide:ne.bw,multi:!0,useValue:Z}]}}static \u0275fac=function(Me){return new(Me||ge)};static \u0275mod=ce.$C({type:ge});static \u0275inj=V.G2t({})}return ge})();function ye(ge){return["disabled"===ge.initialNavigation?ht(3,[(0,ce.phd)(()=>{(0,V.WQX)(ne.Ix).setUpLocationChangeListener()}),{provide:rt,useValue:2}]).\u0275providers:[],"enabledBlocking"===ge.initialNavigation?ht(2,[{provide:ce.tvf,useValue:!0},{provide:rt,useValue:0},(0,ce.phd)(()=>{const N=(0,V.WQX)(V.zZn);return N.get(G.hj,Promise.resolve()).then(()=>new Promise(Me=>{const at=N.get(ne.Ix),qe=N.get(Gt);(0,ne.gk)(at,()=>{Me(!0)}),N.get(ne.J2).afterPreactivation=()=>(Me(!0),qe.closed?(0,Re.of)(void 0):qe),at.initialNavigation()}))})]).\u0275providers:[]]}const ke=new V.nKC("")},60(Zt,pe,l){"use strict";l.d(pe,{aY:()=>ld,dX:()=>I0});var i=l(2615),d=l(3664),v=l(7705),T=l(9295),w=l(345);function e(Te,dt){(null==dt||dt>Te.length)&&(dt=Te.length);for(var st=0,ft=Array(dt);st=Te.length?{done:!0}:{done:!1,value:Te[ft++]}},e:function(si){throw si},f:$t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Cn,Dn=!0,Zn=!1;return{s:function(){st=st.call(Te)},n:function(){var si=st.next();return Dn=si.done,si},e:function(si){Zn=!0,Cn=si},f:function(){try{Dn||null==st.return||st.return()}finally{if(Zn)throw Cn}}}}function A(Te,dt,st){return(dt=ce(dt))in Te?Object.defineProperty(Te,dt,{value:st,enumerable:!0,configurable:!0,writable:!0}):Te[dt]=st,Te}function W(Te,dt){var st=Object.keys(Te);if(Object.getOwnPropertySymbols){var ft=Object.getOwnPropertySymbols(Te);dt&&(ft=ft.filter(function($t){return Object.getOwnPropertyDescriptor(Te,$t).enumerable})),st.push.apply(st,ft)}return st}function G(Te){for(var dt=1;dt0;)dt+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return dt}function wa(Te){for(var dt=[],st=(Te||[]).length>>>0;st--;)dt[st]=Te[st];return dt}function ja(Te){return Te.classList?wa(Te.classList):(Te.getAttribute("class")||"").split(" ").filter(function(dt){return dt})}function Za(Te){return"".concat(Te).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Rr(Te){return Object.keys(Te||{}).reduce(function(dt,st){return dt+"".concat(st,": ").concat(Te[st].trim(),";")},"")}function Fs(Te){return Te.size!==Pa.size||Te.x!==Pa.x||Te.y!==Pa.y||Te.rotate!==Pa.rotate||Te.flipX||Te.flipY}function Ne(){var dt=Ki,st=Ui.cssPrefix,ft=Ui.replacementClass,$t=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if("fa"!==st||ft!==dt){var Cn=new RegExp("\\.".concat("fa","\\-"),"g"),Dn=new RegExp("\\--".concat("fa","\\-"),"g"),Zn=new RegExp("\\.".concat(dt),"g");$t=$t.replace(Cn,".".concat(st,"-")).replace(Dn,"--".concat(st,"-")).replace(Zn,".".concat(ft))}return $t}var He=!1;function q(){Ui.autoAddCss&&!He&&(function yr(Te){if(Te&&H){var dt=ie.createElement("style");dt.setAttribute("type","text/css"),dt.innerHTML=Te;for(var st=ie.head.childNodes,ft=null,$t=st.length-1;$t>-1;$t--){var Cn=st[$t],Dn=(Cn.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Dn)>-1&&(ft=Cn)}ie.head.insertBefore(dt,ft)}}(Ne()),He=!0)}var mt={mixout:function(){return{dom:{css:Ne,insertCss:q}}},hooks:function(){return{beforeDOMElementCreation:function(){q()},beforeI2svg:function(){q()}}}},ln=te||{};ln[Ze]||(ln[Ze]={}),ln[Ze].styles||(ln[Ze].styles={}),ln[Ze].hooks||(ln[Ze].hooks={}),ln[Ze].shims||(ln[Ze].shims=[]);var Oi=ln[Ze],ua=[],Es=function(){ie.removeEventListener("DOMContentLoaded",Es),kt=1,ua.map(function(dt){return dt()})},kt=!1;function $e(Te){var dt=Te.tag,st=Te.attributes,ft=void 0===st?{}:st,$t=Te.children,Cn=void 0===$t?[]:$t;return"string"==typeof Te?Za(Te):"<".concat(dt," ").concat(function Or(Te){return Object.keys(Te||{}).reduce(function(dt,st){return dt+"".concat(st,'="').concat(Za(Te[st]),'" ')},"").trim()}(ft),">").concat(Cn.map($e).join(""),"")}function mn(Te,dt,st){if(Te&&Te[dt]&&Te[dt][st])return{prefix:dt,iconName:st,icon:Te[dt][st]}}H&&((kt=(ie.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ie.readyState))||ie.addEventListener("DOMContentLoaded",Es));var Ei=function(dt,st,ft,$t){var si,_t,ji,Cn=Object.keys(dt),Dn=Cn.length,Zn=void 0!==$t?function(dt,st){return function(ft,$t,Cn,Dn){return dt.call(st,ft,$t,Cn,Dn)}}(st,$t):st;for(void 0===ft?(si=1,ji=dt[Cn[0]]):(si=0,ji=ft);si2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,$t=void 0!==ft&&ft,Cn=cs(dt);"function"!=typeof Oi.hooks.addPack||$t?Oi.styles[Te]=G(G({},Oi.styles[Te]||{}),Cn):Oi.hooks.addPack(Te,cs(dt)),"fas"===Te&&qr("fa",dt)}var Ss=Oi.styles,tr=Oi.shims,Eo=Object.keys(Ka),Mo=Eo.reduce(function(Te,dt){return Te[dt]=Object.keys(Ka[dt]),Te},{}),Sl=null,pl={},zl={},ds={},nr={},mi={};var gl=function(){var dt=function(Cn){return Ei(Ss,function(Dn,Zn,si){return Dn[si]=Ei(Zn,Cn,{}),Dn},{})};pl=dt(function($t,Cn,Dn){return Cn[3]&&($t[Cn[3]]=Dn),Cn[2]&&Cn[2].filter(function(si){return"number"==typeof si}).forEach(function(si){$t[si.toString(16)]=Dn}),$t}),zl=dt(function($t,Cn,Dn){return $t[Dn]=Dn,Cn[2]&&Cn[2].filter(function(si){return"string"==typeof si}).forEach(function(si){$t[si]=Dn}),$t}),mi=dt(function($t,Cn,Dn){var Zn=Cn[2];return $t[Dn]=Dn,Zn.forEach(function(si){$t[si]=Dn}),$t});var st="far"in Ss||Ui.autoFetchSvg,ft=Ei(tr,function($t,Cn){var Dn=Cn[0],Zn=Cn[1],si=Cn[2];return"far"===Zn&&!st&&(Zn="fas"),"string"==typeof Dn&&($t.names[Dn]={prefix:Zn,iconName:si}),"number"==typeof Dn&&($t.unicodes[Dn.toString(16)]={prefix:Zn,iconName:si}),$t},{names:{},unicodes:{}});ds=ft.names,nr=ft.unicodes,Sl=eo(Ui.styleDefault,{family:Ui.familyDefault})};function Tr(Te,dt){return(pl[Te]||{})[dt]}function mo(Te,dt){return(mi[Te]||{})[dt]}function Tl(Te){return ds[Te]||{prefix:null,iconName:null}}function za(){return Sl}function eo(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,ft=void 0===st?oe:st;return ft!==Ye||Te?jr[ft][Te]||jr[ft][bo[ft][Te]]||(Te in Oi.styles?Te:null)||null:"fad"}function fo(Te){return Te.sort().filter(function(dt,st,ft){return ft.indexOf(dt)===st})}(function vr(Te){xs.push(Te)})(function(Te){Sl=eo(Te.styleDefault,{family:Ui.familyDefault})}),gl();var To=di.concat(bt);function Ho(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,ft=void 0!==st&&st,$t=null,Cn=fo(Te.filter(function(Ba){return To.includes(Ba)})),Dn=fo(Te.filter(function(Ba){return!To.includes(Ba)})),_t=xe(Cn.filter(function(Ba){return $t=Ba,!ht.includes(Ba)}),1)[0],ji=void 0===_t?null:_t,Hi=function Dl(Te){var dt=oe,st=Eo.reduce(function(ft,$t){return ft[$t]="".concat(Ui.cssPrefix,"-").concat($t),ft},{});return Be.forEach(function(ft){(Te.includes(st[ft])||Te.some(function($t){return Mo[ft].includes($t)}))&&(dt=ft)}),dt}(Cn),Ja=G(G({},function So(Te){var dt=[],st=null;return Te.forEach(function(ft){var $t=function Go(Te,dt){var st=dt.split("-"),ft=st[0],$t=st.slice(1).join("-");return ft!==Te||""===$t||function Uo(Te){return~_r.indexOf(Te)}($t)?null:$t}(Ui.cssPrefix,ft);$t?st=$t:ft&&dt.push(ft)}),{iconName:st,rest:dt}}(Dn)),{},{prefix:eo(ji,{family:Hi})});return G(G(G({},Ja),function no(Te){var dt=Te.values,st=Te.family,ft=Te.canonical,$t=Te.givenPrefix,Cn=void 0===$t?"":$t,Dn=Te.styles,Zn=void 0===Dn?{}:Dn,si=Te.config,_t=void 0===si?{}:si,ji=st===Ye,Hi=dt.includes("fa-duotone")||dt.includes("fad");if(!ji&&(Hi||"duotone"===_t.familyDefault||("fad"===ft.prefix||"fa-duotone"===ft.prefix))&&(ft.prefix="fad"),(dt.includes("fa-brands")||dt.includes("fab"))&&(ft.prefix="fab"),!ft.prefix&&to.includes(st)&&(Object.keys(Zn).find(function(vs){return wl.includes(vs)})||_t.autoFetchSvg)){var _s=se.get(st).defaultShortPrefixId;ft.prefix=_s,ft.iconName=mo(ft.prefix,ft.iconName)||ft.iconName}return("fa"===ft.prefix||"fa"===Cn)&&(ft.prefix=za()||"fas"),ft}({values:Te,family:Hi,styles:Ss,config:Ui,canonical:Ja,givenPrefix:$t})),function _l(Te,dt,st){var ft=st.prefix,$t=st.iconName;if(Te||!ft||!$t)return{prefix:ft,iconName:$t};var Cn="fa"===dt?Tl($t):{},Dn=mo(ft,$t);return"far"===(ft=Cn.prefix||ft)&&!Ss.far&&Ss.fas&&!Ui.autoFetchSvg&&(ft="fas"),{prefix:ft,iconName:$t=Cn.iconName||Dn||$t}}(ft,$t,Ja))}var to=Be.filter(function(Te){return Te!==oe||Te!==Ye}),wl=Object.keys(Jt).filter(function(Te){return Te!==oe}).map(function(Te){return Object.keys(Jt[Te])}).flat(),Al=function(){return function C(Te,dt,st){return dt&&L(Te.prototype,dt),st&&L(Te,st),Object.defineProperty(Te,"prototype",{writable:!1}),Te}(function Te(){(function u(Te,dt){if(!(Te instanceof dt))throw new TypeError("Cannot call a class as a function")})(this,Te),this.definitions={}},[{key:"add",value:function(){for(var st=this,ft=arguments.length,$t=new Array(ft),Cn=0;Cn0&&ji.forEach(function(Hi){"string"==typeof Hi&&(st[Zn][Hi]=_t)}),st[Zn][si]=_t}),st}}])}(),io=[],Ys={},Dr={},li=Object.keys(Dr);function ao(Te,dt){for(var st=arguments.length,ft=new Array(st>2?st-2:0),$t=2;$t1?dt-1:0),ft=1;ft0&&void 0!==arguments[0]?arguments[0]:{};return H?(Pr("beforeI2svg",dt),so("pseudoElements2svg",dt),so("i2svg",dt)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},st=dt.autoReplaceSvgRoot;!1===Ui.autoReplaceSvg&&(Ui.autoReplaceSvg=!0),Ui.observeMutations=!0,function On(Te){H&&(kt?setTimeout(Te,0):ua.push(Te))}(function(){ql({autoReplaceSvgRoot:st}),Pr("watch",dt)})}},ir={noAuto:function(){Ui.autoReplaceSvg=!1,Ui.observeMutations=!1,Pr("noAuto")},config:Ui,dom:Jl,parse:{icon:function(dt){if(null===dt)return null;if("object"===be(dt)&&dt.prefix&&dt.iconName)return{prefix:dt.prefix,iconName:mo(dt.prefix,dt.iconName)||dt.iconName};if(Array.isArray(dt)&&2===dt.length){var st=0===dt[1].indexOf("fa-")?dt[1].slice(3):dt[1],ft=eo(dt[0]);return{prefix:ft,iconName:mo(ft,st)||st}}if("string"==typeof dt&&(dt.indexOf("".concat(Ui.cssPrefix,"-"))>-1||dt.match(js))){var $t=Ho(dt.split(" "),{skipLookups:!0});return{prefix:$t.prefix||za(),iconName:mo($t.prefix,$t.iconName)||$t.iconName}}if("string"==typeof dt){var Cn=za();return{prefix:Cn,iconName:mo(Cn,dt)||dt}}}},library:Ul,findIconDefinition:tl,toHtml:$e},ql=function(){var st=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,ft=void 0===st?ie:st;(Object.keys(Oi.styles).length>0||Ui.autoFetchSvg)&&H&&Ui.autoReplaceSvg&&ir.dom.i2svg({node:ft})};function Wo(Te,dt){return Object.defineProperty(Te,"abstract",{get:dt}),Object.defineProperty(Te,"html",{get:function(){return Te.abstract.map(function(ft){return $e(ft)})}}),Object.defineProperty(Te,"node",{get:function(){if(H){var ft=ie.createElement("div");return ft.innerHTML=Te.html,ft.children}}}),Te}function Q(Te){var dt=Te.icons,st=dt.main,ft=dt.mask,$t=Te.prefix,Cn=Te.iconName,Dn=Te.transform,Zn=Te.symbol,si=Te.maskId,_t=Te.extra,ji=Te.watchable,Hi=void 0!==ji&&ji,Ja=ft.found?ft:st,Ba=Ja.width,wr=Ja.height,_s=[Ui.replacementClass,Cn?"".concat(Ui.cssPrefix,"-").concat(Cn):""].filter(function(sc){return-1===_t.classes.indexOf(sc)}).filter(function(sc){return""!==sc||!!sc}).concat(_t.classes).join(" "),vs={children:[],attributes:G(G({},_t.attributes),{},{"data-prefix":$t,"data-icon":Cn,class:_s,role:_t.attributes.role||"img",viewBox:"0 0 ".concat(Ba," ").concat(wr)})};!function de(Te){return["aria-label","aria-labelledby","title","role"].some(function(st){return st in Te})}(_t.attributes)&&!_t.attributes["aria-hidden"]&&(vs.attributes["aria-hidden"]="true"),Hi&&(vs.attributes[_a]="");var rr=G(G({},vs),{},{prefix:$t,iconName:Cn,main:st,mask:ft,maskId:si,transform:Dn,symbol:Zn,styles:G({},_t.styles)}),Bs=ft.found&&st.found?so("generateAbstractMask",rr)||{children:[],attributes:{}}:so("generateAbstractIcon",rr)||{children:[],attributes:{}},Kr=Bs.attributes;return rr.children=Bs.children,rr.attributes=Kr,Zn?function X(Te){var st=Te.iconName,ft=Te.children,$t=Te.attributes,Cn=Te.symbol,Dn=!0===Cn?"".concat(Te.prefix,"-").concat(Ui.cssPrefix,"-").concat(st):Cn;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:G(G({},$t),{},{id:Dn}),children:ft}]}]}(rr):function nl(Te){var dt=Te.children,st=Te.main,ft=Te.mask,$t=Te.attributes,Cn=Te.styles,Dn=Te.transform;if(Fs(Dn)&&st.found&&!ft.found){var _t={x:st.width/st.height/2,y:.5};$t.style=Rr(G(G({},Cn),{},{"transform-origin":"".concat(_t.x+Dn.x/16,"em ").concat(_t.y+Dn.y/16,"em")}))}return[{tag:"svg",attributes:$t,children:dt}]}(rr)}function me(Te){var dt=Te.content,st=Te.width,ft=Te.height,$t=Te.transform,Cn=Te.extra,Dn=Te.watchable,Zn=void 0!==Dn&&Dn,si=G(G({},Cn.attributes),{},{class:Cn.classes.join(" ")});Zn&&(si[_a]="");var _t=G({},Cn.styles);Fs($t)&&(_t.transform=function Ks(Te){var dt=Te.transform,st=Te.width,$t=Te.height,Cn=void 0===$t?16:$t,Dn=Te.startCentered,Zn=void 0!==Dn&&Dn,si="";return si+=Zn&&$?"translate(".concat(dt.x/16-(void 0===st?16:st)/2,"em, ").concat(dt.y/16-Cn/2,"em) "):Zn?"translate(calc(-50% + ".concat(dt.x/16,"em), calc(-50% + ").concat(dt.y/16,"em)) "):"translate(".concat(dt.x/16,"em, ").concat(dt.y/16,"em) "),(si+="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "))+"rotate(".concat(dt.rotate,"deg) ")}({transform:$t,startCentered:!0,width:st,height:ft}),_t["-webkit-transform"]=_t.transform);var ji=Rr(_t);ji.length>0&&(si.style=ji);var Hi=[];return Hi.push({tag:"span",attributes:si,children:[dt]}),Hi}var Mt=Oi.styles;function Kt(Te){var dt=Te[0],st=Te[1],Cn=xe(Te.slice(4),1)[0];return{found:!0,width:dt,height:st,icon:Array.isArray(Cn)?{tag:"g",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_SECONDARY),fill:"currentColor",d:Cn[0]}},{tag:"path",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_PRIMARY),fill:"currentColor",d:Cn[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Cn}}}}var Tn={found:!1,width:512,height:512};function Gi(Te,dt){var st=dt;return"fa"===dt&&null!==Ui.styleDefault&&(dt=za()),new Promise(function(ft,$t){if("fa"===st){var Cn=Tl(Te)||{};Te=Cn.iconName||Te,dt=Cn.prefix||dt}if(Te&&dt&&Mt[dt]&&Mt[dt][Te])return ft(Kt(Mt[dt][Te]));(function ai(Te,dt){!zo&&!Ui.showMissingIcons&&Te&&console.error('Icon with name "'.concat(Te,'" and prefix "').concat(dt,'" is missing.'))})(Te,dt),ft(G(G({},Tn),{},{icon:Ui.showMissingIcons&&Te&&so("missingIconAbstract")||{}}))})}var La=function(){},as=Ui.measurePerformance&&F&&F.mark&&F.measure?F:{mark:La,measure:La},Ns='FA "7.1.0"',ro_begin=function(dt){return as.mark("".concat(Ns," ").concat(dt," begins")),function(){return function(dt){as.mark("".concat(Ns," ").concat(dt," ends")),as.measure("".concat(Ns," ").concat(dt),"".concat(Ns," ").concat(dt," begins"),"".concat(Ns," ").concat(dt," ends"))}(dt)}},oo=function(){};function Il(Te){return"string"==typeof(Te.getAttribute?Te.getAttribute(_a):null)}function Xc(Te){return ie.createElementNS("http://www.w3.org/2000/svg",Te)}function po(Te){return ie.createElement(Te)}function fc(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,ft=void 0===st?"svg"===Te.tag?Xc:po:st;if("string"==typeof Te)return ie.createTextNode(Te);var $t=ft(Te.tag);return Object.keys(Te.attributes||[]).forEach(function(Dn){$t.setAttribute(Dn,Te.attributes[Dn])}),(Te.children||[]).forEach(function(Dn){$t.appendChild(fc(Dn,{ceFn:ft}))}),$t}var Fr={replace:function(dt){var st=dt[0];if(st.parentNode)if(dt[1].forEach(function($t){st.parentNode.insertBefore(fc($t),st)}),null===st.getAttribute(_a)&&Ui.keepOriginalSource){var ft=ie.createComment(function pc(Te){var dt=" ".concat(Te.outerHTML," ");return"".concat(dt,"Font Awesome fontawesome.com ")}(st));st.parentNode.replaceChild(ft,st)}else st.remove()},nest:function(dt){var st=dt[0],ft=dt[1];if(~ja(st).indexOf(Ui.replacementClass))return Fr.replace(dt);var $t=new RegExp("".concat(Ui.cssPrefix,"-.*"));if(delete ft[0].attributes.id,ft[0].attributes.class){var Cn=ft[0].attributes.class.split(" ").reduce(function(Zn,si){return si===Ui.replacementClass||si.match($t)?Zn.toSvg.push(si):Zn.toNode.push(si),Zn},{toNode:[],toSvg:[]});ft[0].attributes.class=Cn.toSvg.join(" "),0===Cn.toNode.length?st.removeAttribute("class"):st.setAttribute("class",Cn.toNode.join(" "))}var Dn=ft.map(function(Zn){return $e(Zn)}).join("\n");st.setAttribute(_a,""),st.innerHTML=Dn}};function wo(Te){Te()}function od(Te,dt){var st="function"==typeof dt?dt:oo;if(0===Te.length)st();else{var ft=wo;"async"===Ui.mutateApproach&&(ft=te.requestAnimationFrame||wo),ft(function(){var $t=function kl(){return!0===Ui.autoReplaceSvg?Fr.replace:Fr[Ui.autoReplaceSvg]||Fr.replace}(),Cn=ro_begin("mutate");Te.map($t),Cn(),st()})}}var Ao=!1;function Lc(){Ao=!0}function vl(){Ao=!1}var al=null;function Lo(Te){if(P&&Ui.observeMutations){var dt=Te.treeCallback,st=void 0===dt?oo:dt,ft=Te.nodeCallback,$t=void 0===ft?oo:ft,Cn=Te.pseudoElementsCallback,Dn=void 0===Cn?oo:Cn,Zn=Te.observeMutationsRoot,si=void 0===Zn?ie:Zn;al=new P(function(_t){if(!Ao){var ji=za();wa(_t).forEach(function(Hi){if("childList"===Hi.type&&Hi.addedNodes.length>0&&!Il(Hi.addedNodes[0])&&(Ui.searchPseudoElements&&Dn(Hi.target),st(Hi.target)),"attributes"===Hi.type&&Hi.target.parentNode&&Ui.searchPseudoElements&&Dn([Hi.target],!0),"attributes"===Hi.type&&Il(Hi.target)&&~Co.indexOf(Hi.attributeName))if("class"===Hi.attributeName&&function mc(Te){var dt=Te.getAttribute?Te.getAttribute(ns):null,st=Te.getAttribute?Te.getAttribute(Ga):null;return dt&&st}(Hi.target)){var Ja=Ho(ja(Hi.target)),wr=Ja.iconName;Hi.target.setAttribute(ns,Ja.prefix||ji),wr&&Hi.target.setAttribute(Ga,wr)}else(function ec(Te){return Te&&Te.classList&&Te.classList.contains&&Te.classList.contains(Ui.replacementClass)})(Hi.target)&&$t(Hi.target)})}}),H&&al.observe(si,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Io(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},st=function jl(Te){var dt=Te.getAttribute("data-prefix"),st=Te.getAttribute("data-icon"),ft=void 0!==Te.innerText?Te.innerText.trim():"",$t=Ho(ja(Te));return $t.prefix||($t.prefix=za()),dt&&st&&($t.prefix=dt,$t.iconName=st),$t.iconName&&$t.prefix||($t.prefix&&ft.length>0&&($t.iconName=function jo(Te,dt){return(zl[Te]||{})[dt]}($t.prefix,Te.innerText)||Tr($t.prefix,xa(Te.innerText))),!$t.iconName&&Ui.autoFetchSvg&&Te.firstChild&&Te.firstChild.nodeType===Node.TEXT_NODE&&($t.iconName=Te.firstChild.data)),$t}(Te),ft=st.iconName,$t=st.prefix,Cn=st.rest,Dn=function Hl(Te){return wa(Te.attributes).reduce(function(st,ft){return"class"!==st.name&&"style"!==st.name&&(st[ft.name]=ft.value),st},{})}(Te),Zn=ao("parseNodeAttributes",{},Te),si=dt.styleParser?function Gl(Te){var dt=Te.getAttribute("style"),st=[];return dt&&(st=dt.split(";").reduce(function(ft,$t){var Cn=$t.split(":"),Dn=Cn[0],Zn=Cn.slice(1);return Dn&&Zn.length>0&&(ft[Dn]=Zn.join(":").trim()),ft},{})),st}(Te):[];return G({iconName:ft,prefix:$t,transform:Pa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Cn,styles:si,attributes:Dn}},Zn)}var ko=Oi.styles;function Wl(Te){var dt="nest"===Ui.autoReplaceSvg?Io(Te,{styleParser:!1}):Io(Te);return~dt.extra.classes.indexOf(Vo)?so("generateLayersText",Te,dt):so("generateSvgReplacementMutation",Te,dt)}function Ts(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!H)return Promise.resolve();var st=ie.documentElement.classList,ft=function(Hi){return st.add("".concat(As,"-").concat(Hi))},$t=function(Hi){return st.remove("".concat(As,"-").concat(Hi))},Cn=Ui.autoFetchSvg?function sr(){return[].concat(Ee(bt),Ee(di))}():ht.concat(Object.keys(ko));Cn.includes("fa")||Cn.push("fa");var Dn=[".".concat(Vo,":not([").concat(_a,"])")].concat(Cn.map(function(ji){return".".concat(ji,":not([").concat(_a,"])")})).join(", ");if(0===Dn.length)return Promise.resolve();var Zn=[];try{Zn=wa(Te.querySelectorAll(Dn))}catch{}if(!(Zn.length>0))return Promise.resolve();ft("pending"),$t("complete");var si=ro_begin("onTree"),_t=Zn.reduce(function(ji,Hi){try{var Ja=Wl(Hi);Ja&&ji.push(Ja)}catch(Ba){zo||"MissingIcon"===Ba.name&&console.error(Ba)}return ji},[]);return new Promise(function(ji,Hi){Promise.all(_t).then(function(Ja){od(Ja,function(){ft("active"),ft("complete"),$t("pending"),"function"==typeof dt&&dt(),si(),ji()})}).catch(function(Ja){si(),Hi(Ja)})})}function yt(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wl(Te).then(function(st){st&&od([st],dt)})}var ct=function(dt){var st=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ft=st.transform,$t=void 0===ft?Pa:ft,Cn=st.symbol,Dn=void 0!==Cn&&Cn,Zn=st.mask,si=void 0===Zn?null:Zn,_t=st.maskId,ji=void 0===_t?null:_t,Hi=st.classes,Ja=void 0===Hi?[]:Hi,Ba=st.attributes,wr=void 0===Ba?{}:Ba,_s=st.styles,vs=void 0===_s?{}:_s;if(dt){var rr=dt.prefix,Bs=dt.iconName,ol=dt.icon;return Wo(G({type:"icon"},dt),function(){return Pr("beforeDOMElementCreation",{iconDefinition:dt,params:st}),Q({icons:{main:Kt(ol),mask:si?Kt(si.icon):{found:!1,width:null,height:null,icon:{}}},prefix:rr,iconName:Bs,transform:G(G({},Pa),$t),symbol:Dn,maskId:ji,extra:{attributes:wr,styles:vs,classes:Ja}})})}},Qt={mixout:function(){return{icon:(Te=ct,function(dt){var st=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ft=(dt||{}).icon?dt:tl(dt||{}),$t=st.mask;return $t&&($t=($t||{}).icon?$t:tl($t||{})),Te(ft,G(G({},st),{},{mask:$t}))})};var Te},hooks:function(){return{mutationObserverCallbacks:function(st){return st.treeCallback=Ts,st.nodeCallback=yt,st}}},provides:function(dt){dt.i2svg=function(st){var ft=st.node,Cn=st.callback;return Ts(void 0===ft?ie:ft,void 0===Cn?function(){}:Cn)},dt.generateSvgReplacementMutation=function(st,ft){var $t=ft.iconName,Cn=ft.prefix,Dn=ft.transform,Zn=ft.symbol,si=ft.mask,_t=ft.maskId,ji=ft.extra;return new Promise(function(Hi,Ja){Promise.all([Gi($t,Cn),si.iconName?Gi(si.iconName,si.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Ba){var wr=xe(Ba,2);Hi([st,Q({icons:{main:wr[0],mask:wr[1]},prefix:Cn,iconName:$t,transform:Dn,symbol:Zn,maskId:_t,extra:ji,watchable:!0})])}).catch(Ja)})},dt.generateAbstractIcon=function(st){var _t,ft=st.children,$t=st.attributes,Cn=st.main,Dn=st.transform,si=Rr(st.styles);return si.length>0&&($t.style=si),Fs(Dn)&&(_t=so("generateAbstractTransformGrouping",{main:Cn,transform:Dn,containerWidth:Cn.width,iconWidth:Cn.width})),ft.push(_t||Cn.icon),{children:ft,attributes:$t}}}},Pn={mixout:function(){return{layer:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.classes,Cn=void 0===$t?[]:$t;return Wo({type:"layer"},function(){Pr("beforeDOMElementCreation",{assembler:st,params:ft});var Dn=[];return st(function(Zn){Array.isArray(Zn)?Zn.map(function(si){Dn=Dn.concat(si.abstract)}):Dn=Dn.concat(Zn.abstract)}),[{tag:"span",attributes:{class:["".concat(Ui.cssPrefix,"-layers")].concat(Ee(Cn)).join(" ")},children:Dn}]})}}}},$n={mixout:function(){return{counter:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.title,Cn=void 0===$t?null:$t,Dn=ft.classes,Zn=void 0===Dn?[]:Dn,si=ft.attributes,_t=void 0===si?{}:si,ji=ft.styles,Hi=void 0===ji?{}:ji;return Wo({type:"counter",content:st},function(){return Pr("beforeDOMElementCreation",{content:st,params:ft}),function et(Te){var dt=Te.content,st=Te.extra,ft=G(G({},st.attributes),{},{class:st.classes.join(" ")}),$t=Rr(st.styles);$t.length>0&&(ft.style=$t);var Cn=[];return Cn.push({tag:"span",attributes:ft,children:[dt]}),Cn}({content:st.toString(),title:Cn,extra:{attributes:_t,styles:Hi,classes:["".concat(Ui.cssPrefix,"-layers-counter")].concat(Ee(Zn))}})})}}}},Ci={mixout:function(){return{text:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.transform,Cn=void 0===$t?Pa:$t,Dn=ft.classes,Zn=void 0===Dn?[]:Dn,si=ft.attributes,_t=void 0===si?{}:si,ji=ft.styles,Hi=void 0===ji?{}:ji;return Wo({type:"text",content:st},function(){return Pr("beforeDOMElementCreation",{content:st,params:ft}),me({content:st,transform:G(G({},Pa),Cn),extra:{attributes:_t,styles:Hi,classes:["".concat(Ui.cssPrefix,"-layers-text")].concat(Ee(Zn))}})})}}},provides:function(dt){dt.generateLayersText=function(st,ft){var $t=ft.transform,Cn=ft.extra,Dn=null,Zn=null;if($){var si=parseInt(getComputedStyle(st).fontSize,10),_t=st.getBoundingClientRect();Dn=_t.width/si,Zn=_t.height/si}return Promise.resolve([st,me({content:st.innerHTML,width:Dn,height:Zn,transform:$t,extra:Cn,watchable:!0})])}}},wi=new RegExp('"',"ug"),$i=[1105920,1112319],sa=G(G(G(G({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),va=Object.keys(sa).reduce(function(Te,dt){return Te[dt.toLowerCase()]=sa[dt],Te},{}),oa=Object.keys(va).reduce(function(Te,dt){var st=va[dt];return Te[dt]=st[900]||Ee(Object.entries(st))[0][1],Te},{});function Nr(Te,dt){var st="".concat("data-fa-pseudo-element-pending").concat(dt.replace(":","-"));return new Promise(function(ft,$t){if(null!==Te.getAttribute(st))return ft();var Dn=wa(Te.children).filter(function(ll){return ll.getAttribute(Ua)===dt})[0],Zn=te.getComputedStyle(Te,dt),si=Zn.getPropertyValue("font-family"),_t=si.match(Zr),ji=Zn.getPropertyValue("font-weight"),Hi=Zn.getPropertyValue("content");if(Dn&&!_t)return Te.removeChild(Dn),ft();if(_t&&"none"!==Hi&&""!==Hi){var Ja=Zn.getPropertyValue("content"),Ba=function gi(Te,dt){var st=Te.replace(/^['"]|['"]$/g,"").toLowerCase(),ft=parseInt(dt),$t=isNaN(ft)?"normal":ft;return(va[st]||{})[$t]||oa[st]}(si,ji),wr=function hs(Te){return xa(Ee(Te.replace(wi,""))[0]||"")}(Ja),_s=_t[0].startsWith("FontAwesome"),vs=function Ls(Te){var dt=Te.getPropertyValue("font-feature-settings").includes("ss01"),ft=Te.getPropertyValue("content").replace(wi,""),$t=ft.codePointAt(0);return $t>=$i[0]&&$t<=$i[1]||2===ft.length&&ft[0]===ft[1]||dt}(Zn),rr=Tr(Ba,wr),Bs=rr;if(_s){var ol=function Vl(Te){var dt=nr[Te],st=Tr("fas",Te);return dt||(st?{prefix:"fas",iconName:st}:null)||{prefix:null,iconName:null}}(wr);ol.iconName&&ol.prefix&&(rr=ol.iconName,Ba=ol.prefix)}if(!rr||vs||Dn&&Dn.getAttribute(ns)===Ba&&Dn.getAttribute(Ga)===Bs)ft();else{Te.setAttribute(st,Bs),Dn&&Te.removeChild(Dn);var Kr=function Rl(){return{iconName:null,prefix:null,transform:Pa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),sc=Kr.extra;sc.attributes[Ua]=dt,Gi(rr,Ba).then(function(ll){var D4=Q(G(G({},Kr),{},{icons:{main:ll,mask:{prefix:null,iconName:null,rest:[]}},prefix:Ba,iconName:Bs,extra:sc,watchable:!0})),vc=ie.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===dt?Te.insertBefore(vc,Te.firstChild):Te.appendChild(vc),vc.outerHTML=D4.map(function(s2){return $e(s2)}).join("\n"),Te.removeAttribute(st),ft()}).catch($t)}}else ft()})}function Br(Te){return Promise.all([Nr(Te,"::before"),Nr(Te,"::after")])}function Xo(Te){return!(Te.parentNode===document.head||~mr.indexOf(Te.tagName.toUpperCase())||Te.getAttribute(Ua)||Te.parentNode&&"svg"===Te.parentNode.tagName)}var Oo=function(dt){return!!dt&&fr.some(function(st){return dt.includes(st)})},Pl=function(dt){if(!dt)return[];var Cn,st=new Set,ft=dt.split(/,(?![^()]*\))/).map(function(si){return si.trim()}),$t=B(ft=ft.flatMap(function(si){return si.includes("(")?si:si.split(",").map(function(_t){return _t.trim()})}));try{for($t.s();!(Cn=$t.n()).done;){var Dn=Cn.value;if(Oo(Dn)){var Zn=fr.reduce(function(si,_t){return si.replace(_t,"")},Dn);""!==Zn&&"*"!==Zn&&st.add(Zn)}}}catch(si){$t.e(si)}finally{$t.f()}return st};function yl(Te){if(H){var st;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])st=Te;else if(Ui.searchPseudoElementsFullScan)st=Te.querySelectorAll("*");else{var Cn,ft=new Set,$t=B(document.styleSheets);try{for($t.s();!(Cn=$t.n()).done;){var Dn=Cn.value;try{var si,Zn=B(Dn.cssRules);try{for(Zn.s();!(si=Zn.n()).done;){var Ja,Hi=B(Pl(si.value.selectorText));try{for(Hi.s();!(Ja=Hi.n()).done;)ft.add(Ja.value)}catch(_s){Hi.e(_s)}finally{Hi.f()}}}catch(_s){Zn.e(_s)}finally{Zn.f()}}catch(_s){Ui.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(Dn.href," (").concat(_s.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(_s){$t.e(_s)}finally{$t.f()}if(!ft.size)return;var wr=Array.from(ft).join(", ");try{st=Te.querySelectorAll(wr)}catch{}}return new Promise(function(_s,vs){var rr=wa(st).filter(Xo).map(Br),Bs=ro_begin("searchPseudoElements");Lc(),Promise.all(rr).then(function(){Bs(),vl(),_s()}).catch(function(){Bs(),vl(),vs()})})}}var tc=!1,Kc=function(dt){return dt.toLowerCase().split(" ").reduce(function(ft,$t){var Cn=$t.toLowerCase().split("-"),Dn=Cn[0],Zn=Cn.slice(1).join("-");if(Dn&&"h"===Zn)return ft.flipX=!0,ft;if(Dn&&"v"===Zn)return ft.flipY=!0,ft;if(Zn=parseFloat(Zn),isNaN(Zn))return ft;switch(Dn){case"grow":ft.size=ft.size+Zn;break;case"shrink":ft.size=ft.size-Zn;break;case"left":ft.x=ft.x-Zn;break;case"right":ft.x=ft.x+Zn;break;case"up":ft.y=ft.y-Zn;break;case"down":ft.y=ft.y+Zn;break;case"rotate":ft.rotate=ft.rotate+Zn}return ft},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},gc={x:0,y:0,width:"100%",height:"100%"};function Yc(Te){return Te.attributes&&(Te.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Te.attributes.fill="black"),Te}!function Wr(Te,dt){var st=dt.mixoutsTo;io=Te,Ys={},Object.keys(Dr).forEach(function(ft){-1===li.indexOf(ft)&&delete Dr[ft]}),io.forEach(function(ft){var $t=ft.mixout?ft.mixout():{};if(Object.keys($t).forEach(function(Dn){"function"==typeof $t[Dn]&&(st[Dn]=$t[Dn]),"object"===be($t[Dn])&&Object.keys($t[Dn]).forEach(function(Zn){st[Dn]||(st[Dn]={}),st[Dn][Zn]=$t[Dn][Zn]})}),ft.hooks){var Cn=ft.hooks();Object.keys(Cn).forEach(function(Dn){Ys[Dn]||(Ys[Dn]=[]),Ys[Dn].push(Cn[Dn])})}ft.provides&&ft.provides(Dr)})}([mt,Qt,Pn,$n,Ci,{hooks:function(){return{mutationObserverCallbacks:function(st){return st.pseudoElementsCallback=yl,st}}},provides:function(dt){dt.pseudoElements2svg=function(st){var ft=st.node;Ui.searchPseudoElements&&yl(void 0===ft?ie:ft)}}},{mixout:function(){return{dom:{unwatch:function(){Lc(),tc=!0}}}},hooks:function(){return{bootstrap:function(){Lo(ao("mutationObserverCallbacks",{}))},noAuto:function(){!function Ol(){al&&al.disconnect()}()},watch:function(st){var ft=st.observeMutationsRoot;tc?vl():Lo(ao("mutationObserverCallbacks",{observeMutationsRoot:ft}))}}}},{mixout:function(){return{parse:{transform:function(st){return Kc(st)}}}},hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-transform");return $t&&(st.transform=Kc($t)),st}}},provides:function(dt){dt.generateAbstractTransformGrouping=function(st){var ft=st.main,$t=st.transform,Dn=st.iconWidth,Zn={transform:"translate(".concat(st.containerWidth/2," 256)")},si="translate(".concat(32*$t.x,", ").concat(32*$t.y,") "),_t="scale(".concat($t.size/16*($t.flipX?-1:1),", ").concat($t.size/16*($t.flipY?-1:1),") "),ji="rotate(".concat($t.rotate," 0 0)"),Ba={outer:Zn,inner:{transform:"".concat(si," ").concat(_t," ").concat(ji)},path:{transform:"translate(".concat(Dn/2*-1," -256)")}};return{tag:"g",attributes:G({},Ba.outer),children:[{tag:"g",attributes:G({},Ba.inner),children:[{tag:ft.icon.tag,children:ft.icon.children,attributes:G(G({},ft.icon.attributes),Ba.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-mask"),Cn=$t?Ho($t.split(" ").map(function(Dn){return Dn.trim()})):{prefix:null,iconName:null,rest:[]};return Cn.prefix||(Cn.prefix=za()),st.mask=Cn,st.maskId=ft.getAttribute("data-fa-mask-id"),st}}},provides:function(dt){dt.generateAbstractMask=function(st){var Te,ft=st.children,$t=st.attributes,Cn=st.main,Dn=st.mask,Zn=st.maskId,ji=Cn.icon,Ja=Dn.icon,Ba=function Hr(Te){var dt=Te.transform,ft=Te.iconWidth,$t={transform:"translate(".concat(Te.containerWidth/2," 256)")},Cn="translate(".concat(32*dt.x,", ").concat(32*dt.y,") "),Dn="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "),Zn="rotate(".concat(dt.rotate," 0 0)");return{outer:$t,inner:{transform:"".concat(Cn," ").concat(Dn," ").concat(Zn)},path:{transform:"translate(".concat(ft/2*-1," -256)")}}}({transform:st.transform,containerWidth:Dn.width,iconWidth:Cn.width}),wr={tag:"rect",attributes:G(G({},gc),{},{fill:"white"})},_s=ji.children?{children:ji.children.map(Yc)}:{},vs={tag:"g",attributes:G({},Ba.inner),children:[Yc(G({tag:ji.tag,attributes:G(G({},ji.attributes),Ba.path)},_s))]},rr={tag:"g",attributes:G({},Ba.outer),children:[vs]},Bs="mask-".concat(Zn||Xs()),ol="clip-".concat(Zn||Xs()),Kr={tag:"mask",attributes:G(G({},gc),{},{id:Bs,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[wr,rr]},sc={tag:"defs",children:[{tag:"clipPath",attributes:{id:ol},children:(Te=Ja,"g"===Te.tag?Te.children:[Te])},Kr]};return ft.push(sc,{tag:"rect",attributes:G({fill:"currentColor","clip-path":"url(#".concat(ol,")"),mask:"url(#".concat(Bs,")")},gc)}),{children:ft,attributes:$t}}}},{provides:function(dt){var st=!1;te.matchMedia&&(st=te.matchMedia("(prefers-reduced-motion: reduce)").matches),dt.missingIconAbstract=function(){var ft=[],$t={fill:"currentColor"},Cn={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};ft.push({tag:"path",attributes:G(G({},$t),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Dn=G(G({},Cn),{},{attributeName:"opacity"}),Zn={tag:"circle",attributes:G(G({},$t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return st||Zn.children.push({tag:"animate",attributes:G(G({},Cn),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:G(G({},Dn),{},{values:"1;0;1;1;0;1;"})}),ft.push(Zn),ft.push({tag:"path",attributes:G(G({},$t),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:st?[]:[{tag:"animate",attributes:G(G({},Dn),{},{values:"1;0;0;0;0;1;"})}]}),st||ft.push({tag:"path",attributes:G(G({},$t),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:G(G({},Dn),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:ft}}}},{hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-symbol");return st.symbol=null!==$t&&(""===$t||$t),st}}}}],{mixoutsTo:ir});var Oa=ir.config,K=ir.dom,Ie=ir.parse,ui=ir.icon;const S4=["*"];let Qc=(()=>{class Te{defaultPrefix="fas";fallbackIcon=null;fixedWidth;set autoAddCss(st){Oa.autoAddCss=st,this._autoAddCss=st}get autoAddCss(){return this._autoAddCss}_autoAddCss=!0;static \u0275fac=function(ft){return new(ft||Te)};static \u0275prov=i.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})(),_c=(()=>{class Te{definitions={};addIcons(...st){for(const ft of st){ft.prefix in this.definitions||(this.definitions[ft.prefix]={}),this.definitions[ft.prefix][ft.iconName]=ft;for(const $t of ft.icon[2])"string"==typeof $t&&(this.definitions[ft.prefix][$t]=ft)}}addIconPacks(...st){for(const ft of st){const $t=Object.keys(ft).map(Cn=>ft[Cn]);this.addIcons(...$t)}}getIconDefinition(st,ft){return st in this.definitions&&ft in this.definitions[st]?this.definitions[st][ft]:null}static \u0275fac=function(ft){return new(ft||Te)};static \u0275prov=i.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();const $c=Te=>null!=Te&&(90===Te||180===Te||270===Te||"90"===Te||"180"===Te||"270"===Te),n2=Te=>{const dt=$c(Te.rotate),st={[`fa-${Te.animation}`]:null!=Te.animation&&!Te.animation.startsWith("spin"),"fa-spin":"spin"===Te.animation||"spin-reverse"===Te.animation,"fa-spin-pulse":"spin-pulse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-spin-reverse":"spin-reverse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-pulse":"spin-pulse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-fw":Te.fixedWidth,"fa-border":Te.border,"fa-inverse":Te.inverse,"fa-layers-counter":Te.counter,"fa-flip-horizontal":"horizontal"===Te.flip||"both"===Te.flip,"fa-flip-vertical":"vertical"===Te.flip||"both"===Te.flip,[`fa-${Te.size}`]:null!==Te.size,[`fa-rotate-${Te.rotate}`]:dt,"fa-rotate-by":null!=Te.rotate&&!dt,[`fa-pull-${Te.pull}`]:null!==Te.pull,[`fa-stack-${Te.stackItemSize}`]:null!=Te.stackItemSize};return Object.keys(st).map(ft=>st[ft]?ft:null).filter(ft=>null!=ft)},rl=new WeakSet,br="fa-auto-css";let Fl=(()=>{class Te{stackItemSize=(0,v.hFB)("1x");size=(0,v.hFB)();_effect=(0,T.QZ)(()=>{if(this.size())throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')});static \u0275fac=function(ft){return new(ft||Te)};static \u0275dir=d.FsC({type:Te,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:[1,"stackItemSize"],size:[1,"size"]}})}return Te})(),y1=(()=>{class Te{size=(0,v.hFB)();classes=(0,T.EW)(()=>{const st=this.size();return{...st?{[`fa-${st}`]:!0}:{},"fa-stack":!0}});static \u0275fac=function(ft){return new(ft||Te)};static \u0275cmp=d.VBU({type:Te,selectors:[["fa-stack"]],hostVars:2,hostBindings:function(ft,$t){2&ft&&d.HbH($t.classes())},inputs:{size:[1,"size"]},ngContentSelectors:S4,decls:1,vars:0,template:function(ft,$t){1&ft&&(d.NAR(),d.SdG(0))},encapsulation:2,changeDetection:0})}return Te})(),ld=(()=>{class Te{icon=(0,v.geq)();title=(0,v.geq)();animation=(0,v.geq)();mask=(0,v.geq)();flip=(0,v.geq)();size=(0,v.geq)();pull=(0,v.geq)();border=(0,v.geq)();inverse=(0,v.geq)();symbol=(0,v.geq)();rotate=(0,v.geq)();fixedWidth=(0,v.geq)();transform=(0,v.geq)();a11yRole=(0,v.geq)();renderedIconHTML=(0,T.EW)(()=>{const st=this.icon()??this.config.fallbackIcon;if(!st)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})(),"";const ft=this.findIconDefinition(st);if(!ft)return"";const $t=this.buildParams();!function Yo(Te,dt){if(!dt.autoAddCss||rl.has(Te))return;if(null!=Te.getElementById(br))return dt.autoAddCss=!1,void rl.add(Te);const st=Te.createElement("style");st.setAttribute("type","text/css"),st.setAttribute("id",br),st.innerHTML=K.css();const ft=Te.head.childNodes;let $t=null;for(let Cn=ft.length-1;Cn>-1;Cn--){const Dn=ft[Cn],Zn=Dn.nodeName.toUpperCase();["STYLE","LINK"].indexOf(Zn)>-1&&($t=Dn)}Te.head.insertBefore(st,$t),dt.autoAddCss=!1,rl.add(Te)}(this.document,this.config);const Cn=ui(ft,$t);return this.sanitizer.bypassSecurityTrustHtml(Cn.html.join("\n"))});document=(0,i.WQX)(i.qQL);sanitizer=(0,i.WQX)(w.up);config=(0,i.WQX)(Qc);iconLibrary=(0,i.WQX)(_c);stackItem=(0,i.WQX)(Fl,{optional:!0});stack=(0,i.WQX)(y1,{optional:!0});constructor(){null!=this.stack&&null==this.stackItem&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}findIconDefinition(st){const ft=((Te,dt)=>(Te=>void 0!==Te.prefix&&void 0!==Te.iconName)(Te)?Te:Array.isArray(Te)&&2===Te.length?{prefix:Te[0],iconName:Te[1]}:{prefix:dt,iconName:Te})(st,this.config.defaultPrefix);return"icon"in ft?ft:this.iconLibrary.getIconDefinition(ft.prefix,ft.iconName)??((Te=>{throw new Error(`Could not find icon with iconName=${Te.iconName} and prefix=${Te.prefix} in the icon library.`)})(ft),null)}buildParams(){const st=this.fixedWidth(),ft={flip:this.flip(),animation:this.animation(),border:this.border(),inverse:this.inverse(),size:this.size(),pull:this.pull(),rotate:this.rotate(),fixedWidth:"boolean"==typeof st?st:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize():void 0},$t=this.transform(),Cn="string"==typeof $t?Ie.transform($t):$t,Dn=this.mask(),Zn=null!=Dn?this.findIconDefinition(Dn):null,si={},_t=this.a11yRole();null!=_t&&(si.role=_t);const ji={};return null!=ft.rotate&&!$c(ft.rotate)&&(ji["--fa-rotate-angle"]=`${ft.rotate}`),{title:this.title(),transform:Cn,classes:n2(ft),mask:Zn??void 0,symbol:this.symbol(),attributes:si,styles:ji}}static \u0275fac=function(ft){return new(ft||Te)};static \u0275cmp=d.VBU({type:Te,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ft,$t){2&ft&&(d.Avn("innerHTML",$t.renderedIconHTML(),d.npT),d.BMQ("title",$t.title()??void 0))},inputs:{icon:[1,"icon"],title:[1,"title"],animation:[1,"animation"],mask:[1,"mask"],flip:[1,"flip"],size:[1,"size"],pull:[1,"pull"],border:[1,"border"],inverse:[1,"inverse"],symbol:[1,"symbol"],rotate:[1,"rotate"],fixedWidth:[1,"fixedWidth"],transform:[1,"transform"],a11yRole:[1,"a11yRole"]},outputs:{icon:"iconChange",title:"titleChange",animation:"animationChange",mask:"maskChange",flip:"flipChange",size:"sizeChange",pull:"pullChange",border:"borderChange",inverse:"inverseChange",symbol:"symbolChange",rotate:"rotateChange",fixedWidth:"fixedWidthChange",transform:"transformChange",a11yRole:"a11yRoleChange"},decls:0,vars:0,template:function(ft,$t){},encapsulation:2,changeDetection:0})}return Te})(),I0=(()=>{class Te{static \u0275fac=function(ft){return new(ft||Te)};static \u0275mod=d.$C({type:Te});static \u0275inj=i.G2t({})}return Te})()},5383(Zt,pe,l){"use strict";l.d(pe,{$$g:()=>qa,$Fj:()=>Ch,$sC:()=>Xb,BA1:()=>In,C8j:()=>cd,CQO:()=>r0,Ccf:()=>gs,D6w:()=>t_,DW4:()=>M4,EvL:()=>te,FYJ:()=>We,GR4:()=>wt,GRI:()=>A_,HEq:()=>ki,If6:()=>Yt,Int:()=>f6,JKM:()=>n1,Kcb:()=>Op,M29:()=>ub,McB:()=>Fb,Mf0:()=>mc,MjD:()=>ln,Oh6:()=>cC,QLR:()=>kf,TBz:()=>Hb,Tq9:()=>Ia,Vpi:()=>B,VwO:()=>S_,W1p:()=>vf,WKo:()=>er,WxX:()=>Tc,Xbc:()=>On,_eQ:()=>So,_qq:()=>M_,aAJ:()=>yo,aFw:()=>P6,cbP:()=>g1,dB:()=>c0,e4L:()=>M6,eGi:()=>N3,f6_:()=>Lh,gdJ:()=>_d,hb3:()=>cc,iW_:()=>CC,iy8:()=>Jo,jPR:()=>oy,jTw:()=>J2,k02:()=>Ve,k6j:()=>dg,knH:()=>r3,ld_:()=>Iu,njF:()=>qb,nsx:()=>Vb,o97:()=>Ii,pCJ:()=>dn,pS3:()=>X,peG:()=>Fp,qFF:()=>n0,qIE:()=>SC,s5m:()=>j2,vfE:()=>a7,xiI:()=>Up,ymQ:()=>E,zPk:()=>s1,zjW:()=>A2,zm_:()=>gy,zpE:()=>N8});var B={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M136 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 56 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-114.9 0c-24.9 0-45.1 20.2-45.1 45.1 0 22.5 16.5 41.5 38.7 44.7l91.6 13.1c53.8 7.7 93.7 53.7 93.7 108 0 60.3-48.9 109.1-109.1 109.1l-10.9 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-72 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l130.9 0c24.9 0 45.1-20.2 45.1-45.1 0-22.5-16.5-41.5-38.7-44.7l-91.6-13.1C55.9 273.5 16 227.4 16 173.1 16 112.9 64.9 64 125.1 64l10.9 0 0-40z"]},te={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M64 160c0-53 43-96 96-96s96 43 96 96c0 42.7-27.9 78.9-66.5 91.4-28.4 9.2-61.5 35.3-61.5 76.6l0 24c0 17.7 14.3 32 32 32s32-14.3 32-32l0-24c0-1.7 .6-4.1 3.5-7.3 3-3.3 7.9-6.5 13.7-8.4 64.3-20.7 110.8-81 110.8-152.3 0-88.4-71.6-160-160-160S0 71.6 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm96 352c22.1 0 40-17.9 40-40s-17.9-40-40-40-40 17.9-40 40 17.9 40 40 40z"]},wt={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3l0 294.7 160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-384 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288L584.4 320 512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1-10.8 44.8-63.1 78.9-126 78.9zM126.8 195.8L54.4 320 199.3 320 126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1-10.8 44.8-63.1 78.9-126 78.9S11.7 382 .9 337.1z"]},We={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32l264 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-76.7 0c17.7 19.8 30.1 44.6 34.7 72l42 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-42 0c-10.4 62.2-60.8 110.9-123.8 118.9L274.6 422c14.4 10.3 17.7 30.3 7.4 44.6s-30.3 17.7-44.6 7.4L13.4 314C2.1 306-2.7 291.5 1.5 278.2S18.1 256 32 256l80 0c35.8 0 66.1-23.5 76.3-56L24 200c-13.3 0-24-10.7-24-24s10.7-24 24-24l164.3 0c-10.2-32.5-40.5-56-76.3-56L32 96C14.3 96 0 81.7 0 64z"]},dn={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M286 304c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7L78 512c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3l59.4 0zM585.7 105.9c7.8-10.7 22.8-13.1 33.5-5.3s13.1 22.8 5.3 33.5L522.1 274.9c-4.2 5.7-10.7 9.4-17.7 9.8s-14-2.2-18.9-7.3l-46.4-48c-9.2-9.5-9-24.7 .6-33.9 9.5-9.2 24.7-8.9 33.9 .6l26.5 27.4 85.6-117.7zM256.3 248a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},Yt={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[448,512,[],"e4c1","M265.4-6.6c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L285.3 64 352 64c53 0 96 43 96 96l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-17.7-14.3-32-32-32l-66.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm-82.7 272l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L162.7 400 96 400c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 481.7 0 464l0-32c0-53 43-96 96-96l66.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM320 368a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 160a64 64 0 1 1 0-128 64 64 0 1 1 0 128z"]},In={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64L72 128c-13.3 0-24-10.7-24-24S58.7 80 72 80l384 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L64 32zM416 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ve={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M290.4 19.8C295.4 7.8 307.1 0 320 0L480 0c17.7 0 32 14.3 32 32l0 160c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9L400 157.3 246.6 310.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L354.7 112 297.4 54.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0 176c0-44.2 35.8-80 80-80l80 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-80 0c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-80c0-17.7 14.3-32 32-32s32 14.3 32 32l0 80c0 44.2-35.8 80-80 80L80 512c-44.2 0-80-35.8-80-80L0 176z"]},Ii={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},er={prefix:"fas",iconName:"percent",icon:[448,512,[62101,62785,"percentage"],"25","M192 128a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM448 384a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM438.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-384 384c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l384-384z"]},ln={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},On={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 70.7 176 0c26.5 0 48-21.5 48-48l0-22.7c-28.3-12.3-48-40.5-48-73.3 0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 22.7c0 61.9-50.1 112-112 112l-176 0 0 70.7c28.3 12.3 48 40.5 48 73.3 0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80 0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},So={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M480.5 10.3L259.1 158c-29.1 19.4-47.6 50.9-50.6 85.3 62.3 12.8 111.4 61.9 124.3 124.3 34.5-3 65.9-21.5 85.3-50.6L565.7 95.5c6.7-10.1 10.3-21.9 10.3-34.1 0-33.9-27.5-61.4-61.4-61.4-12.1 0-24 3.6-34.1 10.3zM288 400c0-61.9-50.1-112-112-112S64 338.1 64 400c0 3.9 .2 7.8 .6 11.6 1.8 17.5-10.2 36.4-27.8 36.4L32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0c61.9 0 112-50.1 112-112z"]},X={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},mc={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6S384 14.6 384 24l0 464c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6l-40.4-34.6-40.4 34.6c-9 7.7-22.2 7.7-31.2 0l-40.4-34.6-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488L0 24C0 14.6 5.5 6.1 14 2.2zM104 136c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0zM80 352c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24-120c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},ki={prefix:"fas",iconName:"unlock-keyhole",icon:[384,512,["unlock-alt"],"f13e","M192 32c-35.3 0-64 28.7-64 64l0 64 192 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l0-64c0-70.7 57.3-128 128-128 63.5 0 116.1 46.1 126.2 106.7 2.9 17.4-8.8 33.9-26.3 36.9s-33.9-8.8-36.9-26.3C250 55.1 223.7 32 192 32zm40 328c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0z"]},cd={prefix:"fas",iconName:"infinity",icon:[640,512,[8734,9854],"f534","M0 256c0-88.4 71.6-160 160-160 50.4 0 97.8 23.7 128 64l32 42.7 32-42.7c30.2-40.3 77.6-64 128-64 88.4 0 160 71.6 160 160S568.4 416 480 416c-50.4 0-97.8-23.7-128-64l-32-42.7-32 42.7c-30.2 40.3-77.6 64-128 64-88.4 0-160-71.6-160-160zm280 0l-43.2-57.6c-18.1-24.2-46.6-38.4-76.8-38.4-53 0-96 43-96 96s43 96 96 96c30.2 0 58.7-14.2 76.8-38.4L280 256zm80 0l43.2 57.6c18.1 24.2 46.6 38.4 76.8 38.4 53 0 96-43 96-96s-43-96-96-96c-30.2 0-58.7 14.2-76.8 38.4L360 256z"]},_d={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M320 16a104 104 0 1 1 0 208 104 104 0 1 1 0-208zM96 88a72 72 0 1 1 0 144 72 72 0 1 1 0-144zM0 416c0-70.7 57.3-128 128-128 12.8 0 25.2 1.9 36.9 5.4-32.9 36.8-52.9 85.4-52.9 138.6l0 16c0 11.4 2.4 22.2 6.7 32L32 480c-17.7 0-32-14.3-32-32l0-32zm521.3 64c4.3-9.8 6.7-20.6 6.7-32l0-16c0-53.2-20-101.8-52.9-138.6 11.7-3.5 24.1-5.4 36.9-5.4 70.7 0 128 57.3 128 128l0 32c0 17.7-14.3 32-32 32l-86.7 0zM472 160a72 72 0 1 1 144 0 72 72 0 1 1 -144 0zM160 432c0-88.4 71.6-160 160-160s160 71.6 160 160l0 16c0 17.7-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32l0-16z"]},qa={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M404 0c19.2 0 37.6 7.6 51.1 21.2l35.7 35.7C504.4 70.4 512 88.8 512 108s-7.6 37.6-21.2 51.1L445.9 204 308 66.1 352.9 21.2C366.4 7.6 384.8 0 404 0zM58.9 315.1L274.1 100 412 237.9 196.9 453.1c-10.7 10.7-24.1 18.5-38.7 22.6L30.4 511.1c-8.3 2.3-17.3 0-23.4-6.2s-8.5-15.1-6.2-23.4L36.4 353.8c4.1-14.6 11.8-27.9 22.6-38.7zM225.4 80.8L80.8 225.4 11.7 156.3c-15.6-15.6-15.6-40.9 0-56.6l88-88c15.6-15.6 40.9-15.6 56.6 0l5.9 5.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 34.9 34.9zM431.2 286.6l34.9 34.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 5.9 5.9c15.6 15.6 15.6 40.9 0 56.6l-88 88c-15.6 15.6-40.9 15.6-56.6 0l-69.1-69.1 144.6-144.6z"]},n1={prefix:"fas",iconName:"won-sign",icon:[512,512,[8361,"krw","won"],"f159","M62.4 53.9C56.8 37.1 38.7 28.1 21.9 33.6S-3.9 57.4 1.7 74.1L56.9 240 32 240c-13.3 0-24 10.7-24 24s10.7 24 24 24l40.9 0 56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288 279 288 321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288 480 288c13.3 0 24-10.7 24-24s-10.7-24-24-24l-24.9 0 55.3-165.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2l-62 186.1-54.6 0-45.9-183.8C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L179 240 124.4 240 62.4 53.9zm78 234.1l26.6 0-11.4 45.6-15.2-45.6zM245 240l11-44.1 11 44.1-22 0zm100 48l26.6 0-15.2 45.6-11.4-45.6z"]},A2={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64l0 256-24 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 80c0 17.7 14.3 32 32 32s32-14.3 32-32l0-80 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-64 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-96 176 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},r3={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M256.4 0c-17.7 0-32 14.3-32 32l0 32-160 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l160 0 0 64-153.4 0c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7l153.4 0 0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96 160 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-160 0 0-64 153.4 0c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7l-153.4 0 0-32c0-17.7-14.3-32-32-32z"]},cc={prefix:"fas",iconName:"turkish-lira-sign",icon:[448,512,["try","turkish-lira"],"e2bb","M160 32c17.7 0 32 14.3 32 32l0 43.6 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 46.1 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 162.5 72 0c53 0 96-43 96-96 0-17.7 14.3-32 32-32s32 14.3 32 32c0 88.4-71.6 160-160 160l-104 0c-17.7 0-32-14.3-32-32l0-176.2-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-46.1-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-61.9c0-17.7 14.3-32 32-32z"]},Iu={prefix:"fas",iconName:"user-clock",icon:[576,512,[],"f4fd","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c3.9 0 7.9 .1 11.8 .4-16.2 28.2-25.5 60.8-25.5 95.6 0 41.8 13.4 80.5 36 112L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zM288 400a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]},j2={prefix:"fas",iconName:"euro-sign",icon:[448,512,[8364,"eur","euro"],"f153","M73.3 192C100.8 99.5 186.5 32 288 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-65.6 0-122 39.5-146.7 96L272 192c13.3 0 24 10.7 24 24s-10.7 24-24 24l-143.2 0c-.5 5.3-.8 10.6-.8 16s.3 10.7 .8 16L272 272c13.3 0 24 10.7 24 24s-10.7 24-24 24l-130.7 0c24.7 56.5 81.1 96 146.7 96l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-101.5 0-187.2-67.5-214.7-160L40 320c-13.3 0-24-10.7-24-24s10.7-24 24-24l24.6 0c-.7-10.5-.7-21.5 0-32L40 240c-13.3 0-24-10.7-24-24s10.7-24 24-24l33.3 0z"]},s1={prefix:"fas",iconName:"yen-sign",icon:[384,512,[165,"cny","jpy","rmb","yen"],"f157","M74.9 46.7c-9.6-14.9-29.4-19.2-44.2-9.6S11.5 66.4 21.1 81.3L143.7 272 88 272c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 32-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 48c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0 0-32 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.7 0 122.6-190.7c9.6-14.9 5.3-34.7-9.6-44.2s-34.7-5.3-44.2 9.6L192 228.8 74.9 46.7z"]},Tc={prefix:"fas",iconName:"angles-down",icon:[384,512,["angle-double-down"],"f103","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 402.7 329.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 210.7 329.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},N3={prefix:"fas",iconName:"network-wired",icon:[576,512,[],"f6ff","M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z"]},J2={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},n0={prefix:"fas",iconName:"diagram-project",icon:[512,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z"]},E={prefix:"fas",iconName:"money-bill-wave",icon:[512,512,[],"f53a","M0 419.6L0 109.5c0-23.2 24.1-38.6 46.3-32 87.7 26.2 149.7 5.5 212.1-15.3 64.5-21.5 129.4-43.1 223.3-13.1 18.5 5.9 30.3 23.8 30.3 43.3l0 310.1c0 23.2-24.1 38.6-46.2 32-87.7-26.2-149.8-5.5-212.1 15.3-64.5 21.5-129.4 43.1-223.3 13.1-18.5-5.9-30.3-23.8-30.3-43.3zM336 256c0-53-35.8-96-80-96s-80 43-80 96 35.8 96 80 96 80-43 80-96zM120 413.6c4.4 0 7.9-3.8 7.2-8.1-4.6-27.8-27-49.5-55.2-53-4.4-.5-8 3.1-8 7.5l0 39.9c0 3.6 2.4 6.8 6 7.7 17.9 4.2 34.3 6.1 50 6.1zm318.5-51.1c5 .8 9.5-3 9.5-8l0-42.6c0-4.4-3.6-8.1-8-7.5-25.2 3.1-45.9 20.9-53.2 44.6-1.4 4.7 2.3 9.1 7.2 9.2 14.2 .4 29 1.7 44.4 4.3zM448 152l0-39.9c0-3.6-2.5-6.8-6-7.7-17.9-4.2-34.3-6.1-50-6.1-4.4 0-7.9 3.8-7.2 8.1 4.6 27.8 27 49.5 55.2 53 4.4 .5 8-3.1 8-7.5zM125.2 162.9c1.4-4.7-2.3-9.1-7.2-9.2-14.2-.4-29-1.7-44.4-4.3-5-.8-9.5 3-9.5 8L64 200c0 4.4 3.6 8.1 8 7.5 25.2-3.1 45.9-20.9 53.2-44.6z"]},Ia={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 16c17.7 0 32 14.3 32 32l0 16 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48.9 0c-26 0-47.1 21.1-47.1 47.1 0 22.5 15.9 41.8 37.9 46.2l32.8 6.6c51.9 10.4 89.3 56 89.3 109 0 50.6-33.8 93.3-80 106.7l0 20.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-16-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64.9 0c26 0 47.1-21.1 47.1-47.1 0-22.5-15.9-41.8-37.9-46.2l-32.8-6.6c-51.9-10.4-89.3-56-89.3-109 0-50.6 33.8-93.2 80-106.7L368 48c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32l80 0c79.5 0 144 64.5 144 144 0 54.3-30 101.5-74.4 126.1l41 136.7c5.1 16.9-4.5 34.8-21.5 39.8s-34.8-4.5-39.8-21.5L120.1 319.8c-2.7 .1-5.4 .2-8.1 .2l-48 0 0 128c0 17.7-14.3 32-32 32S0 465.7 0 448L0 64zM64 256l48 0c44.2 0 80-35.8 80-80s-35.8-80-80-80l-48 0 0 160z"]},r0={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},c0={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]},yo={prefix:"fas",iconName:"user-lock",icon:[576,512,[],"f502","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c29.7 0 57.7 7.3 82.3 20.1l0 4.3c-19.6 17.6-32 43.1-32 71.5l0 96c0 5.5 .5 10.9 1.3 16.1L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zm301.7 .1c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 47.9 64 0 0-47.9zM352 400c0-20.9 13.4-38.7 32-45.3l0-50.6c0-44.2 35.8-80 80-80s80 35.8 80 80l0 50.6c18.6 6.6 32 24.4 32 45.3l0 96c0 26.5-21.5 48-48 48l-128 0c-26.5 0-48-21.5-48-48l0-96z"]},Ch={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 80l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 112l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Op={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M136 0c-13.3 0-24 10.7-24 24l0 40-74.4 0C16.8 64 0 80.8 0 101.6L0 406.3c0 23 18.7 41.7 41.7 41.7l70.3 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 48 0c61.9 0 112-50.1 112-112 0-40.1-21.1-75.3-52.7-95.1 13.1-18.3 20.7-40.7 20.7-64.9 0-61.9-50.1-112-112-112l-16 0 0-40c0-13.3-10.7-24-24-24zM112 128l0 96-48 0 0-96 48 0zm48 96l0-96 16 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-16 0zm-48 64l0 96-48 0 0-96 48 0zm48 96l0-96 48 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-48 0z"]},t_={prefix:"fas",iconName:"server",icon:[448,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Fp={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M313.4-6.6c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 128 128 128c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32S0 241.7 0 224l0-32C0 121.3 57.3 64 128 64l210.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 384 96 384c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3z"]},Up={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64 0-16.2-6-31.1-16-42.3l69.5-138.9c5.9-11.9 1.1-26.3-10.7-32.2s-26.3-1.1-32.2 10.7L261.1 288.2c-1.7-.1-3.4-.2-5.1-.2-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},M_={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M502.6 150.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9S352 236.9 352 224l0-64-320 0c-17.7 0-32-14.3-32-32S14.3 96 32 96l320 0 0-64c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c9.2-9.2 22.9-11.9 34.9-6.9S160 275.1 160 288l0 64 320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-320 0 0 64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9z"]},S_={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 112 256 0 0-112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 16 16 0c26.5 0 48 21.5 48 48l0 48c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 48c0 26.5-21.5 48-48 48l-16 0 0 16c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-112-256 0 0 112c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-16-16 0c-26.5 0-48-21.5-48-48l0-48c-17.7 0-32-14.3-32-32s14.3-32 32-32l0-48c0-26.5 21.5-48 48-48l16 0 0-16z"]},A_={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},Lh={prefix:"fas",iconName:"ruble-sign",icon:[448,512,[8381,"rouble","rub","ruble"],"f158","M112 32C94.3 32 80 46.3 80 64l0 208-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 48-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 152 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-152 0 0-48 112 0c79.5 0 144-64.5 144-144S335.5 32 256 32L112 32zM256 256l-112 0 0-160 112 0c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]},f6={prefix:"fas",iconName:"clock-rotate-left",icon:[576,512,["history"],"f1da","M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1z"]},vf={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M512.4 240l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206 2.3 17.5-12.2 31.9-29.9 31.9zM222.6 37.2c18.1-3.8 33.8 11 33.8 29.5l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8zM477.8 288l64 0c18.5 0 33.3 15.7 29.5 33.8-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l78.2 0z"]},M6={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M461.2 18.9C472.7 24 480 35.4 480 48l0 416c0 12.6-7.3 24-18.8 29.1s-24.8 3.2-34.3-5.1l-46.6-40.7c-43.6-38.1-98.7-60.3-156.4-63l0 95.7c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-96C57.3 384 0 326.7 0 256S57.3 128 128 128l84.5 0c61.8-.2 121.4-22.7 167.9-63.3l46.6-40.7c9.4-8.3 22.9-10.2 34.3-5.1zM224 320l0 .2c70.3 2.7 137.8 28.5 192 73.4l0-275.3c-54.2 44.9-121.7 70.7-192 73.4L224 320z"]},N8={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},M4={prefix:"fas",iconName:"lock",icon:[384,512,[128274],"f023","M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},P6={prefix:"fas",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 96L160 96c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-64 48 0 0-192zM0 224c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224zm64 40c0 13.3 10.7 24 24 24l240 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 240c-13.3 0-24 10.7-24 24z"]},g1={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},kf={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},oy={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},gs={prefix:"fas",iconName:"money-bill-1",icon:[512,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm192 80a112 112 0 1 1 0 224 112 112 0 1 1 0-224zM64 184l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8.1 3.6 7.5 8-3.6 29-26.6 51.9-55.5 55.5-4.4 .5-8-3.1-8-7.5zm0 144c0-4.4 3.6-8.1 8-7.5 29 3.6 51.9 26.6 55.5 55.5 .5 4.4-3.1 8-7.5 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM440 191.5c-29-3.6-51.9-26.6-55.5-55.5-.5-4.4 3.1-8 7.5-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8.1-8 7.5zM448 328l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8.1-3.6-7.5-8 3.6-29 26.6-51.9 55.5-55.5 4.4-.5 8 3.1 8 7.5zM240 188c-11 0-20 9-20 20 0 9.7 6.9 17.7 16 19.6l0 48.4-4 0c-11 0-20 9-20 20s9 20 20 20l48 0c11 0 20-9 20-20s-9-20-20-20l-4 0 0-68c0-11-9-20-20-20l-16 0z"]},Jo=gs,dg={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},gy={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M338.8-9.9c11.9 8.6 16.3 24.2 10.9 37.8L271.3 224 416 224c13.5 0 25.5 8.4 30.1 21.1s.7 26.9-9.6 35.5l-288 240c-11.3 9.4-27.4 9.9-39.3 1.3s-16.3-24.2-10.9-37.8L176.7 288 32 288c-13.5 0-25.5-8.4-30.1-21.1s-.7-26.9 9.6-35.5l288-240c11.3-9.4 27.4-9.9 39.3-1.3z"]},ub={prefix:"fas",iconName:"burst",icon:[512,512,[],"e4dc","M37.6 4.2C28-2.3 15.2-1.1 7 7S-2.3 28 4.2 37.6l112 163.3-99.6 32.3C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4-52.9 100.6c-4.9 9.3-3.2 20.7 4.3 28.1s18.8 9.2 28.1 4.3l100.6-52.9 33.4 103.1c3.2 9.9 12.4 16.6 22.8 16.6s19.6-6.7 22.8-16.6l33.4-103.1 100.6 52.9c9.3 4.9 20.7 3.2 28.1-4.3s9.2-18.8 4.3-28.1l-52.9-100.6 103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8l-106.5-34.5 25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7-34.5-106.5C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6L200.9 116.2 37.6 4.2z"]},Fb={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M256.5 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM226.7 304l59.4 0 1.5 0c-12.9 26.8-7.8 58.2 11.5 79.5-20.2 22.3-24.8 55.8-9.4 83.4l22.5 40.4c.9 1.6 1.9 3.2 2.9 4.7l-237 0c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3zm205.9-56.4c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 6.1c0 18.9 24.1 32.8 40.5 23.4l5-2.9c11.6-6.7 26.5-2.6 33 9.1l22.4 40.2c6.2 11.2 2.6 25.2-8.2 32l-4.7 2.9c-16.2 10.1-16.2 39.9 0 50.1l4.6 2.9c10.8 6.8 14.5 20.8 8.3 32L607 483.8c-6.5 11.7-21.4 15.9-33 9.1l-4.9-2.9c-16.4-9.5-40.5 4.5-40.5 23.4l0 6.1c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-5.9c0-19-24.2-33-40.7-23.5l-4.8 2.8c-11.6 6.7-26.4 2.6-33-9.1l-22.6-40.4c-6.2-11.2-2.6-25.3 8.3-32.1l4.4-2.7c16.3-10.1 16.3-40.1 0-50.2l-4.5-2.8c-10.9-6.8-14.5-20.9-8.3-32.1l22.5-40.3c6.5-11.7 21.4-15.8 32.9-9.1l4.8 2.8c16.5 9.5 40.7-4.5 40.7-23.5l0-5.9zm99.9 136.2a52 52 0 1 0 -104 0 52 52 0 1 0 104 0z"]},Vb={prefix:"fas",iconName:"screwdriver-wrench",icon:[576,512,["tools"],"f7d9","M70.8-6.7c5.4-5.4 13.8-6.2 20.2-2L209.9 70.5c8.9 5.9 14.2 15.9 14.2 26.6l0 49.6 90.8 90.8c33.3-15 73.9-8.9 101.2 18.5L542.2 382.1c18.7 18.7 18.7 49.1 0 67.9l-60.1 60.1c-18.7 18.7-49.1 18.7-67.9 0L288.1 384c-27.4-27.4-33.5-67.9-18.5-101.2l-90.8-90.8-49.6 0c-10.7 0-20.7-5.3-26.6-14.2L23.4 58.9c-4.2-6.3-3.4-14.8 2-20.2L70.8-6.7zm145 303.5c-6.3 36.9 2.3 75.9 26.2 107.2l-94.9 95c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8l135.4-135.5 35.2 35.1zM384.1 0c20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1L388.8 91.3c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l56.7-56.7c7.6-7.5 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 43.2-17.2 82.3-45 111.1l-49.1-49.1c-33.1-33-78.5-45.7-121.1-38.4l-56.8-56.8 0-29.7-.2-5c-.8-12.4-4.4-24.3-10.5-34.9 29.4-35 73.4-57.2 122.7-57.3z"]},Hb={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155-3.8 4.4-9.4 6.1-14.5 5L320 256c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96 43 96 96s-43 96-96 96l-276.4 0c8.7-9.9 19.3-22.6 30-36.8 6.3-8.4 12.8-17.6 19-27.2L416 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-53 0-96-43-96-96s43-96 96-96l39.8 0c-21-31.5-39.8-67.7-39.8-96 0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8-25.2-27.4-85-97.9-85-148.4 0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Xb={prefix:"fas",iconName:"angles-up",icon:[384,512,["angle-double-up"],"f102","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 329.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},qb={prefix:"fas",iconName:"eject",icon:[448,512,[9167],"f052","M224 32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 320 400 320L48 320c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 37.6 210.5 32 224 32zM0 432c0-26.5 21.5-48 48-48l352 0c26.5 0 48 21.5 48 48s-21.5 48-48 48L48 480c-26.5 0-48-21.5-48-48z"]},cC={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M0 64C0 46.3 14.3 32 32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64zM32 176l448 0 0 240c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-240zm152 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},a7={prefix:"fas",iconName:"sterling-sign",icon:[384,512,[163,"gbp","pound-sign"],"f154","M91.3 288l-34.8 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l21.4 0C37.3 147.3 105.1 42 207.6 42l8.2 0c33.6 0 66.2 11.3 92.5 32.2l16.1 12.7c13.9 11 16.2 31.1 5.2 45s-31.1 16.2-45 5.2l-16.1-12.7c-15-11.9-33.6-18.4-52.8-18.4l-8.2 0c-57.3 0-94.7 59.9-69.7 111.4 3.6 7.4 6.6 14.9 9.1 22.6l149.5 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-141.2 0c1 35.3-8.7 70.6-28.9 100.9l-18.1 27.1 212.2 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-272 0c-11.8 0-22.6-6.5-28.2-16.9s-5-23 1.6-32.9l51.2-76.8c13.1-19.6 19.2-42.6 18.2-65.4z"]},CC={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},SC={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]}},1747(Zt,pe,l){"use strict";l.d(pe,{En:()=>ot,Vm:()=>ye,EH:()=>lt,gp:()=>nt});var i=l(7786),d=l(1985),v=l(1413),T=l(3557),w=l(983),e=l(7673),O=l(8810),f=l(8071);class L{constructor(Z,Me,at){this.kind=Z,this.value=Me,this.error=at,this.hasValue="N"===Z}observe(Z){return C(this,Z)}do(Z,Me,at){const{kind:qe,value:pn,error:Je}=this;return"N"===qe?Z?.(pn):"E"===qe?Me?.(Je):at?.()}accept(Z,Me,at){var qe;return(0,f.T)(null===(qe=Z)||void 0===qe?void 0:qe.next)?this.observe(Z):this.do(Z,Me,at)}toObservable(){const{kind:Z,value:Me,error:at}=this,qe="N"===Z?(0,e.of)(Me):"E"===Z?(0,O.$)(()=>at):"C"===Z?w.w:0;if(!qe)throw new TypeError(`Unexpected notification kind ${Z}`);return qe}static createNext(Z){return new L("N",Z)}static createError(Z){return new L("E",void 0,Z)}static createComplete(){return L.completeNotification}}function C(N,Z){var Me,at,qe;const{kind:pn,value:Je,error:Be}=N;if("string"!=typeof pn)throw new TypeError('Invalid notification, missing "kind"');"N"===pn?null===(Me=Z.next)||void 0===Me||Me.call(Z,Je):"E"===pn?null===(at=Z.error)||void 0===at||at.call(Z,Be):null===(qe=Z.complete)||void 0===qe||qe.call(Z)}L.completeNotification=new L("C");var B=l(9974),A=l(4360),le=l(6354),Ce=l(9437),Ae=l(5964),j=l(8750);function W(N,Z,Me,at){return(0,B.N)((qe,pn)=>{let Je;Z&&"function"!=typeof Z?({duration:Me,element:Je,connector:at}=Z):Je=Z;const Be=new Map,ut=tn=>{Be.forEach(tn),tn(pn)},Ge=tn=>ut(on=>on.error(tn));let Ot=0,se=!1;const We=new A.H(pn,tn=>{try{const on=N(tn);let un=Be.get(on);if(!un){Be.set(on,un=at?at():new v.B);const Nt=function bt(tn,on){const un=new d.c(Nt=>{Ot++;const dn=on.subscribe(Nt);return()=>{dn.unsubscribe(),0===--Ot&&se&&We.unsubscribe()}});return un.key=tn,un}(on,un);if(pn.next(Nt),Me){const dn=(0,A._)(un,()=>{un.complete(),dn?.unsubscribe()},void 0,void 0,()=>Be.delete(on));We.add((0,j.Tg)(Me(Nt)).subscribe(dn))}}un.next(Je?Je(tn):tn)}catch(on){Ge(on)}},()=>ut(tn=>tn.complete()),Ge,()=>Be.clear(),()=>(se=!0,0===Ot));qe.subscribe(We)})}var G=l(1397);function re(N,Z){return Z?Me=>Me.pipe(re((at,qe)=>(0,j.Tg)(N(at,qe)).pipe((0,le.T)((pn,Je)=>Z(at,pn,qe,Je))))):(0,B.N)((Me,at)=>{let qe=0,pn=null,Je=!1;Me.subscribe((0,A._)(at,Be=>{pn||(pn=(0,A._)(at,void 0,()=>{pn=null,Je&&at.complete()}),(0,j.Tg)(N(Be,qe++)).subscribe(pn))},()=>{Je=!0,!pn&&at.complete()}))})}var Ee=l(6697),V=l(2615),ce=l(3664),be=l(9640);const he={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Dt="__@ngrx/effects_create__";function lt(N,Z={}){const Me=Z.functional?N:N(),at={...he,...Z};return Object.defineProperty(Me,Dt,{value:at}),Me}function P(N){return Object.getPrototypeOf(N)}function ve(N){return"function"==typeof N}function H(N){return N.filter(ve)}function Ke(N,Z,Me){const at=P(N),pn=at&&"Object"!==at.constructor.name?at.constructor.name:null,Je=function ie(N){return function Le(N){return Object.getOwnPropertyNames(N).filter(at=>!(!N[at]||!N[at].hasOwnProperty(Dt))&&N[at][Dt].hasOwnProperty("dispatch")).map(at=>({propertyName:at,...N[at][Dt]}))}(N)}(N).map(({propertyName:Be,dispatch:ut,useEffectsErrorHandler:Ge})=>{const Ot="function"==typeof N[Be]?N[Be]():N[Be],se=Ge?Me(Ot,Z):Ot;return!1===ut?se.pipe((0,T.w)()):se.pipe(function Pe(){return(0,B.N)((N,Z)=>{N.subscribe((0,A._)(Z,Me=>{Z.next(L.createNext(Me))},()=>{Z.next(L.createComplete()),Z.complete()},Me=>{Z.next(L.createError(Me)),Z.complete()}))})}()).pipe((0,le.T)(bt=>({effect:N[Be],notification:bt,propertyName:Be,sourceName:pn,sourceInstance:N})))});return(0,i.h)(...Je)}function St(N,Z,Me=10){return N.pipe((0,Ce.W)(at=>(Z&&Z.handleError(at),Me<=1?N:St(N,Z,Me-1))))}let ot=(()=>{var N;class Z extends d.c{constructor(at){super(),at&&(this.source=at)}lift(at){const qe=new Z;return qe.source=this,qe.operator=at,qe}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(be.sA))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})();function nt(...N){return(0,Ae.p)(Z=>N.some(Me=>"string"==typeof Me?Me===Z.type:Me.type===Z.type))}const ht=new V.nKC("@ngrx/effects Internal Root Guard"),oe=new V.nKC("@ngrx/effects User Provided Effects"),Ye=new V.nKC("@ngrx/effects Internal Root Effects"),fe=new V.nKC("@ngrx/effects Internal Root Effects Instances"),Qe=new V.nKC("@ngrx/effects Internal Feature Effects"),gt=new V.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),Gt=new V.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>St}),rt="@ngrx/effects/init";function gn(N){return ei(N,"ngrxOnInitEffects")}function ei(N,Z){return N&&Z in N&&"function"==typeof N[Z]}(0,be.VP)(rt);let vi=(()=>{var N;class Z extends v.B{constructor(at,qe){super(),this.errorHandler=at,this.effectsErrorHandler=qe}addEffects(at){this.next(at)}toActions(){return this.pipe(W(at=>function F(N){return!!N.constructor&&"Object"!==N.constructor.name&&"Function"!==N.constructor.name}(at)?P(at):at),(0,G.Z)(at=>at.pipe(W(Ni))),(0,G.Z)(at=>{const qe=at.pipe(re(Je=>function kn(N,Z){return Me=>{const at=Ke(Me,N,Z);return function pt(N){return ei(N,"ngrxOnRunEffects")}(Me)?Me.ngrxOnRunEffects(at):at}}(this.errorHandler,this.effectsErrorHandler)(Je)),(0,le.T)(Je=>(function Ft(N,Z){if("N"===N.notification.kind){const Me=N.notification.value;!function Sn(N){return"function"!=typeof N&&N&&N.type&&"string"==typeof N.type}(Me)&&Z.handleError(new Error(`Effect ${function Qn({propertyName:N,sourceInstance:Z,sourceName:Me}){const at="function"==typeof Z[N];return Me?`"${Me}.${String(N)}${at?"()":""}"`:`"${String(N)}()"`}(N)} dispatched an invalid action: ${function h(N){try{return JSON.stringify(N)}catch{return N}}(Me)}`))}}(Je,this.errorHandler),Je.notification)),(0,Ae.p)(Je=>"N"===Je.kind&&null!=Je.value),function xe(){return(0,B.N)((N,Z)=>{N.subscribe((0,A._)(Z,Me=>C(Me,Z)))})}()),pn=at.pipe((0,Ee.s)(1),(0,Ae.p)(gn),(0,le.T)(Je=>Je.ngrxOnInitEffects()));return(0,i.h)(qe,pn)}))}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(V.zcH),V.KVO(Gt))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})();function Ni(N){return function Ue(N){return ei(N,"ngrxOnIdentifyEffects")}(N)?N.ngrxOnIdentifyEffects():""}let Ri=(()=>{var N;class Z{get isStarted(){return!!this.effectsSubscription}constructor(at,qe){this.effectSources=at,this.store=qe,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vi),V.KVO(be.il))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})(),vt=(()=>{var N;class Z{constructor(at,qe,pn,Je,Be,ut,Ge){this.sources=at,qe.start();for(const Ot of Je)at.addEffects(Ot);pn.dispatch({type:rt})}addEffects(at){this.sources.addEffects(at)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vi),V.KVO(Ri),V.KVO(be.il),V.KVO(fe),V.KVO(be.wc,8),V.KVO(be.ae,8),V.KVO(ht,8))},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})(),ee=(()=>{var N;class Z{constructor(at,qe,pn,Je){const Be=qe.flat();for(const ut of Be)at.addEffects(ut)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vt),V.KVO(gt),V.KVO(be.wc,8),V.KVO(be.ae,8))},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})(),ye=(()=>{var N;class Z{static forFeature(...at){const qe=at.flat(),pn=H(qe);return{ngModule:ee,providers:[pn,{provide:Qe,multi:!0,useValue:qe},{provide:oe,multi:!0,useValue:[]},{provide:gt,multi:!0,useFactory:ke,deps:[Qe,oe]}]}}static forRoot(...at){const qe=at.flat(),pn=H(qe);return{ngModule:vt,providers:[pn,{provide:Ye,useValue:[qe]},{provide:ht,useFactory:Se},{provide:oe,multi:!0,useValue:[]},{provide:fe,useFactory:ke,deps:[Ye,oe]}]}}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})();function ke(N,Z){const Me=[];for(const at of N)Me.push(...at);for(const at of Z)Me.push(...at);return Me.map(at=>function $(N){return N instanceof V.nKC||ve(N)}(at)?(0,V.WQX)(at):at)}function Se(){const N=(0,V.WQX)(Ri,{optional:!0,skipSelf:!0}),Z=(0,V.WQX)(Ye,{self:!0});if((1!==Z.length||0!==Z[0].length)&&N)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640(Zt,pe,l){"use strict";l.d(pe,{SS:()=>Xe,Zz:()=>Re,N_:()=>lt,Bh:()=>jt,QU:()=>h,sA:()=>Pt,h1:()=>ei,il:()=>Ri,ae:()=>Hn,md:()=>Pi,wc:()=>Rn,q6:()=>Ue,VP:()=>W,UX:()=>Jn,vy:()=>Ta,Mz:()=>Nt,on:()=>da,xk:()=>G});var i=l(2615),d=l(3664),v=l(9295),T=l(7705),w=l(4412),e=l(1985),O=l(1413),f=l(7242),u=l(941),L=l(3993),C=l(1943),B=l(6354),Pe=l(3294),le=l(9079);const Ae={};function W(en,vn){if(Ae[en]=(Ae[en]||0)+1,"function"==typeof vn)return xe(en,(...bn)=>({...vn(...bn),type:en}));switch(vn?vn._as:"empty"){case"empty":return xe(en,()=>({type:en}));case"props":return xe(en,bn=>({...bn,type:en}));default:throw new Error("Unexpected config.")}}function G(){return{_as:"props",_p:void 0}}function xe(en,vn){return Object.defineProperty(vn,"type",{value:en,writable:!1})}const Re="@ngrx/store/init";let Xe=(()=>{var en;class vn extends w.t{constructor(){super({type:Re})}next(bn){if("function"==typeof bn)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof bn>"u")throw new TypeError("Actions must be objects");if(typeof bn.type>"u")throw new TypeError("Actions must have a type property");super.next(bn)}complete(){}ngOnDestroy(){super.complete()}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const _e=[Xe],he=new i.nKC("@ngrx/store Internal Root Guard"),Dt=new i.nKC("@ngrx/store Internal Initial State"),lt=new i.nKC("@ngrx/store Initial State"),Le=new i.nKC("@ngrx/store Reducer Factory"),te=new i.nKC("@ngrx/store Internal Reducer Factory Provider"),ie=new i.nKC("@ngrx/store Initial Reducers"),P=new i.nKC("@ngrx/store Internal Initial Reducers"),F=new i.nKC("@ngrx/store Store Features"),ve=new i.nKC("@ngrx/store Internal Store Reducers"),H=new i.nKC("@ngrx/store Internal Feature Reducers"),$=new i.nKC("@ngrx/store Internal Feature Configs"),Ke=new i.nKC("@ngrx/store Internal Store Features"),Vt=new i.nKC("@ngrx/store Internal Feature Reducers Token"),St=new i.nKC("@ngrx/store Feature Reducers"),ot=new i.nKC("@ngrx/store User Provided Meta Reducers"),nt=new i.nKC("@ngrx/store Meta Reducers"),ht=new i.nKC("@ngrx/store Internal Resolved Meta Reducers"),oe=new i.nKC("@ngrx/store User Runtime Checks Config"),Ye=new i.nKC("@ngrx/store Internal User Runtime Checks Config"),fe=new i.nKC("@ngrx/store Internal Runtime Checks"),Qe=new i.nKC("@ngrx/store Check if Action types are unique"),gt=new i.nKC("@ngrx/store Root Store Provider"),Gt=new i.nKC("@ngrx/store Feature State Provider");function rt(en,vn={}){const oi=Object.keys(en),bn={};for(let yi=0;yiyi(Kn),oi(vn))}}function Sn(en,vn){return Array.isArray(vn)&&vn.length>0&&(en=Ft.apply(null,[...vn,en])),(oi,bn)=>{const Kn=en(oi);return(yi,Wi)=>Kn(yi=void 0===yi?bn:yi,Wi)}}class h extends e.c{}class jt extends Xe{}const Ue="@ngrx/store/update-reducers";let wt=(()=>{var en;class vn extends w.t{get currentReducers(){return this.reducers}constructor(bn,Kn,yi,Wi){super(Wi(yi,Kn)),this.dispatcher=bn,this.initialState=Kn,this.reducers=yi,this.reducerFactory=Wi}addFeature(bn){this.addFeatures([bn])}addFeatures(bn){const Kn=bn.reduce((yi,{reducers:Wi,reducerFactory:Ca,metaReducers:Fe,initialState:Wt,key:Ve})=>{const Et="function"==typeof Wi?function Qn(en){const vn=Array.isArray(en)&&en.length>0?Ft(...en):oi=>oi;return(oi,bn)=>(oi=vn(oi),(Kn,yi)=>oi(Kn=void 0===Kn?bn:Kn,yi))}(Fe)(Wi,Wt):Sn(Ca,Fe)(Wi,Wt);return yi[Ve]=Et,yi},{});this.addReducers(Kn)}removeFeature(bn){this.removeFeatures([bn])}removeFeatures(bn){this.removeReducers(bn.map(Kn=>Kn.key))}addReducer(bn,Kn){this.addReducers({[bn]:Kn})}addReducers(bn){this.reducers={...this.reducers,...bn},this.updateReducers(Object.keys(bn))}removeReducer(bn){this.removeReducers([bn])}removeReducers(bn){bn.forEach(Kn=>{this.reducers=function cn(en,vn){return Object.keys(en).filter(oi=>oi!==vn).reduce((oi,bn)=>Object.assign(oi,{[bn]:en[bn]}),{})}(this.reducers,Kn)}),this.updateReducers(bn)}updateReducers(bn){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ue,features:bn})}ngOnDestroy(){this.complete()}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(jt),i.KVO(lt),i.KVO(ie),i.KVO(Le))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const pt=[wt,{provide:h,useExisting:wt},{provide:jt,useExisting:Xe}];let Pt=(()=>{var en;class vn extends O.B{ngOnDestroy(){this.complete()}static#e=en=()=>(this.\u0275fac=(()=>{let bn;return function(yi){return(bn||(bn=d.xGo(vn)))(yi||vn)}})(),this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const gn=[Pt];class ei extends e.c{}let vi=(()=>{var en;class vn extends w.t{constructor(bn,Kn,yi,Wi){super(Wi);const Ve=bn.pipe((0,u.Q)(f.T)).pipe((0,L.E)(Kn)).pipe((0,C.S)(Ni,{state:Wi}));this.stateSubscription=Ve.subscribe(({state:Et,action:Jt})=>{this.next(Et),yi.next(Jt)}),this.state=(0,le.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#e=en=()=>(this.INIT=Re,this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Xe),i.KVO(h),i.KVO(Pt),i.KVO(lt))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();function Ni(en={state:void 0},[vn,oi]){const{state:bn}=en;return{state:oi(bn,vn),action:vn}}const kn=[vi,{provide:ei,useExisting:vi}];let Ri=(()=>{var en;class vn extends e.c{constructor(bn,Kn,yi,Wi){super(),this.actionsObserver=Kn,this.reducerManager=yi,this.injector=Wi,this.source=bn,this.state=bn.state}select(bn,...Kn){return ee.call(null,bn,...Kn)(this)}selectSignal(bn,Kn){return(0,v.EW)(()=>bn(this.state()),Kn)}lift(bn){const Kn=new vn(this,this.actionsObserver,this.reducerManager);return Kn.operator=bn,Kn}dispatch(bn,Kn){if("function"==typeof bn)return this.processDispatchFn(bn,Kn);this.actionsObserver.next(bn)}next(bn){this.actionsObserver.next(bn)}error(bn){this.actionsObserver.error(bn)}complete(){this.actionsObserver.complete()}addReducer(bn,Kn){this.reducerManager.addReducer(bn,Kn)}removeReducer(bn){this.reducerManager.removeReducer(bn)}processDispatchFn(bn,Kn){!function ce(en,vn){if(null==en)throw new Error(`${vn} must be defined.`)}(this.injector,"Store Injector");const yi=Kn?.injector??function ye(){try{return(0,i.WQX)(i.zZn)}catch{return}}()??this.injector;return(0,v.QZ)(()=>{const Wi=bn();(0,v.O8)(()=>this.dispatch(Wi))},{injector:yi})}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(ei),i.KVO(Xe),i.KVO(wt),i.KVO(i.zZn))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const vt=[Ri];function ee(en,vn,...oi){return function(Kn){let yi;if("string"==typeof en){const Wi=[vn,...oi].filter(Boolean);yi=Kn.pipe(function A(...en){const vn=en.length;if(0===vn)throw new Error("list of properties cannot be empty.");return(0,B.T)(oi=>{let bn=oi;for(let Kn=0;Knen(Wi,vn)))}return yi.pipe((0,Pe.F)())}}const ke="https://ngrx.io/guide/store/configuration/runtime-checks";function Se(en){return void 0===en}function ge(en){return null===en}function N(en){return Array.isArray(en)}function qe(en){return"object"==typeof en&&null!==en}function Be(en){return"function"==typeof en}function bt(en,vn){return en===vn}function un(en,vn=bt,oi=bt){let yi,bn=null,Kn=null;return{memoized:function Wt(){if(void 0!==yi)return yi.result;if(!bn)return Kn=en.apply(null,arguments),bn=arguments,Kn;if(!function tn(en,vn,oi){for(let bn=0;bn"function"==typeof vn)}(bn[0])&&(bn=function Yi(en){const vn=Object.values(en),oi=Object.keys(en);return[...vn,(...Kn)=>oi.reduce((yi,Wi,Ca)=>({...yi,[Wi]:Kn[Ca]}),{})]}(bn[0]));const Kn=bn.slice(0,bn.length-1),yi=bn[bn.length-1],Wi=Kn.filter(Ve=>Ve.release&&"function"==typeof Ve.release),Ca=en(function(...Ve){return yi.apply(null,Ve)}),Fe=un(function(Ve,Et){return vn.stateFn.apply(null,[Ve,Kn,Et,Ca])});return Object.assign(Fe.memoized,{release:function Wt(){Fe.reset(),Ca.reset(),Wi.forEach(Ve=>Ve.release())},projector:Ca.memoized,setResult:Fe.setResult,clearResult:Fe.clearResult})}}(un)(...en)}function dn(en,vn,oi,bn){if(void 0===oi){const yi=vn.map(Wi=>Wi(en));return bn.memoized.apply(null,yi)}const Kn=vn.map(yi=>yi(en,oi));return bn.memoized.apply(null,[...Kn,oi])}function Jn(en){return Nt(vn=>{const oi=vn[en];return(0,T.naY)()&&!(en in vn)&&console.warn(`@ngrx/store: The feature name "${en}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${en}', ...) or StoreModule.forFeature('${en}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),oi},vn=>vn)}function ae(en){return en instanceof i.nKC?(0,i.WQX)(en):en}function Lt(en,vn){return vn.map((oi,bn)=>{if(en[bn]instanceof i.nKC){const Kn=(0,i.WQX)(en[bn]);return{key:oi.key,reducerFactory:Kn.reducerFactory?Kn.reducerFactory:rt,metaReducers:Kn.metaReducers?Kn.metaReducers:[],initialState:Kn.initialState}}return oi})}function Ht(en){return en.map(vn=>vn instanceof i.nKC?(0,i.WQX)(vn):vn)}function _n(en){return"function"==typeof en?en():en}function fi(en,vn){return en.concat(vn)}function bi(){if((0,i.WQX)(Ri,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function zi(en){Object.freeze(en);const vn=Be(en);return Object.getOwnPropertyNames(en).forEach(oi=>{if(!oi.startsWith("\u0275")&&function Ge(en,vn){return Object.prototype.hasOwnProperty.call(en,vn)}(en,oi)&&(!vn||"caller"!==oi&&"callee"!==oi&&"arguments"!==oi)){const bn=en[oi];(qe(bn)||Be(bn))&&!Object.isFrozen(bn)&&zi(bn)}}),en}function an(en,vn=[]){return(Se(en)||ge(en))&&0===vn.length?{path:["root"],value:en}:Object.keys(en).reduce((bn,Kn)=>{if(bn)return bn;const yi=en[Kn];return function ut(en){return Be(en)&&en.hasOwnProperty("\u0275cmp")}(yi)?bn:!(Se(yi)||ge(yi)||function at(en){return"number"==typeof en}(yi)||function Me(en){return"boolean"==typeof en}(yi)||function Z(en){return"string"==typeof en}(yi)||N(yi))&&(function Je(en){if(!function pn(en){return qe(en)&&!N(en)}(en))return!1;const vn=Object.getPrototypeOf(en);return vn===Object.prototype||null===vn}(yi)?an(yi,[...vn,Kn]):{path:[...vn,Kn],value:yi})},!1)}function Yt(en,vn){if(!1===en)return;const oi=en.path.join("."),bn=new Error(`Detected unserializable ${vn} at "${oi}". ${ke}#strict${vn}serializability`);throw bn.value=en.value,bn.unserializablePath=oi,bn}function zn(en){return(0,T.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...en}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Fn({strictActionSerializability:en,strictStateSerializability:vn}){return oi=>en||vn?function It(en,vn){return function(oi,bn){vn.action(bn)&&Yt(an(bn),"action");const Kn=en(oi,bn);return vn.state()&&Yt(an(Kn),"state"),Kn}}(oi,{action:bn=>en&&!rn(bn),state:()=>vn}):oi}function ci({strictActionImmutability:en,strictStateImmutability:vn}){return oi=>en||vn?function Qi(en,vn){return function(oi,bn){const Kn=vn.action(bn)?zi(bn):bn,yi=en(oi,Kn);return vn.state()?zi(yi):yi}}(oi,{action:bn=>en&&!rn(bn),state:()=>vn}):oi}function rn(en){return en.type.startsWith("@ngrx")}function In({strictActionWithinNgZone:en}){return vn=>en?function Un(en,vn){return function(oi,bn){if(vn.action(bn)&&!d.SKi.isInAngularZone())throw new Error(`Action '${bn.type}' running outside NgZone. ${ke}#strictactionwithinngzone`);return en(oi,bn)}}(vn,{action:oi=>en&&!rn(oi)}):vn}function Mn(en){return[{provide:Ye,useValue:en},{provide:oe,useFactory:ii,deps:[Ye]},{provide:fe,deps:[oe],useFactory:zn},{provide:nt,multi:!0,deps:[fe],useFactory:ci},{provide:nt,multi:!0,deps:[fe],useFactory:Fn},{provide:nt,multi:!0,deps:[fe],useFactory:In}]}function Vn(){return[{provide:Qe,multi:!0,deps:[fe],useFactory:Bn}]}function ii(en){return en}function Bn(en){if(!en.strictActionTypeUniqueness)return;const vn=Object.entries(Ae).filter(([,oi])=>oi>1).map(([oi])=>oi);if(vn.length)throw new Error(`Action types are registered more than once, ${vn.map(oi=>`"${oi}"`).join(", ")}. ${ke}#strictactiontypeuniqueness`)}function ra(en={},vn={}){return[{provide:he,useFactory:bi},{provide:Dt,useValue:vn.initialState},{provide:lt,useFactory:_n,deps:[Dt]},{provide:P,useValue:en},{provide:ve,useExisting:en instanceof i.nKC?en:P},{provide:ie,deps:[P,[new d.y_5(ve)]],useFactory:ae},{provide:ot,useValue:vn.metaReducers?vn.metaReducers:[]},{provide:ht,deps:[nt,ot],useFactory:fi},{provide:te,useValue:vn.reducerFactory?vn.reducerFactory:rt},{provide:Le,deps:[te,ht],useFactory:Sn},_e,pt,gn,kn,vt,Mn(vn.runtimeChecks),Vn()]}function ri(en,vn,oi={}){return[{provide:$,multi:!0,useValue:en instanceof Object?{}:oi},{provide:F,multi:!0,useValue:{key:en instanceof Object?en.name:en,reducerFactory:oi instanceof i.nKC||!oi.reducerFactory?rt:oi.reducerFactory,metaReducers:oi instanceof i.nKC||!oi.metaReducers?[]:oi.metaReducers,initialState:oi instanceof i.nKC||!oi.initialState?void 0:oi.initialState}},{provide:Ke,deps:[$,F],useFactory:Lt},{provide:H,multi:!0,useValue:en instanceof Object?en.reducer:vn},{provide:Vt,multi:!0,useExisting:vn instanceof i.nKC?vn:H},{provide:St,multi:!0,deps:[H,[new d.y_5(Vt)]],useFactory:Ht},Vn()]}(0,i.BCV)(()=>(0,i.WQX)(gt)),(0,i.BCV)(()=>(0,i.WQX)(Gt));let Rn=(()=>{var en;class vn{constructor(bn,Kn,yi,Wi,Ca,Fe){}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Xe),i.KVO(h),i.KVO(Pt),i.KVO(Ri),i.KVO(he,8),i.KVO(Qe,8))},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})(),Hn=(()=>{var en;class vn{constructor(bn,Kn,yi,Wi,Ca){this.features=bn,this.featureReducers=Kn,this.reducerManager=yi;const Fe=bn.map((Wt,Ve)=>{const Jt=Kn.shift()[Ve];return{...Wt,reducers:Jt,initialState:_n(Wt.initialState)}});yi.addFeatures(Fe)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Ke),i.KVO(St),i.KVO(wt),i.KVO(Rn),i.KVO(Qe,8))},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})(),Pi=(()=>{var en;class vn{static forRoot(bn,Kn){return{ngModule:Rn,providers:[...ra(bn,Kn)]}}static forFeature(bn,Kn,yi={}){return{ngModule:Hn,providers:[...ri(bn,Kn,yi)]}}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})();function da(...en){return{reducer:en.pop(),types:en.map(bn=>bn.type)}}function Ta(en,...vn){const oi=new Map;for(const bn of vn)for(const Kn of bn.types){const yi=oi.get(Kn);oi.set(Kn,yi?(Ca,Fe)=>bn.reducer(yi(Ca,Fe),Fe):bn.reducer)}return function(bn=en,Kn){const yi=oi.get(Kn.type);return yi?yi(bn,Kn):bn}}},1993(Zt,pe,l){"use strict";l.d(pe,{Dl:()=>bp,L8:()=>hh,dV:()=>p4});var i=l(3664),d=l(2615),v=l(7705),T=l(2200),w=l(177),e=l(1635),O=l(6939),f=l(3726),u=l(152),L=l(1514);function C(){}function B(s){return null==s?C:function(){return this.querySelector(s)}}function le(){return[]}function Ce(s){return null==s?le:function(){return this.querySelectorAll(s)}}function W(s){return function(){return this.matches(s)}}function G(s){return function(g){return g.matches(s)}}var re=Array.prototype.find;function Ee(){return this.firstElementChild}var ce=Array.prototype.filter;function be(){return Array.from(this.children)}function Re(s){return new Array(s.length)}function _e(s,g){this.ownerDocument=s.ownerDocument,this.namespaceURI=s.namespaceURI,this._next=null,this._parent=s,this.__data__=g}function Dt(s,g,c,r,y,x){for(var ue,R=0,xt=g.length,Rt=x.length;Rg?1:s>=g?0:NaN}_e.prototype={constructor:_e,appendChild:function(s){return this._parent.insertBefore(s,this._next)},insertBefore:function(s,g){return this._parent.insertBefore(s,g)},querySelector:function(s){return this._parent.querySelector(s)},querySelectorAll:function(s){return this._parent.querySelectorAll(s)}};var Ye="http://www.w3.org/1999/xhtml";const fe={svg:"http://www.w3.org/2000/svg",xhtml:Ye,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Qe(s){var g=s+="",c=g.indexOf(":");return c>=0&&"xmlns"!==(g=s.slice(0,c))&&(s=s.slice(c+1)),fe.hasOwnProperty(g)?{space:fe[g],local:s}:s}function gt(s){return function(){this.removeAttribute(s)}}function Gt(s){return function(){this.removeAttributeNS(s.space,s.local)}}function rt(s,g){return function(){this.setAttribute(s,g)}}function cn(s,g){return function(){this.setAttributeNS(s.space,s.local,g)}}function Ft(s,g){return function(){var c=g.apply(this,arguments);null==c?this.removeAttribute(s):this.setAttribute(s,c)}}function Sn(s,g){return function(){var c=g.apply(this,arguments);null==c?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,c)}}function h(s){return s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView}function jt(s){return function(){this.style.removeProperty(s)}}function Ue(s,g,c){return function(){this.style.setProperty(s,g,c)}}function wt(s,g,c){return function(){var r=g.apply(this,arguments);null==r?this.style.removeProperty(s):this.style.setProperty(s,r,c)}}function Pt(s,g){return s.style.getPropertyValue(g)||h(s).getComputedStyle(s,null).getPropertyValue(g)}function gn(s){return function(){delete this[s]}}function ei(s,g){return function(){this[s]=g}}function vi(s,g){return function(){var c=g.apply(this,arguments);null==c?delete this[s]:this[s]=c}}function kn(s){return s.trim().split(/^|\s+/)}function Ri(s){return s.classList||new vt(s)}function vt(s){this._node=s,this._names=kn(s.getAttribute("class")||"")}function ee(s,g){for(var c=Ri(s),r=-1,y=g.length;++r=0&&(this._names.splice(g,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(s){return this._names.indexOf(s)>=0}};var an=[null];function Yt(s,g){this._groups=s,this._parents=g}function Un(){return new Yt([[document.documentElement]],an)}Yt.prototype=Un.prototype={constructor:Yt,select:function A(s){"function"!=typeof s&&(s=B(s));for(var g=this._groups,c=g.length,r=new Array(c),y=0;y=ea&&(ea=pa+1);!(Na=Xn[ea])&&++ea=0;)(R=r[y])&&(x&&4^R.compareDocumentPosition(x)&&x.parentNode.insertBefore(R,x),x=R);return this},sort:function $(s){function g(wn,An){return wn&&An?s(wn.__data__,An.__data__):!wn-!An}s||(s=Ke);for(var c=this._groups,r=c.length,y=new Array(r),x=0;x1?this.each((null==g?jt:"function"==typeof g?wt:Ue)(s,g,c??"")):Pt(this.node(),s)},property:function Ni(s,g){return arguments.length>1?this.each((null==g?gn:"function"==typeof g?vi:ei)(s,g)):this.node()[s]},classed:function N(s,g){var c=kn(s+"");if(arguments.length<2){for(var r=Ri(this.node()),y=-1,x=c.length;++y=0&&(c=g.slice(r+1),g=g.slice(0,r)),{type:g,name:c}})}(s+""),x=r.length;if(!(arguments.length<2)){for(ue=g?Ht:Lt,y=0;y{}};function In(){for(var r,s=0,g=arguments.length,c={};s=0&&(r=c.slice(y+1),c=c.slice(0,y)),c&&!g.hasOwnProperty(c))throw new Error("unknown type: "+c);return{type:c,name:r}})}(s+"",c),x=-1,R=r.length;if(!(arguments.length<2)){if(null!=g&&"function"!=typeof g)throw new Error("invalid callback: "+g);for(;++x0)for(var y,x,c=new Array(y),r=0;r>8&15|g>>4&240,g>>4&15|240&g,(15&g)<<4|15&g,1):8===c?ca(g>>24&255,g>>16&255,g>>8&255,(255&g)/255):4===c?ca(g>>12&15|g>>8&240,g>>8&15|g>>4&240,g>>4&15|240&g,((15&g)<<4|15&g)/255):null):(g=bn.exec(s))?new U(g[1],g[2],g[3],1):(g=Kn.exec(s))?new U(255*g[1]/100,255*g[2]/100,255*g[3]/100,1):(g=yi.exec(s))?ca(g[1],g[2],g[3],g[4]):(g=Wi.exec(s))?ca(255*g[1]/100,255*g[2]/100,255*g[3]/100,g[4]):(g=Ca.exec(s))?Ua(g[1],g[2]/100,g[3]/100,1):(g=Fe.exec(s))?Ua(g[1],g[2]/100,g[3]/100,g[4]):Wt.hasOwnProperty(s)?Ii(Wt[s]):"transparent"===s?new U(NaN,NaN,NaN,0):null}function Ii(s){return new U(s>>16&255,s>>8&255,255&s,1)}function ca(s,g,c,r){return r<=0&&(s=g=c=NaN),new U(s,g,c,r)}function ni(s,g,c,r){return 1===arguments.length?function nn(s){return s instanceof Hn||(s=di(s)),s?new U((s=s.rgb()).r,s.g,s.b,s.opacity):new U}(s):new U(s,g,c,r??1)}function U(s,g,c,r){this.r=+s,this.g=+g,this.b=+c,this.opacity=+r}function tt(){return`#${_a(this.r)}${_a(this.g)}${_a(this.b)}`}function Xt(){const s=Nn(this.opacity);return`${1===s?"rgb(":"rgba("}${Ki(this.r)}, ${Ki(this.g)}, ${Ki(this.b)}${1===s?")":`, ${s})`}`}function Nn(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function Ki(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function _a(s){return((s=Ki(s))<16?"0":"")+s.toString(16)}function Ua(s,g,c,r){return r<=0?s=g=c=NaN:c<=0||c>=1?s=g=NaN:g<=0&&(s=NaN),new Ga(s,g,c,r)}function $a(s){if(s instanceof Ga)return new Ga(s.h,s.s,s.l,s.opacity);if(s instanceof Hn||(s=di(s)),!s)return new Ga;if(s instanceof Ga)return s;var g=(s=s.rgb()).r/255,c=s.g/255,r=s.b/255,y=Math.min(g,c,r),x=Math.max(g,c,r),R=NaN,ue=x-y,xt=(x+y)/2;return ue?(R=g===x?(c-r)/ue+6*(c0&&xt<1?0:R,new Ga(R,ue,xt,s.opacity)}function Ga(s,g,c,r){this.h=+s,this.s=+g,this.l=+c,this.opacity=+r}function As(s){return(s=(s||0)%360)<0?s+360:s}function hr(s){return Math.max(0,Math.min(1,s||0))}function mr(s,g,c){return 255*(s<60?g+(c-g)*s/60:s<180?c:s<240?g+(c-g)*(240-s)/60:g)}function fr(s,g,c,r,y){var x=s*s,R=x*s;return((1-3*s+3*x-R)*g+(4-6*x+3*R)*c+(1+3*s+3*x-3*R)*r+R*y)/6}ri(Hn,di,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:Ve,formatHex:Ve,formatHex8:function Et(){return this.rgb().formatHex8()},formatHsl:function Jt(){return $a(this).formatHsl()},formatRgb:ti,toString:ti}),ri(U,ni,Rn(Hn,{brighter(s){return s=null==s?da:Math.pow(da,s),new U(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new U(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new U(Ki(this.r),Ki(this.g),Ki(this.b),Nn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tt,formatHex:tt,formatHex8:function Ze(){return`#${_a(this.r)}${_a(this.g)}${_a(this.b)}${_a(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Xt,toString:Xt})),ri(Ga,function ns(s,g,c,r){return 1===arguments.length?$a(s):new Ga(s,g,c,r??1)},Rn(Hn,{brighter(s){return s=null==s?da:Math.pow(da,s),new Ga(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new Ga(this.h,this.s,this.l*s,this.opacity)},rgb(){var s=this.h%360+360*(this.h<0),g=isNaN(s)||isNaN(this.s)?0:this.s,c=this.l,r=c+(c<.5?c:1-c)*g,y=2*c-r;return new U(mr(s>=240?s-240:s+120,y,r),mr(s,y,r),mr(s<120?s+240:s-120,y,r),this.opacity)},clamp(){return new Ga(As(this.h),hr(this.s),hr(this.l),Nn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const s=Nn(this.opacity);return`${1===s?"hsl(":"hsla("}${As(this.h)}, ${100*hr(this.s)}%, ${100*hr(this.l)}%${1===s?")":`, ${s})`}`}}));const gr=s=>()=>s;function Ps(s,g){var c=g-s;return c?function Zs(s,g){return function(c){return s+c*g}}(s,c):gr(isNaN(s)?g:s)}const kr=function s(g){var c=function Ka(s){return 1==(s=+s)?Ps:function(g,c){return c-g?function jr(s,g,c){return s=Math.pow(s,c),g=Math.pow(g,c)-s,c=1/c,function(r){return Math.pow(s+r*g,c)}}(g,c,s):gr(isNaN(g)?c:g)}}(g);function r(y,x){var R=c((y=ni(y)).r,(x=ni(x)).r),ue=c(y.g,x.g),xt=c(y.b,x.b),Rt=Ps(y.opacity,x.opacity);return function(sn){return y.r=R(sn),y.g=ue(sn),y.b=xt(sn),y.opacity=Rt(sn),y+""}}return r.gamma=s,r}(1);function js(s){return function(g){var R,ue,c=g.length,r=new Array(c),y=new Array(c),x=new Array(c);for(R=0;R=1?(c=1,g-1):Math.floor(c*g),y=s[r],x=s[r+1];return fr((c-r/g)*g,r>0?s[r-1]:2*y-x,y,x,rc&&(x=g.slice(c,x),ue[R]?ue[R]+=x:ue[++R]=x),(r=r[0])===(y=y[0])?ue[R]?ue[R]+=y:ue[++R]=y:(ue[++R]=null,xt.push({i:R,x:rs(r,y)})),c=Hs.lastIndex;return c=0&&s._call.call(void 0,g),s=s._next;--er}()}finally{er=0,function Es(){for(var s,c,g=Za,r=1/0;g;)g._call?(r>g._time&&(r=g._time),s=g,g=g._next):(c=g._next,g._next=null,g=s?s._next=c:Za=c);Or=s,kt(r)}(),Fs=0}}function ua(){var s=Ks.now(),g=s-Rr;g>1e3&&(Hr-=g,Rr=s)}function kt(s){er||(Xs&&(Xs=clearTimeout(Xs)),s-Fs>24?(s<1/0&&(Xs=setTimeout(Oi,s-Ks.now()-Hr)),wa&&(wa=clearInterval(wa))):(wa||(Rr=Ks.now(),wa=setInterval(ua,1e3)),er=1,Sr(Oi)))}function On(s,g,c){var r=new q;return r.restart(y=>{r.stop(),s(y+g)},g=null==g?0:+g,c),r}q.prototype=mt.prototype={constructor:q,restart:function(s,g,c){if("function"!=typeof s)throw new TypeError("callback is not a function");c=(null==c?Ne():+c)+(null==g?0:+g),!this._next&&Or!==this&&(Or?Or._next=this:Za=this,Or=this),this._call=s,this._time=c,kt()},stop:function(){this._call&&(this._call=null,this._time=1/0,kt())}};var $e=ia("start","end","cancel","interrupt"),mn=[];function el(s,g,c,r,y,x){var R=s.__transition;if(R){if(c in R)return}else s.__transition={};!function Eo(s,g,c){var y,r=s.__transition;function R(Rt){var sn,wn,An,_i;if(1!==c.state)return xt();for(sn in r)if((_i=r[sn]).name===c.name){if(3===_i.state)return On(R);4===_i.state?(_i.state=6,_i.timer.stop(),_i.on.call("interrupt",s,s.__data__,_i.index,_i.group),delete r[sn]):+sn0)throw new Error("too late; already scheduled");return c}function Ss(s,g){var c=tr(s,g);if(c.state>3)throw new Error("too late; already running");return c}function tr(s,g){var c=s.__transition;if(!c||!(c=c[g]))throw new Error("transition not found");return c}var nr,pl=180/Math.PI,zl={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ds(s,g,c,r,y,x){var R,ue,xt;return(R=Math.sqrt(s*s+g*g))&&(s/=R,g/=R),(xt=s*c+g*r)&&(c-=s*xt,r-=g*xt),(ue=Math.sqrt(c*c+r*r))&&(c/=ue,r/=ue,xt/=ue),s*r180?sn+=360:sn-Rt>180&&(Rt+=360),An.push({i:wn.push(y(wn)+"rotate(",null,r)-2,x:rs(Rt,sn)})):sn&&wn.push(y(wn)+"rotate("+sn+r)}(Rt.rotate,sn.rotate,wn,An),function ue(Rt,sn,wn,An){Rt!==sn?An.push({i:wn.push(y(wn)+"skewX(",null,r)-2,x:rs(Rt,sn)}):sn&&wn.push(y(wn)+"skewX("+sn+r)}(Rt.skewX,sn.skewX,wn,An),function xt(Rt,sn,wn,An,_i,pi){if(Rt!==wn||sn!==An){var Ji=_i.push(y(_i)+"scale(",null,",",null,")");pi.push({i:Ji-4,x:rs(Rt,wn)},{i:Ji-2,x:rs(sn,An)})}else(1!==wn||1!==An)&&_i.push(y(_i)+"scale("+wn+","+An+")")}(Rt.scaleX,Rt.scaleY,sn.scaleX,sn.scaleY,wn,An),Rt=sn=null,function(_i){for(var Xn,pi=-1,Ji=An.length;++pi=0&&(g=g.slice(0,c)),!g||"start"===g})}(g)?Ml:Ss;return function(){var R=x(this,s),ue=R.on;ue!==r&&(y=(r=ue).copy()).on(g,c),R.on=y}}(c,s,g))},attr:function Ho(s,g){var c=Qe(s),r="transform"===c?Tr:za;return this.attrTween(s,"function"==typeof g?(c.local?To:fo)(c,r,Vl(this,"attr."+s,g)):null==g?(c.local?Dl:us)(c):(c.local?So:eo)(c,r,g))},attrTween:function Al(s,g){var c="attr."+s;if(arguments.length<2)return(c=this.tween(c))&&c._value;if(null==g)return this.tween(c,null);if("function"!=typeof g)throw new Error;var r=Qe(s);return this.tween(c,(r.local?wl:no)(r,g))},style:function Gi(s,g,c){var r="transform"==(s+="")?gl:za;return null==g?this.styleTween(s,function et(s,g){var c,r,y;return function(){var x=Pt(this,s),R=(this.style.removeProperty(s),Pt(this,s));return x===R?null:x===c&&R===r?y:y=g(c=x,r=R)}}(s,r)).on("end.style."+s,Mt(s)):"function"==typeof g?this.styleTween(s,function Tn(s,g,c){var r,y,x;return function(){var R=Pt(this,s),ue=c(this),xt=ue+"";return null==ue&&(this.style.removeProperty(s),xt=ue=Pt(this,s)),R===xt?null:R===r&&xt===y?x:(y=xt,x=g(r=R,ue))}}(s,r,Vl(this,"style."+s,g))).each(function ai(s,g){var c,r,y,ue,x="style."+g,R="end."+x;return function(){var xt=Ss(this,s),Rt=xt.on,sn=null==xt.value[x]?ue||(ue=Mt(g)):void 0;(Rt!==c||y!==sn)&&(r=(c=Rt).copy()).on(R,y=sn),xt.on=r}}(this._id,s)):this.styleTween(s,function Kt(s,g,c){var r,x,y=c+"";return function(){var R=Pt(this,s);return R===y?null:R===r?x:x=g(r=R,c)}}(s,r,g),c).on("end.style."+s,null)},styleTween:function Ns(s,g,c){var r="style."+(s+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==g)return this.tween(r,null);if("function"!=typeof g)throw new Error;return this.tween(r,function as(s,g,c){var r,y;function x(){var R=g.apply(this,arguments);return R!==y&&(r=(y=R)&&function La(s,g,c){return function(r){this.style.setProperty(s,g.call(this,r),c)}}(s,R,c)),r}return x._value=g,x}(s,g,c??""))},text:function ro(s){return this.tween("text","function"==typeof s?function ar(s){return function(){var g=s(this);this.textContent=g??""}}(Vl(this,"text",s)):function il(s){return function(){this.textContent=s}}(null==s?"":s+""))},textTween:function mc(s){var g="text";if(arguments.length<1)return(g=this.tween(g))&&g._value;if(null==s)return this.tween(g,null);if("function"!=typeof s)throw new Error;return this.tween(g,function Il(s){var g,c;function r(){var y=s.apply(this,arguments);return y!==c&&(g=(c=y)&&function oo(s){return function(g){this.textContent=s.call(this,g)}}(y)),g}return r._value=s,r}(s))},remove:function nl(){return this.on("end.remove",function Wo(s){return function(){var g=this.parentNode;for(var c in this.__transition)if(+c!==s)return;g&&g.removeChild(this)}}(this._id))},tween:function Tl(s,g){var c=this._id;if(s+="",arguments.length<2){for(var R,r=tr(this.node(),c).tween,y=0,x=r.length;y2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(y?"interrupt":"cancel",s,s.__data__,r.index,r.group),delete c[R]):x=!1;x&&delete s.__transition}}(this,s)})},Fn.prototype.transition=function al(s){var g,c;s instanceof po?(g=s._id,s=s._name):(g=pc(),(c=Lc).time=Ne(),s=null==s?null:s+"");for(var r=this._groups,y=r.length,x=0;xg?1:s>=g?0:NaN}function tc(s,g){return null==s||null==g?NaN:gs?1:g>=s?0:NaN}function Xl(s){let g,c,r;function y(ue,xt,Rt=0,sn=ue.length){if(Rt>>1;c(ue[wn],xt)<0?Rt=wn+1:sn=wn}while(RtXr(s(ue),xt),r=(ue,xt)=>s(ue)-xt):(g=s===Xr||s===tc?s:Kc,c=s,r=s),{left:y,center:function R(ue,xt,Rt=0,sn=ue.length){const wn=y(ue,xt,Rt,sn-1);return wn>Rt&&r(ue[wn-1],xt)>-r(ue[wn],xt)?wn-1:wn},right:function x(ue,xt,Rt=0,sn=ue.length){if(Rt>>1;c(ue[wn],xt)<=0?Rt=wn+1:sn=wn}while(Rt=_1?10:x>=gc?5:x>=Yc?2:1;let ue,xt,Rt;return y<0?(Rt=Math.pow(10,-y)/R,ue=Math.round(s*Rt),xt=Math.round(g*Rt),ue/Rtg&&--xt,Rt=-Rt):(Rt=Math.pow(10,y)*R,ue=Math.round(s/Rt),xt=Math.round(g/Rt),ue*Rtg&&--xt),xt(s(x=new Date(+x)),x),y.ceil=x=>(s(x=new Date(x-1)),g(x,1),s(x),x),y.round=x=>{const R=y(x),ue=y.ceil(x);return x-R(g(x=new Date(+x),null==R?1:Math.floor(R)),x),y.range=(x,R,ue)=>{const xt=[];if(x=y.ceil(x),ue=null==ue?1:Math.floor(ue),!(x0))return xt;let Rt;do{xt.push(Rt=new Date(+x)),g(x,ue),s(x)}while(Rtki(R=>{if(R>=R)for(;s(R),!x(R);)R.setTime(R-1)},(R,ue)=>{if(R>=R)if(ue<0)for(;++ue<=0;)for(;g(R,-1),!x(R););else for(;--ue>=0;)for(;g(R,1),!x(R););}),c&&(y.count=(x,R)=>(Gn.setTime(+x),ui.setTime(+R),s(Gn),s(ui),Math.floor(c(Gn,ui))),y.every=x=>(x=Math.floor(x),isFinite(x)&&x>0?x>1?y.filter(r?R=>r(R)%x===0:R=>y.count(0,R)%x===0):y:null)),y}const Wa=ki(()=>{},(s,g)=>{s.setTime(+s+g)},(s,g)=>g-s);Wa.every=s=>(s=Math.floor(s),isFinite(s)&&s>0?s>1?ki(g=>{g.setTime(Math.floor(g/s)*s)},(g,c)=>{g.setTime(+g+c*s)},(g,c)=>(c-g)/s):Wa:null);const Aa=ki(s=>{s.setTime(s-s.getMilliseconds())},(s,g)=>{s.setTime(+s+g*Ha)},(s,g)=>(g-s)/Ha,s=>s.getUTCSeconds()),es=ki(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ha)},(s,g)=>{s.setTime(+s+g*Ti)},(s,g)=>(g-s)/Ti,s=>s.getMinutes()),sl=ki(s=>{s.setUTCSeconds(0,0)},(s,g)=>{s.setTime(+s+g*Ti)},(s,g)=>(g-s)/Ti,s=>s.getUTCMinutes()),go=ki(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ha-s.getMinutes()*Ti)},(s,g)=>{s.setTime(+s+g*Oa)},(s,g)=>(g-s)/Oa,s=>s.getHours()),t2=ki(s=>{s.setUTCMinutes(0,0,0)},(s,g)=>{s.setTime(+s+g*Oa)},(s,g)=>(g-s)/Oa,s=>s.getUTCHours()),Qc=ki(s=>s.setHours(0,0,0,0),(s,g)=>s.setDate(s.getDate()+g),(s,g)=>(g-s-(g.getTimezoneOffset()-s.getTimezoneOffset())*Ti)/os,s=>s.getDate()-1),Ro=ki(s=>{s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCDate(s.getUTCDate()+g)},(s,g)=>(g-s)/os,s=>s.getUTCDate()-1),$c=ki(s=>{s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCDate(s.getUTCDate()+g)},(s,g)=>(g-s)/os,s=>Math.floor(s/os));function rl(s){return ki(g=>{g.setDate(g.getDate()-(g.getDay()+7-s)%7),g.setHours(0,0,0,0)},(g,c)=>{g.setDate(g.getDate()+7*c)},(g,c)=>(c-g-(c.getTimezoneOffset()-g.getTimezoneOffset())*Ti)/K)}const br=rl(0),Yo=rl(1),Fl=(rl(2),rl(3),rl(4));function dt(s){return ki(g=>{g.setUTCDate(g.getUTCDate()-(g.getUTCDay()+7-s)%7),g.setUTCHours(0,0,0,0)},(g,c)=>{g.setUTCDate(g.getUTCDate()+7*c)},(g,c)=>(c-g)/K)}rl(5),rl(6);const st=dt(0),ft=dt(1),Dn=(dt(2),dt(3),dt(4)),vs=(dt(5),dt(6),ki(s=>{s.setDate(1),s.setHours(0,0,0,0)},(s,g)=>{s.setMonth(s.getMonth()+g)},(s,g)=>g.getMonth()-s.getMonth()+12*(g.getFullYear()-s.getFullYear()),s=>s.getMonth())),Bs=ki(s=>{s.setUTCDate(1),s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCMonth(s.getUTCMonth()+g)},(s,g)=>g.getUTCMonth()-s.getUTCMonth()+12*(g.getUTCFullYear()-s.getUTCFullYear()),s=>s.getUTCMonth()),Kr=ki(s=>{s.setMonth(0,1),s.setHours(0,0,0,0)},(s,g)=>{s.setFullYear(s.getFullYear()+g)},(s,g)=>g.getFullYear()-s.getFullYear(),s=>s.getFullYear());Kr.every=s=>isFinite(s=Math.floor(s))&&s>0?ki(g=>{g.setFullYear(Math.floor(g.getFullYear()/s)*s),g.setMonth(0,1),g.setHours(0,0,0,0)},(g,c)=>{g.setFullYear(g.getFullYear()+c*s)}):null;const ll=ki(s=>{s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCFullYear(s.getUTCFullYear()+g)},(s,g)=>g.getUTCFullYear()-s.getUTCFullYear(),s=>s.getUTCFullYear());function vc(s,g,c,r,y,x){const R=[[Aa,1,Ha],[Aa,5,5e3],[Aa,15,15e3],[Aa,30,3e4],[x,1,Ti],[x,5,5*Ti],[x,15,15*Ti],[x,30,30*Ti],[y,1,Oa],[y,3,3*Oa],[y,6,6*Oa],[y,12,12*Oa],[r,1,os],[r,2,2*os],[c,1,K],[g,1,Ie],[g,3,3*Ie],[s,1,Ut]];function xt(Rt,sn,wn){const An=Math.abs(sn-Rt)/wn,_i=Xl(([,,Xn])=>Xn).right(R,An);if(_i===R.length)return s.every(lo(Rt/Ut,sn/Ut,wn));if(0===_i)return Wa.every(Math.max(lo(Rt,sn,wn),1));const[pi,Ji]=R[An/R[_i-1][2]isFinite(s=Math.floor(s))&&s>0?ki(g=>{g.setUTCFullYear(Math.floor(g.getUTCFullYear()/s)*s),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},(g,c)=>{g.setUTCFullYear(g.getUTCFullYear()+c*s)}):null;const[s2,Pf]=vc(ll,Bs,st,$c,t2,sl),[Hh,r2]=vc(Kr,vs,br,Qc,go,es);function o2(s){if(0<=s.y&&s.y<100){var g=new Date(-1,s.m,s.d,s.H,s.M,s.S,s.L);return g.setFullYear(s.y),g}return new Date(s.y,s.m,s.d,s.H,s.M,s.S,s.L)}function cd(s){if(0<=s.y&&s.y<100){var g=new Date(Date.UTC(-1,s.m,s.d,s.H,s.M,s.S,s.L));return g.setUTCFullYear(s.y),g}return new Date(Date.UTC(s.y,s.m,s.d,s.H,s.M,s.S,s.L))}function b1(s,g,c){return{y:s,m:g,d:c,H:0,M:0,S:0,L:0}}var k0={"-":"",_:" ",0:"0"},zr=/^\s*\d+/,O0=/^%/,A4=/[\\^$*+?|[\]().{}]/g;function Xa(s,g,c){var r=s<0?"-":"",y=(r?-s:s)+"",x=y.length;return r+(x[g.toLowerCase(),c]))}function l2(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.w=+r[0],c+r[0].length):-1}function Qo(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.u=+r[0],c+r[0].length):-1}function or(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.U=+r[0],c+r[0].length):-1}function dd(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.V=+r[0],c+r[0].length):-1}function cl(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.W=+r[0],c+r[0].length):-1}function bc(s,g,c){var r=zr.exec(g.slice(c,c+4));return r?(s.y=+r[0],c+r[0].length):-1}function ud(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.y=+r[0]+(+r[0]>68?1900:2e3),c+r[0].length):-1}function P0(s,g,c){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(g.slice(c,c+6));return r?(s.Z=r[1]?0:-(r[2]+(r[3]||"00")),c+r[0].length):-1}function c2(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.q=3*r[0]-3,c+r[0].length):-1}function hd(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.m=r[0]-1,c+r[0].length):-1}function Cc(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.d=+r[0],c+r[0].length):-1}function F0(s,g,c){var r=zr.exec(g.slice(c,c+3));return r?(s.m=0,s.d=+r[0],c+r[0].length):-1}function d2(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.H=+r[0],c+r[0].length):-1}function C1(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.M=+r[0],c+r[0].length):-1}function N0(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.S=+r[0],c+r[0].length):-1}function B0(s,g,c){var r=zr.exec(g.slice(c,c+3));return r?(s.L=+r[0],c+r[0].length):-1}function md(s,g,c){var r=zr.exec(g.slice(c,c+6));return r?(s.L=Math.floor(r[0]/1e3),c+r[0].length):-1}function zs(s,g,c){var r=O0.exec(g.slice(c,c+1));return r?c+r[0].length:-1}function Qs(s,g,c){var r=zr.exec(g.slice(c));return r?(s.Q=+r[0],c+r[0].length):-1}function lr(s,g,c){var r=zr.exec(g.slice(c));return r?(s.s=+r[0],c+r[0].length):-1}function Ds(s,g){return Xa(s.getDate(),g,2)}function Jc(s,g){return Xa(s.getHours(),g,2)}function qc(s,g){return Xa(s.getHours()%12||12,g,2)}function fd(s,g){return Xa(1+Qc.count(Kr(s),s),g,3)}function dl(s,g){return Xa(s.getMilliseconds(),g,3)}function pd(s,g){return dl(s,g)+"000"}function u2(s,g){return Xa(s.getMonth()+1,g,2)}function z0(s,g){return Xa(s.getMinutes(),g,2)}function h2(s,g){return Xa(s.getSeconds(),g,2)}function m2(s){var g=s.getDay();return 0===g?7:g}function L4(s,g){return Xa(br.count(Kr(s)-1,s),g,2)}function V0(s){var g=s.getDay();return g>=4||0===g?Fl(s):Fl.ceil(s)}function I4(s,g){return s=V0(s),Xa(Fl.count(Kr(s),s)+(4===Kr(s).getDay()),g,2)}function U0(s){return s.getDay()}function G0(s,g){return Xa(Yo.count(Kr(s)-1,s),g,2)}function Wh(s,g){return Xa(s.getFullYear()%100,g,2)}function x1(s,g){return Xa((s=V0(s)).getFullYear()%100,g,2)}function j0(s,g){return Xa(s.getFullYear()%1e4,g,4)}function gd(s,g){var c=s.getDay();return Xa((s=c>=4||0===c?Fl(s):Fl.ceil(s)).getFullYear()%1e4,g,4)}function H0(s){var g=s.getTimezoneOffset();return(g>0?"-":(g*=-1,"+"))+Xa(g/60|0,"0",2)+Xa(g%60,"0",2)}function f2(s,g){return Xa(s.getUTCDate(),g,2)}function k4(s,g){return Xa(s.getUTCHours(),g,2)}function W0(s,g){return Xa(s.getUTCHours()%12||12,g,2)}function Xh(s,g){return Xa(1+Ro.count(ll(s),s),g,3)}function O4(s,g){return Xa(s.getUTCMilliseconds(),g,3)}function R4(s,g){return O4(s,g)+"000"}function P4(s,g){return Xa(s.getUTCMonth()+1,g,2)}function X0(s,g){return Xa(s.getUTCMinutes(),g,2)}function F4(s,g){return Xa(s.getUTCSeconds(),g,2)}function K0(s){var g=s.getUTCDay();return 0===g?7:g}function N4(s,g){return Xa(st.count(ll(s)-1,s),g,2)}function _d(s){var g=s.getUTCDay();return g>=4||0===g?Dn(s):Dn.ceil(s)}function e1(s,g){return s=_d(s),Xa(Dn.count(ll(s),s)+(4===ll(s).getUTCDay()),g,2)}function Ql(s){return s.getUTCDay()}function Y0(s,g){return Xa(ft.count(ll(s)-1,s),g,2)}function B4(s,g){return Xa(s.getUTCFullYear()%100,g,2)}function Q0(s,g){return Xa((s=_d(s)).getUTCFullYear()%100,g,2)}function Kh(s,g){return Xa(s.getUTCFullYear()%1e4,g,4)}function Yh(s,g){var c=s.getUTCDay();return Xa((s=c>=4||0===c?Dn(s):Dn.ceil(s)).getUTCFullYear()%1e4,g,4)}function p2(){return"+0000"}function E1(){return"%"}function kc(s){return+s}function Oc(s){return Math.floor(+s/1e3)}function Z0(s){return null===s?NaN:+s}!function ul(s){(function w4(s){var g=s.dateTime,c=s.date,r=s.time,y=s.periods,x=s.days,R=s.shortDays,ue=s.months,xt=s.shortMonths,Rt=yc(y),sn=Zc(y),wn=yc(x),An=Zc(x),_i=yc(R),pi=Zc(R),Ji=yc(ue),Xn=Zc(ue),Vi=yc(xt),pa=Zc(xt),ea={a:function dr(ta){return R[ta.getDay()]},A:function ml(ta){return x[ta.getDay()]},b:function ur(ta){return xt[ta.getMonth()]},B:function ss(ta){return ue[ta.getMonth()]},c:null,d:Ds,e:Ds,f:pd,g:x1,G:gd,H:Jc,I:qc,j:fd,L:dl,m:u2,M:z0,p:function Gr(ta){return y[+(ta.getHours()>=12)]},q:function Ar(ta){return 1+~~(ta.getMonth()/3)},Q:kc,s:Oc,S:h2,u:m2,U:L4,V:I4,w:U0,W:G0,x:null,X:null,y:Wh,Y:j0,Z:H0,"%":E1},ga={a:function b0(ta){return R[ta.getUTCDay()]},A:function Hc(ta){return x[ta.getUTCDay()]},b:function nd(ta){return xt[ta.getUTCMonth()]},B:function id(ta){return ue[ta.getUTCMonth()]},c:null,d:f2,e:f2,f:R4,g:Q0,G:Yh,H:k4,I:W0,j:Xh,L:O4,m:P4,M:X0,p:function No(ta){return y[+(ta.getUTCHours()>=12)]},q:function ad(ta){return 1+~~(ta.getUTCMonth()/3)},Q:kc,s:Oc,S:F4,u:K0,U:N4,V:e1,w:Ql,W:Y0,x:null,X:null,y:B4,Y:Kh,Z:p2,"%":E1},Na={a:function bs(ta,ka,Qa){var Li=_i.exec(ka.slice(Qa));return Li?(ta.w=pi.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},A:function Gs(ta,ka,Qa){var Li=wn.exec(ka.slice(Qa));return Li?(ta.w=An.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},b:function Da(ta,ka,Qa){var Li=Vi.exec(ka.slice(Qa));return Li?(ta.m=pa.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},B:function Rs(ta,ka,Qa){var Li=Ji.exec(ka.slice(Qa));return Li?(ta.m=Xn.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},c:function ts(ta,ka,Qa){return Os(ta,g,ka,Qa)},d:Cc,e:Cc,f:md,g:ud,G:bc,H:d2,I:d2,j:F0,L:B0,m:hd,M:C1,p:function Po(ta,ka,Qa){var Li=Rt.exec(ka.slice(Qa));return Li?(ta.p=sn.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},q:c2,Q:Qs,s:lr,S:N0,u:Qo,U:or,V:dd,w:l2,W:cl,x:function Fo(ta,ka,Qa){return Os(ta,c,ka,Qa)},X:function Cr(ta,ka,Qa){return Os(ta,r,ka,Qa)},y:ud,Y:bc,Z:P0,"%":zs};function qi(ta,ka){return function(Qa){var Zo,ba,Ir,Li=[],Lr=-1,Cs=0,fl=ta.length;for(Qa instanceof Date||(Qa=new Date(+Qa));++Lr53)return null;"w"in Li||(Li.w=1),"Z"in Li?(fl=(Cs=cd(b1(Li.y,0,1))).getUTCDay(),Cs=fl>4||0===fl?ft.ceil(Cs):ft(Cs),Cs=Ro.offset(Cs,7*(Li.V-1)),Li.y=Cs.getUTCFullYear(),Li.m=Cs.getUTCMonth(),Li.d=Cs.getUTCDate()+(Li.w+6)%7):(fl=(Cs=o2(b1(Li.y,0,1))).getDay(),Cs=fl>4||0===fl?Yo.ceil(Cs):Yo(Cs),Cs=Qc.offset(Cs,7*(Li.V-1)),Li.y=Cs.getFullYear(),Li.m=Cs.getMonth(),Li.d=Cs.getDate()+(Li.w+6)%7)}else("W"in Li||"U"in Li)&&("w"in Li||(Li.w="u"in Li?Li.u%7:"W"in Li?1:0),fl="Z"in Li?cd(b1(Li.y,0,1)).getUTCDay():o2(b1(Li.y,0,1)).getDay(),Li.m=0,Li.d="W"in Li?(Li.w+6)%7+7*Li.W-(fl+5)%7:Li.w+7*Li.U-(fl+6)%7);return"Z"in Li?(Li.H+=Li.Z/100|0,Li.M+=Li.Z%100,cd(Li)):o2(Li)}}function Os(ta,ka,Qa,Li){for(var Zo,ba,Lr=0,Cs=ka.length,fl=Qa.length;Lr=fl)return-1;if(37===(Zo=ka.charCodeAt(Lr++))){if(Zo=ka.charAt(Lr++),!(ba=Na[Zo in k0?ka.charAt(Lr++):Zo])||(Li=ba(ta,Qa,Li))<0)return-1}else if(Zo!=Qa.charCodeAt(Li++))return-1}return Li}return ea.x=qi(c,ea),ea.X=qi(r,ea),ea.c=qi(g,ea),ga.x=qi(c,ga),ga.X=qi(r,ga),ga.c=qi(g,ga),{format:function(ta){var ka=qi(ta+="",ea);return ka.toString=function(){return ta},ka},parse:function(ta){var ka=ks(ta+="",!1);return ka.toString=function(){return ta},ka},utcFormat:function(ta){var ka=qi(ta+="",ga);return ka.toString=function(){return ta},ka},utcParse:function(ta){var ka=ks(ta+="",!0);return ka.toString=function(){return ta},ka}}})(s)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const U4=Xl(Xr).right,v2=(Xl(Z0),U4);function G4(s,g){return s=+s,g=+g,function(c){return Math.round(s*(1-c)+g*c)}}function H4(s){return+s}var qa=[0,1];function xc(s){return s}function y2(s,g){return(g-=s=+s)?function(c){return(c-s)/g}:function j4(s){return function(){return s}}(isNaN(g)?NaN:.5)}function M1(s,g,c){var r=s[0],y=s[1],x=g[0],R=g[1];return yg&&(c=s,s=g,g=c),function(r){return Math.max(s,Math.min(g,r))}}(s[0],s[An-1])),ue=An>2?W4:M1,xt=Rt=null,wn}function wn(An){return null==An||isNaN(An=+An)?x:(xt||(xt=ue(s.map(r),g,c)))(r(R(An)))}return wn.invert=function(An){return R(y((Rt||(Rt=ue(g,s.map(r),rs)))(An)))},wn.domain=function(An){return arguments.length?(s=Array.from(An,H4),sn()):s.slice()},wn.range=function(An){return arguments.length?(g=Array.from(An),sn()):g.slice()},wn.rangeRound=function(An){return g=Array.from(An),c=G4,sn()},wn.clamp=function(An){return arguments.length?(R=!!An||xc,sn()):R!==xc},wn.interpolate=function(An){return arguments.length?(c=An,sn()):c},wn.unknown=function(An){return arguments.length?(x=An,wn):x},function(An,_i){return r=An,y=_i,sn()}}()(xc,xc)}function t1(s,g){switch(arguments.length){case 0:break;case 1:this.range(s);break;default:this.range(g).domain(s)}return this}var bl,K4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rc(s){if(!(g=K4.exec(s)))throw new Error("invalid format: "+s);var g;return new Ec({fill:g[1],align:g[2],sign:g[3],symbol:g[4],zero:g[5],width:g[6],comma:g[7],precision:g[8]&&g[8].slice(1),trim:g[9],type:g[10]})}function Ec(s){this.fill=void 0===s.fill?" ":s.fill+"",this.align=void 0===s.align?">":s.align+"",this.sign=void 0===s.sign?"-":s.sign+"",this.symbol=void 0===s.symbol?"":s.symbol+"",this.zero=!!s.zero,this.width=void 0===s.width?void 0:+s.width,this.comma=!!s.comma,this.precision=void 0===s.precision?void 0:+s.precision,this.trim=!!s.trim,this.type=void 0===s.type?"":s.type+""}function Cd(s,g){if(!isFinite(s)||0===s)return null;var c=(s=g?s.toExponential(g-1):s.toExponential()).indexOf("e"),r=s.slice(0,c);return[r.length>1?r[0]+r.slice(2):r,+s.slice(c+1)]}function Mc(s){return(s=Cd(Math.abs(s)))?s[1]:NaN}function rc(s,g){var c=Cd(s,g);if(!c)return s+"";var r=c[0],y=c[1];return y<0?"0."+new Array(-y).join("0")+r:r.length>y+1?r.slice(0,y+1)+"."+r.slice(y+1):r+new Array(y-r.length+2).join("0")}Rc.prototype=Ec.prototype,Ec.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const I1={"%":(s,g)=>(100*s).toFixed(g),b:s=>Math.round(s).toString(2),c:s=>s+"",d:function eu(s){return Math.abs(s=Math.round(s))>=1e21?s.toLocaleString("en").replace(/,/g,""):s.toString(10)},e:(s,g)=>s.toExponential(g),f:(s,g)=>s.toFixed(g),g:(s,g)=>s.toPrecision(g),o:s=>Math.round(s).toString(8),p:(s,g)=>rc(100*s,g),r:rc,s:function L1(s,g){var c=Cd(s,g);if(!c)return bl=void 0,s.toPrecision(g);var r=c[0],y=c[1],x=y-(bl=3*Math.max(-8,Math.min(8,Math.floor(y/3))))+1,R=r.length;return x===R?r:x>R?r+new Array(x-R+1).join("0"):x>0?r.slice(0,x)+"."+r.slice(x):"0."+new Array(1-x).join("0")+Cd(s,Math.max(0,g+x-1))[0]},X:s=>Math.round(s).toString(16).toUpperCase(),x:s=>Math.round(s).toString(16)};function Yr(s){return s}var k1,C2,Y4,n1=Array.prototype.map,su=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function $4(s){var g=s.domain;return s.ticks=function(c){var r=g();return function v1(s,g,c){if(!((c=+c)>0))return[];if((s=+s)===(g=+g))return[s];const r=g=y))return[];const ue=x-y+1,xt=new Array(ue);if(r)if(R<0)for(let Rt=0;Rt0;){if((Rt=ic(R,ue,c))===xt)return r[y]=R,r[x]=ue,g(r);if(Rt>0)R=Math.floor(R/Rt)*Rt,ue=Math.ceil(ue/Rt)*Rt;else{if(!(Rt<0))break;R=Math.ceil(R*Rt)/Rt,ue=Math.floor(ue*Rt)/Rt}xt=Rt}return s},s}function lc(){var s=yd();return s.copy=function(){return function S1(s,g){return g.domain(s.domain()).range(s.range()).interpolate(s.interpolate()).clamp(s.clamp()).unknown(s.unknown())}(s,lc())},t1.apply(s,arguments),$4(s)}function ru(s,g,c){s=+s,g=+g,c=(y=arguments.length)<2?(g=s,s=0,1):y<3?1:+c;for(var r=-1,y=0|Math.max(0,Math.ceil((g-s)/c)),x=new Array(y);++r0&&ue>0&&(xt+ue+1>r&&(ue=Math.max(1,r-xt)),x.push(c.substring(y-=ue,y+ue)),!((xt+=ue+1)>r));)ue=s[R=(R+1)%s.length];return x.reverse().join(g)}}(n1.call(s.grouping,Number),s.thousands+""),c=void 0===s.currency?"":s.currency[0]+"",r=void 0===s.currency?"":s.currency[1]+"",y=void 0===s.decimal?".":s.decimal+"",x=void 0===s.numerals?Yr:function iu(s){return function(g){return g.replace(/[0-9]/g,function(c){return s[+c]})}}(n1.call(s.numerals,String)),R=void 0===s.percent?"%":s.percent+"",ue=void 0===s.minus?"\u2212":s.minus+"",xt=void 0===s.nan?"NaN":s.nan+"";function Rt(wn,An){var _i=(wn=Rc(wn)).fill,pi=wn.align,Ji=wn.sign,Xn=wn.symbol,Vi=wn.zero,pa=wn.width,ea=wn.comma,ga=wn.precision,Na=wn.trim,qi=wn.type;"n"===qi?(ea=!0,qi="g"):I1[qi]||(void 0===ga&&(ga=12),Na=!0,qi="g"),(Vi||"0"===_i&&"="===pi)&&(Vi=!0,_i="0",pi="=");var ks=(An&&void 0!==An.prefix?An.prefix:"")+("$"===Xn?c:"#"===Xn&&/[boxX]/.test(qi)?"0"+qi.toLowerCase():""),Os=("$"===Xn?r:/[%p]/.test(qi)?R:"")+(An&&void 0!==An.suffix?An.suffix:""),Po=I1[qi],bs=/[defgprs%]/.test(qi);function Gs(Da){var Fo,Cr,dr,Rs=ks,ts=Os;if("c"===qi)ts=Po(Da)+ts,Da="";else{var ml=(Da=+Da)<0||1/Da<0;if(Da=isNaN(Da)?xt:Po(Math.abs(Da),ga),Na&&(Da=function au(s){e:for(var y,g=s.length,c=1,r=-1;c0&&(r=0)}return r>0?s.slice(0,r)+s.slice(y+1):s}(Da)),ml&&0==+Da&&"+"!==Ji&&(ml=!1),Rs=(ml?"("===Ji?Ji:ue:"-"===Ji||"("===Ji?"":Ji)+Rs,ts=("s"!==qi||isNaN(Da)||void 0===bl?"":su[8+bl/3])+ts+(ml&&"("===Ji?")":""),bs)for(Fo=-1,Cr=Da.length;++Fo(dr=Da.charCodeAt(Fo))||dr>57){ts=(46===dr?y+Da.slice(Fo+1):Da.slice(Fo))+ts,Da=Da.slice(0,Fo);break}}ea&&!Vi&&(Da=g(Da,1/0));var ur=Rs.length+Da.length+ts.length,ss=ur>1)+Rs+Da+ts+ss.slice(ur);break;default:Da=ss+Rs+Da+ts}return x(Da)}return ga=void 0===ga?6:/[gprs]/.test(qi)?Math.max(1,Math.min(21,ga)):Math.max(0,Math.min(20,ga)),Gs.toString=function(){return wn+""},Gs}return{format:Rt,formatPrefix:function sn(wn,An){var _i=3*Math.max(-8,Math.min(8,Math.floor(Mc(An)/3))),pi=Math.pow(10,-_i),Ji=Rt(((wn=Rc(wn)).type="f",wn),{suffix:su[8+_i/3]});return function(Xn){return Ji(pi*Xn)}}}}(s),C2=k1.format,Y4=k1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class ou extends Map{constructor(g,c=cu){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:c}}),null!=g)for(const[r,y]of g)this.set(r,y)}get(g){return super.get(O1(this,g))}has(g){return super.has(O1(this,g))}set(g,c){return super.set(function Ed({_intern:s,_key:g},c){const r=g(c);return s.has(r)?s.get(r):(s.set(r,c),c)}(this,g),c)}delete(g){return super.delete(function Sc({_intern:s,_key:g},c){const r=g(c);return s.has(r)&&(c=s.get(r),s.delete(r)),c}(this,g))}}function O1({_intern:s,_key:g},c){const r=g(c);return s.has(r)?s.get(r):c}function cu(s){return null!==s&&"object"==typeof s?s.valueOf():s}Set;const E2=Symbol("implicit");function Md(){var s=new ou,g=[],c=[],r=E2;function y(x){let R=s.get(x);if(void 0===R){if(r!==E2)return r;s.set(x,R=g.push(x)-1)}return c[R%c.length]}return y.domain=function(x){if(!arguments.length)return g.slice();g=[],s=new ou;for(const R of x)s.has(R)||s.set(R,g.push(R)-1);return y},y.range=function(x){return arguments.length?(c=Array.from(x),y):c.slice()},y.unknown=function(x){return arguments.length?(r=x,y):r},y.copy=function(){return Md(g,c).unknown(r)},t1.apply(y,arguments),y}function Pc(){var x,R,s=Md().unknown(void 0),g=s.domain,c=s.range,r=0,y=1,ue=!1,xt=0,Rt=0,sn=.5;function wn(){var An=g().length,_i=y=1)return+c(s[r-1],r-1,s);var r,y=(r-1)*g,x=Math.floor(y),R=+c(s[x],x,s);return R+(+c(s[x+1],x+1,s)-R)*(y-x)}}function P1(){var r,s=[],g=[],c=[];function y(){var R=0,ue=Math.max(1,g.length);for(c=new Array(ue-1);++R0?c[ue-1]:s[0],ue({model:s});function tm(s,g){}function Mu(s,g){if(1&s&&(i.j41(0,"span"),i.DNE(1,tm,0,0,"ng-template",5),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngTemplateOutlet",c.template)("ngTemplateOutletContext",i.eq3(2,Eu,c.context))}}function P2(s,g){if(1&s&&i.nrm(0,"span",6),2&s){const c=i.XpG();i.Y8G("innerHTML",c.title,i.npT)}}function F2(s,g){if(1&s&&(i.j41(0,"header",4)(1,"span",5),i.EFF(2),i.k0s()()),2&s){const c=i.XpG();i.R7$(2),i.JRh(c.title)}}function N2(s,g){if(1&s){const c=i.RV6();i.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),i.bIt("select",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.labelClick.emit(y))})("activate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.activate(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.deactivate(y))}),i.k0s()()}if(2&s){const c=g.$implicit,r=i.XpG();i.R7$(),i.Y8G("label",c.label)("formattedLabel",c.formattedLabel)("color",c.color)("isActive",r.isActive(c))}}const B2=["*"];function l3(s,g){if(1&s&&i.nrm(0,"ngx-charts-scale-legend",4),2&s){const c=i.XpG();i.Y8G("horizontal",c.legendOptions&&c.legendOptions.position===c.LegendPosition.Below)("valueRange",c.legendOptions.domain)("colors",c.legendOptions.colors)("height",c.view[1])("width",c.legendWidth)}}function c3(s,g){if(1&s){const c=i.RV6();i.j41(0,"ngx-charts-legend",5),i.bIt("labelClick",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelClick.emit(y))})("labelActivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelActivate.emit(y))})("labelDeactivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelDeactivate.emit(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("horizontal",c.legendOptions&&c.legendOptions.position===c.LegendPosition.Below)("data",c.legendOptions.domain)("title",c.legendOptions.title)("colors",c.legendOptions.colors)("height",c.view[1])("width",c.legendWidth)("activeEntries",c.activeEntries)}}const d3=["ngx-charts-axis-label",""],Su=["ticksel"],z2=["ngx-charts-x-axis-ticks",""];function u3(s,g){1&s&&(d.qSk(),i.eu8(0))}function wd(s,g){if(1&s&&(d.qSk(),i.j41(0,"tspan",12),i.EFF(1),i.k0s()),2&s){const c=g.$implicit;i.BMQ("y",12*g.index),i.R7$(),i.SpI(" ",c," ")}}function h3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,wd,2,2,"tspan",11),i.bVm()),2&s){const c=g.ngIf;i.R7$(),i.Y8G("ngForOf",c)}}function Ad(s,g){if(1&s&&i.DNE(0,h3,2,1,"ng-container",8),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.Y8G("ngIf",r.tickChunks(c))}}function Ld(s,g){if(1&s&&i.EFF(0),2&s){const c=i.XpG().ngIf,r=i.XpG(2);i.SpI(" ",r.tickTrim(c)," ")}}function nm(s,g){if(1&s&&(d.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,u3,1,0,"ng-container",10),i.k0s(),i.DNE(5,Ad,1,1,"ng-template",null,1,i.C5r)(7,Ld,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&s){const c=g.ngIf,r=i.sdS(6),y=i.sdS(8),x=i.XpG(2);i.R7$(2),i.JRh(c),i.R7$(),i.BMQ("text-anchor",x.textAnchor)("transform",x.textTransform),i.R7$(),i.Y8G("ngIf",x.isWrapTicksSupported)("ngIfThen",r)("ngIfElse",y)}}function Tu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",7),i.DNE(1,nm,9,6,"ng-container",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.tickTransform(c)),i.R7$(),i.Y8G("ngIf",r.tickFormat(c))}}function B1(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",13),i.k0s()),2&s){const c=i.XpG(2);i.BMQ("transform",c.gridLineTransform()),i.R7$(),i.BMQ("y1",-c.gridLineHeight)}}function Id(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,B1,2,2,"g",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.tickTransform(c)),i.R7$(),i.Y8G("ngIf",r.showGridLines)}}function m3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"path",14)),2&s){const c=i.XpG();i.BMQ("d",c.referenceAreaPath)("transform",c.gridLineTransform())}}function V2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",17),i.EFF(4),i.k0s()()),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.R7$(2),i.JRh(r.tickTrim(r.tickFormat(c.value))),i.R7$(2),i.SpI(" ",c.name," ")}}function f3(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",16),i.DNE(2,V2,5,2,"g",8),i.k0s()),2&s){const c=i.XpG().$implicit,r=i.XpG();i.BMQ("transform",r.transform(c.value)),i.R7$(),i.BMQ("y2",25+r.gridLineHeight)("transform",r.gridLineTransform()),i.R7$(),i.Y8G("ngIf",r.showRefLabels)}}function kd(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",15),i.DNE(1,f3,3,4,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngIf",c.showRefLines)}}const p3=["ngx-charts-x-axis",""];function cc(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.emitTicksHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("trimTicks",c.trimTicks)("rotateTicks",c.rotateTicks)("maxTickLength",c.maxTickLength)("tickFormatting",c.tickFormatting)("tickArguments",c.tickArguments)("tickStroke",c.tickStroke)("scale",c.xScale)("orient",c.xOrient)("showGridLines",c.showGridLines)("gridLineHeight",c.dims.height)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("width",c.dims.width)("tickValues",c.ticks)("wrapTicks",c.wrapTicks)}}function Nc(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",3)),2&s){const c=i.XpG();i.Y8G("label",c.labelText)("offset",c.labelOffset)("orient",c.orientation.Bottom)("height",c.dims.height)("width",c.dims.width)}}const im=["ngx-charts-y-axis-ticks",""];function am(s,g){1&s&&(d.qSk(),i.eu8(0))}function z1(s,g){if(1&s&&(d.qSk(),i.j41(0,"tspan",13),i.EFF(1),i.k0s()),2&s){const c=g.$implicit,r=g.index,y=i.XpG(6);i.BMQ("y",r*(8+y.tickSpacing)),i.R7$(),i.SpI(" ",c," ")}}function g3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,z1,2,2,"tspan",12),i.bVm()),2&s){const c=i.XpG().ngIf;i.R7$(),i.Y8G("ngForOf",c)}}function Du(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,g3,2,1,"ng-container",11),i.bVm()),2&s){const c=g.ngIf;i.XpG(2);const r=i.sdS(8);i.R7$(),i.Y8G("ngIf",c.length>1)("ngIfElse",r)}}function wu(s,g){if(1&s&&i.DNE(0,Du,2,2,"ng-container",8),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.Y8G("ngIf",r.tickChunks(c))}}function Au(s,g){if(1&s&&i.EFF(0),2&s){const c=i.XpG().ngIf,r=i.XpG(2);i.SpI(" ",r.tickTrim(c)," ")}}function _3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,am,1,0,"ng-container",10),i.k0s(),i.DNE(5,wu,1,1,"ng-template",null,1,i.C5r)(7,Au,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&s){const c=g.ngIf,r=i.sdS(6),y=i.sdS(8),x=i.XpG(2);i.R7$(2),i.JRh(c),i.R7$(),i.xc7("font-size","12px"),i.BMQ("dy",x.dy)("x",x.x1)("y",x.y1)("text-anchor",x.textAnchor),i.R7$(),i.Y8G("ngIf",x.wrapTicks)("ngIfThen",r)("ngIfElse",y)}}function Lu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",7),i.DNE(1,_3,9,10,"ng-container",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.transform(c)),i.R7$(),i.Y8G("ngIf",r.tickFormat(c))}}function v3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"path",14)),2&s){const c=i.XpG();i.BMQ("d",c.referenceAreaPath)("transform",c.gridLineTransform())}}function Iu(s,g){if(1&s&&(d.qSk(),i.nrm(0,"line",16)),2&s){const c=i.XpG(3);i.BMQ("x2",c.gridLineWidth)}}function y3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"line",16)),2&s){const c=i.XpG(3);i.BMQ("x2",-c.gridLineWidth)}}function U2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Iu,1,1,"line",15)(2,y3,1,1,"line",15),i.k0s()),2&s){const c=i.XpG(2);i.BMQ("transform",c.gridLineTransform()),i.R7$(),i.Y8G("ngIf",c.orient===c.Orientation.Left),i.R7$(),i.Y8G("ngIf",c.orient===c.Orientation.Right)}}function sm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,U2,3,3,"g",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.transform(c)),i.R7$(),i.Y8G("ngIf",r.showGridLines)}}function ku(s,g){if(1&s&&(d.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",19),i.EFF(4),i.k0s()()),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.R7$(2),i.JRh(r.tickTrim(r.tickFormat(c.value))),i.R7$(),i.BMQ("dy",r.dy)("y",-6)("x",r.gridLineWidth)("text-anchor",r.textAnchor),i.R7$(),i.SpI(" ",c.name," ")}}function rm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",18),i.DNE(2,ku,5,6,"g",8),i.k0s()),2&s){const c=i.XpG().$implicit,r=i.XpG();i.BMQ("transform",r.transform(c.value)),i.R7$(),i.BMQ("x2",r.gridLineWidth),i.R7$(),i.Y8G("ngIf",r.showRefLabels)}}function G2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",17),i.DNE(1,rm,3,3,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngIf",c.showRefLines)}}const j2=["ngx-charts-y-axis",""];function Ff(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.emitTicksWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("trimTicks",c.trimTicks)("maxTickLength",c.maxTickLength)("tickFormatting",c.tickFormatting)("tickArguments",c.tickArguments)("tickValues",c.ticks)("tickStroke",c.tickStroke)("scale",c.yScale)("orient",c.yOrient)("showGridLines",c.showGridLines)("gridLineWidth",c.dims.width)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("height",c.dims.height)("wrapTicks",c.wrapTicks)}}function Vr(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",3)),2&s){const c=i.XpG();i.Y8G("label",c.labelText)("offset",c.labelOffset)("orient",c.yOrient)("height",c.dims.height)("width",c.dims.width)}}const b3=["ngx-charts-svg-linear-gradient",""];function s1(s,g){if(1&s&&(d.qSk(),i.nrm(0,"stop")),2&s){const c=g.$implicit;i.xc7("stop-color",c.color)("stop-opacity",c.opacity),i.BMQ("offset",c.offset+"%")}}const Fu=["ngx-charts-grid-panel",""],Nu=["ngx-charts-grid-panel-series",""];function Bc(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",1)),2&s){const c=g.$implicit;i.AVh("grid-panel",!0)("odd","odd"===c.class)("even","even"===c.class),i.Y8G("height",c.height)("width",c.width)("x",c.x)("y",c.y)}}const w3=["tooltipTemplate"],l1=(s,g)=>[s,g],Cl=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",O3=["ngx-charts-bar",""];function R3(s,g){if(1&s&&(d.qSk(),i.j41(0,"defs"),i.nrm(1,"g",2),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("orientation",c.orientation)("name",c.gradientId)("stops",c.gradientStops)}}const P3=["ngx-charts-bar-label",""],e0=["ngx-charts-series-vertical",""];function t0(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("select",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.onClick(y))})("activate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.activate.emit(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.deactivate.emit(y))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("@animationState","active")("@.disabled",!r.animations)("width",c.width)("height",c.height)("x",c.x)("y",c.y)("fill",c.color)("stops",c.gradientStops)("data",c.data)("orientation",r.barOrientation.Vertical)("roundEdges",c.roundEdges)("gradient",r.gradient)("ariaLabel",c.ariaLabel)("isActive",r.isActive(c.data))("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.tooltipPlacement)("tooltipType",r.tooltipType)("tooltipTitle",r.tooltipTemplate?void 0:c.tooltipText)("tooltipTemplate",r.tooltipTemplate)("tooltipContext",c.data)("noBarWhenZero",r.noBarWhenZero)("animations",r.animations)}}function ju(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,t0,1,22,"g",1),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.bars)("ngForTrackBy",c.trackBy)}}function ym(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("select",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.onClick(y))})("activate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.activate.emit(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.deactivate.emit(y))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("width",c.width)("height",c.height)("x",c.x)("y",c.y)("fill",c.color)("stops",c.gradientStops)("data",c.data)("orientation",r.barOrientation.Vertical)("roundEdges",c.roundEdges)("gradient",r.gradient)("ariaLabel",c.ariaLabel)("isActive",r.isActive(c.data))("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.tooltipPlacement)("tooltipType",r.tooltipType)("tooltipTitle",r.tooltipTemplate?void 0:c.tooltipText)("tooltipTemplate",r.tooltipTemplate)("tooltipContext",c.data)("noBarWhenZero",r.noBarWhenZero)("animations",r.animations)}}function bm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,ym,1,20,"g",1),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.bars)("ngForTrackBy",c.trackBy)}}function Hu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",4),i.bIt("dimensionsChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.dataLabelHeightChanged.emit({size:y,index:x}))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("barX",c.x)("barY",c.y)("barWidth",c.width)("barHeight",c.height)("value",c.total)("valueFormatting",r.dataLabelFormatting)("orientation",r.barOrientation.Vertical)}}function Wu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Hu,1,7,"g",3),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.barsForDataLabels)("ngForTrackBy",c.trackDataLabelBy)}}function Xu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",5),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateXAxisHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("xScale",c.xScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showXAxisLabel)("labelText",c.xAxisLabel)("trimTicks",c.trimXAxisTicks)("rotateTicks",c.rotateXAxisTicks)("maxTickLength",c.maxXAxisTickLength)("tickFormatting",c.xAxisTickFormatting)("ticks",c.xAxisTicks)("xAxisOffset",c.dataLabelMaxHeight.negative)("wrapTicks",c.wrapTicks)}}function Cm(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateYAxisWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("yScale",c.yScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showYAxisLabel)("labelText",c.yAxisLabel)("trimTicks",c.trimYAxisTicks)("maxTickLength",c.maxYAxisTickLength)("tickFormatting",c.yAxisTickFormatting)("ticks",c.yAxisTicks)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("wrapTicks",c.wrapTicks)}}function Ku(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateXAxisHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("xScale",c.groupScale)("dims",c.dims)("showLabel",c.showXAxisLabel)("labelText",c.xAxisLabel)("trimTicks",c.trimXAxisTicks)("rotateTicks",c.rotateXAxisTicks)("maxTickLength",c.maxXAxisTickLength)("tickFormatting",c.xAxisTickFormatting)("ticks",c.xAxisTicks)("xAxisOffset",c.dataLabelMaxHeight.negative)("wrapTicks",c.wrapTicks)}}function j3(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",7),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateYAxisWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("yScale",c.valueScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showYAxisLabel)("labelText",c.yAxisLabel)("trimTicks",c.trimYAxisTicks)("maxTickLength",c.maxYAxisTickLength)("tickFormatting",c.yAxisTickFormatting)("ticks",c.yAxisTicks)("wrapTicks",c.wrapTicks)}}function xm(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",9),i.bIt("select",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onClick(y,x))})("activate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onActivate(y,x))})("deactivate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onDeactivate(y,x))})("dataLabelHeightChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.onDataLabelMaxHeightChanged(y,x))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("@animationState","active")("activeEntries",r.activeEntries)("xScale",r.innerScale)("yScale",r.valueScale)("colors",r.colors)("series",c.series)("dims",r.dims)("gradient",r.gradient)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.tooltipTemplate)("showDataLabel",r.showDataLabel)("dataLabelFormatting",r.dataLabelFormatting)("seriesName",c.name)("roundEdges",r.roundEdges)("animations",r.animations)("noBarWhenZero",r.noBarWhenZero),i.BMQ("transform",r.groupTransform(c))}}function H3(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,xm,1,17,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.results)("ngForTrackBy",c.trackBy)}}function Yu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",9),i.bIt("select",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onClick(y,x))})("activate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onActivate(y,x))})("deactivate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onDeactivate(y,x))})("dataLabelHeightChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.onDataLabelMaxHeightChanged(y,x))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("activeEntries",r.activeEntries)("xScale",r.innerScale)("yScale",r.valueScale)("colors",r.colors)("series",c.series)("dims",r.dims)("gradient",r.gradient)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.tooltipTemplate)("showDataLabel",r.showDataLabel)("dataLabelFormatting",r.dataLabelFormatting)("seriesName",c.name)("roundEdges",r.roundEdges)("animations",r.animations)("noBarWhenZero",r.noBarWhenZero),i.BMQ("transform",r.groupTransform(c))}}function n0(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Yu,1,16,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.results)("ngForTrackBy",c.trackBy)}}function c0(s,g,c){c=c||{};let r,y,x,R=null,ue=0;function xt(){ue=!1===c.leading?0:+new Date,R=null,x=s.apply(r,y)}return function(){const Rt=+new Date;!ue&&!1===c.leading&&(ue=Rt);const sn=g-(Rt-ue);return r=this,y=arguments,sn<=0?(clearTimeout(R),R=null,ue=Rt,x=s.apply(r,y)):!R&&!1!==c.trailing&&(R=setTimeout(xt,sn)),x}}function sp(s,g){return function(r,y,x){return{configurable:!0,enumerable:x.enumerable,get:function(){return Object.defineProperty(this,y,{configurable:!0,enumerable:x.enumerable,value:c0(x.value,s,g)}),this[y]}}}}var Va=function(s){return s.Top="top",s.Bottom="bottom",s.Left="left",s.Right="right",s.Center="center",s}(Va||{});function Sm(s,g,c){return c===Va.Top?s.top-7:c===Va.Bottom?s.top+s.height-g.height+7:c===Va.Center?s.top+s.height/2-g.height/2:void 0}function eh(s,g,c){return c===Va.Left?s.left-7:c===Va.Right?s.left+s.width-g.width+7:c===Va.Center?s.left+s.width/2-g.width/2:void 0}class $o{static calculateVerticalAlignment(g,c,r){let y=Sm(g,c,r);return y+c.height>window.innerHeight&&(y=window.innerHeight-c.height),y}static calculateVerticalCaret(g,c,r,y){let x;y===Va.Top&&(x=g.height/2-r.height/2+7),y===Va.Bottom&&(x=c.height-g.height/2-r.height/2-7),y===Va.Center&&(x=c.height/2-r.height/2);const R=Sm(g,c,y);return R+c.height>window.innerHeight&&(x+=R+c.height-window.innerHeight),x}static calculateHorizontalAlignment(g,c,r){let y=eh(g,c,r);return y+c.width>window.innerWidth&&(y=window.innerWidth-c.width),y}static calculateHorizontalCaret(g,c,r,y){let x;y===Va.Left&&(x=g.width/2-r.width/2+7),y===Va.Right&&(x=c.width-g.width/2-r.width/2-7),y===Va.Center&&(x=c.width/2-r.width/2);const R=eh(g,c,y);return R+c.width>window.innerWidth&&(x+=R+c.width-window.innerWidth),x}static shouldFlip(g,c,r,y){let x=!1;return r===Va.Right&&g.left+g.width+c.width+y>window.innerWidth&&(x=!0),r===Va.Left&&g.left-c.width-y<0&&(x=!0),r===Va.Top&&g.top-c.height-y<0&&(x=!0),r===Va.Bottom&&g.top+g.height+c.height+y>window.innerHeight&&(x=!0),x}static positionCaret(g,c,r,y,x){let R=0,ue=0;return g===Va.Right?(ue=-7,R=$o.calculateVerticalCaret(r,c,y,x)):g===Va.Left?(ue=c.width,R=$o.calculateVerticalCaret(r,c,y,x)):g===Va.Top?(R=c.height,ue=$o.calculateHorizontalCaret(r,c,y,x)):g===Va.Bottom&&(R=-7,ue=$o.calculateHorizontalCaret(r,c,y,x)),{top:R,left:ue}}static positionContent(g,c,r,y,x){let R=0,ue=0;return g===Va.Right?(ue=r.left+r.width+y,R=$o.calculateVerticalAlignment(r,c,x)):g===Va.Left?(ue=r.left-c.width-y,R=$o.calculateVerticalAlignment(r,c,x)):g===Va.Top?(R=r.top-c.height-y,ue=$o.calculateHorizontalAlignment(r,c,x)):g===Va.Bottom&&(R=r.top+r.height+y,ue=$o.calculateHorizontalAlignment(r,c,x)),{top:R,left:ue}}static determinePlacement(g,c,r,y){if($o.shouldFlip(r,c,g,y)){if(g===Va.Right)return Va.Left;if(g===Va.Left)return Va.Right;if(g===Va.Top)return Va.Bottom;if(g===Va.Bottom)return Va.Top}return g}}let rp=(()=>{var s;class g{get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}constructor(r,y,x){this.element=r,this.renderer=y,this.platformId=x}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,w.UE)(this.platformId))return;const r=this.element.nativeElement,y=this.host.nativeElement.getBoundingClientRect();if(!y.height&&!y.width)return;const x=r.getBoundingClientRect();this.checkFlip(y,x),this.positionContent(r,y,x),this.showCaret&&this.positionCaret(y,x),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,y,x){const{top:R,left:ue}=$o.positionContent(this.placement,x,y,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${R}px`),this.renderer.setStyle(r,"left",`${ue}px`)}positionCaret(r,y){const x=this.caretElm.nativeElement,R=x.getBoundingClientRect(),{top:ue,left:xt}=$o.positionCaret(this.placement,y,r,R,this.alignment);this.renderer.setStyle(x,"top",`${ue}px`),this.renderer.setStyle(x,"left",`${xt}px`)}checkFlip(r,y){this.placement=$o.determinePlacement(this.placement,y,r,this.spacing)}onWindowResize(){this.position()}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-tooltip-content"]],viewQuery:function(y,x){if(1&y&&i.GBs(xu,5),2&y){let R;i.mGM(R=i.lsd())&&(x.caretElm=R.first)}},hostVars:2,hostBindings:function(y,x){1&y&&i.bIt("resize",function(){return x.onWindowResize()},i.tSv),2&y&&i.HbH(x.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},standalone:!1,decls:6,vars:6,consts:[["caretElm",""],[3,"hidden"],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(y,x){1&y&&(i.j41(0,"div"),i.nrm(1,"span",1,0),i.j41(3,"div",2),i.DNE(4,Mu,2,4,"span",3)(5,P2,1,1,"span",4),i.k0s()()),2&y&&(i.R7$(),i.HbH(i.VkB("tooltip-caret position-",x.placement)),i.Y8G("hidden",!x.showCaret),i.R7$(3),i.Y8G("ngIf",!x.title),i.R7$(),i.Y8G("ngIf",x.title))},dependencies:[T.bT,T.T3],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:#000000bf;font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translateZ(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}))}return s(),(0,e.Cg)([sp(100)],g.prototype,"onWindowResize",null),g})();class Tm{constructor(g){this.injectionService=g,this.defaults={},this.components=new Map}getByType(g=this.type){return this.components.get(g)}create(g){return this.createByType(this.type,g)}createByType(g,c){c=this.assignDefaults(c);const r=this.injectComponent(g,c);return this.register(g,r),r}destroy(g){const c=this.components.get(g.componentType);if(c&&c.length){const r=c.indexOf(g);r>-1&&(c[r].destroy(),c.splice(r,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(g){const c=this.components.get(g);if(c&&c.length){let r=c.length-1;for(;r>=0;)this.destroy(c[r--])}}injectComponent(g,c){return this.injectionService.appendComponent(g,c)}assignDefaults(g){const c={...this.defaults.inputs},r={...this.defaults.outputs};return!g.inputs&&!g.outputs&&(g={inputs:g}),c&&(g.inputs={...c,...g.inputs}),r&&(g.outputs={...r,...g.outputs}),g}register(g,c){this.components.has(g)||this.components.set(g,[]),this.components.get(g).push(c)}}let qu=(()=>{var s;class g{static setGlobalRootViewContainer(r){g.globalRootViewContainer=r}constructor(r,y){this.applicationRef=r,this.injector=y}getRootViewContainer(){if(this._container)return this._container;if(g.globalRootViewContainer)return g.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function Dm(s){return s.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,y){if(y){if(void 0!==y.inputs){const x=Object.getOwnPropertyNames(y.inputs);for(const R of x)r.instance[R]=y.inputs[R]}if(void 0!==y.outputs){const x=Object.getOwnPropertyNames(y.outputs);for(const R of x)r.instance[R]=y.outputs[R]}}return r}appendComponent(r,y={},x){x||(x=this.getRootViewContainer());const R=this.getComponentRootNode(x),ue=new O.aI(R,this.applicationRef,this.injector),xt=new O.A8(r),Rt=ue.attach(xt);return this.projectComponentBindings(Rt,y),Rt}static#e=s=()=>(this.globalRootViewContainer=null,this.\u0275fac=function(y){return new(y||g)(d.KVO(i.o8S),d.KVO(d.zZn))},this.\u0275prov=d.jDH({token:g,factory:g.\u0275fac}))}return s(),g})(),d0=(()=>{var s;class g extends Tm{constructor(r){super(r),this.type=rp}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(d.KVO(qu))},this.\u0275prov=d.jDH({token:g,factory:g.\u0275fac}))}return s(),g})();var Ac=function(s){return s.Right="right",s.Below="below",s}(Ac||{}),u0=function(s){return s.ScaleLegend="scaleLegend",s.Legend="legend",s}(u0||{}),ma=function(s){return s.Time="time",s.Linear="linear",s.Ordinal="ordinal",s.Quantile="quantile",s}(ma||{});function Z1(s){return s instanceof Date?s.toLocaleDateString():s.toLocaleString()}let th=(()=>{var s;class g{constructor(){this.isActive=!1,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.toggle=new i.bkB}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(y,x){1&y&&i.bIt("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},standalone:!1,decls:4,vars:6,consts:[["tabindex","-1",3,"click","title"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(y,x){1&y&&(i.j41(0,"span",0),i.bIt("click",function(){return x.select.emit(x.formattedLabel)}),i.j41(1,"span",1),i.bIt("click",function(){return x.toggle.emit(x.formattedLabel)}),i.k0s(),i.j41(2,"span",2),i.EFF(3),i.k0s()()),2&y&&(i.AVh("active",x.isActive),i.Y8G("title",x.formattedLabel),i.R7$(),i.xc7("background-color",x.color),i.R7$(2),i.SpI(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}))}return s(),g})(),nh=(()=>{var s;class g{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new i.bkB,this.labelActivate=new i.bkB,this.labelDeactivate=new i.bkB,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const y of this.data){const x=Z1(y);-1===r.findIndex(ue=>ue.label===x)&&r.push({label:y,formattedLabel:x,color:this.colors.getColor(y)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.label===x.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,y){return y.label}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(v.gRc))},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},standalone:!1,features:[i.OA$],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"select","activate","deactivate","label","formattedLabel","color","isActive"]],template:function(y,x){1&y&&(i.j41(0,"div"),i.DNE(1,F2,3,1,"header",0),i.j41(2,"div",1)(3,"ul",2),i.DNE(4,N2,2,4,"li",3),i.k0s()()()),2&y&&(i.xc7("width",x.width,"px"),i.R7$(),i.Y8G("ngIf",(null==x.title?null:x.title.length)>0),i.R7$(2),i.xc7("max-height",x.height-45,"px"),i.AVh("horizontal-legend",x.horizontal),i.R7$(),i.Y8G("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[T.Sq,T.bT,th],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:#0000000d}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;-webkit-transition:.2s;-moz-transition:.2s;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}))}return s(),g})(),wm=(()=>{var s;class g{constructor(){this.horizontal=!1}ngOnChanges(r){const y=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${y})`}gradientString(r,y){y.push(1);const x=[];return r.reverse().forEach((R,ue)=>{x.push(`${R} ${Math.round(100*y[ue])}%`)}),x.join(", ")}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},standalone:!1,features:[i.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(y,x){1&y&&(i.j41(0,"div",0)(1,"div",1)(2,"span"),i.EFF(3),i.k0s()(),i.nrm(4,"div",2),i.j41(5,"div",1)(6,"span"),i.EFF(7),i.k0s()()()),2&y&&(i.xc7("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),i.AVh("horizontal-legend",x.horizontal),i.R7$(3),i.JRh(x.valueRange[1].toLocaleString()),i.R7$(),i.xc7("background",x.gradient),i.R7$(3),i.JRh(x.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}))}return s(),g})(),ih=(()=>{var s;class g{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new i.bkB,this.legendLabelActivate=new i.bkB,this.legendLabelDeactivate=new i.bkB,this.LegendPosition=Ac,this.LegendType=u0}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Ac.Right)&&(r=this.legendType===u0.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Ac.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===ma.Linear?u0.ScaleLegend:u0.Legend}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},standalone:!1,features:[i.Jv_([d0]),i.OA$],ngContentSelectors:B2,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"labelClick","labelActivate","labelDeactivate","horizontal","data","title","colors","height","width","activeEntries"]],template:function(y,x){1&y&&(i.NAR(),i.j41(0,"div",0),d.qSk(),i.j41(1,"svg",1),i.SdG(2),i.k0s(),i.DNE(3,l3,1,5,"ngx-charts-scale-legend",2)(4,c3,1,7,"ngx-charts-legend",3),i.k0s()),2&y&&(i.xc7("width",x.view[0],"px")("height",x.view[1],"px"),i.R7$(),i.BMQ("width",x.chartWidth)("height",x.view[1]),i.R7$(2),i.Y8G("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),i.R7$(),i.Y8G("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[T.bT,nh,wm],encapsulation:2,changeDetection:0}))}return s(),g})(),ah=(()=>{var s;class g{constructor(r,y){this.element=r,this.zone=y,this.visible=new i.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const r=()=>{if(!this.element)return;const{offsetHeight:y,offsetWidth:x}=this.element.nativeElement;y&&x?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.SKi))},this.\u0275dir=i.FsC({type:g,selectors:[["visibility-observer"]],outputs:{visible:"visible"},standalone:!1}))}return s(),g})();function t4(s){return"[object Date]"===toString.call(s)}let h0=(()=>{var s;class g{constructor(r,y,x,R){this.chartElement=r,this.zone=y,this.cd=x,this.platformId=R,this.scheme="cool",this.schemeType=ma.Ordinal,this.animations=!0,this.select=new i.bkB}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new ah(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(r){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const r=this.getContainerDims();r&&(this.width=r.width,this.height=r.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let r,y;const x=this.chartElement.nativeElement;if((0,w.UE)(this.platformId)&&null!==x.parentNode){const R=x.parentNode.getBoundingClientRect();r=R.width,y=R.height}return r&&y?{width:r,height:y}:null}formatDates(){for(let r=0;r{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=y}cloneData(r){const y=[];for(const x of r){const R={};if(void 0!==x.name&&(R.name=x.name),void 0!==x.value&&(R.value=x.value),void 0!==x.series){R.series=[];for(const ue of x.series){const xt=Object.assign({},ue);R.series.push(xt)}}void 0!==x.extra&&(R.extra=JSON.parse(JSON.stringify(x.extra))),void 0!==x.source&&(R.source=x.source),void 0!==x.target&&(R.target=x.target),y.push(R)}return y}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(v.gRc),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},standalone:!1,features:[i.OA$],decls:1,vars:0,template:function(y,x){1&y&&i.nrm(0,"div")},encapsulation:2}))}return s(),g})();var Us=function(s){return s.Top="top",s.Bottom="bottom",s.Left="left",s.Right="right",s}(Us||{});let Am=(()=>{var s;class g{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Us.Top:case Us.Bottom:this.y=this.offset,this.x=this.width/2;break;case Us.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Us.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},standalone:!1,features:[i.OA$],attrs:d3,decls:2,vars:6,template:function(y,x){1&y&&(d.qSk(),i.j41(0,"text"),i.EFF(1),i.k0s()),2&y&&(i.BMQ("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),i.R7$(),i.SpI(" ",x.label," "))},encapsulation:2,changeDetection:0}))}return s(),g})();function sh(s,g=16){return"string"!=typeof s?"number"==typeof s?s+"":"":(s=s.trim()).length<=g?s:`${s.slice(0,g)}...`}function Lm(s,g){if(s.length>g){const c=[],r=Math.floor(s.length/g);for(let y=0;y{const ue=(x.pop()||"")+" ";return ue.length+R.length>g?[...x,ue.trim(),R.trim()]:[...x,ue+R]},[]);else{let x=0;for(;xc&&(y=y.splice(0,c),y[y.length-1]+="..."),y}var El=function(s){return s.Start="start",s.Middle="middle",s.End="end",s}(El||{});function hc(s,g,c,r,y,[x,R,ue,xt]){let Rt="";return Rt=`M${[s+y,g]}`,Rt+="h"+((c=0===(c=Math.floor(c))?1:c)-2*y),Rt+=R?`a${[y,y]} 0 0 1 ${[y,y]}`:`h${y}v${y}`,Rt+="v"+((r=0===(r=Math.floor(r))?1:r)-2*y),Rt+=xt?`a${[y,y]} 0 0 1 ${[-y,y]}`:`v${y}h${-y}`,Rt+="h"+(2*y-c),Rt+=ue?`a${[y,y]} 0 0 1 ${[-y,-y]}`:`h${-y}v${-y}`,Rt+="v"+(2*y-r),Rt+=x?`a${[y,y]} 0 0 1 ${[y,-y]}`:`v${-y}h${y}`,Rt+="z",Rt}let n4=(()=>{var s;class g{get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new i.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=El.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16,this.referenceLineLength=0}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,w.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.adjustedScale=this.scale.bandwidth?function(R){return this.scale(R)+.5*this.scale.bandwidth()}:this.scale,this.ticks=this.getTicks();const y=this.orient===Us.Top||this.orient===Us.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.orient){case Us.Bottom:this.transform=function(R){return"translate("+this.adjustedScale(R)+",0)"},this.textAnchor=El.Middle,this.x2=this.innerTickSize*y,this.x1=this.tickSpacing*y,this.dx=y<0?"0em":".71em";break;case Us.Left:this.transform=function(R){return"translate(0,"+this.adjustedScale(R)+")"},this.textAnchor=El.End,this.y2=this.innerTickSize*-y,this.y1=this.tickSpacing*-y,this.dx=".32em";break;case Us.Top:this.transform=function(R){return"translate("+this.adjustedScale(R)+",0)"},this.textAnchor=El.Middle,this.y2=this.innerTickSize*y,this.y1=this.tickSpacing*y,this.dx=y<0?"0em":".71em";break;case Us.Right:this.transform=function(R){return"translate(0,"+this.adjustedScale(R)+")"},this.textAnchor=El.Start,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dx=".32em"}this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(R){return"Date"===R.constructor.name?R.toLocaleDateString():R.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=El.End,this.verticalSpacing=10):this.textAnchor=El.Middle,setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=hc(this.refMax,25-this.gridLineHeight,this.refMin-this.refMax,this.gridLineHeight,0,[!1,!1,!1,!1])}getRotationAngle(r){let y=0;this.maxTicksLength=0;for(let An=0;Anthis.maxTicksLength&&(this.maxTicksLength=pi)}const ue=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let xt=ue;const Rt=Math.floor(this.width/r.length);for(;xt>Rt&&y>-90;)y-=30,xt=Math.cos(y*(Math.PI/180))*ue;let sn=14;if(this.isWrapTicksSupported){const An=this.ticks.reduce((pi,Ji)=>Ji.length>pi.length?Ji:pi,"");sn=14*(this.tickChunks(An).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(An)}const wn=0!==y?Math.max(Math.abs(Math.sin(y*Math.PI/180))*this.maxTickLength*7,10):sn;return this.approxHeight=Math.min(wn,200),this.showRefLines&&this.referenceLines&&this.setReferencelines(),y}getTicks(){let r;const y=this.getMaxTicks(20),x=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=Lm(r,y)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?sh(r,this.maxTickLength):r}getMaxPossibleLengthForTick(r){if(this.scale.bandwidth){const x=Math.floor(this.scale.bandwidth()/7),R=r.slice(0,x);return Math.max(R.length,this.maxTickLength)}return this.maxTickLength}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){let x=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(x<=1)return[this.tickTrim(r)];let R=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,w.UE)(this.platformId)||(R=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),x=Math.min(x,5),rh(r,R,x<1?1:x)}return[this.tickTrim(r)]}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(y,x){if(1&y&&i.GBs(Su,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksElement=R.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:z2,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],["class","ref-line",4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"],[1,"reference-area"],[1,"ref-line"],["y1","25",1,"refline-path","gridline-path-vertical"],["transform","rotate(-270) translate(5, -5)",1,"refline-label"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g",null,0),i.DNE(2,Tu,2,2,"g",3),i.k0s(),i.DNE(3,Id,2,2,"g",4)(4,m3,1,2,"path",5)(5,kd,2,1,"g",6)),2&y&&(i.R7$(2),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),i.R7$(),i.Y8G("ngForOf",x.referenceLines))},dependencies:[T.Sq,T.bT],encapsulation:2,changeDetection:0}))}return s(),g})(),i4=(()=>{var s;class g{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Us.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Us}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const y=r+25+5;y!==this.labelOffset&&(this.labelOffset=y,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(y,x){if(1&y&&i.GBs(n4,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksComponent=R.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:p3,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","referenceLines","showRefLines","showRefLabels","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"dimensionsChanged","trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","referenceLines","showRefLines","showRefLabels","width","tickValues","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g"),i.DNE(1,cc,1,16,"g",0)(2,Nc,1,5,"g",1),i.k0s()),2&y&&(i.BMQ("class",x.xAxisClassName)("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.xScale),i.R7$(),i.Y8G("ngIf",x.showLabel))},dependencies:[T.bT,Am,n4],encapsulation:2,changeDetection:0}))}return s(),g})(),oh=(()=>{var s;class g{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=El.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Us}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,w.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale,y=this.orient===Us.Top||this.orient===Us.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()},this.adjustedScale=r.bandwidth?x=>{const R=r(x)+.5*r.bandwidth();if(this.wrapTicks&&x.toString().length>this.maxTickLength){const ue=this.tickChunks(x).length;if(1===ue)return R;const sn=.5*r.bandwidth()-8*ue*.5;return r(x)+sn}return R}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Us.Top:case Us.Bottom:this.transform=function(x){return"translate("+this.adjustedScale(x)+",0)"},this.textAnchor=El.Middle,this.y2=this.innerTickSize*y,this.y1=this.tickSpacing*y,this.dy=y<0?"0em":".71em";break;case Us.Left:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=El.End,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dy=".32em";break;case Us.Right:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=El.Start,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=hc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const y=this.getMaxTicks(20),x=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=Lm(r,y)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?sh(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(x=>this.tickTrim(this.tickFormat(x)).length))}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){const y=this.maxTickLength,x=Math.floor(this.scale.bandwidth()/15);return x<=1?[this.tickTrim(r)]:rh(r,y,Math.min(x,5))}return[this.tickFormat(r)]}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(y,x){if(1&y&&i.GBs(Su,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksElement=R.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:im,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],["class","ref-line",4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],[1,"ref-line"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g",null,0),i.DNE(2,Lu,2,2,"g",3),i.k0s(),i.DNE(3,v3,1,2,"path",4)(4,sm,2,2,"g",5)(5,G2,2,1,"g",6)),2&y&&(i.R7$(2),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),i.R7$(),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngForOf",x.referenceLines))},dependencies:[T.Sq,T.bT],encapsulation:2,changeDetection:0}))}return s(),g})(),lh=(()=>{var s;class g{constructor(){this.showGridLines=!1,this.yOrient=Us.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Us.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:r}){r!==this.labelOffset&&this.yOrient===Us.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(y,x){if(1&y&&i.GBs(oh,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksComponent=R.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:j2,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"dimensionsChanged","trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Ff,1,15,"g",0)(2,Vr,1,5,"g",1),i.k0s()),2&y&&(i.BMQ("class",x.yAxisClassName)("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.yScale),i.R7$(),i.Y8G("ngIf",x.showLabel))},dependencies:[T.bT,Am,oh],encapsulation:2,changeDetection:0}))}return s(),g})(),Im=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[T.MD]}))}return s(),g})();var Hd=function(s){return s.popover="popover",s.tooltip="tooltip",s}(Hd||{}),J1=function(s){return s[s.all="all"]="all",s[s.focus="focus"]="focus",s[s.mouseover="mouseover"]="mouseover",s}(J1||{});let m0=(()=>{var s;class g{get listensForFocus(){return this.tooltipShowEvent===J1.all||this.tooltipShowEvent===J1.focus}get listensForHover(){return this.tooltipShowEvent===J1.all||this.tooltipShowEvent===J1.mouseover}constructor(r,y,x){this.tooltipService=r,this.viewContainerRef=y,this.renderer=x,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Va.Top,this.tooltipAlignment=Va.Center,this.tooltipType=Hd.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=J1.all,this.tooltipImmediateExit=!1,this.show=new i.bkB,this.hide=new i.bkB}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const y=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const x=this.createBoundOptions();this.component=this.tooltipService.create(x),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},y)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",y=>{r.contains(y.target)||this.hideTooltip()}))}hideTooltip(r=!1){if(!this.component)return;const y=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),r?y():this.timeout=setTimeout(y,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(d0),i.rXU(i.c1b),i.rXU(i.sFG))},this.\u0275dir=i.FsC({type:g,selectors:[["","ngx-tooltip",""]],hostBindings:function(y,x){1&y&&i.bIt("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(ue){return x.onMouseLeave(ue.target)})("click",function(){return x.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"},standalone:!1}))}return s(),g})(),ch=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({providers:[qu,d0],imports:[T.MD]}))}return s(),g})();const f0={};function p0(){let s=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return s=`a${s}`,f0[s]?p0():(f0[s]=!0,s)}var Qr=function(s){return s.Vertical="vertical",s.Horizontal="horizontal",s}(Qr||{});let Wd=(()=>{var s;class g{constructor(){this.orientation=Qr.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Qr.Horizontal?this.x2="100%":this.orientation===Qr.Vertical&&(this.y1="100%")}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},standalone:!1,features:[i.OA$],attrs:b3,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"linearGradient",0),i.DNE(1,s1,1,5,"stop",1),i.k0s()),2&y&&(i.Y8G("id",x.name),i.BMQ("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),i.R7$(),i.Y8G("ngForOf",x.stops))},dependencies:[T.Sq],encapsulation:2,changeDetection:0}))}return s(),g})(),q1=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},standalone:!1,attrs:Fu,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(y,x){1&y&&(d.qSk(),i.nrm(0,"rect",0)),2&y&&i.BMQ("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}))}return s(),g})();var Gc=function(s){return s.Odd="odd",s.Even="even",s}(Gc||{});let r4,Om=(()=>{var s;class g{ngOnChanges(r){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(r=>{let y,x,R,ue,xt,Rt=Gc.Odd;if(this.orient===Qr.Vertical){const sn=this.xScale(r.name);Number.parseInt((sn/this.xScale.step()).toString(),10)%2==1&&(Rt=Gc.Even),y=this.xScale.bandwidth()*this.xScale.paddingInner(),x=this.xScale.bandwidth()+y,R=this.dims.height,ue=this.xScale(r.name)-y/2,xt=0}else if(this.orient===Qr.Horizontal){const sn=this.yScale(r.name);Number.parseInt((sn/this.yScale.step()).toString(),10)%2==1&&(Rt=Gc.Even),y=this.yScale.bandwidth()*this.yScale.paddingInner(),x=this.dims.width,R=this.yScale.bandwidth()+y,ue=0,xt=this.yScale(r.name)-y/2}return{name:r.name,class:Rt,height:R,width:x,x:ue,y:xt}})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},standalone:!1,features:[i.OA$],attrs:Nu,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(y,x){1&y&&i.DNE(0,Bc,1,10,"g",0),2&y&&i.Y8G("ngForOf",x.gridPanels)},dependencies:[T.Sq,q1],encapsulation:2,changeDetection:0}))}return s(),g})();typeof window<"u"?r4=window:typeof global<"u"&&(r4=global);let hl=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[T.MD,Im,ch,T.MD,Im,ch]}))}return s(),g})();function Fm({width:s,height:g,margins:c,showXAxis:r=!1,showYAxis:y=!1,xAxisHeight:x=0,yAxisWidth:R=0,showXLabel:ue=!1,showYLabel:xt=!1,showLegend:Rt=!1,legendType:sn=ma.Ordinal,legendPosition:wn=Ac.Right,columns:An=12}){let _i=c[3],pi=s,Ji=g-c[0]-c[2];return Rt&&wn===Ac.Right&&(An-=sn===ma.Ordinal?2:1),pi=pi*An/12,pi=pi-c[1]-c[3],r&&(Ji-=5,Ji-=x,ue&&(Ji-=30)),y&&(pi-=5,pi-=R,_i+=R,_i+=10,xt&&(pi-=30,_i+=30)),pi=Math.max(0,pi),Ji=Math.max(0,Ji),{width:Math.floor(pi),height:Math.floor(Ji),xOffset:Math.floor(_i)}}const hp=[{name:"vivid",selectable:!0,group:ma.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:ma.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:ma.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:ma.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:ma.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:ma.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:ma.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:ma.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:ma.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:ma.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:ma.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:ma.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:ma.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:ma.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:ma.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class c4{constructor(g,c,r,y){"string"==typeof g&&(g=hp.find(x=>x.name===g)),this.colorDomain=g.domain,this.scaleType=c,this.domain=r,this.customColors=y,this.scale=this.generateColorScheme(g,c,this.domain)}generateColorScheme(g,c,r){let y;switch("string"==typeof g&&(g=hp.find(x=>x.name===g)),c){case ma.Quantile:y=P1().range(g.domain).domain(r);break;case ma.Ordinal:y=Md().range(g.domain).domain(r);break;case ma.Linear:{const x=[...g.domain];1===x.length&&(x.push(x[0]),this.colorDomain=x);const R=ru(0,1,1/x.length);y=lc().range(x).domain(R)}}return y}getColor(g){if(null==g)throw new Error("Value can not be null");if(this.scaleType===ma.Linear){const c=lc().domain(this.domain).range([0,1]);return this.scale(c(g))}{if("function"==typeof this.customColors)return this.customColors(g);const c=g.toString();let r;return this.customColors&&this.customColors.length>0&&(r=this.customColors.find(y=>y.name.toLowerCase()===c.toLowerCase())),r?r.value:this.scale(g)}}getLinearGradientStops(g,c){void 0===c&&(c=this.domain[0]);const r=lc().domain(this.domain).range([0,1]),y=Pc().domain(this.colorDomain).range([0,1]),x=this.getColor(g),R=r(c),ue=this.getColor(c),xt=r(g);let Rt=1,sn=R;const wn=[];for(wn.push({color:ue,offset:R,originalOffset:R,opacity:1});sn=(xt-y.bandwidth()).toFixed(4))break;wn.push({color:An,offset:_i,opacity:1}),sn=_i,Rt++}}if(wn[wn.length-1].offset<100&&wn.push({color:x,offset:xt,opacity:1}),xt===R)wn[0].offset=0,wn[1].offset=100;else if(100!==wn[wn.length-1].offset)for(const An of wn)An.offset=(An.offset-R)/(xt-R)*100;return wn}}let Bm=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),zm=(()=>{var s;class g{constructor(r){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+p0().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const r=ci(this.element).select(".bar"),y=this.getPath();this.animations?r.transition().duration(500).attr("d",y):r.attr("d",y)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let y,r=this.getRadius();return this.roundEdges?this.orientation===Qr.Vertical?(r=Math.min(this.height,r),y=hc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Qr.Horizontal&&(r=Math.min(this.width,r),y=hc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Qr.Vertical?y=hc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Qr.Horizontal&&(y=hc(this.x,this.y,1,this.height,0,this.edges)),y}getPath(){let y,r=this.getRadius();return this.roundEdges?this.orientation===Qr.Vertical?(r=Math.min(this.height,r),y=hc(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===Qr.Horizontal&&(r=Math.min(this.width,r),y=hc(this.x,this.y,this.width,this.height,r,this.edges)):y=hc(this.x,this.y,this.width,this.height,r,this.edges),y}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Qr.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Qr.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Qr.Vertical&&0===this.height||this.orientation===Qr.Horizontal&&0===this.width)}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(y,x){1&y&&i.bIt("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.OA$],attrs:O3,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(y,x){1&y&&(i.DNE(0,R3,2,3,"defs",0),d.qSk(),i.j41(1,"path",1),i.bIt("click",function(){return x.select.emit(x.data)}),i.k0s()),2&y&&(i.Y8G("ngIf",x.hasGradient),i.R7$(),i.AVh("active",x.isActive)("hidden",x.hideBar),i.BMQ("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[T.bT,Wd],encapsulation:2,changeDetection:0}))}return s(),g})();var jc=function(s){return s.Standard="standard",s.Normalized="normalized",s.Stacked="stacked",s}(jc||{}),f1=function(s){return s.positive="positive",s.negative="negative",s}(f1||{});let d4=(()=>{var s;class g{constructor(r){this.dimensionsChanged=new i.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):Z1(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:P3,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"text",0),i.EFF(1),i.k0s()),2&y&&(i.BMQ("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),i.R7$(),i.SpI(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}))}return s(),g})(),Vm=(()=>{var s;class g{constructor(r){this.platformId=r,this.type=jc.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.dataLabelHeightChanged=new i.bkB,this.barsForDataLabels=[],this.barOrientation=Qr,this.isSSR=!1}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const y=Math.max(this.yScale.domain()[0],0),x={[f1.positive]:0,[f1.negative]:0};let ue,R=f1.positive;this.type===jc.Normalized&&(ue=this.series.map(xt=>xt.value).reduce((xt,Rt)=>xt+Rt,0)),this.bars=this.series.map((xt,Rt)=>{let sn=xt.value;const wn=this.getLabel(xt),An=Z1(wn);R=sn>0?f1.positive:f1.negative;const pi={value:sn,label:wn,roundEdges:this.roundEdges,data:xt,width:r,formattedLabel:An,height:0,x:0,y:0};if(this.type===jc.Standard)pi.height=Math.abs(this.yScale(sn)-this.yScale(y)),pi.x=this.xScale(wn),pi.y=this.yScale(sn<0?0:sn);else if(this.type===jc.Stacked){const Xn=x[R],Vi=Xn+sn;x[R]+=sn,pi.height=this.yScale(Xn)-this.yScale(Vi),pi.x=0,pi.y=this.yScale(Vi),pi.offset0=Xn,pi.offset1=Vi}else if(this.type===jc.Normalized){let Xn=x[R],Vi=Xn+sn;x[R]+=sn,ue>0?(Xn=100*Xn/ue,Vi=100*Vi/ue):(Xn=0,Vi=0),pi.height=this.yScale(Xn)-this.yScale(Vi),pi.x=0,pi.y=this.yScale(Vi),pi.offset0=Xn,pi.offset1=Vi,sn=(Vi-Xn).toFixed(2)+"%"}this.colors.scaleType===ma.Ordinal?pi.color=this.colors.getColor(wn):this.type===jc.Standard?(pi.color=this.colors.getColor(sn),pi.gradientStops=this.colors.getLinearGradientStops(sn)):(pi.color=this.colors.getColor(pi.offset1),pi.gradientStops=this.colors.getLinearGradientStops(pi.offset1,pi.offset0));let Ji=An;return pi.ariaLabel=An+" "+sn.toLocaleString(),null!=this.seriesName&&(Ji=`${this.seriesName} \u2022 ${An}`,pi.data.series=this.seriesName,pi.ariaLabel=this.seriesName+" "+pi.ariaLabel),pi.tooltipText=this.tooltipDisabled?void 0:`\n ${function e4(s){return s.toLocaleString().replace(/[&'`"<>]/g,g=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[g]))}(Ji)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(sn):sn.toLocaleString()}\n `,pi}),this.updateDataLabels()}updateDataLabels(){if(this.type===jc.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const y=this.series.map(R=>R.value).reduce((R,ue)=>ue>0?R+ue:R,0),x=this.series.map(R=>R.value).reduce((R,ue)=>ue<0?R+ue:R,0);r.total=y+x,r.x=0,r.y=0,r.height=this.yScale(r.total>0?y:x),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{const y={};return y.series=this.seriesName??r.label,y.total=r.value,y.x=this.xScale(r.label),y.y=this.yScale(0),y.height=this.yScale(y.total)-this.yScale(0),y.width=this.xScale.bandwidth(),y})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Va.Top,this.tooltipType=this.tooltipDisabled?void 0:Hd.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.value===x.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,y){return y.label}trackDataLabelBy(r,y){return r+"#"+y.series+"#"+y.total}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},standalone:!1,features:[i.OA$],attrs:e0,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"select","activate","deactivate","width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"dimensionsChanged","barX","barY","barWidth","barHeight","value","valueFormatting","orientation"]],template:function(y,x){1&y&&i.DNE(0,ju,2,2,"g",0)(1,bm,2,2,"g",0)(2,Wu,2,2,"g",0),2&y&&(i.Y8G("ngIf",!x.isSSR),i.R7$(),i.Y8G("ngIf",x.isSSR),i.R7$(),i.Y8G("ngIf",x.showDataLabel))},dependencies:[T.Sq,T.bT,m0,zm,d4],encapsulation:2,data:{animation:[(0,L.hZ)("animationState",[(0,L.kY)(":leave",[(0,L.iF)({opacity:1}),(0,L.i0)(500,(0,L.iF)({opacity:0}))])])]},changeDetection:0}))}return s(),g})(),hh=(()=>{var s;class g extends h0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ac.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}ngOnChanges(){this.update()}update(){if(super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Fm({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`,this.showRefLines){const r=ci(this.chartElement.nativeElement).select(".bar-chart").node();ci(this.chartElement.nativeElement).selectAll(".ref-line").nodes().forEach(x=>r.appendChild(x))}}getXScale(){this.xDomain=this.getXDomain();const r=this.xDomain.length/(this.dims.width/this.barPadding+1);return Pc().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=lc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(R=>R.value);let y=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(y=Math.min(y,...this.yAxisTicks));let x=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.max(x,...this.yAxisTicks)),[y,x]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===ma.Ordinal?this.xDomain:this.yDomain,this.colors=new c4(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===ma.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,y=!1){r=this.results.find(R=>y?R.label===r.name:R.name===r.name),!(this.activeEntries.findIndex(R=>R.name===r.name&&R.value===r.value&&R.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,y=!1){r=this.results.find(R=>y?R.label===r.name:R.name===r.name);const x=this.activeEntries.findIndex(R=>R.name===r.name&&R.value===r.value&&R.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}static#e=s=()=>(this.\u0275fac=(()=>{let r;return function(x){return(r||(r=i.xGo(g)))(x||g)}})(),this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(y,x,R){if(1&y&&i.wni(R,w3,5),2&y){let ue;i.mGM(ue=i.lsd())&&(x.tooltipTemplate=ue.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.Vt3,i.OA$],decls:5,vars:25,consts:[[3,"legendLabelClick","legendLabelActivate","legendLabelDeactivate","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"activate","deactivate","select","dataLabelHeightChanged","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","wrapTicks"]],template:function(y,x){1&y&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelClick",function(ue){return x.onClick(ue)})("legendLabelActivate",function(ue){return x.onActivate(ue,!0)})("legendLabelDeactivate",function(ue){return x.onDeactivate(ue,!0)}),d.qSk(),i.j41(1,"g",1),i.DNE(2,Xu,1,12,"g",2)(3,Cm,1,13,"g",3),i.j41(4,"g",4),i.bIt("activate",function(ue){return x.onActivate(ue)})("deactivate",function(ue){return x.onDeactivate(ue)})("select",function(ue){return x.onClick(ue)})("dataLabelHeightChanged",function(ue){return x.onDataLabelMaxHeightChanged(ue)}),i.k0s()()()),2&y&&(i.Y8G("view",i.l_i(22,l1,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),i.R7$(),i.BMQ("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.xAxis),i.R7$(),i.Y8G("ngIf",x.yAxis),i.R7$(),i.Y8G("xScale",x.xScale)("yScale",x.yScale)("colors",x.colors)("series",x.results)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("activeEntries",x.activeEntries)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero))},dependencies:[T.bT,i4,lh,ih,Vm],styles:[Cl],encapsulation:2,changeDetection:0}))}return s(),g})(),bp=(()=>{var s;class g extends h0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ac.Right,this.tooltipDisabled=!1,this.scaleType=ma.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.schemeType=ma.Ordinal,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Qr,this.trackBy=(r,y)=>y.name}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Fm({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(r,y){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),y===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const r=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Pc().rangeRound([0,this.dims.width]).paddingInner(r).paddingOuter(r/2).domain(this.groupDomain)}getInnerScale(){const r=this.groupScale.bandwidth(),y=this.innerDomain.length/(r/this.barPadding+1);return Pc().rangeRound([0,r]).paddingInner(y).domain(this.innerDomain)}getValueScale(){const r=lc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}getGroupDomain(){const r=[];for(const y of this.results)r.includes(y.label)||r.push(y.label);return r}getInnerDomain(){const r=[];for(const y of this.results)for(const x of y.series)r.includes(x.label)||r.push(x.label);return r}getValueDomain(){const r=[];for(const R of this.results)for(const ue of R.series)r.includes(ue.value)||r.push(ue.value);return[Math.min(0,...r),this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r)]}groupTransform(r){return`translate(${this.groupScale(r.label)}, 0)`}onClick(r,y){y&&(r.series=y.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===ma.Ordinal?this.innerDomain:this.valueDomain,this.colors=new c4(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===ma.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,y,x=!1){const R=Object.assign({},r);y&&(R.series=y.name);const ue=this.results.map(xt=>xt.series).flat().filter(xt=>x?xt.label===R.name:xt.name===R.name&&xt.series===R.series);this.activeEntries=[...ue],this.activate.emit({value:R,entries:this.activeEntries})}onDeactivate(r,y,x=!1){const R=Object.assign({},r);y&&(R.series=y.name),this.activeEntries=this.activeEntries.filter(ue=>x?ue.label!==R.name:!(ue.name===R.name&&ue.series===R.series)),this.deactivate.emit({value:R,entries:this.activeEntries})}static#e=s=()=>(this.\u0275fac=(()=>{let r;return function(x){return(r||(r=i.xGo(g)))(x||g)}})(),this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(y,x,R){if(1&y&&i.wni(R,w3,5),2&y){let ue;i.mGM(ue=i.lsd())&&(x.tooltipTemplate=ue.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.Vt3],decls:7,vars:18,consts:[[3,"legendLabelActivate","legendLabelDeactivate","legendLabelClick","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"select","activate","deactivate","dataLabelHeightChanged","activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero"]],template:function(y,x){1&y&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelActivate",function(ue){return x.onActivate(ue,void 0,!0)})("legendLabelDeactivate",function(ue){return x.onDeactivate(ue,void 0,!0)})("legendLabelClick",function(ue){return x.onClick(ue)}),d.qSk(),i.j41(1,"g",1),i.nrm(2,"g",2),i.DNE(3,Ku,1,11,"g",3)(4,j3,1,10,"g",4)(5,H3,2,2,"g",5)(6,n0,2,2,"g",5),i.k0s()()),2&y&&(i.Y8G("view",i.l_i(15,l1,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),i.R7$(),i.BMQ("transform",x.transform),i.R7$(),i.Y8G("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),i.R7$(),i.Y8G("ngIf",x.xAxis),i.R7$(),i.Y8G("ngIf",x.yAxis),i.R7$(),i.Y8G("ngIf",!x.isSSR),i.R7$(),i.Y8G("ngIf",x.isSSR))},dependencies:[T.Sq,T.bT,i4,lh,ih,Om,Vm],styles:[Cl],encapsulation:2,data:{animation:[(0,L.hZ)("animationState",[(0,L.kY)(":leave",[(0,L.iF)({opacity:1,transform:"*"}),(0,L.i0)(500,(0,L.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}))}return s(),g})(),Um=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),mh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),fh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),gh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),Tp=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})();Math;let p1=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),Dp=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,p1,Tp]}))}return s(),g})(),yo=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),yh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),bh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,p1,Um]}))}return s(),g})(),td=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),p4=(()=>{var s;class g{constructor(){!function Ch(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,Bm,Um,mh,fh,gh,td,Tp,Dp,yo,p1,yh,bh]}))}return s(),g})()},8288(Zt,pe,l){"use strict";l.d(pe,{Um:()=>A,XK:()=>Pe});var i=l(467),d=l(2200),v=l(2615),T=l(3664),w=l(7705),e=l(8314);function O(le,Ce){if(1&le&&T.nrm(0,"canvas",1),2&le){const Ae=T.XpG();T.HbH(Ae.styleClass),T.Y8G("qrCode",Ae.value)("qrCodeErrorCorrectionLevel",Ae.errorCorrectionLevel)("qrCodeCenterImageSrc",Ae.centerImageSrc)("qrCodeCenterImageWidth",Ae.centerImageSize)("qrCodeCenterImageHeight",Ae.centerImageSize)("qrCodeMargin",Ae.margin)("qrScale",Ae.scale)("qrCodeMaskPattern",Ae.maskPattern)("width",Ae.size)("height",Ae.size)("ngStyle",Ae.style)("darkColor",Ae.darkColor)("lightColor",Ae.lightColor)}}const f=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/,u=/^[0-9.]+$/;let L=(()=>{var le;class Ce{constructor(j){this.viewContainerRef=j,this.errorCorrectionLevel=Ce.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var j=this;return(0,i.A)(function*(){if(!j.value)return;j.version&&j.version>40?(console.warn("[qrCode] max version is 40, clamping"),j.version=40):j.version&&j.version<1?(console.warn("[qrCode] min version is 1, clamping"),j.version=1):void 0!==j.version&&isNaN(j.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),j.version=void 0);const W=j.viewContainerRef.element.nativeElement;if(!W)return;const G=W.getContext("2d");G&&G.clearRect(0,0,G.canvas.width,G.canvas.height);const re=j.errorCorrectionLevel??Ce.DEFAULT_ERROR_CORRECTION_LEVEL,xe=j.darkColor&&f.test(j.darkColor)?j.darkColor:void 0,Ee=j.lightColor&&f.test(j.lightColor)?j.lightColor:void 0;(0,w.naY)()&&(!xe&&j.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Ee&&j.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield e.toCanvas(W,j.value,{version:j.version,errorCorrectionLevel:re,width:C(j.width),margin:j.margin,scale:j.qrScale,maskPattern:j.qrCodeMaskPattern,color:{dark:xe,light:Ee}});const V=j.centerImageSrc,ce=B(j.centerImageWidth,Ce.DEFAULT_CENTER_IMAGE_SIZE),be=B(j.centerImageHeight,Ce.DEFAULT_CENTER_IMAGE_SIZE);if(V&&G){j.centerImage||(j.centerImage=new Image(ce,be));const ne=j.centerImage;V!==j.centerImage.src&&(ne.src=V),ce!==j.centerImage.width&&(ne.width=ce),be!==j.centerImage.height&&(ne.height=be);const J=()=>{G.drawImage(ne,W.width/2-ce/2,W.height/2-be/2,ce,be)};ne.onload=J,ne.complete&&J()}})()}static#e=le=()=>(this.DEFAULT_ERROR_CORRECTION_LEVEL="M",this.DEFAULT_CENTER_IMAGE_SIZE=40,this.\u0275fac=function(W){return new(W||Ce)(T.rXU(T.c1b))},this.\u0275dir=T.FsC({type:Ce,selectors:[["canvas","qrCode",""]],inputs:{value:[0,"qrCode","value"],version:[0,"qrCodeVersion","version"],errorCorrectionLevel:[0,"qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:[0,"qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:[0,"qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:[0,"qrCodeCenterImageHeight","centerImageHeight"],margin:[0,"qrCodeMargin","margin"],qrScale:"qrScale",qrCodeMaskPattern:"qrCodeMaskPattern"},features:[T.OA$]}))}return le(),Ce})();function C(le){if(void 0!==le&&""!==le){if("string"==typeof le){if(!u.test(le))throw new Error(`'${le}' is not a valid number`);return parseFloat(le)}return le}}function B(le,Ce){return void 0===le||""===le?Ce:C(le)}let A=(()=>{var le;class Ce{static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)},this.\u0275cmp=T.VBU({type:Ce,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin",scale:"scale",maskPattern:"maskPattern"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","ngStyle","darkColor","lightColor"]],template:function(W,G){1&W&&T.nVh(0,O,1,15,"canvas",0),2&W&&T.vxM(G.value?0:-1)},dependencies:[L,d.MD,d.B3],encapsulation:2}))}return le(),Ce})(),Pe=(()=>{var le;class Ce{static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)},this.\u0275mod=T.$C({type:Ce}),this.\u0275inj=v.G2t({imports:[d.MD,A]}))}return le(),Ce})()},497(Zt,pe,l){"use strict";l.d(pe,{kU:()=>Me,ZF:()=>ut,Ld:()=>Be,U$:()=>Ot});var i=l(1413),d=l(3726),v=l(7786),T=l(3798),w=l(6977),e=l(3294),O=l(3703),f=l(3664),u=l(7705),L=l(2615),C=l(2200),B=l(177);function A(se){return getComputedStyle(se)}function Pe(se,We){for(var bt in We){var tn=We[bt];"number"==typeof tn&&(tn+="px"),se.style[bt]=tn}return se}function le(se){var We=document.createElement("div");return We.className=se,We}var Ce=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Ae(se,We){if(!Ce)throw new Error("No element matching method supported");return Ce.call(se,We)}function j(se){se.remove?se.remove():se.parentNode&&se.parentNode.removeChild(se)}function W(se,We){return Array.prototype.filter.call(se.children,function(bt){return Ae(bt,We)})}var G_element_thumb=function(se){return"ps__thumb-"+se},G_element_rail=function(se){return"ps__rail-"+se},G_element_consuming="ps__child--consume",G_state_focus="ps--focus",G_state_clicking="ps--clicking",G_state_active=function(se){return"ps--active-"+se},G_state_scrolling=function(se){return"ps--scrolling-"+se},re={x:null,y:null};function xe(se,We){var bt=se.element.classList,tn=G_state_scrolling(We);bt.contains(tn)?clearTimeout(re[We]):bt.add(tn)}function Ee(se,We){re[We]=setTimeout(function(){return se.isAlive&&se.element.classList.remove(G_state_scrolling(We))},se.settings.scrollingThreshold)}var ce=function(We){this.element=We,this.handlers={}},be={isEmpty:{configurable:!0}};ce.prototype.bind=function(We,bt){typeof this.handlers[We]>"u"&&(this.handlers[We]=[]),this.handlers[We].push(bt),this.element.addEventListener(We,bt,!1)},ce.prototype.unbind=function(We,bt){var tn=this;this.handlers[We]=this.handlers[We].filter(function(on){return!(!bt||on===bt)||(tn.element.removeEventListener(We,on,!1),!1)})},ce.prototype.unbindAll=function(){for(var We in this.handlers)this.unbind(We)},be.isEmpty.get=function(){var se=this;return Object.keys(this.handlers).every(function(We){return 0===se.handlers[We].length})},Object.defineProperties(ce.prototype,be);var ne=function(){this.eventElements=[]};function J(se){if("function"==typeof window.CustomEvent)return new CustomEvent(se);var We=document.createEvent("CustomEvent");return We.initCustomEvent(se,!1,!1,void 0),We}function De(se,We,bt,tn,on){var un;if(void 0===tn&&(tn=!0),void 0===on&&(on=!1),"top"===We)un=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==We)throw new Error("A proper axis should be provided");un=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function Re(se,We,bt,tn,on){var un=bt[0],Nt=bt[1],dn=bt[2],xn=bt[3],Jn=bt[4],xi=bt[5];void 0===tn&&(tn=!0),void 0===on&&(on=!1);var Yi=se.element;se.reach[xn]=null,Yi[dn]<1&&(se.reach[xn]="start"),Yi[dn]>se[un]-se[Nt]-1&&(se.reach[xn]="end"),We&&(Yi.dispatchEvent(J("ps-scroll-"+xn)),We<0?Yi.dispatchEvent(J("ps-scroll-"+Jn)):We>0&&Yi.dispatchEvent(J("ps-scroll-"+xi)),tn&&function V(se,We){xe(se,We),Ee(se,We)}(se,xn)),se.reach[xn]&&(We||on)&&Yi.dispatchEvent(J("ps-"+xn+"-reach-"+se.reach[xn]))}(se,bt,un,tn,on)}function Xe(se){return parseInt(se,10)||0}ne.prototype.eventElement=function(We){var bt=this.eventElements.filter(function(tn){return tn.element===We})[0];return bt||(bt=new ce(We),this.eventElements.push(bt)),bt},ne.prototype.bind=function(We,bt,tn){this.eventElement(We).bind(bt,tn)},ne.prototype.unbind=function(We,bt,tn){var on=this.eventElement(We);on.unbind(bt,tn),on.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(on),1)},ne.prototype.unbindAll=function(){this.eventElements.forEach(function(We){return We.unbindAll()}),this.eventElements=[]},ne.prototype.once=function(We,bt,tn){var on=this.eventElement(We),un=function(Nt){on.unbind(bt,un),tn(Nt)};on.bind(bt,un)};var Dt={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function lt(se){var We=se.element,bt=Math.floor(We.scrollTop),tn=We.getBoundingClientRect();se.containerWidth=Math.round(tn.width),se.containerHeight=Math.round(tn.height),se.contentWidth=We.scrollWidth,se.contentHeight=We.scrollHeight,We.contains(se.scrollbarXRail)||(W(We,G_element_rail("x")).forEach(function(on){return j(on)}),We.appendChild(se.scrollbarXRail)),We.contains(se.scrollbarYRail)||(W(We,G_element_rail("y")).forEach(function(on){return j(on)}),We.appendChild(se.scrollbarYRail)),!se.settings.suppressScrollX&&se.containerWidth+se.settings.scrollXMarginOffset=se.railXWidth-se.scrollbarXWidth&&(se.scrollbarXLeft=se.railXWidth-se.scrollbarXWidth),se.scrollbarYTop>=se.railYHeight-se.scrollbarYHeight&&(se.scrollbarYTop=se.railYHeight-se.scrollbarYHeight),function te(se,We){var bt={width:We.railXWidth},tn=Math.floor(se.scrollTop);bt.left=We.isRtl?We.negativeScrollAdjustment+se.scrollLeft+We.containerWidth-We.contentWidth:se.scrollLeft,We.isScrollbarXUsingBottom?bt.bottom=We.scrollbarXBottom-tn:bt.top=We.scrollbarXTop+tn,Pe(We.scrollbarXRail,bt);var on={top:tn,height:We.railYHeight};We.isScrollbarYUsingRight?on.right=We.isRtl?We.contentWidth-(We.negativeScrollAdjustment+se.scrollLeft)-We.scrollbarYRight-We.scrollbarYOuterWidth-9:We.scrollbarYRight-se.scrollLeft:on.left=We.isRtl?We.negativeScrollAdjustment+se.scrollLeft+2*We.containerWidth-We.contentWidth-We.scrollbarYLeft-We.scrollbarYOuterWidth:We.scrollbarYLeft+se.scrollLeft,Pe(We.scrollbarYRail,on),Pe(We.scrollbarX,{left:We.scrollbarXLeft,width:We.scrollbarXWidth-We.railBorderXWidth}),Pe(We.scrollbarY,{top:We.scrollbarYTop,height:We.scrollbarYHeight-We.railBorderYWidth})}(We,se),se.scrollbarXActive?We.classList.add(G_state_active("x")):(We.classList.remove(G_state_active("x")),se.scrollbarXWidth=0,se.scrollbarXLeft=0,We.scrollLeft=!0===se.isRtl?se.contentWidth:0),se.scrollbarYActive?We.classList.add(G_state_active("y")):(We.classList.remove(G_state_active("y")),se.scrollbarYHeight=0,se.scrollbarYTop=0,We.scrollTop=0)}function Le(se,We){return se.settings.minScrollbarLength&&(We=Math.max(We,se.settings.minScrollbarLength)),se.settings.maxScrollbarLength&&(We=Math.min(We,se.settings.maxScrollbarLength)),We}function F(se,We){var bt=We[0],tn=We[1],on=We[2],un=We[3],Nt=We[4],dn=We[5],xn=We[6],Jn=We[7],xi=We[8],Yi=se.element,Tt=null,At=null,we=null;function ae(_n){_n.touches&&_n.touches[0]&&(_n[on]=_n.touches[0].pageY),Yi[xn]=Tt+we*(_n[on]-At),xe(se,Jn),lt(se),_n.stopPropagation(),_n.type.startsWith("touch")&&_n.changedTouches.length>1&&_n.preventDefault()}function Lt(){Ee(se,Jn),se[xi].classList.remove(G_state_clicking),se.event.unbind(se.ownerDocument,"mousemove",ae)}function Ht(_n,fi){Tt=Yi[xn],fi&&_n.touches&&(_n[on]=_n.touches[0].pageY),At=_n[on],we=(se[tn]-se[bt])/(se[un]-se[dn]),fi?se.event.bind(se.ownerDocument,"touchmove",ae):(se.event.bind(se.ownerDocument,"mousemove",ae),se.event.once(se.ownerDocument,"mouseup",Lt),_n.preventDefault()),se[xi].classList.add(G_state_clicking),_n.stopPropagation()}se.event.bind(se[Nt],"mousedown",function(_n){Ht(_n)}),se.event.bind(se[Nt],"touchstart",function(_n){Ht(_n,!0)})}var Vt={"click-rail":function ie(se){se.event.bind(se.scrollbarY,"mousedown",function(bt){return bt.stopPropagation()}),se.event.bind(se.scrollbarYRail,"mousedown",function(bt){var tn=bt.pageY-window.pageYOffset-se.scrollbarYRail.getBoundingClientRect().top;se.element.scrollTop+=(tn>se.scrollbarYTop?1:-1)*se.containerHeight,lt(se),bt.stopPropagation()}),se.event.bind(se.scrollbarX,"mousedown",function(bt){return bt.stopPropagation()}),se.event.bind(se.scrollbarXRail,"mousedown",function(bt){var tn=bt.pageX-window.pageXOffset-se.scrollbarXRail.getBoundingClientRect().left;se.element.scrollLeft+=(tn>se.scrollbarXLeft?1:-1)*se.containerWidth,lt(se),bt.stopPropagation()})},"drag-thumb":function P(se){F(se,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),F(se,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function ve(se){var We=se.element;se.event.bind(se.ownerDocument,"keydown",function(un){if(!(un.isDefaultPrevented&&un.isDefaultPrevented()||un.defaultPrevented)&&(Ae(We,":hover")||Ae(se.scrollbarX,":focus")||Ae(se.scrollbarY,":focus"))){var Nt=document.activeElement?document.activeElement:se.ownerDocument.activeElement;if(Nt){if("IFRAME"===Nt.tagName)Nt=Nt.contentDocument.activeElement;else for(;Nt.shadowRoot;)Nt=Nt.shadowRoot.activeElement;if(function _e(se){return Ae(se,"input,[contenteditable]")||Ae(se,"select,[contenteditable]")||Ae(se,"textarea,[contenteditable]")||Ae(se,"button,[contenteditable]")}(Nt))return}var dn=0,xn=0;switch(un.which){case 37:dn=un.metaKey?-se.contentWidth:un.altKey?-se.containerWidth:-30;break;case 38:xn=un.metaKey?se.contentHeight:un.altKey?se.containerHeight:30;break;case 39:dn=un.metaKey?se.contentWidth:un.altKey?se.containerWidth:30;break;case 40:xn=un.metaKey?-se.contentHeight:un.altKey?-se.containerHeight:-30;break;case 32:xn=un.shiftKey?se.containerHeight:-se.containerHeight;break;case 33:xn=se.containerHeight;break;case 34:xn=-se.containerHeight;break;case 36:xn=se.contentHeight;break;case 35:xn=-se.contentHeight;break;default:return}se.settings.suppressScrollX&&0!==dn||se.settings.suppressScrollY&&0!==xn||(We.scrollTop-=xn,We.scrollLeft+=dn,lt(se),function on(un,Nt){var dn=Math.floor(We.scrollTop);if(0===un){if(!se.scrollbarYActive)return!1;if(0===dn&&Nt>0||dn>=se.contentHeight-se.containerHeight&&Nt<0)return!se.settings.wheelPropagation}var xn=We.scrollLeft;if(0===Nt){if(!se.scrollbarXActive)return!1;if(0===xn&&un<0||xn>=se.contentWidth-se.containerWidth&&un>0)return!se.settings.wheelPropagation}return!0}(dn,xn)&&un.preventDefault())}})},wheel:function H(se){var We=se.element;function un(Nt){var dn=function tn(Nt){var dn=Nt.deltaX,xn=-1*Nt.deltaY;return(typeof dn>"u"||typeof xn>"u")&&(dn=-1*Nt.wheelDeltaX/6,xn=Nt.wheelDeltaY/6),Nt.deltaMode&&1===Nt.deltaMode&&(dn*=10,xn*=10),dn!=dn&&xn!=xn&&(dn=0,xn=Nt.wheelDelta),Nt.shiftKey?[-xn,-dn]:[dn,xn]}(Nt),xn=dn[0],Jn=dn[1];if(!function on(Nt,dn,xn){if(!Dt.isWebKit&&We.querySelector("select:focus"))return!0;if(!We.contains(Nt))return!1;for(var Jn=Nt;Jn&&Jn!==We;){if(Jn.classList.contains(G_element_consuming))return!0;var xi=A(Jn);if(xn&&xi.overflowY.match(/(scroll|auto)/)){var Yi=Jn.scrollHeight-Jn.clientHeight;if(Yi>0&&(Jn.scrollTop>0&&xn<0||Jn.scrollTop0))return!0}if(dn&&xi.overflowX.match(/(scroll|auto)/)){var Tt=Jn.scrollWidth-Jn.clientWidth;if(Tt>0&&(Jn.scrollLeft>0&&dn<0||Jn.scrollLeft0))return!0}Jn=Jn.parentNode}return!1}(Nt.target,xn,Jn)){var xi=!1;se.settings.useBothWheelAxes?se.scrollbarYActive&&!se.scrollbarXActive?(Jn?We.scrollTop-=Jn*se.settings.wheelSpeed:We.scrollTop+=xn*se.settings.wheelSpeed,xi=!0):se.scrollbarXActive&&!se.scrollbarYActive&&(xn?We.scrollLeft+=xn*se.settings.wheelSpeed:We.scrollLeft-=Jn*se.settings.wheelSpeed,xi=!0):(We.scrollTop-=Jn*se.settings.wheelSpeed,We.scrollLeft+=xn*se.settings.wheelSpeed),lt(se),xi=xi||function bt(Nt,dn){var xn=Math.floor(We.scrollTop),Jn=0===We.scrollTop,xi=xn+We.offsetHeight===We.scrollHeight,Yi=0===We.scrollLeft,Tt=We.scrollLeft+We.offsetWidth===We.scrollWidth;return!(Math.abs(dn)>Math.abs(Nt)?Jn||xi:Yi||Tt)||!se.settings.wheelPropagation}(xn,Jn),xi&&!Nt.ctrlKey&&(Nt.stopPropagation(),Nt.preventDefault())}}typeof window.onwheel<"u"?se.event.bind(We,"wheel",un):typeof window.onmousewheel<"u"&&se.event.bind(We,"mousewheel",un)},touch:function $(se){if(Dt.supportsTouch||Dt.supportsIePointer){var We=se.element,on={},un=0,Nt={},dn=null;Dt.supportsTouch?(se.event.bind(We,"touchstart",xi),se.event.bind(We,"touchmove",Tt),se.event.bind(We,"touchend",At)):Dt.supportsIePointer&&(window.PointerEvent?(se.event.bind(We,"pointerdown",xi),se.event.bind(We,"pointermove",Tt),se.event.bind(We,"pointerup",At)):window.MSPointerEvent&&(se.event.bind(We,"MSPointerDown",xi),se.event.bind(We,"MSPointerMove",Tt),se.event.bind(We,"MSPointerUp",At)))}function tn(we,ae){We.scrollTop-=ae,We.scrollLeft-=we,lt(se)}function xn(we){return we.targetTouches?we.targetTouches[0]:we}function Jn(we){return!(we.pointerType&&"pen"===we.pointerType&&0===we.buttons||!(we.targetTouches&&1===we.targetTouches.length||we.pointerType&&"mouse"!==we.pointerType&&we.pointerType!==we.MSPOINTER_TYPE_MOUSE))}function xi(we){if(Jn(we)){var ae=xn(we);on.pageX=ae.pageX,on.pageY=ae.pageY,un=(new Date).getTime(),null!==dn&&clearInterval(dn)}}function Tt(we){if(Jn(we)){var ae=xn(we),Lt={pageX:ae.pageX,pageY:ae.pageY},Ht=Lt.pageX-on.pageX,_n=Lt.pageY-on.pageY;if(function Yi(we,ae,Lt){if(!We.contains(we))return!1;for(var Ht=we;Ht&&Ht!==We;){if(Ht.classList.contains(G_element_consuming))return!0;var _n=A(Ht);if(Lt&&_n.overflowY.match(/(scroll|auto)/)){var fi=Ht.scrollHeight-Ht.clientHeight;if(fi>0&&(Ht.scrollTop>0&&Lt<0||Ht.scrollTop0))return!0}if(ae&&_n.overflowX.match(/(scroll|auto)/)){var bi=Ht.scrollWidth-Ht.clientWidth;if(bi>0&&(Ht.scrollLeft>0&&ae<0||Ht.scrollLeft0))return!0}Ht=Ht.parentNode}return!1}(we.target,Ht,_n))return;tn(Ht,_n),on=Lt;var fi=(new Date).getTime(),bi=fi-un;bi>0&&(Nt.x=Ht/bi,Nt.y=_n/bi,un=fi),function bt(we,ae){var Lt=Math.floor(We.scrollTop),Ht=We.scrollLeft,_n=Math.abs(we),fi=Math.abs(ae);if(fi>_n){if(ae<0&&Lt===se.contentHeight-se.containerHeight||ae>0&&0===Lt)return 0===window.scrollY&&ae>0&&Dt.isChrome}else if(_n>fi&&(we<0&&Ht===se.contentWidth-se.containerWidth||we>0&&0===Ht))return!0;return!0}(Ht,_n)&&we.preventDefault()}}function At(){se.settings.swipeEasing&&(clearInterval(dn),dn=setInterval(function(){se.isInitialized?clearInterval(dn):Nt.x||Nt.y?Math.abs(Nt.x)<.01&&Math.abs(Nt.y)<.01?clearInterval(dn):se.element?(tn(30*Nt.x,30*Nt.y),Nt.x*=.8,Nt.y*=.8):clearInterval(dn):clearInterval(dn)},10))}}},St=function(We,bt){var tn=this;if(void 0===bt&&(bt={}),"string"==typeof We&&(We=document.querySelector(We)),!We||!We.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var on in this.element=We,We.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},bt)this.settings[on]=bt[on];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var xi,Jn,un=function(){return We.classList.add(G_state_focus)},Nt=function(){return We.classList.remove(G_state_focus)};this.isRtl="rtl"===A(We).direction,!0===this.isRtl&&We.classList.add("ps__rtl"),this.isNegativeScroll=(Jn=We.scrollLeft,We.scrollLeft=-1,xi=We.scrollLeft<0,We.scrollLeft=Jn,xi),this.negativeScrollAdjustment=this.isNegativeScroll?We.scrollWidth-We.clientWidth:0,this.event=new ne,this.ownerDocument=We.ownerDocument||document,this.scrollbarXRail=le(G_element_rail("x")),We.appendChild(this.scrollbarXRail),this.scrollbarX=le(G_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",un),this.event.bind(this.scrollbarX,"blur",Nt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var dn=A(this.scrollbarXRail);this.scrollbarXBottom=parseInt(dn.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Xe(dn.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Xe(dn.borderLeftWidth)+Xe(dn.borderRightWidth),Pe(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Xe(dn.marginLeft)+Xe(dn.marginRight),Pe(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=le(G_element_rail("y")),We.appendChild(this.scrollbarYRail),this.scrollbarY=le(G_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",un),this.event.bind(this.scrollbarY,"blur",Nt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var xn=A(this.scrollbarYRail);this.scrollbarYRight=parseInt(xn.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Xe(xn.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function he(se){var We=A(se);return Xe(We.width)+Xe(We.paddingLeft)+Xe(We.paddingRight)+Xe(We.borderLeftWidth)+Xe(We.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Xe(xn.borderTopWidth)+Xe(xn.borderBottomWidth),Pe(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Xe(xn.marginTop)+Xe(xn.marginBottom),Pe(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:We.scrollLeft<=0?"start":We.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:We.scrollTop<=0?"start":We.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Jn){return Vt[Jn](tn)}),this.lastScrollTop=Math.floor(We.scrollTop),this.lastScrollLeft=We.scrollLeft,this.event.bind(this.element,"scroll",function(Jn){return tn.onScroll(Jn)}),lt(this)};St.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Pe(this.scrollbarXRail,{display:"block"}),Pe(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Xe(A(this.scrollbarXRail).marginLeft)+Xe(A(this.scrollbarXRail).marginRight),this.railYMarginHeight=Xe(A(this.scrollbarYRail).marginTop)+Xe(A(this.scrollbarYRail).marginBottom),Pe(this.scrollbarXRail,{display:"none"}),Pe(this.scrollbarYRail,{display:"none"}),lt(this),De(this,"top",0,!1,!0),De(this,"left",0,!1,!0),Pe(this.scrollbarXRail,{display:""}),Pe(this.scrollbarYRail,{display:""}))},St.prototype.onScroll=function(We){this.isAlive&&(lt(this),De(this,"top",this.element.scrollTop-this.lastScrollTop),De(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},St.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),j(this.scrollbarX),j(this.scrollbarY),j(this.scrollbarXRail),j(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},St.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(We){return!We.match(/^ps([-_].+|)$/)}).join(" ")};const ot=St;var nt=function(){if(typeof Map<"u")return Map;function se(We,bt){var tn=-1;return We.some(function(on,un){return on[0]===bt&&(tn=un,!0)}),tn}return function(){function We(){this.__entries__=[]}return Object.defineProperty(We.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),We.prototype.get=function(bt){var tn=se(this.__entries__,bt),on=this.__entries__[tn];return on&&on[1]},We.prototype.set=function(bt,tn){var on=se(this.__entries__,bt);~on?this.__entries__[on][1]=tn:this.__entries__.push([bt,tn])},We.prototype.delete=function(bt){var tn=this.__entries__,on=se(tn,bt);~on&&tn.splice(on,1)},We.prototype.has=function(bt){return!!~se(this.__entries__,bt)},We.prototype.clear=function(){this.__entries__.splice(0)},We.prototype.forEach=function(bt,tn){void 0===tn&&(tn=null);for(var on=0,un=this.__entries__;on0},se.prototype.connect_=function(){!ht||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},se.prototype.disconnect_=function(){!ht||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},se.prototype.onTransitionEnd_=function(We){var bt=We.propertyName,tn=void 0===bt?"":bt;Gt.some(function(un){return!!~tn.indexOf(un)})&&this.refresh()},se.getInstance=function(){return this.instance_||(this.instance_=new se),this.instance_},se.instance_=null,se}(),Ft=function(se,We){for(var bt=0,tn=Object.keys(We);bt"u")&&Element instanceof Object){if(!(We instanceof Sn(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var bt=this.observations_;bt.has(We)||(bt.set(We,new kn(We)),this.controller_.addObserver(this),this.controller_.refresh())}},se.prototype.unobserve=function(We){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(We instanceof Sn(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var bt=this.observations_;bt.has(We)&&(bt.delete(We),bt.size||this.controller_.removeObserver(this))}},se.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},se.prototype.gatherActive=function(){var We=this;this.clearActive(),this.observations_.forEach(function(bt){bt.isActive()&&We.activeObservations_.push(bt)})},se.prototype.broadcastActive=function(){if(this.hasActive()){var We=this.callbackCtx_,bt=this.activeObservations_.map(function(tn){return new Ri(tn.target,tn.broadcastRect())});this.callback_.call(We,bt,We),this.clearActive()}},se.prototype.clearActive=function(){this.activeObservations_.splice(0)},se.prototype.hasActive=function(){return this.activeObservations_.length>0},se}(),ee=typeof WeakMap<"u"?new WeakMap:new nt,ye=function(){return function se(We){if(!(this instanceof se))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var bt=cn.getInstance(),tn=new vt(We,bt,this);ee.set(this,tn)}}();["observe","unobserve","disconnect"].forEach(function(se){ye.prototype[se]=function(){var We;return(We=ee.get(this))[se].apply(We,arguments)}});const Se=typeof oe.ResizeObserver<"u"?oe.ResizeObserver:ye,N=["*"];function Z(se,We){if(1&se&&(f.j41(0,"div",3),f.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),f.k0s()),2&se){const bt=f.XpG();f.AVh("ps-at-top",bt.states.top)("ps-at-left",bt.states.left)("ps-at-right",bt.states.right)("ps-at-bottom",bt.states.bottom),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorY&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorX&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorX&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorY&&bt.interaction)}}const Me=new L.nKC("PERFECT_SCROLLBAR_CONFIG");class at{constructor(We,bt,tn,on){this.x=We,this.y=bt,this.w=tn,this.h=on}}class qe{constructor(We,bt){this.x=We,this.y=bt}}const pn=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Je{constructor(We={}){this.assign(We)}assign(We={}){for(const bt in We)this[bt]=We[bt]}}let Be=(()=>{class se{constructor(bt,tn,on,un,Nt){this.zone=bt,this.differs=tn,this.elementRef=on,this.platformId=un,this.defaults=Nt,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new i.B,this.disabled=!1,this.psScrollY=new f.bkB,this.psScrollX=new f.bkB,this.psScrollUp=new f.bkB,this.psScrollDown=new f.bkB,this.psScrollLeft=new f.bkB,this.psScrollRight=new f.bkB,this.psYReachEnd=new f.bkB,this.psYReachStart=new f.bkB,this.psXReachEnd=new f.bkB,this.psXReachStart=new f.bkB}ngOnInit(){if(!this.disabled&&(0,B.UE)(this.platformId)){const bt=new Je(this.defaults);bt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new ot(this.elementRef.nativeElement,bt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Se(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{pn.forEach(tn=>{const on=tn.replace(/([A-Z])/g,un=>`-${un.toLowerCase()}`);(0,d.R)(this.elementRef.nativeElement,on).pipe((0,T.Z)(20),(0,w.Q)(this.ngDestroy)).subscribe(un=>{this[tn].emit(un)})})})}}ngOnDestroy(){(0,B.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,B.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(bt){bt.disabled&&!bt.disabled.isFirstChange()&&(0,B.UE)(this.platformId)&&bt.disabled.currentValue!==bt.disabled.previousValue&&(!0===bt.disabled.currentValue?this.ngOnDestroy():!1===bt.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(bt="scroll"){return new at(this.elementRef.nativeElement[bt+"Left"],this.elementRef.nativeElement[bt+"Top"],this.elementRef.nativeElement[bt+"Width"],this.elementRef.nativeElement[bt+"Height"])}position(bt=!1){return!bt&&this.instance?new qe(this.instance.reach.x||0,this.instance.reach.y||0):new qe(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(bt="any"){const tn=this.elementRef.nativeElement;return"any"===bt?tn.classList.contains("ps--active-x")||tn.classList.contains("ps--active-y"):"both"===bt?tn.classList.contains("ps--active-x")&&tn.classList.contains("ps--active-y"):tn.classList.contains("ps--active-"+bt)}scrollTo(bt,tn,on){this.disabled||(null==tn&&null==on?this.animateScrolling("scrollTop",bt,on):(null!=bt&&this.animateScrolling("scrollLeft",bt,on),null!=tn&&this.animateScrolling("scrollTop",tn,on)))}scrollToX(bt,tn){this.animateScrolling("scrollLeft",bt,tn)}scrollToY(bt,tn){this.animateScrolling("scrollTop",bt,tn)}scrollToTop(bt,tn){this.animateScrolling("scrollTop",bt||0,tn)}scrollToLeft(bt,tn){this.animateScrolling("scrollLeft",bt||0,tn)}scrollToRight(bt,tn){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(bt||0),tn)}scrollToBottom(bt,tn){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(bt||0),tn)}scrollToElement(bt,tn,on){if("string"==typeof bt&&(bt=this.elementRef.nativeElement.querySelector(bt)),bt){const un=bt.getBoundingClientRect(),Nt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",un.left-Nt.left+this.elementRef.nativeElement.scrollLeft+(tn||0),on),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",un.top-Nt.top+this.elementRef.nativeElement.scrollTop+(tn||0),on)}}animateScrolling(bt,tn,on){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!on||typeof window>"u")this.elementRef.nativeElement[bt]=tn;else if(tn!==this.elementRef.nativeElement[bt]){let un=0,Nt=0,dn=performance.now(),xn=this.elementRef.nativeElement[bt];const Jn=(xn-tn)/2,xi=Yi=>{Nt+=Math.PI/(on/(Yi-dn)),un=Math.round(tn+Jn+Jn*Math.cos(Nt)),this.elementRef.nativeElement[bt]===xn&&(Nt>=Math.PI?this.animateScrolling(bt,tn,0):(this.elementRef.nativeElement[bt]=un,xn=this.elementRef.nativeElement[bt],dn=Yi,this.animation=window.requestAnimationFrame(xi)))};window.requestAnimationFrame(xi)}}}return se.\u0275fac=function(bt){return new(bt||se)(f.rXU(f.SKi),f.rXU(u.MKu),f.rXU(f.aKT),f.rXU(f.Agw),f.rXU(Me,8))},se.\u0275dir=f.FsC({type:se,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:[0,"perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],standalone:!1,features:[f.OA$]}),se})(),ut=(()=>{class se{constructor(bt,tn,on){this.zone=bt,this.cdRef=tn,this.platformId=on,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new i.B,this.stateUpdate=new i.B,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.bkB,this.psScrollX=new f.bkB,this.psScrollUp=new f.bkB,this.psScrollDown=new f.bkB,this.psScrollLeft=new f.bkB,this.psScrollRight=new f.bkB,this.psYReachEnd=new f.bkB,this.psYReachStart=new f.bkB,this.psXReachEnd=new f.bkB,this.psXReachStart=new f.bkB}ngOnInit(){(0,B.UE)(this.platformId)&&(this.stateUpdate.pipe((0,w.Q)(this.ngDestroy),(0,e.F)((bt,tn)=>bt===tn&&!this.stateTimeout)).subscribe(bt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===bt||"y"===bt?(this.interaction=!1,"x"===bt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===bt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===bt||"right"===bt?(this.states.left=!1,this.states.right=!1,this.states[bt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===bt||"bottom"===bt)&&(this.states.top=!1,this.states.bottom=!1,this.states[bt]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const bt=this.directiveRef.elementRef.nativeElement;(0,d.R)(bt,"wheel").pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(tn,tn.deltaX,tn.deltaY)}),(0,d.R)(bt,"touchmove").pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{if(!this.disabled&&this.autoPropagation){const on=tn.touches[0].clientX,un=tn.touches[0].clientY;this.checkPropagation(tn,on-this.scrollPositionX,un-this.scrollPositionY),this.scrollPositionX=on,this.scrollPositionY=un}}),(0,v.h)((0,d.R)(bt,"ps-scroll-x").pipe((0,O.u)("x")),(0,d.R)(bt,"ps-scroll-y").pipe((0,O.u)("y")),(0,d.R)(bt,"ps-x-reach-end").pipe((0,O.u)("right")),(0,d.R)(bt,"ps-y-reach-end").pipe((0,O.u)("bottom")),(0,d.R)(bt,"ps-x-reach-start").pipe((0,O.u)("left")),(0,d.R)(bt,"ps-y-reach-start").pipe((0,O.u)("top"))).pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(tn)})}}),window.setTimeout(()=>{pn.forEach(bt=>{this.directiveRef&&(this.directiveRef[bt]=this[bt])})},0))}ngOnDestroy(){(0,B.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,B.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const bt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=bt.classList.contains("ps--active-x"),this.usePropagationY=bt.classList.contains("ps--active-y")}}checkPropagation(bt,tn,on){this.interaction=!0;const un=tn<0?-1:1,Nt=on<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==un)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Nt))&&(bt.preventDefault(),bt.stopPropagation()),tn&&(this.scrollDirectionX=un),on&&(this.scrollDirectionY=Nt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return se.\u0275fac=function(bt){return new(bt||se)(f.rXU(f.SKi),f.rXU(u.gRc),f.rXU(f.Agw))},se.\u0275cmp=f.VBU({type:se,selectors:[["perfect-scrollbar"]],viewQuery:function(bt,tn){if(1&bt&&f.GBs(Be,7),2&bt){let on;f.mGM(on=f.lsd())&&(tn.directiveRef=on.first)}},hostVars:4,hostBindings:function(bt,tn){2&bt&&f.AVh("ps-show-limits",tn.autoPropagation)("ps-show-active",tn.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],standalone:!1,ngContentSelectors:N,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(bt,tn){1&bt&&(f.NAR(),f.j41(0,"div",0)(1,"div",1),f.SdG(2),f.k0s(),f.DNE(3,Z,5,16,"div",2),f.k0s()),2&bt&&(f.AVh("ps",tn.usePSClass),f.Y8G("perfectScrollbar",tn.config)("disabled",tn.disabled),f.R7$(3),f.Y8G("ngIf",tn.scrollIndicators))},dependencies:[Be,C.bT],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),se})(),Ot=(()=>{class se{}return se.\u0275fac=function(bt){return new(bt||se)},se.\u0275mod=f.$C({type:se}),se.\u0275inj=L.G2t({imports:[[C.MD],C.MD]}),se})()},467(Zt,pe,l){"use strict";function i(v,T,w,e,O,f,u){try{var L=v[f](u),C=L.value}catch(B){return void w(B)}L.done?T(C):Promise.resolve(C).then(e,O)}function d(v){return function(){var T=this,w=arguments;return new Promise(function(e,O){var f=v.apply(T,w);function u(C){i(f,e,O,u,L,"next",C)}function L(C){i(f,e,O,u,L,"throw",C)}u(void 0)})}}l.d(pe,{A:()=>d})},1635(Zt,pe,l){"use strict";function w(ie,P,F,ve){var Ke,H=arguments.length,$=H<3?P:null===ve?ve=Object.getOwnPropertyDescriptor(P,F):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)$=Reflect.decorate(ie,P,F,ve);else for(var Vt=ie.length-1;Vt>=0;Vt--)(Ke=ie[Vt])&&($=(H<3?Ke($):H>3?Ke(P,F,$):Ke(P,F))||$);return H>3&&$&&Object.defineProperty(P,F,$),$}function B(ie,P,F,ve){return new(F||(F=Promise))(function($,Ke){function Vt(nt){try{ot(ve.next(nt))}catch(ht){Ke(ht)}}function St(nt){try{ot(ve.throw(nt))}catch(ht){Ke(ht)}}function ot(nt){nt.done?$(nt.value):function H($){return $ instanceof F?$:new F(function(Ke){Ke($)})}(nt.value).then(Vt,St)}ot((ve=ve.apply(ie,P||[])).next())})}function re(ie){return this instanceof re?(this.v=ie,this):new re(ie)}function xe(ie,P,F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,ve=F.apply(ie,P||[]),$=[];return H=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Vt("next"),Vt("throw"),Vt("return",function Ke(Ye){return function(fe){return Promise.resolve(fe).then(Ye,ht)}}),H[Symbol.asyncIterator]=function(){return this},H;function Vt(Ye,fe){ve[Ye]&&(H[Ye]=function(Qe){return new Promise(function(gt,Gt){$.push([Ye,Qe,gt,Gt])>1||St(Ye,Qe)})},fe&&(H[Ye]=fe(H[Ye])))}function St(Ye,fe){try{!function ot(Ye){Ye.value instanceof re?Promise.resolve(Ye.value.v).then(nt,ht):oe($[0][2],Ye)}(ve[Ye](fe))}catch(Qe){oe($[0][3],Qe)}}function nt(Ye){St("next",Ye)}function ht(Ye){St("throw",Ye)}function oe(Ye,fe){Ye(fe),$.shift(),$.length&&St($[0][0],$[0][1])}}function V(ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F,P=ie[Symbol.asyncIterator];return P?P.call(ie):(ie=function Ce(ie){var P="function"==typeof Symbol&&Symbol.iterator,F=P&&ie[P],ve=0;if(F)return F.call(ie);if(ie&&"number"==typeof ie.length)return{next:function(){return ie&&ve>=ie.length&&(ie=void 0),{value:ie&&ie[ve++],done:!ie}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(ie),F={},ve("next"),ve("throw"),ve("return"),F[Symbol.asyncIterator]=function(){return this},F);function ve($){F[$]=ie[$]&&function(Ke){return new Promise(function(Vt,St){!function H($,Ke,Vt,St){Promise.resolve(St).then(function(ot){$({value:ot,done:Vt})},Ke)}(Vt,St,(Ke=ie[$](Ke)).done,Ke.value)})}}}l.d(pe,{AQ:()=>xe,Cg:()=>w,N3:()=>re,sH:()=>B,xN:()=>V}),"function"==typeof SuppressedError&&SuppressedError}},Zt=>{Zt(Zt.s=599)}]); \ No newline at end of file diff --git a/frontend/main.87c60b2108713046.js b/frontend/main.87c60b2108713046.js new file mode 100644 index 00000000..7fac260c --- /dev/null +++ b/frontend/main.87c60b2108713046.js @@ -0,0 +1 @@ +(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430(Zt,pe,l){"use strict";l.d(pe,{$6:()=>F,$J:()=>Le,$Q:()=>ne,Aw:()=>f,C2:()=>C,CK:()=>re,Db:()=>Sn,Do:()=>P,Dq:()=>$,ED:()=>Qn,EM:()=>nt,Eb:()=>Ye,Ew:()=>ht,Fd:()=>Ee,GZ:()=>oe,Gy:()=>Pe,Gz:()=>rt,Hm:()=>be,Jx:()=>H,Ml:()=>cn,N4:()=>V,NS:()=>e,NU:()=>h,Qj:()=>le,Qv:()=>Ft,Sn:()=>O,T4:()=>ce,Uj:()=>xe,VK:()=>ve,We:()=>j,XT:()=>B,Yi:()=>lt,Zi:()=>G,a5:()=>Ke,aB:()=>Vt,cR:()=>_e,dv:()=>J,ed:()=>W,fy:()=>De,g6:()=>ot,gf:()=>T,ij:()=>Dt,jQ:()=>Gt,kQ:()=>gt,kX:()=>L,kv:()=>ie,lg:()=>w,no:()=>v,qw:()=>fe,sq:()=>Ce,uK:()=>te,vL:()=>Re,w0:()=>Xe,x1:()=>u,y0:()=>Qe,zU:()=>he});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.TC.UPDATE_API_CALL_STATUS_CLN,(0,i.xk)()),T=(0,i.VP)(d.TC.RESET_CLN_STORE),w=(0,i.VP)(d.TC.FETCH_PAGE_SETTINGS_CLN),e=(0,i.VP)(d.TC.SET_PAGE_SETTINGS_CLN,(0,i.xk)()),O=(0,i.VP)(d.TC.SAVE_PAGE_SETTINGS_CLN,(0,i.xk)()),f=(0,i.VP)(d.TC.FETCH_INFO_CLN,(0,i.xk)()),u=(0,i.VP)(d.TC.SET_INFO_CLN,(0,i.xk)()),L=(0,i.VP)(d.TC.FETCH_FEE_RATES_CLN,(0,i.xk)()),C=(0,i.VP)(d.TC.SET_FEE_RATES_CLN,(0,i.xk)()),B=(0,i.VP)(d.TC.GET_NEW_ADDRESS_CLN,(0,i.xk)()),Pe=((0,i.VP)(d.TC.SET_NEW_ADDRESS_CLN,(0,i.xk)()),(0,i.VP)(d.TC.FETCH_PEERS_CLN)),le=(0,i.VP)(d.TC.SET_PEERS_CLN,(0,i.xk)()),Ce=(0,i.VP)(d.TC.SAVE_NEW_PEER_CLN,(0,i.xk)()),j=((0,i.VP)(d.TC.NEWLY_ADDED_PEER_CLN,(0,i.xk)()),(0,i.VP)(d.TC.ADD_PEER_CLN,(0,i.xk)())),W=(0,i.VP)(d.TC.DETACH_PEER_CLN,(0,i.xk)()),G=(0,i.VP)(d.TC.REMOVE_PEER_CLN,(0,i.xk)()),re=(0,i.VP)(d.TC.FETCH_PAYMENTS_CLN),xe=(0,i.VP)(d.TC.SET_PAYMENTS_CLN,(0,i.xk)()),Ee=(0,i.VP)(d.TC.SEND_PAYMENT_CLN,(0,i.xk)()),V=(0,i.VP)(d.TC.SEND_PAYMENT_STATUS_CLN,(0,i.xk)()),ce=(0,i.VP)(d.TC.GET_QUERY_ROUTES_CLN,(0,i.xk)()),be=(0,i.VP)(d.TC.SET_QUERY_ROUTES_CLN,(0,i.xk)()),ne=(0,i.VP)(d.TC.FETCH_CHANNELS_CLN),J=(0,i.VP)(d.TC.SET_CHANNELS_CLN,(0,i.xk)()),De=(0,i.VP)(d.TC.UPDATE_CHANNEL_CLN,(0,i.xk)()),Re=(0,i.VP)(d.TC.SAVE_NEW_CHANNEL_CLN,(0,i.xk)()),Xe=(0,i.VP)(d.TC.CLOSE_CHANNEL_CLN,(0,i.xk)()),_e=(0,i.VP)(d.TC.REMOVE_CHANNEL_CLN,(0,i.xk)()),he=(0,i.VP)(d.TC.PEER_LOOKUP_CLN,(0,i.xk)()),Dt=(0,i.VP)(d.TC.CHANNEL_LOOKUP_CLN,(0,i.xk)()),lt=(0,i.VP)(d.TC.INVOICE_LOOKUP_CLN,(0,i.xk)()),Le=(0,i.VP)(d.TC.SET_LOOKUP_CLN,(0,i.xk)()),te=(0,i.VP)(d.TC.GET_FORWARDING_HISTORY_CLN,(0,i.xk)()),ie=(0,i.VP)(d.TC.SET_FORWARDING_HISTORY_CLN,(0,i.xk)()),P=(0,i.VP)(d.TC.FETCH_INVOICES_CLN),F=(0,i.VP)(d.TC.SET_INVOICES_CLN,(0,i.xk)()),ve=(0,i.VP)(d.TC.SAVE_NEW_INVOICE_CLN,(0,i.xk)()),H=(0,i.VP)(d.TC.ADD_INVOICE_CLN,(0,i.xk)()),$=(0,i.VP)(d.TC.UPDATE_INVOICE_CLN,(0,i.xk)()),Ke=(0,i.VP)(d.TC.DELETE_EXPIRED_INVOICE_CLN,(0,i.xk)()),Vt=(0,i.VP)(d.TC.SET_CHANNEL_TRANSACTION_CLN,(0,i.xk)()),ot=((0,i.VP)(d.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,i.xk)()),(0,i.VP)(d.TC.FETCH_UTXO_BALANCES_CLN)),nt=(0,i.VP)(d.TC.SET_UTXO_BALANCES_CLN,(0,i.xk)()),ht=(0,i.VP)(d.TC.FETCH_OFFER_INVOICE_CLN,(0,i.xk)()),oe=(0,i.VP)(d.TC.SET_OFFER_INVOICE_CLN,(0,i.xk)()),Ye=(0,i.VP)(d.TC.FETCH_OFFERS_CLN),fe=(0,i.VP)(d.TC.SET_OFFERS_CLN,(0,i.xk)()),Qe=(0,i.VP)(d.TC.SAVE_NEW_OFFER_CLN,(0,i.xk)()),gt=(0,i.VP)(d.TC.ADD_OFFER_CLN,(0,i.xk)()),Gt=(0,i.VP)(d.TC.DISABLE_OFFER_CLN,(0,i.xk)()),rt=(0,i.VP)(d.TC.UPDATE_OFFER_CLN,(0,i.xk)()),cn=(0,i.VP)(d.TC.FETCH_OFFER_BOOKMARKS_CLN),Ft=(0,i.VP)(d.TC.SET_OFFER_BOOKMARKS_CLN,(0,i.xk)()),Sn=(0,i.VP)(d.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,i.xk)()),Qn=(0,i.VP)(d.TC.DELETE_OFFER_BOOKMARK_CLN,(0,i.xk)()),h=(0,i.VP)(d.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,i.xk)())},283(Zt,pe,l){"use strict";l.d(pe,{i:()=>V});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(2462),u=l(8321),L=l(4416),C=l(1771),B=l(8430),A=l(9584),Pe=l(2142),le=l(2615),Ce=l(9330),Ae=l(9640),j=l(3202),W=l(2571),G=l(8570),re=l(3694),xe=l(7879),Ee=l(7303);let V=(()=>{var ce;class be{constructor(J,De,Re,Xe,_e,he,Dt,lt,Le){this.actions=J,this.httpClient=De,this.store=Re,this.sessionService=Xe,this.commonService=_e,this.logger=he,this.router=Dt,this.wsService=lt,this.location=Le,this.CHILD_API_URL=L.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new d.B,new d.B,new d.B],this.infoFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_INFO_CLN),(0,e.Z)(te=>(this.flgInitialized=!1,this.store.dispatch((0,C.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.INITIATED}})),this.store.dispatch((0,C.mt)({payload:L.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+L.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(L.aU.SET_SELECTED_NODE))),(0,w.T)(ie=>(this.logger.info(ie),this.CLN_VERISON=ie.version||"",ie.chains&&ie.chains.length&&ie.chains[0]&&"object"==typeof ie.chains[0]&&ie.chains[0].hasOwnProperty("chain")&&ie?.chains[0].chain&&ie?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&ie?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.GET_NODE_INFO})),this.store.dispatch((0,C.Jh)()),setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:L.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:L.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(ie,te.payload.loadPage),this.store.dispatch((0,B.no)({payload:{action:"FetchInfo",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.GET_NODE_INFO})),{type:L.TC.SET_INFO_CLN,payload:ie||{}}))),(0,T.W)(ie=>{const P=this.commonService.extractErrorCode(ie),F=503===P?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(ie);return this.router.navigate(["/error"],{state:{errorCode:P,errorMessage:F}}),this.handleErrorWithoutAlert("FetchInfo",L.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:P,error:F}),(0,v.of)({type:L.aU.VOID})})))))),this.fetchFeeRatesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_FEE_RATES_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchFeeRates"+te.payload,status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/feeRates",{style:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchFeeRates"+te.payload,status:L.wn.COMPLETED}})),{type:L.TC.SET_FEE_RATES_CLN,payload:ie||{}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchFeeRates"+te.payload,L.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.getNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_NEW_ADDRESS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+L.rl.ON_CHAIN_API+"/newaddr",{addresstype:te.payload.addressCode}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.GENERATE_NEW_ADDRESS})),{type:L.TC.SET_NEW_ADDRESS_CLN,payload:ie&&ie[te.payload.addressCode]?ie[te.payload.addressCode]:{}})),(0,T.W)(ie=>(this.handleErrorWithAlert("GenerateNewAddress",L.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+L.rl.ON_CHAIN_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.setNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_NEW_ADDRESS_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.peersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PEERS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPeers",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.PEERS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPeers",status:L.wn.COMPLETED}})),{type:L.TC.SET_PEERS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPeers",L.MZ.NO_SPINNER,"Fetching Peers Failed.",te),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_PEER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.CONNECT_PEER})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewPeer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.PEERS_API,{id:te.payload.id}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewPeer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.CONNECT_PEER})),this.store.dispatch((0,B.Qj)({payload:ie||[]})),{type:L.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:ie.find(P=>0===te.payload.id.indexOf(P.id?P.id:""))}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewPeer",L.MZ.CONNECT_PEER,"Peer Connection Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.detachPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DETACH_PEER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+L.rl.PEERS_API+"/disconnect",{id:te.payload.id,force:te.payload.force}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.DISCONNECT_PEER})),this.store.dispatch((0,C.UI)({payload:"Peer Disconnected Successfully!"})),{type:L.TC.REMOVE_PEER_CLN,payload:{id:te.payload.id}})),(0,T.W)(ie=>(this.handleErrorWithAlert("PeerDisconnect",L.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+L.rl.PEERS_API+"/"+te.payload.id,ie),(0,v.of)({type:L.aU.VOID})))))))),this.channelsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_CHANNELS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchChannels",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.CHANNELS_API+"/listPeerChannels"))),(0,w.T)(te=>{this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchChannels",status:L.wn.COMPLETED}}));const ie={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return te.forEach(P=>{"CHANNELD_NORMAL"===P.state?P.peer_connected?ie.activeChannels.push(P):ie.inactiveChannels.push(P):ie.pendingChannels.push(P)}),{type:L.TC.SET_CHANNELS_CLN,payload:ie}}),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchChannels",L.MZ.NO_SPINNER,"Fetching Channels Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.openNewChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_CHANNEL_CLN),(0,e.Z)(te=>{this.store.dispatch((0,C.mt)({payload:L.MZ.OPEN_CHANNEL})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewChannel",status:L.wn.INITIATED}}));const ie={id:te.payload.peerId,amount:te.payload.amount,feerate:te.payload.feeRate,announce:te.payload.announce};return te.payload.minconf&&(ie.minconf=te.payload.minconf),te.payload.utxos&&(ie.utxos=te.payload.utxos),te.payload.requestAmount&&(ie.request_amt=te.payload.requestAmount),te.payload.compactLease&&(ie.compact_lease=te.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API,ie).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,B.no)({payload:{action:"SaveNewChannel",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.OPEN_CHANNEL})),this.store.dispatch((0,C.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,B.g6)()),{type:L.TC.FETCH_CHANNELS_CLN})),(0,T.W)(P=>(this.handleErrorWithoutAlert("SaveNewChannel",L.MZ.OPEN_CHANNEL,"Opening Channel Failed.",P),(0,v.of)({type:L.aU.VOID}))))}))),this.updateChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.UPDATE_CHANNEL_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/setChannelFee",te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,C.UI)("all"===te.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:L.TC.FETCH_CHANNELS_CLN})),(0,T.W)(ie=>(this.handleErrorWithAlert("UpdateChannel",L.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+L.rl.CHANNELS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.closeChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.CLOSE_CHANNEL_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/close",{id:te.payload.channelId,unilateraltimeout:te.payload.force?1:null}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,C.UI)({payload:"Channel Closed Successfully!"})),{type:L.TC.REMOVE_CHANNEL_CLN,payload:te.payload})),(0,T.W)(ie=>(this.handleErrorWithAlert("CloseChannel",te.payload.force?L.MZ.FORCE_CLOSE_CHANNEL:L.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+L.rl.CHANNELS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.paymentsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PAYMENTS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPayments",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.PAYMENTS_API))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPayments",status:L.wn.COMPLETED}})),{type:L.TC.SET_PAYMENTS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPayments",L.MZ.NO_SPINNER,"Fetching Payments Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFER_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.FETCH_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"FetchOfferInvoice",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/fetchOfferInvoice",te.payload).pipe((0,w.T)(ie=>{this.logger.info(ie),setTimeout(()=>{this.store.dispatch((0,B.no)({payload:{action:"FetchOfferInvoice",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.FETCH_INVOICE})),this.store.dispatch((0,B.GZ)({payload:ie||{}}))},500)}),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOfferInvoice",L.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",ie),(0,v.of)({type:L.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_OFFER_INVOICE_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.sendPaymentCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SEND_PAYMENT_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.no)({payload:{action:"SendPayment",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.PAYMENTS_API,te.payload).pipe((0,w.T)(ie=>{this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SendPayment",status:L.wn.COMPLETED}}));let P="Payment Sent Successfully!";ie.saveToDBError&&(P="Payment Sent Successfully but Offer Saving to Database Failed."),ie.saveToDBResponse&&"NA"!==ie.saveToDBResponse&&(this.store.dispatch((0,B.Db)({payload:ie.saveToDBResponse})),P="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,B.CK)()),this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),this.store.dispatch((0,C.UI)({payload:P})),this.store.dispatch((0,B.N4)({payload:ie.paymentResponse}))},1e3)}),(0,T.W)(ie=>(this.logger.error("Error: "+JSON.stringify(ie)),te.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",te.payload.uiMessage,"Send Payment Failed.",ie):this.handleErrorWithAlert("SendPayment",te.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+L.rl.PAYMENTS_API,ie),(0,v.of)({type:L.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_QUERY_ROUTES_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"GetQueryRoutes",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/getRoute",{id:te.payload.destPubkey,amount_msat:te.payload.amount,riskfactor:0}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"GetQueryRoutes",status:L.wn.COMPLETED}})),{type:L.TC.SET_QUERY_ROUTES_CLN,payload:ie})),(0,T.W)(ie=>(this.store.dispatch((0,B.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",L.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/getRoute",ie),(0,v.of)({type:L.aU.VOID})))))))),this.setQueryRoutesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_QUERY_ROUTES_CLN),(0,w.T)(te=>te.payload)),{dispatch:!1}),this.peerLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.PEER_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEARCHING_NODE})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/listNodes",{id:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEARCHING_NODE})),{type:L.TC.SET_LOOKUP_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithAlert("Lookup",L.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/listNodes/"+te.payload,ie),(0,v.of)({type:L.aU.VOID})))))))),this.channelLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.CHANNEL_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.NETWORK_API+"/listChannels",{short_channel_id:te.payload.shortChannelID}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),{type:L.TC.SET_LOOKUP_CLN,payload:ie})),(0,T.W)(ie=>(te.payload.showError?this.handleErrorWithAlert("Lookup",te.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+L.rl.NETWORK_API+"/listChannels/"+te.payload.shortChannelID,ie):this.store.dispatch((0,C.y0)({payload:te.payload.uiMessage})),this.store.dispatch((0,B.$J)({payload:[]})),(0,v.of)({type:L.aU.VOID})))))))),this.invoiceLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.INVOICE_LOOKUP_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/lookup",{label:te.payload}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"Lookup",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEARCHING_INVOICE})),ie.invoices&&ie.invoices.length&&ie.invoices.length>0&&this.store.dispatch((0,B.Dq)({payload:ie.invoices[0]})),{type:L.TC.SET_LOOKUP_CLN,payload:ie.invoices&&ie.invoices.length&&ie.invoices.length>0?ie.invoices[0]:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("Lookup",L.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ie),this.store.dispatch((0,C.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:L.aU.VOID})))))))),this.setLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_LOOKUP_CLN),(0,w.T)(te=>(this.logger.info(te.payload),te.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.GET_FORWARDING_HISTORY_CLN),(0,e.Z)(te=>{const ie=te.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,B.no)({payload:{action:"FetchForwardingHistory"+ie,status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.CHANNELS_API+"/listForwards",te.payload).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,B.no)({payload:{action:"FetchForwardingHistory"+ie,status:L.wn.COMPLETED}})),te.payload.status===L.xk.FAILED?this.store.dispatch((0,B.kv)({payload:{status:L.xk.FAILED,totalForwards:P.length,listForwards:P}})):te.payload.status===L.xk.LOCAL_FAILED?this.store.dispatch((0,B.kv)({payload:{status:L.xk.LOCAL_FAILED,totalForwards:P.length,listForwards:P}})):te.payload.status===L.xk.SETTLED&&this.store.dispatch((0,B.kv)({payload:{status:L.xk.SETTLED,totalForwards:P.length,listForwards:P}})),{type:L.aU.VOID})),(0,T.W)(P=>(this.handleErrorWithAlert("FetchForwardingHistory"+ie,L.MZ.NO_SPINNER,"Get "+te.payload.status+" Forwarding History Failed",this.CHILD_API_URL+L.rl.CHANNELS_API+"/listForwards",P),(0,v.of)({type:L.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DELETE_EXPIRED_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:L.NG}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,C.y0)({payload:L.MZ.DELETE_INVOICE})),this.store.dispatch((0,C.UI)({payload:ie.status})),{type:L.TC.FETCH_INVOICES_CLN})),(0,T.W)(ie=>(this.handleErrorWithAlert("DeleteInvoices",L.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+L.rl.INVOICES_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_INVOICE_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.ADD_INVOICE})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewInvoice",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewInvoice",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.ADD_INVOICE})),ie.amount_msat=te.payload.amount_msat,ie.label=te.payload.label,ie.expires_at=Math.round((new Date).getTime()/1e3+te.payload.expiry),ie.description=te.payload.description,ie.status="unpaid",setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{invoice:ie,newlyAdded:!0,component:u.y}}}))},200),{type:L.TC.ADD_INVOICE_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewInvoice",L.MZ.ADD_INVOICE,"Add Invoice Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.saveNewOfferCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_NEW_OFFER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.CREATE_OFFER})),this.store.dispatch((0,B.no)({payload:{action:"SaveNewOffer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SaveNewOffer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{offer:ie,newlyAdded:!0,component:Pe.f}}}))},100),{type:L.TC.ADD_OFFER_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewOffer",L.MZ.CREATE_OFFER,"Create Offer Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.invoicesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_INVOICES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchInvoices",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.INVOICES_API+"/lookup",null))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchInvoices",status:L.wn.COMPLETED}})),{type:L.TC.SET_INVOICES_CLN,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchInvoices",L.MZ.NO_SPINNER,"Fetching Invoices Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.offersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFERS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchOffers",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.OFFERS_API).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchOffers",status:L.wn.COMPLETED}})),{type:L.TC.SET_OFFERS_CLN,payload:ie.offers?ie.offers:[]})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOffers",L.MZ.NO_SPINNER,"Fetching Offers Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.offersDisableCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DISABLE_OFFER_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DISABLE_OFFER})),this.store.dispatch((0,B.no)({payload:{action:"DisableOffer",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/disableOffer",{offer_id:te.payload.offer_id}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"DisableOffer",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.DISABLE_OFFER})),this.store.dispatch((0,C.UI)({payload:"Offer Disabled Successfully!"})),{type:L.TC.UPDATE_OFFER_CLN,payload:{offer:ie}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("DisableOffer",L.MZ.DISABLE_OFFER,"Disabling Offer Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,B.no)({payload:{action:"FetchOfferBookmarks",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmarks").pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"FetchOfferBookmarks",status:L.wn.COMPLETED}})),{type:L.TC.SET_OFFER_BOOKMARKS_CLN,payload:ie||[]})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",L.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.peidOffersDeleteCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.DELETE_OFFER_BOOKMARK_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,B.no)({payload:{action:"DeleteOfferBookmark",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:te.payload.bolt12}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"DeleteOfferBookmark",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,C.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:L.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:te.payload.bolt12}})),(0,T.W)(ie=>(this.handleErrorWithAlert("DeleteOfferBookmark",L.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+L.rl.OFFERS_API+"/offerbookmark/"+te.payload.bolt12,ie),(0,v.of)({type:L.aU.VOID})))))))),this.SetChannelTransactionCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SET_CHANNEL_TRANSACTION_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.SEND_FUNDS})),this.store.dispatch((0,B.no)({payload:{action:"SetChannelTransaction",status:L.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+L.rl.ON_CHAIN_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SetChannelTransaction",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.SEND_FUNDS})),this.store.dispatch((0,B.g6)()),{type:L.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:ie})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SetChannelTransaction",L.MZ.SEND_FUNDS,"Sending Fund Failed.",ie),(0,v.of)({type:L.aU.VOID})))))))),this.utxoBalancesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_UTXO_BALANCES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchUTXOBalances",status:L.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+L.rl.ON_CHAIN_API+"/utxos"))),(0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchUTXOBalances",status:L.wn.COMPLETED}})),{type:L.TC.SET_UTXO_BALANCES_CLN,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchUTXOBalances",L.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",te),(0,v.of)({type:L.aU.VOID}))))),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.FETCH_PAGE_SETTINGS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,B.no)({payload:{action:"FetchPageSettings",status:L.wn.INITIATED}})),this.httpClient.get(L.rl.PAGE_SETTINGS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.no)({payload:{action:"FetchPageSettings",status:L.wn.COMPLETED}})),{type:L.TC.SET_PAGE_SETTINGS_CLN,payload:te||[]})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPageSettings",L.MZ.NO_SPINNER,"Fetching Page Settings Failed.",te),(0,v.of)({type:L.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(L.TC.SAVE_PAGE_SETTINGS_CLN),(0,e.Z)(te=>(this.store.dispatch((0,C.mt)({payload:L.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.no)({payload:{action:"SavePageSettings",status:L.wn.INITIATED}})),this.httpClient.post(L.rl.PAGE_SETTINGS_API,te.payload).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.no)({payload:{action:"SavePageSettings",status:L.wn.COMPLETED}})),this.store.dispatch((0,C.y0)({payload:L.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,C.UI)({payload:"Page Layout Updated Successfully!"})),{type:L.TC.SET_PAGE_SETTINGS_CLN,payload:ie||[]})),(0,T.W)(ie=>(this.handleErrorWithAlert("SavePageSettings",L.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",L.rl.PAGE_SETTINGS_API,ie),(0,v.of)({type:L.aU.VOID})))))))),this.store.select(A.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(te=>{te.FetchInfo.status!==L.wn.COMPLETED&&te.FetchInfo.status!==L.wn.ERROR||te.FetchChannels.status!==L.wn.COMPLETED&&te.FetchChannels.status!==L.wn.ERROR||te.FetchUTXOBalances.status!==L.wn.COMPLETED&&te.FetchUTXOBalances.status!==L.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,C.y0)({payload:L.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(te=>{this.logger.info("Received new message from the service: "+JSON.stringify(te)),te&&te.data&&te.data[L.Jr.INVOICE_PAYMENT]&&te.data[L.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,B.Dq)({payload:te.data[L.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(J,De){this.sessionService.setItem("clnUnlocked","true");const Re={identity_pubkey:J.id,alias:J.alias,testnet:"testnet"===J.network.toLowerCase(),chains:J.chains,uris:J.uris,version:J.version,api_version:J.api_version,numberOfPendingChannels:J.num_pending_channels};this.store.dispatch((0,C.mt)({payload:L.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,C.Fl)({payload:Re}));let Xe=this.location.path();Xe.includes("/lnd/")?Xe=Xe?.replace("/lnd/","/cln/"):Xe.includes("/ecl/")&&(Xe=Xe?.replace("/ecl/","/cln/")),(Xe.includes("/login")||Xe.includes("/error")||""===Xe||"HOME"===De||Xe.includes("?access-key="))&&(Xe="/cln/home"),this.router.navigate([Xe]),this.store.dispatch((0,B.Do)()),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.g6)()),this.store.dispatch((0,B.kX)({payload:"perkw"})),this.store.dispatch((0,B.kX)({payload:"perkb"})),this.store.dispatch((0,B.Gy)()),this.store.dispatch((0,B.CK)())}handleErrorWithoutAlert(J,De,Re,Xe){if(this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(Xe)),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.Jh)()),this.store.dispatch((0,C.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,C.y0)({payload:De}));const _e=this.commonService.extractErrorMessage(Xe,Re);this.store.dispatch((0,B.no)({payload:{action:J,status:L.wn.ERROR,statusCode:Xe.status.toString(),message:_e}}))}}handleErrorWithAlert(J,De,Re,Xe,_e){if(this.logger.error(_e),401===_e.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.Jh)()),this.store.dispatch((0,C.ri)({payload:"Authentication Failed: "+JSON.stringify(_e.error)})),this.store.dispatch((0,C.UI)({payload:"Authentication Failed: "+_e.error}));else{this.store.dispatch((0,C.y0)({payload:De}));const he=this.commonService.extractErrorMessage(_e);this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:Re,message:{code:_e.status,message:he,URL:Xe},component:f.f}}})),this.store.dispatch((0,B.no)({payload:{action:J,status:L.wn.ERROR,statusCode:_e.status.toString(),message:he,URL:Xe}}))}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static#e=ce=()=>(this.\u0275fac=function(De){return new(De||be)(le.KVO(i.En),le.KVO(Ce.Qq),le.KVO(Ae.il),le.KVO(j.Q),le.KVO(W.h),le.KVO(G.gP),le.KVO(re.Ix),le.KVO(xe.I),le.KVO(Ee.aZ))},this.\u0275prov=le.jDH({token:be,factory:be.\u0275fac}))}return ce(),be})()},9584(Zt,pe,l){"use strict";l.d(pe,{Al:()=>A,BM:()=>Pe,Dv:()=>Ce,GX:()=>j,Ie:()=>le,KT:()=>f,O5:()=>re,Pj:()=>B,RB:()=>C,RQ:()=>G,aJ:()=>Ae,av:()=>T,ip:()=>xe,kQ:()=>W,kr:()=>L,mH:()=>w,os:()=>u,ru:()=>O});var d=l(9640);const v=(0,d.UX)("cln"),T=(0,d.Mz)(v,V=>({pageSettings:V.pageSettings,apiCallStatus:V.apisCallStatus.FetchPageSettings})),w=(0,d.Mz)(v,V=>V.information),O=((0,d.Mz)(v,V=>V.apisCallStatus.FetchInfo),(0,d.Mz)(v,V=>V.apisCallStatus)),f=(0,d.Mz)(v,V=>({payments:V.payments,apiCallStatus:V.apisCallStatus.FetchPayments})),u=(0,d.Mz)(v,V=>({peers:V.peers,apiCallStatus:V.apisCallStatus.FetchPeers})),L=(0,d.Mz)(v,V=>({feeRatesPerKB:V.feeRatesPerKB,apiCallStatus:V.apisCallStatus.FetchFeeRatesperkb})),C=(0,d.Mz)(v,V=>({feeRatesPerKW:V.feeRatesPerKW,apiCallStatus:V.apisCallStatus.FetchFeeRatesperkw})),B=(0,d.Mz)(v,V=>({listInvoices:V.invoices,apiCallStatus:V.apisCallStatus.FetchInvoices})),A=(0,d.Mz)(v,V=>({utxos:V.utxos,balance:V.balance,localRemoteBalance:V.localRemoteBalance,apiCallStatus:V.apisCallStatus.FetchUTXOBalances})),Pe=(0,d.Mz)(v,V=>({activeChannels:V.activeChannels,pendingChannels:V.pendingChannels,inactiveChannels:V.inactiveChannels,apiCallStatus:V.apisCallStatus.FetchChannels})),le=(0,d.Mz)(v,V=>({forwardingHistory:V.forwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryS})),Ce=(0,d.Mz)(v,V=>({failedForwardingHistory:V.failedForwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryF})),Ae=(0,d.Mz)(v,V=>({localFailedForwardingHistory:V.localFailedForwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistoryL})),j=(0,d.Mz)(v,V=>({information:V.information,balance:V.balance,numPeers:V.peers.length})),W=(0,d.Mz)(v,V=>({information:V.information,balance:V.balance})),G=(0,d.Mz)(v,V=>({information:V.information,fees:V.fees,apisCallStatus:[V.apisCallStatus.FetchInfo,V.apisCallStatus.FetchForwardingHistoryS]})),re=(0,d.Mz)(v,V=>({offers:V.offers,apiCallStatus:V.apisCallStatus.FetchOffers})),xe=(0,d.Mz)(v,V=>({offersBookmarks:V.offersBookmarks,apiCallStatus:V.apisCallStatus.FetchOfferBookmarks}))},8321(Zt,pe,l){"use strict";l.d(pe,{y:()=>fe});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(9584),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(1997),j=l(9183),W=l(2920),G=l(6038),re=l(455),xe=l(8288),Ee=l(9157),V=l(9587);const ce=Qe=>({"display-none":Qe}),be=Qe=>({"xs-scroll-y":Qe}),ne=(Qe,gt)=>({"mt-2":Qe,"mt-1":gt}),J=Qe=>({"mr-0":Qe}),De=()=>[];function Re(Qe,gt){if(1&Qe&&f.nrm(0,"qr-code",33),2&Qe){const Gt=f.XpG();f.Y8G("value",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))("size",Gt.qrWidth)}}function Xe(Qe,gt){1&Qe&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function _e(Qe,gt){if(1&Qe&&f.nrm(0,"span",35),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function he(Qe,gt){if(1&Qe&&f.nrm(0,"span",36),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function Dt(Qe,gt){if(1&Qe&&f.nrm(0,"span",37),2&Qe){const Gt=f.XpG();f.Y8G("ngClass",f.eq3(1,J,Gt.screenSize===Gt.screenSizeEnum.XS))}}function lt(Qe,gt){if(1&Qe&&f.nrm(0,"qr-code",33),2&Qe){const Gt=f.XpG();f.Y8G("value",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))("size",Gt.qrWidth)}}function Le(Qe,gt){1&Qe&&(f.j41(0,"span",38),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function te(Qe,gt){1&Qe&&f.nrm(0,"mat-divider",39)}function ie(Qe,gt){if(1&Qe&&(f.j41(0,"div",20)(1,"div",40),f.nrm(2,"fa-icon",41),f.j41(3,"span"),f.EFF(4),f.k0s()()()),2&Qe){const Gt=f.XpG();f.R7$(2),f.Y8G("icon",Gt.faExclamationTriangle),f.R7$(2),f.JRh(null==Gt.invoice?null:Gt.invoice.warning_capacity)}}function P(Qe,gt){1&Qe&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function F(Qe,gt){1&Qe&&f.nrm(0,"span",47)}function ve(Qe,gt){if(1&Qe&&(f.j41(0,"div",43)(1,"div",44)(2,"span",45),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,F,1,0,"span",46),f.k0s()()),2&Qe){const Gt=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,(null==Gt.invoice?null:Gt.invoice.amount_received_msat)/1e3)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,De).constructor(35))}}function H(Qe,gt){if(1&Qe&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&Qe){const Gt=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,(null==Gt.invoice?null:Gt.invoice.amount_received_msat)/1e3)," Sats")}}function $(Qe,gt){if(1&Qe&&(f.qex(0),f.DNE(1,ve,6,5,"div",42)(2,H,3,3,"div",24),f.bVm()),2&Qe){const Gt=f.XpG();f.R7$(),f.Y8G("ngIf",Gt.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!Gt.flgInvoicePaid)}}function Ke(Qe,gt){1&Qe&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Vt(Qe,gt){1&Qe&&f.nrm(0,"mat-spinner",49),2&Qe&&f.Y8G("diameter",20)}function St(Qe,gt){if(1&Qe&&(f.qex(0),f.DNE(1,Ke,2,0,"span",24)(2,Vt,1,1,"mat-spinner",48),f.bVm()),2&Qe){const Gt=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==Gt.invoice?null:Gt.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Gt.invoice?null:Gt.invoice.status))}}function ot(Qe,gt){if(1&Qe&&(f.j41(0,"div"),f.nrm(1,"mat-divider",26),f.j41(2,"div",20)(3,"div",27)(4,"h4",22),f.EFF(5,"Payment Hash"),f.k0s(),f.j41(6,"span",25),f.EFF(7),f.k0s()()(),f.nrm(8,"mat-divider",26),f.j41(9,"div",20)(10,"div",27)(11,"h4",22),f.EFF(12,"Label"),f.k0s(),f.j41(13,"span",25),f.EFF(14),f.k0s()()(),f.nrm(15,"mat-divider",26),f.k0s()),2&Qe){const Gt=f.XpG();f.R7$(7),f.JRh(null==Gt.invoice?null:Gt.invoice.payment_hash),f.R7$(7),f.JRh(null==Gt.invoice?null:Gt.invoice.label)}}function nt(Qe,gt){1&Qe&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ht(Qe,gt){1&Qe&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function oe(Qe,gt){if(1&Qe){const Gt=f.RV6();f.j41(0,"button",50),f.bIt("copied",function(cn){O.eBV(Gt);const Ft=f.XpG();return O.Njj(Ft.onCopyPayment(cn))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&Qe){const Gt=f.XpG();f.Y8G("payload",(null==Gt.invoice?null:Gt.invoice.bolt11)||(null==Gt.invoice?null:Gt.invoice.bolt12))}}function Ye(Qe,gt){if(1&Qe){const Gt=f.RV6();f.j41(0,"button",51),f.bIt("click",function(){O.eBV(Gt);const cn=f.XpG();return O.Njj(cn.onClose())}),f.EFF(1,"OK"),f.k0s()}}let fe=(()=>{var Qe;class gt{constructor(rt,cn,Ft,Sn,Qn,h){this.dialogRef=rt,this.data=cn,this.logger=Ft,this.commonService=Sn,this.snackBar=Qn,this.store=h,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgInvoicePaid=!1,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.Pj).pipe((0,T.Q)(this.unSubs[1])).subscribe(rt=>{const Ft=(rt.listInvoices.invoices||[])?.find(Sn=>Sn.payment_hash===this.invoice.payment_hash)||null;Ft&&(this.invoice=Ft),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(Ft),this.logger.info(rt)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(rt){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+rt)}ngOnDestroy(){this.unSubs.forEach(rt=>{rt.next(null),rt.complete()})}static#e=Qe=()=>(this.\u0275fac=function(cn){return new(cn||gt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:gt,selectors:[["rtl-cln-invoice-information"]],standalone:!1,decls:72,vars:49,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(cn,Ft){if(1&cn){const Sn=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,Re,1,2,"qr-code",3)(3,Xe,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.DNE(10,_e,1,3,"span",10)(11,he,1,3,"span",11)(12,Dt,1,3,"span",12),f.k0s()(),f.j41(13,"button",13),f.bIt("click",function(){return O.eBV(Sn),O.Njj(Ft.onClose())}),f.EFF(14,"X"),f.k0s()(),f.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),f.DNE(18,lt,1,2,"qr-code",3)(19,Le,2,0,"span",17),f.k0s(),f.DNE(20,te,1,0,"mat-divider",18)(21,ie,5,2,"div",19),f.j41(22,"div",20)(23,"div",21)(24,"h4",22),f.EFF(25),f.k0s(),f.j41(26,"span",23),f.EFF(27),f.nI1(28,"number"),f.DNE(29,P,2,0,"ng-container",24),f.k0s()(),f.j41(30,"div",21)(31,"h4",22),f.EFF(32,"Amount Received"),f.k0s(),f.j41(33,"span",25),f.DNE(34,$,3,2,"ng-container",24)(35,St,3,2,"ng-container",24),f.k0s()()(),f.nrm(36,"mat-divider",26),f.j41(37,"div",20)(38,"div",21)(39,"h4",22),f.EFF(40,"Date Expiry"),f.k0s(),f.j41(41,"span",23),f.EFF(42),f.nI1(43,"date"),f.k0s()(),f.j41(44,"div",21)(45,"h4",22),f.EFF(46,"Date Settled"),f.k0s(),f.j41(47,"span",23),f.EFF(48),f.nI1(49,"date"),f.k0s()()(),f.nrm(50,"mat-divider",26),f.j41(51,"div",20)(52,"div",27)(53,"h4",22),f.EFF(54,"Description"),f.k0s(),f.j41(55,"span",23),f.EFF(56),f.k0s()()(),f.nrm(57,"mat-divider",26),f.j41(58,"div",20)(59,"div",27)(60,"h4",22),f.EFF(61),f.k0s(),f.j41(62,"span",25),f.EFF(63),f.k0s()()(),f.DNE(64,ot,16,2,"div",24),f.j41(65,"div",28)(66,"button",29),f.bIt("click",function(){return O.eBV(Sn),O.Njj(Ft.onShowAdvanced())}),f.DNE(67,nt,2,0,"p",30)(68,ht,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(70,oe,2,1,"button",31)(71,Ye,2,0,"button",32),f.k0s()()()()()}if(2&cn){const Sn=f.sdS(69);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ft.invoice&&Ft.invoice.bolt11&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||null!=Ft.invoice&&Ft.invoice.bolt12&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(40,ce,Ft.screenSize===Ft.screenSizeEnum.XS||Ft.screenSize===Ft.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12)),f.R7$(4),f.Y8G("icon",Ft.faReceipt),f.R7$(2),f.SpI(" ",Ft.screenSize===Ft.screenSizeEnum.XS?Ft.newlyAdded?"Created":"Invoice":Ft.newlyAdded?"Invoice Created":"Invoice Information"," "),f.R7$(),f.Y8G("ngIf","paid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","expired"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(3),f.Y8G("ngClass",f.eq3(42,be,Ft.screenSize===Ft.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ft.invoice&&Ft.invoice.bolt11&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||null!=Ft.invoice&&Ft.invoice.bolt12&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(44,ce,Ft.screenSize!==Ft.screenSizeEnum.XS&&Ft.screenSize!==Ft.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ft.screenSize===Ft.screenSizeEnum.XS||Ft.screenSize===Ft.screenSizeEnum.SM),f.R7$(),f.Y8G("ngIf",null==Ft.invoice?null:Ft.invoice.warning_capacity),f.R7$(4),f.JRh(Ft.screenSize===Ft.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI(" ",f.bMT(28,32,(null==Ft.invoice?null:Ft.invoice.amount_msat)/1e3||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.amount_msat)||"0"===(null==Ft.invoice?null:Ft.invoice.amount_msat)||"any"===(null==Ft.invoice?null:Ft.invoice.amount_msat)),f.R7$(5),f.Y8G("ngIf","paid"===(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(),f.Y8G("ngIf","paid"!==(null==Ft.invoice?null:Ft.invoice.status)),f.R7$(7),f.JRh(f.i5U(43,34,1e3*(null==Ft.invoice?null:Ft.invoice.expires_at),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(49,37,1e3*(null==Ft.invoice?null:Ft.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),f.R7$(8),f.JRh((null==Ft.invoice?null:Ft.invoice.description)||"-"),f.R7$(5),f.SpI("",null!=Ft.invoice&&Ft.invoice.bolt12?"Bolt12":null!=Ft.invoice&&Ft.invoice.bolt11&&!Ft.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),f.R7$(2),f.JRh((null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ft.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(46,ne,!Ft.showAdvanced,Ft.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ft.showAdvanced)("ngIfElse",Sn),f.R7$(3),f.Y8G("ngIf",(null==Ft.invoice?null:Ft.invoice.bolt11)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt11)||(null==Ft.invoice?null:Ft.invoice.bolt12)&&""!==(null==Ft.invoice?null:Ft.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ft.invoice&&Ft.invoice.bolt11||null!=Ft.invoice&&Ft.invoice.bolt12))}},dependencies:[A.YU,A.Sq,A.bT,Pe.aY,le.$z,Ce.m2,Ce.MM,Ae.q,j.LG,W.DJ,W.sA,W.UI,G.PW,re.oV,xe.Um,Ee.U,V.N,A.QX,A.vh],encapsulation:2}))}return Qe(),gt})()},2142(Zt,pe,l){"use strict";l.d(pe,{f:()=>ve});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(2615),O=l(3664),f=l(8570),u=l(2571),L=l(5416),C=l(1534),B=l(2200),A=l(60),Pe=l(8834),le=l(5596),Ce=l(1997),Ae=l(2920),j=l(6038),W=l(8288),G=l(9157),re=l(9587);const xe=H=>({"display-none":H}),Ee=H=>({"xs-scroll-y":H}),V=(H,$)=>({"mt-2":H,"mt-1":$});function ce(H,$){if(1&H&&O.nrm(0,"qr-code",28),2&H){const Ke=O.XpG();O.Y8G("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)}}function be(H,$){1&H&&(O.j41(0,"span",29),O.EFF(1,"N/A"),O.k0s())}function ne(H,$){if(1&H&&O.nrm(0,"qr-code",28),2&H){const Ke=O.XpG();O.Y8G("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)}}function J(H,$){1&H&&(O.j41(0,"span",30),O.EFF(1,"QR Code Not Applicable"),O.k0s())}function De(H,$){1&H&&O.nrm(0,"mat-divider",31),2&H&&O.Y8G("inset",!0)}function Re(H,$){1&H&&O.nrm(0,"mat-divider",20)}function Xe(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",17)(2,"h4",18),O.EFF(3,"Used"),O.k0s(),O.j41(4,"span",19),O.EFF(5),O.k0s()(),O.j41(6,"div",17)(7,"h4",18),O.EFF(8,"Single Use"),O.k0s(),O.j41(9,"span",19),O.EFF(10),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.SpI(" ",null!=Ke.offer&&Ke.offer.used?null!=Ke.offer&&Ke.offer.used?"Yes":"No":"N/K"," "),O.R7$(5),O.SpI(" ",null!=Ke.offer&&Ke.offer.single_use?null!=Ke.offer&&Ke.offer.single_use?"Yes":"No":"N/K"," ")}}function _e(H,$){1&H&&O.nrm(0,"mat-divider",20)}function he(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",21)(2,"h4",18),O.EFF(3,"Issuer"),O.k0s(),O.j41(4,"span",34),O.EFF(5),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.JRh(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_issuer)}}function Dt(H,$){1&H&&O.nrm(0,"mat-divider",20)}function lt(H,$){if(1&H&&(O.j41(0,"div",16)(1,"div",21)(2,"h4",18),O.EFF(3,"Label"),O.k0s(),O.j41(4,"span",19),O.EFF(5),O.k0s()()()),2&H){const Ke=O.XpG(2);O.R7$(5),O.JRh(Ke.offer.label)}}function Le(H,$){if(1&H&&(O.j41(0,"div"),O.DNE(1,Re,1,0,"mat-divider",32)(2,Xe,11,2,"div",33)(3,_e,1,0,"mat-divider",32)(4,he,6,1,"div",33)(5,Dt,1,0,"mat-divider",32)(6,lt,6,1,"div",33),O.nrm(7,"mat-divider",20),O.j41(8,"div",16)(9,"div",21)(10,"h4",18),O.EFF(11,"Offer ID"),O.k0s(),O.j41(12,"span",19),O.EFF(13),O.k0s()()(),O.nrm(14,"mat-divider",20),O.j41(15,"div",16)(16,"div",21)(17,"h4",18),O.EFF(18,"Offer Node ID"),O.k0s(),O.j41(19,"span",19),O.EFF(20),O.k0s()()(),O.nrm(21,"mat-divider",20),O.k0s()),2&H){const Ke=O.XpG();O.R7$(),O.Y8G("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),O.R7$(),O.Y8G("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),O.R7$(),O.Y8G("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),O.R7$(),O.Y8G("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),O.R7$(),O.Y8G("ngIf",Ke.offer.label),O.R7$(),O.Y8G("ngIf",Ke.offer.label),O.R7$(7),O.JRh(Ke.offerDecoded.offer_id),O.R7$(7),O.JRh(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_node_id)}}function te(H,$){1&H&&(O.j41(0,"p"),O.EFF(1,"Show Advanced"),O.k0s())}function ie(H,$){1&H&&(O.j41(0,"p"),O.EFF(1,"Hide Advanced"),O.k0s())}function P(H,$){if(1&H){const Ke=O.RV6();O.j41(0,"button",35),O.bIt("copied",function(St){e.eBV(Ke);const ot=O.XpG();return e.Njj(ot.onCopyOffer(St))}),O.EFF(1,"Copy Offer"),O.k0s()}if(2&H){const Ke=O.XpG();O.Y8G("payload",null==Ke.offer?null:Ke.offer.bolt12)}}function F(H,$){if(1&H){const Ke=O.RV6();O.j41(0,"button",36),O.bIt("click",function(){e.eBV(Ke);const St=O.XpG();return e.Njj(St.onClose())}),O.EFF(1,"OK"),O.k0s()}}let ve=(()=>{var H;class ${constructor(Vt,St,ot,nt,ht,oe){this.dialogRef=Vt,this.data=St,this.logger=ot,this.commonService=nt,this.snackBar=ht,this.dataService=oe,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgOfferPaid=!1,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,T.Q)(this.unSubs[1])).subscribe(Vt=>{this.offerDecoded=Vt,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Vt){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Vt)}ngOnDestroy(){this.unSubs.forEach(Vt=>{Vt.next(null),Vt.complete()})}static#e=H=()=>(this.\u0275fac=function(St){return new(St||$)(O.rXU(i.CP),O.rXU(i.Vh),O.rXU(f.gP),O.rXU(u.h),O.rXU(L.UG),O.rXU(C.u))},this.\u0275cmp=O.VBU({type:$,selectors:[["rtl-cln-offer-information"]],standalone:!1,decls:52,vars:33,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(St,ot){if(1&St){const nt=O.RV6();O.j41(0,"div",1)(1,"div",2),O.DNE(2,ce,1,2,"qr-code",3)(3,be,2,0,"span",4),O.k0s(),O.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),O.nrm(7,"fa-icon",8),O.j41(8,"span",9),O.EFF(9),O.k0s()(),O.j41(10,"button",10),O.bIt("click",function(){return e.eBV(nt),e.Njj(ot.onClose())}),O.EFF(11,"X"),O.k0s()(),O.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),O.DNE(15,ne,1,2,"qr-code",3)(16,J,2,0,"span",14),O.k0s(),O.DNE(17,De,1,1,"mat-divider",15),O.j41(18,"div",16)(19,"div",17)(20,"h4",18),O.EFF(21,"Amount Requested (Sats)"),O.k0s(),O.j41(22,"span",19),O.EFF(23),O.nI1(24,"number"),O.k0s()(),O.j41(25,"div",17)(26,"h4",18),O.EFF(27,"Valid"),O.k0s(),O.j41(28,"span",19),O.EFF(29),O.k0s()()(),O.nrm(30,"mat-divider",20),O.j41(31,"div",16)(32,"div",21)(33,"h4",18),O.EFF(34,"Description"),O.k0s(),O.j41(35,"span",19),O.EFF(36),O.k0s()()(),O.nrm(37,"mat-divider",20),O.j41(38,"div",16)(39,"div",21)(40,"h4",18),O.EFF(41,"Offer"),O.k0s(),O.j41(42,"span",19),O.EFF(43),O.k0s()()(),O.DNE(44,Le,22,8,"div",22),O.j41(45,"div",23)(46,"button",24),O.bIt("click",function(){return e.eBV(nt),e.Njj(ot.onShowAdvanced())}),O.DNE(47,te,2,0,"p",25)(48,ie,2,0,"ng-template",null,0,O.C5r),O.k0s(),O.DNE(50,P,2,1,"button",26)(51,F,2,0,"button",27),O.k0s()()()()()}if(2&St){const nt=O.sdS(49);O.R7$(),O.Y8G("fxLayoutAlign",null!=ot.offer&&ot.offer.bolt12&&""!==(null==ot.offer?null:ot.offer.bolt12)?"center start":"center center")("ngClass",O.eq3(24,xe,ot.screenSize===ot.screenSizeEnum.XS||ot.screenSize===ot.screenSizeEnum.SM)),O.R7$(),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12)),O.R7$(4),O.Y8G("icon",ot.faReceipt),O.R7$(2),O.JRh(ot.screenSize===ot.screenSizeEnum.XS?ot.newlyAdded?"Created":"Offer":ot.newlyAdded?"Offer Created":"Offer Information"),O.R7$(3),O.Y8G("ngClass",O.eq3(26,Ee,ot.screenSize===ot.screenSizeEnum.XS)),O.R7$(2),O.Y8G("fxLayoutAlign",null!=ot.offer&&ot.offer.bolt12&&""!==(null==ot.offer?null:ot.offer.bolt12)?"center start":"center center")("ngClass",O.eq3(28,xe,ot.screenSize!==ot.screenSizeEnum.XS&&ot.screenSize!==ot.screenSizeEnum.SM)),O.R7$(),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",ot.screenSize===ot.screenSizeEnum.XS||ot.screenSize===ot.screenSizeEnum.SM),O.R7$(6),O.SpI(" ",null!=ot.offerDecoded&&ot.offerDecoded.offer_amount_msat&&0!==(null==ot.offerDecoded?null:ot.offerDecoded.offer_amount_msat)?O.bMT(24,22,(null==ot.offerDecoded?null:ot.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),O.R7$(6),O.SpI(" ",null!=ot.offerDecoded&&ot.offerDecoded.valid?null!=ot.offerDecoded&&ot.offerDecoded.valid?"Yes":"No":"N/K"," "),O.R7$(7),O.SpI(" ",null==ot.offerDecoded?null:ot.offerDecoded.offer_description," "),O.R7$(7),O.JRh(null==ot.offer?null:ot.offer.bolt12),O.R7$(),O.Y8G("ngIf",ot.showAdvanced),O.R7$(),O.Y8G("ngClass",O.l_i(30,V,!ot.showAdvanced,ot.showAdvanced)),O.R7$(2),O.Y8G("ngIf",!ot.showAdvanced)("ngIfElse",nt),O.R7$(3),O.Y8G("ngIf",(null==ot.offer?null:ot.offer.bolt12)&&""!==(null==ot.offer?null:ot.offer.bolt12)),O.R7$(),O.Y8G("ngIf",!(null!=ot.offer&&ot.offer.bolt12)||""===(null==ot.offer?null:ot.offer.bolt12))}},dependencies:[B.YU,B.bT,A.aY,Pe.$z,le.m2,le.MM,Ce.q,Ae.DJ,Ae.sA,Ae.UI,j.PW,W.Um,G.U,re.N,B.QX],encapsulation:2}))}return H(),$})()},5428(Zt,pe,l){"use strict";l.d(pe,{$6:()=>Ke,$Q:()=>B,As:()=>F,CK:()=>he,Do:()=>$,Dq:()=>ot,Fd:()=>te,Gy:()=>G,Hh:()=>T,Hm:()=>Le,I6:()=>le,Jx:()=>St,Lc:()=>ce,Lz:()=>ve,N4:()=>ie,N8:()=>j,NS:()=>e,Qj:()=>re,Sn:()=>O,T4:()=>lt,Tp:()=>A,Uj:()=>Dt,Uo:()=>C,XT:()=>ne,Xx:()=>Ae,Yi:()=>ht,ZE:()=>W,Zi:()=>be,cR:()=>_e,cU:()=>Pe,fy:()=>Re,gZ:()=>Ye,iO:()=>Vt,jJ:()=>Ce,lg:()=>w,mh:()=>P,sq:()=>xe,uL:()=>v,vL:()=>De,w0:()=>Xe,x1:()=>u,yn:()=>fe,yp:()=>L,zR:()=>f,zU:()=>nt});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.Uu.UPDATE_API_CALL_STATUS_ECL,(0,i.xk)()),T=(0,i.VP)(d.Uu.RESET_ECL_STORE),w=(0,i.VP)(d.Uu.FETCH_PAGE_SETTINGS_ECL),e=(0,i.VP)(d.Uu.SET_PAGE_SETTINGS_ECL,(0,i.xk)()),O=(0,i.VP)(d.Uu.SAVE_PAGE_SETTINGS_ECL,(0,i.xk)()),f=(0,i.VP)(d.Uu.FETCH_INFO_ECL,(0,i.xk)()),u=(0,i.VP)(d.Uu.SET_INFO_ECL,(0,i.xk)()),L=(0,i.VP)(d.Uu.FETCH_FEES_ECL),C=(0,i.VP)(d.Uu.SET_FEES_ECL,(0,i.xk)()),B=(0,i.VP)(d.Uu.FETCH_CHANNELS_ECL),A=(0,i.VP)(d.Uu.SET_ACTIVE_CHANNELS_ECL,(0,i.xk)()),Pe=(0,i.VP)(d.Uu.SET_PENDING_CHANNELS_ECL,(0,i.xk)()),le=(0,i.VP)(d.Uu.SET_INACTIVE_CHANNELS_ECL,(0,i.xk)()),Ce=(0,i.VP)(d.Uu.FETCH_ONCHAIN_BALANCE_ECL),Ae=(0,i.VP)(d.Uu.SET_ONCHAIN_BALANCE_ECL,(0,i.xk)()),j=(0,i.VP)(d.Uu.SET_LIGHTNING_BALANCE_ECL,(0,i.xk)()),W=(0,i.VP)(d.Uu.SET_CHANNELS_STATUS_ECL,(0,i.xk)()),G=(0,i.VP)(d.Uu.FETCH_PEERS_ECL),re=(0,i.VP)(d.Uu.SET_PEERS_ECL,(0,i.xk)()),xe=(0,i.VP)(d.Uu.SAVE_NEW_PEER_ECL,(0,i.xk)()),ce=((0,i.VP)(d.Uu.NEWLY_ADDED_PEER_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.ADD_PEER_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.DETACH_PEER_ECL,(0,i.xk)())),be=(0,i.VP)(d.Uu.REMOVE_PEER_ECL,(0,i.xk)()),ne=(0,i.VP)(d.Uu.GET_NEW_ADDRESS_ECL),De=((0,i.VP)(d.Uu.SET_NEW_ADDRESS_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.SAVE_NEW_CHANNEL_ECL,(0,i.xk)())),Re=(0,i.VP)(d.Uu.UPDATE_CHANNEL_ECL,(0,i.xk)()),Xe=(0,i.VP)(d.Uu.CLOSE_CHANNEL_ECL,(0,i.xk)()),_e=(0,i.VP)(d.Uu.REMOVE_CHANNEL_ECL,(0,i.xk)()),he=(0,i.VP)(d.Uu.FETCH_PAYMENTS_ECL,(0,i.xk)()),Dt=(0,i.VP)(d.Uu.SET_PAYMENTS_ECL,(0,i.xk)()),lt=(0,i.VP)(d.Uu.GET_QUERY_ROUTES_ECL,(0,i.xk)()),Le=(0,i.VP)(d.Uu.SET_QUERY_ROUTES_ECL,(0,i.xk)()),te=(0,i.VP)(d.Uu.SEND_PAYMENT_ECL,(0,i.xk)()),ie=(0,i.VP)(d.Uu.SEND_PAYMENT_STATUS_ECL,(0,i.xk)()),P=(0,i.VP)(d.Uu.FETCH_TRANSACTIONS_ECL,(0,i.xk)()),F=(0,i.VP)(d.Uu.SET_TRANSACTIONS_ECL,(0,i.xk)()),ve=(0,i.VP)(d.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,i.xk)()),$=((0,i.VP)(d.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.FETCH_INVOICES_ECL,(0,i.xk)())),Ke=(0,i.VP)(d.Uu.SET_INVOICES_ECL,(0,i.xk)()),Vt=(0,i.VP)(d.Uu.CREATE_INVOICE_ECL,(0,i.xk)()),St=(0,i.VP)(d.Uu.ADD_INVOICE_ECL,(0,i.xk)()),ot=(0,i.VP)(d.Uu.UPDATE_INVOICE_ECL,(0,i.xk)()),nt=(0,i.VP)(d.Uu.PEER_LOOKUP_ECL,(0,i.xk)()),ht=(0,i.VP)(d.Uu.INVOICE_LOOKUP_ECL,(0,i.xk)()),Ye=((0,i.VP)(d.Uu.SET_LOOKUP_ECL,(0,i.xk)()),(0,i.VP)(d.Uu.UPDATE_CHANNEL_STATE_ECL,(0,i.xk)())),fe=(0,i.VP)(d.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,i.xk)())},3017(Zt,pe,l){"use strict";l.d(pe,{B:()=>Ee});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(2462),u=l(4416),L=l(1771),C=l(6439),B=l(5428),A=l(2730),Pe=l(2615),le=l(9330),Ce=l(9640),Ae=l(3202),j=l(2571),W=l(8570),G=l(3694),re=l(7879),xe=l(7303);let Ee=(()=>{var V;class ce{constructor(ne,J,De,Re,Xe,_e,he,Dt,lt){this.actions=ne,this.httpClient=J,this.store=De,this.sessionService=Re,this.commonService=Xe,this.logger=_e,this.router=he,this.wsService=Dt,this.location=lt,this.CHILD_API_URL=u.H$+"/ecl",this.invoicesPageSettings=u.X8.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"invoices"===Le.tableId),this.paymentsPageSettings=u.X8.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"payments"===Le.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new d.B,new d.B,new d.B],this.infoFetchECL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_INFO_ECL),(0,e.Z)(Le=>(this.flgInitialized=!1,this.store.dispatch((0,L.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,L.mt)({payload:u.MZ.GET_NODE_INFO})),this.store.dispatch((0,B.uL)({payload:{action:"FetchInfo",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(u.aU.SET_SELECTED_NODE))),(0,w.T)(te=>(this.logger.info(te),this.initializeRemainingData(te,Le.payload.loadPage),this.store.dispatch((0,B.uL)({payload:{action:"FetchInfo",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.GET_NODE_INFO})),{type:u.Uu.SET_INFO_ECL,payload:te||{}})),(0,T.W)(te=>{const ie=this.commonService.extractErrorCode(te),P=503===ie?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(te);return this.router.navigate(["/error"],{state:{errorCode:ie,errorMessage:P}}),this.handleErrorWithoutAlert("FetchInfo",u.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ie,error:P}),(0,v.of)({type:u.aU.VOID})})))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_FEES_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchFees",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.FEES_API+"/fees").pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchFees",status:u.wn.COMPLETED}})),{type:u.Uu.SET_FEES_ECL,payload:Le||{}})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchFees",u.MZ.NO_SPINNER,"Fetching Fees Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.fetchPayments=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PAYMENTS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPayments",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.FEES_API+"/payments?count="+Le.payload.count+"&skip="+Le.payload.skip).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"FetchPayments",status:u.wn.COMPLETED}})),{type:u.Uu.SET_PAYMENTS_ECL,payload:te||{}})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchPayments",u.MZ.NO_SPINNER,"Fetching Payments Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_CHANNELS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchChannels",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.CHANNELS_API).pipe((0,w.T)(te=>(this.logger.info(te),this.rawChannelsList=te,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,B.uL)({payload:{action:"FetchChannels",status:u.wn.COMPLETED}})),{type:u.aU.VOID})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchChannels",u.MZ.NO_SPINNER,"Fetching Channels Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.fetchOnchainBalance=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchOnchainBalance",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API+"/balance"))),(0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchOnchainBalance",status:u.wn.COMPLETED}})),{type:u.Uu.SET_ONCHAIN_BALANCE_ECL,payload:Le||{}})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchOnchainBalance",u.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",Le),(0,v.of)({type:u.aU.VOID}))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PEERS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPeers",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.PEERS_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchPeers",status:u.wn.COMPLETED}})),{type:u.Uu.SET_PEERS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchPeers",u.MZ.NO_SPINNER,"Fetching Peers Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.GET_NEW_ADDRESS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,L.mt)({payload:u.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,L.y0)({payload:u.MZ.GENERATE_NEW_ADDRESS})),{type:u.Uu.SET_NEW_ADDRESS_ECL,payload:Le})),(0,T.W)(Le=>(this.handleErrorWithAlert("GetNewAddress",u.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+u.rl.ON_CHAIN_API,Le),(0,v.of)({type:u.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_NEW_ADDRESS_ECL),(0,w.T)(Le=>(this.logger.info(Le.payload),Le.payload))),{dispatch:!1}),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_NEW_PEER_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.CONNECT_PEER})),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewPeer",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.PEERS_API+(Le.payload.id.includes("@")?"?uri=":"?nodeId=")+Le.payload.id,{}).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewPeer",status:u.wn.COMPLETED}})),te=te||[],this.store.dispatch((0,L.y0)({payload:u.MZ.CONNECT_PEER})),this.store.dispatch((0,B.Qj)({payload:te})),{type:u.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:te.find(ie=>ie.nodeId===(Le.payload.id.includes("@")?Le.payload.id.substring(0,Le.payload.id.indexOf("@")):Le.payload.id))}})),(0,T.W)(te=>(this.handleErrorWithoutAlert("SaveNewPeer",u.MZ.CONNECT_PEER,"Peer Connection Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.DETACH_PEER_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+u.rl.PEERS_API+"/"+Le.payload.nodeId).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,L.y0)({payload:u.MZ.DISCONNECT_PEER})),this.store.dispatch((0,L.UI)({payload:"Disconnecting Peer!"})),{type:u.Uu.REMOVE_PEER_ECL,payload:{nodeId:Le.payload.nodeId}})),(0,T.W)(te=>(this.handleErrorWithAlert("DisconnectPeer",u.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+u.rl.PEERS_API+"/"+Le.payload.nodeId,te),(0,v.of)({type:u.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_NEW_CHANNEL_ECL),(0,e.Z)(Le=>{this.store.dispatch((0,L.mt)({payload:u.MZ.OPEN_CHANNEL})),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewChannel",status:u.wn.INITIATED}}));const te={nodeId:Le.payload.nodeId,fundingSatoshis:Le.payload.amount,announceChannel:!Le.payload.private};return Le.payload.feeRate&&Le.payload.feeRate>0&&(te.fundingFeerateSatByte=Le.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+u.rl.CHANNELS_API,te).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,B.uL)({payload:{action:"SaveNewChannel",status:u.wn.COMPLETED}})),this.store.dispatch((0,B.Gy)()),this.store.dispatch((0,B.jJ)()),this.store.dispatch((0,L.y0)({payload:u.MZ.OPEN_CHANNEL})),this.store.dispatch((0,L.UI)({payload:"Channel Added Successfully!"})),{type:u.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,T.W)(ie=>(this.handleErrorWithoutAlert("SaveNewChannel",u.MZ.OPEN_CHANNEL,"Opening Channel Failed.",ie),(0,v.of)({type:u.aU.VOID}))))}))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.UPDATE_CHANNEL_ECL),(0,e.Z)(Le=>{this.store.dispatch((0,L.mt)({payload:u.MZ.UPDATE_CHAN_POLICY}));let te="?feeBaseMsat="+Le.payload.baseFeeMsat+"&feeProportionalMillionths="+Le.payload.feeRate;return te=Le.payload.nodeIds?te+"&nodeIds="+Le.payload.nodeIds:Le.payload.nodeId?te+"&nodeId="+Le.payload.nodeId:Le.payload.channelIds?te+"&channelIds="+Le.payload.channelIds:te+"&channelId="+Le.payload.channelId,this.httpClient.post(this.CHILD_API_URL+u.rl.CHANNELS_API+"/updateRelayFee"+te,{}).pipe((0,w.T)(ie=>(this.logger.info(ie),this.store.dispatch((0,L.y0)({payload:u.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,L.UI)(Le.payload.nodeIds||Le.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:u.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,T.W)(ie=>(this.handleErrorWithAlert("UpdateChannels",u.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+u.rl.CHANNELS_API,ie),(0,v.of)({type:u.aU.VOID}))))}))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.CLOSE_CHANNEL_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+u.rl.CHANNELS_API+"?channelId="+Le.payload.channelId+"&force="+Le.payload.force).pipe((0,w.T)(te=>(this.logger.info(te),setTimeout(()=>{this.store.dispatch((0,L.y0)({payload:Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,L.UI)({payload:Le.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:u.aU.VOID})),(0,T.W)(te=>(this.handleErrorWithAlert("CloseChannel",Le.payload.force?u.MZ.FORCE_CLOSE_CHANNEL:u.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+u.rl.CHANNELS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.GET_QUERY_ROUTES_ECL),(0,e.Z)(Le=>this.httpClient.get(this.CHILD_API_URL+u.rl.PAYMENTS_API+"/route?nodeId="+Le.payload.nodeId+"&amountMsat="+Le.payload.amount).pipe((0,w.T)(te=>(this.logger.info(te),{type:u.Uu.SET_QUERY_ROUTES_ECL,payload:te})),(0,T.W)(te=>(this.store.dispatch((0,B.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",u.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+u.rl.PAYMENTS_API+"/route?nodeId="+Le.payload.nodeId+"&amountMsat="+Le.payload.amount,te),(0,v.of)({type:u.aU.VOID}))))))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_QUERY_ROUTES_ECL),(0,w.T)(Le=>Le.payload)),{dispatch:!1}),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SEND_PAYMENT_ECL),(0,e.Z)(Le=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,L.mt)({payload:u.MZ.SEND_PAYMENT})),this.store.dispatch((0,B.uL)({payload:{action:"SendPayment",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.PAYMENTS_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.latestPaymentRes=te,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:u.aU.VOID})),(0,T.W)(te=>(this.logger.error("Error: "+JSON.stringify(te)),Le.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",u.MZ.SEND_PAYMENT,"Send Payment Failed.",te):this.handleErrorWithAlert("SendPayment",u.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+u.rl.PAYMENTS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_TRANSACTIONS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchTransactions",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.ON_CHAIN_API+"/transactions?count="+Le.payload.count+"&skip="+Le.payload.skip))),(0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchTransactions",status:u.wn.COMPLETED}})),{type:u.Uu.SET_TRANSACTIONS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchTransactions",u.MZ.NO_SPINNER,"Fetching Transactions Failed.",Le),(0,v.of)({type:u.aU.VOID}))))),this.SendOnchainFunds=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEND_FUNDS})),this.store.dispatch((0,B.uL)({payload:{action:"SendOnchainFunds",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.ON_CHAIN_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SendOnchainFunds",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEND_FUNDS})),this.store.dispatch((0,B.jJ)()),{type:u.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("SendOnchainFunds",u.MZ.SEND_FUNDS,"Sending Fund Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.createInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.CREATE_INVOICE_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.CREATE_INVOICE})),this.store.dispatch((0,B.uL)({payload:{action:"CreateInvoice",status:u.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+u.rl.INVOICES_API,Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"CreateInvoice",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.CREATE_INVOICE})),te.timestamp=Math.round((new Date).getTime()/1e3),te.expiresAt=Math.round(te.timestamp+Le.payload.expireIn),te.description=Le.payload.description,te.status="unpaid",setTimeout(()=>{this.store.dispatch((0,L.xO)({payload:{data:{invoice:te,newlyAdded:!0,component:C.Z}}}))},200),{type:u.Uu.ADD_INVOICE_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("CreateInvoice",u.MZ.CREATE_INVOICE,"Create Invoice Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_INVOICES_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchInvoices",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.INVOICES_API+"?count="+Le.payload.count+"&skip="+Le.payload.skip).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"FetchInvoices",status:u.wn.COMPLETED}})),{type:u.Uu.SET_INVOICES_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("FetchInvoices",u.MZ.NO_SPINNER,"Fetching Invoices Failed.",te),(0,v.of)({type:u.aU.VOID})))))))),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.PEER_LOOKUP_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEARCHING_NODE})),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.NETWORK_API+"/nodes/"+Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEARCHING_NODE})),{type:u.Uu.SET_LOOKUP_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithAlert("Lookup",u.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+u.rl.NETWORK_API+"/nodes/"+Le.payload,te),(0,v.of)({type:u.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.INVOICE_LOOKUP_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+u.rl.INVOICES_API+"/"+Le.payload).pipe((0,w.T)(te=>(this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"Lookup",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,B.Dq)({payload:te})),{type:u.Uu.SET_LOOKUP_ECL,payload:te})),(0,T.W)(te=>(this.handleErrorWithoutAlert("Lookup",u.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",te),this.store.dispatch((0,L.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:u.aU.VOID})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SET_LOOKUP_ECL),(0,w.T)(Le=>(this.logger.info(Le.payload),Le.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.FETCH_PAGE_SETTINGS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,B.uL)({payload:{action:"FetchPageSettings",status:u.wn.INITIATED}})),this.httpClient.get(u.rl.PAGE_SETTINGS_API).pipe((0,w.T)(Le=>(this.logger.info(Le),this.store.dispatch((0,B.uL)({payload:{action:"FetchPageSettings",status:u.wn.COMPLETED}})),this.invoicesPageSettings=Le&&Object.keys(Le).length>0?Le.find(te=>"transactions"===te.pageId)?.tables.find(te=>"invoices"===te.tableId):u.X8.find(te=>"transactions"===te.pageId)?.tables.find(te=>"invoices"===te.tableId),this.paymentsPageSettings=Le&&Object.keys(Le).length>0?Le.find(te=>"transactions"===te.pageId)?.tables.find(te=>"payments"===te.tableId):u.X8.find(te=>"transactions"===te.pageId)?.tables.find(te=>"payments"===te.tableId),{type:u.Uu.SET_PAGE_SETTINGS_ECL,payload:Le||[]})),(0,T.W)(Le=>(this.handleErrorWithoutAlert("FetchPageSettings",u.MZ.NO_SPINNER,"Fetching Page Settings Failed.",Le),(0,v.of)({type:u.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(u.Uu.SAVE_PAGE_SETTINGS_ECL),(0,e.Z)(Le=>(this.store.dispatch((0,L.mt)({payload:u.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.uL)({payload:{action:"SavePageSettings",status:u.wn.INITIATED}})),this.httpClient.post(u.rl.PAGE_SETTINGS_API,Le.payload).pipe((0,w.T)(te=>{this.logger.info(te),this.store.dispatch((0,B.uL)({payload:{action:"SavePageSettings",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,L.UI)({payload:"Page Layout Updated Successfully!"}));const ie=(te.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId)||u.X8.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId))?.recordsPerPage,P=(te.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId)||u.X8.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId))?.recordsPerPage;return this.invoicesPageSettings&&ie!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ie),this.paymentsPageSettings&&P!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=P),{type:u.Uu.SET_PAGE_SETTINGS_ECL,payload:te||[]}}),(0,T.W)(te=>(this.handleErrorWithAlert("SavePageSettings",u.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",u.rl.PAGE_SETTINGS_API,te),(0,v.of)({type:u.aU.VOID})))))))),this.handleSendPaymentStatus=Le=>{this.store.dispatch((0,B.uL)({payload:{action:"SendPayment",status:u.wn.COMPLETED}})),this.store.dispatch((0,L.y0)({payload:u.MZ.SEND_PAYMENT})),this.store.dispatch((0,B.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,L.UI)({payload:Le}))},this.store.select(A.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(Le=>{Le.FetchInfo.status!==u.wn.COMPLETED&&Le.FetchInfo.status!==u.wn.ERROR||Le.FetchFees.status!==u.wn.COMPLETED&&Le.FetchFees.status!==u.wn.ERROR||Le.FetchOnchainBalance.status!==u.wn.COMPLETED&&Le.FetchOnchainBalance.status!==u.wn.ERROR||Le.FetchChannels.status!==u.wn.COMPLETED&&Le.FetchChannels.status!==u.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,L.y0)({payload:u.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(Le=>{this.logger.info("Received new message from the service: "+JSON.stringify(Le));let te="";if(Le)switch(Le.type){case u.ck.PAYMENT_SENT:Le&&Le.id&&this.latestPaymentRes===Le.id&&(this.flgReceivedPaymentUpdateFromWS=!0,te="Payment Sent: "+(Le.paymentHash?"with payment hash "+Le.paymentHash:JSON.stringify(Le)),this.handleSendPaymentStatus(te));break;case u.ck.PAYMENT_FAILED:Le&&Le.id&&this.latestPaymentRes===Le.id&&(this.flgReceivedPaymentUpdateFromWS=!0,te="Payment Failed: "+(Le.failures&&Le.failures.length&&Le.failures.length>0&&Le.failures[0].t?Le.failures[0].t:Le.failures&&Le.failures.length&&Le.failures.length>0&&Le.failures[0].e&&Le.failures[0].e.failureMessage?Le.failures[0].e.failureMessage:JSON.stringify(Le)),this.handleSendPaymentStatus(te));break;case u.ck.PAYMENT_RECEIVED:this.store.dispatch((0,B.Dq)({payload:Le}));break;case u.ck.PAYMENT_RELAYED:delete Le.source,Le.amountIn=Math.round((Le.amountIn||0)/1e3),Le.amountOut=Math.round((Le.amountOut||0)/1e3),Le.timestamp.unix&&(Le.timestamp=1e3*Le.timestamp.unix),this.store.dispatch((0,B.yn)({payload:Le}));break;case u.ck.CHANNEL_STATE_CHANGED:"NORMAL"===Le.currentState||"CLOSED"===Le.currentState?(this.rawChannelsList=this.rawChannelsList?.map(ie=>(ie.channelId===Le.channelId&&ie.nodeId===Le.remoteNodeId&&(ie.state=Le.currentState),ie)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,B.gZ)({payload:Le}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(Le))}})}setChannelsAndStatusAndBalances(){let ne=0,J=0,De=0,Re={localBalance:0,remoteBalance:0},Xe=[];const _e=[],he=[],Dt={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((lt,Le)=>{lt&&("NORMAL"===lt.state?(ne=(lt.toLocal||0)+(lt.toRemote||0),J+=lt.toLocal||0,De+=lt.toRemote||0,lt.balancedness=0===ne?1:+(1-Math.abs(((lt.toLocal||0)-(lt.toRemote||0))/ne)).toFixed(3),Xe.push(lt),Dt.active.channels=Dt.active.channels+1,Dt.active.capacity=Dt.active.capacity+(lt.toLocal||0)):lt.state?.includes("WAIT")||lt.state?.includes("CLOSING")||lt.state?.includes("SYNCING")?(lt.state=lt.state?.replace(/_/g," "),_e.push(lt),Dt.pending.channels=Dt.pending.channels+1,Dt.pending.capacity=Dt.pending.capacity+(lt.toLocal||0)):(lt.state=lt.state?.replace(/_/g," "),he.push(lt),Dt.inactive.channels=Dt.inactive.channels+1,Dt.inactive.capacity=Dt.inactive.capacity+(lt.toLocal||0)))}),Re={localBalance:J,remoteBalance:De},Xe=this.commonService.sortDescByKey(Xe,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(Xe)),this.logger.info("Pending Channels: "+JSON.stringify(_e)),this.logger.info("Inactive Channels: "+JSON.stringify(he)),this.logger.info("Lightning Balances: "+JSON.stringify(Re)),this.logger.info("Channels Status: "+JSON.stringify(Dt)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:Xe,pending:_e,inactive:he,balances:Re,status:Dt})),this.store.dispatch((0,B.Tp)({payload:Xe})),this.store.dispatch((0,B.cU)({payload:_e})),this.store.dispatch((0,B.I6)({payload:he})),this.store.dispatch((0,B.N8)({payload:Re})),this.store.dispatch((0,B.ZE)({payload:Dt}))}initializeRemainingData(ne,J){this.sessionService.setItem("eclUnlocked","true");const De={identity_pubkey:ne.nodeId,alias:ne.alias,testnet:"testnet"===ne.network,chains:ne.publicAddresses,uris:ne.uris,version:ne.version,numberOfPendingChannels:0};this.store.dispatch((0,L.mt)({payload:u.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,L.Fl)({payload:De}));let Re=this.location.path();Re.includes("/lnd/")?Re=Re?.replace("/lnd/","/ecl/"):Re.includes("/cln/")&&(Re=Re?.replace("/cln/","/ecl/")),(Re.includes("/login")||Re.includes("/error")||""===Re||"HOME"===J||Re.includes("?access-key="))&&(Re="/ecl/home"),this.router.navigate([Re]),this.store.dispatch((0,B.$Q)()),this.store.dispatch((0,B.yp)()),this.store.dispatch((0,B.jJ)()),this.store.dispatch((0,B.Gy)())}handleErrorWithoutAlert(ne,J,De,Re){this.logger.error("ERROR IN: "+ne+"\n"+JSON.stringify(Re)),401===Re.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.Jh)()),this.store.dispatch((0,L.ri)({payload:"Authentication Failed: "+JSON.stringify(Re.error)}))):(this.store.dispatch((0,L.y0)({payload:J})),this.store.dispatch((0,B.uL)({payload:{action:ne,status:u.wn.ERROR,statusCode:Re.status.toString(),message:this.commonService.extractErrorMessage(Re,De)}})))}handleErrorWithAlert(ne,J,De,Re,Xe){if(this.logger.error(Xe),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.Jh)()),this.store.dispatch((0,L.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,L.y0)({payload:J}));const _e=this.commonService.extractErrorMessage(Xe);this.store.dispatch((0,L.xO)({payload:{data:{type:"ERROR",alertTitle:De,message:{code:Xe.status,message:_e,URL:Re},component:f.f}}})),this.store.dispatch((0,B.uL)({payload:{action:ne,status:u.wn.ERROR,statusCode:Xe.status.toString(),message:_e,URL:Re}}))}}ngOnDestroy(){this.unSubs.forEach(ne=>{ne.next(null),ne.complete()})}static#e=V=()=>(this.\u0275fac=function(J){return new(J||ce)(Pe.KVO(i.En),Pe.KVO(le.Qq),Pe.KVO(Ce.il),Pe.KVO(Ae.Q),Pe.KVO(j.h),Pe.KVO(W.gP),Pe.KVO(G.Ix),Pe.KVO(re.I),Pe.KVO(xe.aZ))},this.\u0275prov=Pe.jDH({token:ce,factory:ce.\u0275fac}))}return V(),ce})()},2730(Zt,pe,l){"use strict";l.d(pe,{DW:()=>Ae,KT:()=>f,Ou:()=>A,b_:()=>w,gN:()=>Pe,jZ:()=>v,oR:()=>u,os:()=>Ce,p3:()=>T,rN:()=>le,ru:()=>O});var i=l(9640);const d=(0,i.UX)("ecl"),v=(0,i.Mz)(d,j=>({pageSettings:j.pageSettings,apiCallStatus:j.apisCallStatus.FetchPageSettings})),T=(0,i.Mz)(d,j=>j.information),w=(0,i.Mz)(d,j=>({information:j.information,apiCallStatus:j.apisCallStatus.FetchInfo})),O=((0,i.Mz)(d,j=>j.apisCallStatus.FetchInfo),(0,i.Mz)(d,j=>j.apisCallStatus)),f=(0,i.Mz)(d,j=>({payments:j.payments,apiCallStatus:j.apisCallStatus.FetchPayments})),u=(0,i.Mz)(d,j=>({fees:j.fees,apiCallStatus:j.apisCallStatus.FetchFees})),A=((0,i.Mz)(d,j=>({activeChannels:j.activeChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({pendingChannels:j.pendingChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({inactiveChannels:j.inactiveChannels,apiCallStatus:j.apisCallStatus.FetchChannels})),(0,i.Mz)(d,j=>({activeChannels:j.activeChannels,pendingChannels:j.pendingChannels,inactiveChannels:j.inactiveChannels,lightningBalance:j.lightningBalance,channelsStatus:j.channelsStatus,apiCallStatus:j.apisCallStatus.FetchChannels}))),Pe=(0,i.Mz)(d,j=>({transactions:j.transactions,apiCallStatus:j.apisCallStatus.FetchTransactions})),le=(0,i.Mz)(d,j=>({invoices:j.invoices,apiCallStatus:j.apisCallStatus.FetchInvoices})),Ce=(0,i.Mz)(d,j=>({peers:j.peers,apiCallStatus:j.apisCallStatus.FetchPeers})),Ae=(0,i.Mz)(d,j=>({onchainBalance:j.onchainBalance,apiCallStatus:j.apisCallStatus.FetchOnchainBalance}))},6439(Zt,pe,l){"use strict";l.d(pe,{Z:()=>St});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(2730),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(1997),j=l(9183),W=l(2920),G=l(6038),re=l(8288),xe=l(9157),Ee=l(9587);const V=ot=>({"display-none":ot}),ce=ot=>({"xs-scroll-y":ot}),be=(ot,nt)=>({"mt-2":ot,"mt-1":nt}),ne=()=>[];function J(ot,nt){if(1&ot&&f.nrm(0,"qr-code",29),2&ot){const ht=f.XpG();f.Y8G("value",null==ht.invoice?null:ht.invoice.serialized)("size",ht.qrWidth)}}function De(ot,nt){1&ot&&(f.j41(0,"span",30),f.EFF(1,"N/A"),f.k0s())}function Re(ot,nt){if(1&ot&&f.nrm(0,"qr-code",29),2&ot){const ht=f.XpG();f.Y8G("value",null==ht.invoice?null:ht.invoice.serialized)("size",ht.qrWidth)}}function Xe(ot,nt){1&ot&&(f.j41(0,"span",31),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function _e(ot,nt){1&ot&&f.nrm(0,"mat-divider",32),2&ot&&f.Y8G("inset",!0)}function he(ot,nt){1&ot&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function Dt(ot,nt){1&ot&&f.nrm(0,"span",38)}function lt(ot,nt){if(1&ot&&(f.j41(0,"div",34)(1,"div",35)(2,"span",36),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,Dt,1,0,"span",37),f.k0s()()),2&ot){const ht=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==ht.invoice?null:ht.invoice.amountSettled)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,ne).constructor(35))}}function Le(ot,nt){if(1&ot&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&ot){const ht=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==ht.invoice?null:ht.invoice.amountSettled)," Sats")}}function te(ot,nt){if(1&ot&&(f.qex(0),f.DNE(1,lt,6,5,"div",33)(2,Le,3,3,"div",20),f.bVm()),2&ot){const ht=f.XpG();f.R7$(),f.Y8G("ngIf",ht.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ht.flgInvoicePaid)}}function ie(ot,nt){1&ot&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function P(ot,nt){1&ot&&f.nrm(0,"mat-spinner",40),2&ot&&f.Y8G("diameter",20)}function F(ot,nt){if(1&ot&&(f.qex(0),f.DNE(1,ie,2,0,"span",20)(2,P,1,1,"mat-spinner",39),f.bVm()),2&ot){const ht=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ht.invoice?null:ht.invoice.status)||!ht.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ht.invoice?null:ht.invoice.status)&&ht.flgVersionCompatible)}}function ve(ot,nt){if(1&ot&&(f.j41(0,"div"),f.nrm(1,"mat-divider",21),f.j41(2,"div",16)(3,"div",41)(4,"h4",18),f.EFF(5,"Date Expiry"),f.k0s(),f.j41(6,"span",19),f.EFF(7),f.nI1(8,"date"),f.k0s()(),f.j41(9,"div",42)(10,"h4",18),f.EFF(11,"Date Settled"),f.k0s(),f.j41(12,"span",22),f.EFF(13),f.nI1(14,"date"),f.k0s()()(),f.nrm(15,"mat-divider",21),f.j41(16,"div",16)(17,"div",23)(18,"h4",18),f.EFF(19,"Payment Hash"),f.k0s(),f.j41(20,"span",22),f.EFF(21),f.k0s()()(),f.nrm(22,"mat-divider",21),f.j41(23,"div",16)(24,"div",23)(25,"h4",18),f.EFF(26,"Node ID"),f.k0s(),f.j41(27,"span",22),f.EFF(28),f.k0s()()(),f.nrm(29,"mat-divider",21),f.k0s()),2&ot){const ht=f.XpG();f.R7$(7),f.JRh(f.i5U(8,4,1e3*(null==ht.invoice?null:ht.invoice.expiresAt),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(14,7,1e3*(null==ht.invoice?null:ht.invoice.receivedAt),"dd/MMM/y HH:mm")),f.R7$(8),f.JRh(null==ht.invoice?null:ht.invoice.paymentHash),f.R7$(7),f.JRh(null==ht.invoice?null:ht.invoice.nodeId)}}function H(ot,nt){1&ot&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function $(ot,nt){1&ot&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ke(ot,nt){if(1&ot){const ht=f.RV6();f.j41(0,"button",43),f.bIt("copied",function(Ye){O.eBV(ht);const fe=f.XpG();return O.Njj(fe.onCopyPayment(Ye))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&ot){const ht=f.XpG();f.Y8G("payload",null==ht.invoice?null:ht.invoice.serialized)}}function Vt(ot,nt){if(1&ot){const ht=f.RV6();f.j41(0,"button",44),f.bIt("click",function(){O.eBV(ht);const Ye=f.XpG();return O.Njj(Ye.onClose())}),f.EFF(1,"OK"),f.k0s()}}let St=(()=>{var ot;class nt{constructor(oe,Ye,fe,Qe,gt,Gt){this.dialogRef=oe,this.data=Ye,this.logger=fe,this.commonService=Qe,this.snackBar=gt,this.store=Gt,this.faReceipt=d.Mf0,this.faExclamationTriangle=d.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.p3).pipe((0,T.Q)(this.unSubs[0])).subscribe(oe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(oe.version,"0.5.0")}),this.store.select(e.rN).pipe((0,T.Q)(this.unSubs[1])).subscribe(oe=>{const Ye=this.invoice.status,Qe=(oe.invoices&&oe.invoices.length>0?oe.invoices:[])?.find(gt=>gt.paymentHash===this.invoice.paymentHash)||null;Qe&&(this.invoice=Qe),Ye!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(oe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(oe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+oe)}ngOnDestroy(){this.unSubs.forEach(oe=>{oe.next(null),oe.complete()})}static#e=ot=()=>(this.\u0275fac=function(Ye){return new(Ye||nt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:nt,selectors:[["rtl-ecl-invoice-information"]],standalone:!1,decls:68,vars:42,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["fxFlex","40"],["fxFlex","60"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ye,fe){if(1&Ye){const Qe=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,J,1,2,"qr-code",3)(3,De,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.k0s()(),f.j41(10,"button",10),f.bIt("click",function(){return O.eBV(Qe),O.Njj(fe.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),f.DNE(15,Re,1,2,"qr-code",3)(16,Xe,2,0,"span",14),f.k0s(),f.DNE(17,_e,1,1,"mat-divider",15),f.j41(18,"div",16)(19,"div",17)(20,"h4",18),f.EFF(21,"Amount Requested"),f.k0s(),f.j41(22,"span",19),f.EFF(23),f.nI1(24,"number"),f.DNE(25,he,2,0,"ng-container",20),f.k0s()(),f.j41(26,"div",17)(27,"h4",18),f.EFF(28,"Amount Settled"),f.k0s(),f.j41(29,"span",19),f.DNE(30,te,3,2,"ng-container",20)(31,F,3,2,"ng-container",20),f.k0s()()(),f.nrm(32,"mat-divider",21),f.j41(33,"div",16)(34,"div",17)(35,"h4",18),f.EFF(36,"Date Created"),f.k0s(),f.j41(37,"span",22),f.EFF(38),f.nI1(39,"date"),f.k0s()(),f.j41(40,"div",17)(41,"h4",18),f.EFF(42,"Status"),f.k0s(),f.j41(43,"span",22),f.EFF(44),f.nI1(45,"titlecase"),f.k0s()()(),f.nrm(46,"mat-divider",21),f.j41(47,"div",16)(48,"div",23)(49,"h4",18),f.EFF(50,"Description"),f.k0s(),f.j41(51,"span",19),f.EFF(52),f.k0s()()(),f.nrm(53,"mat-divider",21),f.j41(54,"div",16)(55,"div",23)(56,"h4",18),f.EFF(57,"Invoice"),f.k0s(),f.j41(58,"span",22),f.EFF(59),f.k0s()()(),f.DNE(60,ve,30,10,"div",20),f.j41(61,"div",24)(62,"button",25),f.bIt("click",function(){return O.eBV(Qe),O.Njj(fe.onShowAdvanced())}),f.DNE(63,H,2,0,"p",26)(64,$,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(66,Ke,2,1,"button",27)(67,Vt,2,0,"button",28),f.k0s()()()()()}if(2&Ye){const Qe=f.sdS(65);f.R7$(),f.Y8G("fxLayoutAlign",null!=fe.invoice&&fe.invoice.serialized&&""!==(null==fe.invoice?null:fe.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(33,V,fe.screenSize===fe.screenSizeEnum.XS||fe.screenSize===fe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(4),f.Y8G("icon",fe.faReceipt),f.R7$(2),f.JRh(fe.screenSize===fe.screenSizeEnum.XS?fe.newlyAdded?"Created":"Invoice":fe.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(35,ce,fe.screenSize===fe.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=fe.invoice&&fe.invoice.serialized&&""!==(null==fe.invoice?null:fe.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(37,V,fe.screenSize!==fe.screenSizeEnum.XS&&fe.screenSize!==fe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",fe.screenSize===fe.screenSizeEnum.XS||fe.screenSize===fe.screenSizeEnum.SM),f.R7$(6),f.SpI("",f.bMT(24,26,(null==fe.invoice?null:fe.invoice.amount)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.amount)||"0"===(null==fe.invoice?null:fe.invoice.amount)),f.R7$(5),f.Y8G("ngIf",null==fe.invoice?null:fe.invoice.amountSettled),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.amountSettled)),f.R7$(7),f.JRh(f.i5U(39,28,1e3*(null==fe.invoice?null:fe.invoice.timestamp),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.bMT(45,31,null==fe.invoice?null:fe.invoice.status)),f.R7$(8),f.JRh((null==fe.invoice?null:fe.invoice.description)||"-"),f.R7$(7),f.JRh((null==fe.invoice?null:fe.invoice.serialized)||"N/A"),f.R7$(),f.Y8G("ngIf",fe.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(39,be,!fe.showAdvanced,fe.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!fe.showAdvanced)("ngIfElse",Qe),f.R7$(3),f.Y8G("ngIf",(null==fe.invoice?null:fe.invoice.serialized)&&""!==(null==fe.invoice?null:fe.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=fe.invoice&&fe.invoice.serialized)||""===(null==fe.invoice?null:fe.invoice.serialized))}},dependencies:[A.YU,A.Sq,A.bT,Pe.aY,le.$z,Ce.m2,Ce.MM,Ae.q,j.LG,W.DJ,W.sA,W.UI,G.PW,re.Um,xe.U,Ee.N,A.QX,A.PV,A.vh],encapsulation:2}))}return ot(),nt})()},190(Zt,pe,l){"use strict";l.d(pe,{$6:()=>Vt,$J:()=>F,$Q:()=>be,As:()=>ht,Br:()=>u,CK:()=>fe,DI:()=>Ee,DY:()=>xe,Do:()=>Ke,Dq:()=>St,Fd:()=>gt,GZ:()=>wt,Gy:()=>C,H2:()=>Le,Hm:()=>ye,J9:()=>ce,Jx:()=>W,L:()=>te,Lf:()=>H,NS:()=>O,O8:()=>Ye,Qj:()=>B,SM:()=>oe,Sn:()=>f,T4:()=>ee,Uj:()=>Qe,Uo:()=>re,VK:()=>Ae,WE:()=>Pt,X9:()=>e,XT:()=>Ft,Yi:()=>vi,Zi:()=>Ce,_$:()=>ot,aB:()=>Qn,ar:()=>J,b1:()=>Se,cR:()=>lt,cU:()=>De,dv:()=>ne,e8:()=>v,ed:()=>le,fy:()=>_e,ij:()=>ei,jk:()=>Ni,kv:()=>vt,lg:()=>w,mh:()=>nt,oX:()=>jt,p1:()=>T,pL:()=>Re,sq:()=>A,t0:()=>rt,t5:()=>ve,tG:()=>ke,tf:()=>V,uK:()=>Ri,vL:()=>he,w0:()=>Dt,x1:()=>L,yp:()=>G,z2:()=>Xe,zU:()=>gn});var i=l(9640),d=l(4416);const v=(0,i.VP)(d.QP.UPDATE_API_CALL_STATUS_LND,(0,i.xk)()),T=(0,i.VP)(d.QP.RESET_LND_STORE),w=(0,i.VP)(d.QP.FETCH_PAGE_SETTINGS_LND),e=(0,i.VP)(d.QP.UPDATE_SELECTED_NODE_OPTIONS),O=(0,i.VP)(d.QP.SET_PAGE_SETTINGS_LND,(0,i.xk)()),f=(0,i.VP)(d.QP.SAVE_PAGE_SETTINGS_LND,(0,i.xk)()),u=(0,i.VP)(d.QP.FETCH_INFO_LND,(0,i.xk)()),L=(0,i.VP)(d.QP.SET_INFO_LND,(0,i.xk)()),C=(0,i.VP)(d.QP.FETCH_PEERS_LND),B=(0,i.VP)(d.QP.SET_PEERS_LND,(0,i.xk)()),A=(0,i.VP)(d.QP.SAVE_NEW_PEER_LND,(0,i.xk)()),le=((0,i.VP)(d.QP.NEWLY_ADDED_PEER_LND,(0,i.xk)()),(0,i.VP)(d.QP.DETACH_PEER_LND,(0,i.xk)())),Ce=(0,i.VP)(d.QP.REMOVE_PEER_LND,(0,i.xk)()),Ae=(0,i.VP)(d.QP.SAVE_NEW_INVOICE_LND,(0,i.xk)()),W=((0,i.VP)(d.QP.NEWLY_SAVED_INVOICE_LND,(0,i.xk)()),(0,i.VP)(d.QP.ADD_INVOICE_LND,(0,i.xk)())),G=(0,i.VP)(d.QP.FETCH_FEES_LND),re=(0,i.VP)(d.QP.SET_FEES_LND,(0,i.xk)()),xe=(0,i.VP)(d.QP.FETCH_BLOCKCHAIN_BALANCE_LND),Ee=(0,i.VP)(d.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,i.xk)()),V=(0,i.VP)(d.QP.FETCH_NETWORK_LND),ce=(0,i.VP)(d.QP.SET_NETWORK_LND,(0,i.xk)()),be=(0,i.VP)(d.QP.FETCH_CHANNELS_LND),ne=(0,i.VP)(d.QP.SET_CHANNELS_LND,(0,i.xk)()),J=(0,i.VP)(d.QP.FETCH_PENDING_CHANNELS_LND),De=(0,i.VP)(d.QP.SET_PENDING_CHANNELS_LND,(0,i.xk)()),Re=(0,i.VP)(d.QP.FETCH_CLOSED_CHANNELS_LND),Xe=(0,i.VP)(d.QP.SET_CLOSED_CHANNELS_LND,(0,i.xk)()),_e=(0,i.VP)(d.QP.UPDATE_CHANNEL_LND,(0,i.xk)()),he=(0,i.VP)(d.QP.SAVE_NEW_CHANNEL_LND,(0,i.xk)()),Dt=(0,i.VP)(d.QP.CLOSE_CHANNEL_LND,(0,i.xk)()),lt=(0,i.VP)(d.QP.REMOVE_CHANNEL_LND,(0,i.xk)()),Le=(0,i.VP)(d.QP.BACKUP_CHANNELS_LND,(0,i.xk)()),te=(0,i.VP)(d.QP.VERIFY_CHANNEL_LND,(0,i.xk)()),F=((0,i.VP)(d.QP.BACKUP_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.VERIFY_CHANNEL_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.RESTORE_CHANNELS_LIST_LND)),ve=(0,i.VP)(d.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,i.xk)()),H=(0,i.VP)(d.QP.RESTORE_CHANNELS_LND,(0,i.xk)()),Ke=((0,i.VP)(d.QP.RESTORE_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.FETCH_INVOICES_LND,(0,i.xk)())),Vt=(0,i.VP)(d.QP.SET_INVOICES_LND,(0,i.xk)()),St=(0,i.VP)(d.QP.UPDATE_INVOICE_LND,(0,i.xk)()),ot=(0,i.VP)(d.QP.UPDATE_PAYMENT_LND,(0,i.xk)()),nt=(0,i.VP)(d.QP.FETCH_TRANSACTIONS_LND),ht=(0,i.VP)(d.QP.SET_TRANSACTIONS_LND,(0,i.xk)()),oe=(0,i.VP)(d.QP.FETCH_UTXOS_LND),Ye=(0,i.VP)(d.QP.SET_UTXOS_LND,(0,i.xk)()),fe=(0,i.VP)(d.QP.FETCH_PAYMENTS_LND,(0,i.xk)()),Qe=(0,i.VP)(d.QP.SET_PAYMENTS_LND,(0,i.xk)()),gt=(0,i.VP)(d.QP.SEND_PAYMENT_LND,(0,i.xk)()),rt=((0,i.VP)(d.QP.SEND_PAYMENT_STATUS_LND,(0,i.xk)()),(0,i.VP)(d.QP.FETCH_GRAPH_NODE_LND,(0,i.xk)())),Ft=((0,i.VP)(d.QP.SET_GRAPH_NODE_LND,(0,i.xk)()),(0,i.VP)(d.QP.GET_NEW_ADDRESS_LND,(0,i.xk)())),Qn=((0,i.VP)(d.QP.SET_NEW_ADDRESS_LND,(0,i.xk)()),(0,i.VP)(d.QP.SET_CHANNEL_TRANSACTION_LND,(0,i.xk)())),jt=((0,i.VP)(d.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,i.xk)()),(0,i.VP)(d.QP.GEN_SEED_LND,(0,i.xk)())),wt=((0,i.VP)(d.QP.GEN_SEED_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(d.QP.INIT_WALLET_LND,(0,i.xk)())),Pt=((0,i.VP)(d.QP.INIT_WALLET_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(d.QP.UNLOCK_WALLET_LND,(0,i.xk)())),gn=(0,i.VP)(d.QP.PEER_LOOKUP_LND,(0,i.xk)()),ei=(0,i.VP)(d.QP.CHANNEL_LOOKUP_LND,(0,i.xk)()),vi=(0,i.VP)(d.QP.INVOICE_LOOKUP_LND,(0,i.xk)()),Ni=(0,i.VP)(d.QP.PAYMENT_LOOKUP_LND,(0,i.xk)()),Ri=((0,i.VP)(d.QP.SET_LOOKUP_LND,(0,i.xk)()),(0,i.VP)(d.QP.GET_FORWARDING_HISTORY_LND,(0,i.xk)())),vt=(0,i.VP)(d.QP.SET_FORWARDING_HISTORY_LND,(0,i.xk)()),ee=(0,i.VP)(d.QP.GET_QUERY_ROUTES_LND,(0,i.xk)()),ye=(0,i.VP)(d.QP.SET_QUERY_ROUTES_LND,(0,i.xk)()),ke=(0,i.VP)(d.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),Se=(0,i.VP)(d.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,i.xk)())},9579(Zt,pe,l){"use strict";l.d(pe,{L:()=>ce});var i=l(1747),d=l(1413),v=l(7673),T=l(9437),w=l(6354),e=l(1397),O=l(6977),f=l(3993),u=l(6391),L=l(2462),C=l(4416),B=l(1771),A=l(190),Pe=l(3536),le=l(2615),Ce=l(9330),Ae=l(9640),j=l(8570),W=l(2571),G=l(3202),re=l(1585),xe=l(3694),Ee=l(7879),V=l(7303);let ce=(()=>{var be;class ne{constructor(De,Re,Xe,_e,he,Dt,lt,Le,te,ie){this.actions=De,this.httpClient=Re,this.store=Xe,this.logger=_e,this.commonService=he,this.sessionService=Dt,this.dialog=lt,this.router=Le,this.wsService=te,this.location=ie,this.CHILD_API_URL=C.H$+"/lnd",this.invoicesPageSettings=C.ZC.find(P=>"transactions"===P.pageId)?.tables.find(P=>"invoices"===P.tableId),this.paymentsPageSettings=C.ZC.find(P=>"transactions"===P.pageId)?.tables.find(P=>"payments"===P.tableId),this.flgInitialized=!1,this.unSubs=[new d.B,new d.B],this.infoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_INFO_LND),(0,e.Z)(P=>(this.flgInitialized=!1,this.store.dispatch((0,B.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.mt)({payload:C.MZ.GET_NODE_INFO})),this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.GETINFO_API).pipe((0,O.Q)(this.actions.pipe((0,i.gp)(C.aU.SET_SELECTED_NODE))),(0,w.T)(F=>(this.logger.info(F),F.chains&&F.chains.length&&F.chains[0]&&("string"==typeof F.chains[0]&&F.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof F.chains[0]&&F.chains[0].hasOwnProperty("chain")&&F.chains[0].chain&&F.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.xO)({payload:{data:{type:C.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:C.aU.LOGOUT}):F.identity_pubkey?(F.lnImplementation="LND",this.initializeRemainingData(F,P.payload.loadPage),this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),{type:C.QP.SET_INFO_LND,payload:F||{}}):(this.store.dispatch((0,A.e8)({payload:{action:"FetchInfo",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:C.QP.SET_INFO_LND,payload:{}}))),(0,T.W)(F=>{if("string"==typeof F.error.error&&F.error.error.includes("Not Found")||"string"==typeof F.error.error&&F.error.error.includes("wallet locked")||502===F.status&&!F.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",C.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",F);else if("string"==typeof F.error.error&&F.error.error.includes("starting up")&&500===F.status)setTimeout(()=>{this.store.dispatch((0,A.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const ve=this.commonService.extractErrorCode(F),H=503===ve?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(F);this.router.navigate(["/error"],{state:{errorCode:ve,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",C.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ve,error:H})}return(0,v.of)({type:C.aU.VOID})})))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PEERS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPeers",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PEERS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPeers",status:C.wn.COMPLETED}})),{type:C.QP.SET_PEERS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPeers",C.MZ.NO_SPINNER,"Fetching Peers Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_PEER_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.CONNECT_PEER})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewPeer",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.PEERS_API,{pubkey:P.payload.pubkey,host:P.payload.host,perm:P.payload.perm}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewPeer",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.CONNECT_PEER})),this.store.dispatch((0,A.Qj)({payload:F||[]})),{type:C.QP.NEWLY_ADDED_PEER_LND,payload:{peer:F[0]}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewPeer",C.MZ.CONNECT_PEER,"Peer Connection Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.DETACH_PEER_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+C.rl.PEERS_API+"/"+P.payload.pubkey).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.DISCONNECT_PEER})),this.store.dispatch((0,B.UI)({payload:"Peer Disconnected Successfully."})),{type:C.QP.REMOVE_PEER_LND,payload:{pubkey:P.payload.pubkey}})),(0,T.W)(F=>(this.handleErrorWithAlert("DetachPeer",C.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+C.rl.PEERS_API+"/"+P.payload.pubkey,F),(0,v.of)({type:C.aU.VOID})))))))),this.saveNewInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_INVOICE_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewInvoice",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.INVOICES_API,{memo:P.payload.memo,value:P.payload.value,private:P.payload.private,expiry:P.payload.expiry,is_amp:P.payload.is_amp}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewInvoice",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:P.payload.pageSize,reversed:!0}})),P.payload.openModal?(F.memo=P.payload.memo,F.value=P.payload.value,F.expiry=P.payload.expiry,F.private=P.payload.private,F.is_amp=P.payload.is_amp,F.cltv_expiry="144",F.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,B.xO)({payload:{data:{invoice:F,newlyAdded:!0,component:u.H}}}))},200),{type:C.aU.CLOSE_SPINNER,payload:P.payload.uiMessage}):{type:C.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:F.payment_request}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewInvoice",P.payload.uiMessage,"Add Invoice Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_NEW_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.OPEN_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewChannel",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_API,{node_pubkey:P.payload.selectedPeerPubkey,local_funding_amount:P.payload.fundingAmount,private:P.payload.private,trans_type:P.payload.transType,trans_type_value:P.payload.transTypeValue,spend_unconfirmed:P.payload.spendUnconfirmed,commitment_type:P.payload.commitmentType}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SaveNewChannel",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.OPEN_CHANNEL})),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.H2)({payload:{uiMessage:C.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:C.QP.FETCH_PENDING_CHANNELS_LND})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SaveNewChannel",C.MZ.OPEN_CHANNEL,"Opening Channel Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UPDATE_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_API+"/chanPolicy",{baseFeeMsat:P.payload.baseFeeMsat,feeRate:P.payload.feeRate,timeLockDelta:P.payload.timeLockDelta,max_htlc_msat:P.payload.maxHtlcMsat,min_htlc_msat:P.payload.minHtlcMsat,chanPoint:P.payload.chanPoint}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,B.UI)("all"===P.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:C.QP.FETCH_CHANNELS_LND})),(0,T.W)(F=>(this.handleErrorWithAlert("UpdateChannels",C.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/chanPolicy",F),(0,v.of)({type:C.aU.VOID})))))))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.CLOSE_CHANNEL_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL}));let F=this.CHILD_API_URL+C.rl.CHANNELS_API+"/"+P.payload.channelPoint+"?force="+P.payload.forcibly;return P.payload.targetConf&&(F=F+"&target_conf="+P.payload.targetConf),P.payload.satPerVByte&&(F=F+"&sat_per_vbyte="+P.payload.satPerVByte),this.httpClient.delete(F).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.ar)()),this.store.dispatch((0,A.H2)({payload:{uiMessage:C.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:ve.message}})),{type:C.aU.VOID})),(0,T.W)(ve=>(this.handleErrorWithAlert("CloseChannel",P.payload.forcibly?C.MZ.FORCE_CLOSE_CHANNEL:C.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_API+"/"+P.payload.channelPoint+"?force="+P.payload.forcibly,ve),(0,v.of)({type:C.aU.VOID}))))}))),this.backupChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.BACKUP_CHANNELS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"BackupChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/"+P.payload.channelPoint).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"BackupChannels",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,B.UI)({payload:P.payload.showMessage+" "+F.message})),{type:C.QP.BACKUP_CHANNELS_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("BackupChannels",P.payload.uiMessage,P.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.verifyChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.VERIFY_CHANNEL_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"VerifyChannel",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/verify/"+P.payload.channelPoint,{}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"VerifyChannel",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,B.UI)({payload:F.message})),{type:C.QP.VERIFY_CHANNEL_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("VerifyChannel",C.MZ.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/verify/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.restoreChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.RESTORE_CHANNELS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannels",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/"+P.payload.channelPoint,{}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannels",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,B.UI)({payload:F.message})),this.store.dispatch((0,A.t5)({payload:F.list})),{type:C.QP.RESTORE_CHANNELS_RES_LND,payload:F.message})),(0,T.W)(F=>(this.handleErrorWithAlert("RestoreChannels",C.MZ.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/"+P.payload.channelPoint,F),(0,v.of)({type:C.aU.VOID})))))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_FEES_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchFees",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.FEES_API))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchFees",status:C.wn.COMPLETED}})),P.forwarding_events_history&&(this.store.dispatch((0,A.kv)({payload:P.forwarding_events_history})),delete P.forwarding_events_history),{type:C.QP.SET_FEES_LND,payload:P||{}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchFees",C.MZ.NO_SPINNER,"Fetching Fees Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.balanceBlockchainFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchBalance",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.BALANCE_API))),(0,w.T)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchBalance",status:C.wn.COMPLETED}})),this.logger.info(P),{type:C.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:P||{total_balance:""}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchBalance",C.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.networkInfoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_NETWORK_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchNetwork",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/info"))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchNetwork",status:C.wn.COMPLETED}})),{type:C.QP.SET_NETWORK_LND,payload:P||{}})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchNetwork",C.MZ.NO_SPINNER,"Fetching Network Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchChannels",status:C.wn.COMPLETED}})),{type:C.QP.SET_CHANNELS_LND,payload:P.channels||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchChannels",C.MZ.NO_SPINNER,"Fetching Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.channelsPendingFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PENDING_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPendingChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API+"/pending").pipe((0,w.T)(P=>{this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPendingChannels",status:C.wn.COMPLETED}}));const F={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return P&&(F.total_limbo_balance=P.total_limbo_balance,P.pending_closing_channels&&(F.closing.num_channels=P.pending_closing_channels.length,F.total_channels=F.total_channels+P.pending_closing_channels.length,P.pending_closing_channels.forEach(ve=>{F.closing.limbo_balance=+F.closing.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.pending_force_closing_channels&&(F.force_closing.num_channels=P.pending_force_closing_channels.length,F.total_channels=F.total_channels+P.pending_force_closing_channels.length,P.pending_force_closing_channels.forEach(ve=>{F.force_closing.limbo_balance=+F.force_closing.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.pending_open_channels&&(F.open.num_channels=P.pending_open_channels.length,F.total_channels=F.total_channels+P.pending_open_channels.length,P.pending_open_channels.forEach(ve=>{F.open.limbo_balance=+F.open.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)})),P.waiting_close_channels&&(F.waiting_close.num_channels=P.waiting_close_channels.length,F.total_channels=F.total_channels+P.waiting_close_channels.length,P.waiting_close_channels.forEach(ve=>{F.waiting_close.limbo_balance=+F.waiting_close.limbo_balance+(ve.channel.local_balance?+ve.channel.local_balance:0)}))),{type:C.QP.SET_PENDING_CHANNELS_LND,payload:P?{pendingChannels:P,pendingChannelsSummary:F}:{pendingChannels:{},pendingChannelsSummary:F}}}),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPendingChannels",C.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.channelsClosedFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_CLOSED_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchClosedChannels",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_API+"/closed").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchClosedChannels",status:C.wn.COMPLETED}})),{type:C.QP.SET_CLOSED_CHANNELS_LND,payload:P.channels||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchClosedChannels",C.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_INVOICES_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchInvoices",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.INVOICES_API+"?num_max_invoices="+(P.payload.num_max_invoices?P.payload.num_max_invoices:100)+"&index_offset="+(P.payload.index_offset?P.payload.index_offset:0)+"&reversed="+(!!P.payload.reversed&&P.payload.reversed)).pipe((0,w.T)($=>(this.logger.info($),this.store.dispatch((0,A.e8)({payload:{action:"FetchInvoices",status:C.wn.COMPLETED}})),P.payload.reversed&&!P.payload.index_offset&&($.total_invoices=+($.last_index_offset||0)),{type:C.QP.SET_INVOICES_LND,payload:$})),(0,T.W)($=>(this.handleErrorWithoutAlert("FetchInvoices",C.MZ.NO_SPINNER,"Fetching Invoices Failed.",$),(0,v.of)({type:C.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_TRANSACTIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchTransactions",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.TRANSACTIONS_API))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchTransactions",status:C.wn.COMPLETED}})),{type:C.QP.SET_TRANSACTIONS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchTransactions",C.MZ.NO_SPINNER,"Fetching Transactions Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.utxosFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_UTXOS_LND),(0,f.E)(this.store.select(Pe.pI)),(0,e.Z)(([P,F])=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchUTXOs",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/getUTXOs?max_confs="+(F&&F.block_height?F.block_height:1e9)))),(0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchUTXOs",status:C.wn.COMPLETED}})),{type:C.QP.SET_UTXOS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchUTXOs",C.MZ.NO_SPINNER,"Fetching UTXOs Failed.",P),(0,v.of)({type:C.aU.VOID}))))),this.paymentsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PAYMENTS_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPayments",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"?max_payments="+(P.payload.max_payments?P.payload.max_payments:100)+"&index_offset="+(P.payload.index_offset?P.payload.index_offset:0)+"&reversed="+(!!P.payload.reversed&&P.payload.reversed)).pipe((0,w.T)($=>(this.logger.info($),this.store.dispatch((0,A.e8)({payload:{action:"FetchPayments",status:C.wn.COMPLETED}})),this.commonService.sortByKey($.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:C.QP.SET_PAYMENTS_LND,payload:$})),(0,T.W)($=>(this.handleErrorWithoutAlert("FetchPayments",C.MZ.NO_SPINNER,"Fetching Payments Failed.",$),(0,v.of)({type:C.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SEND_PAYMENT_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.INITIATED}}));const F=JSON.parse(JSON.stringify(P.payload));return delete F.uiMessage,delete F.fromDialog,this.httpClient.post(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/send",F).pipe((0,w.T)(ve=>{if(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.COMPLETED}})),ve.payment_error)return P.payload.allow_self_payment?(this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:C.QP.SEND_PAYMENT_STATUS_LND,payload:ve}):(P.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve.payment_error):this.handleErrorWithAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/transactions",ve.payment_error),{type:C.aU.VOID});if(this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"SendPayment",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),P.payload.allow_self_payment)this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let H="Payment Sent Successfully.";ve.payment_route&&ve.payment_route.total_fees_msat&&(H="Payment sent successfully with the total fee "+ve.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,B.UI)({payload:H}))}return{type:C.QP.SEND_PAYMENT_STATUS_LND,payload:ve}}),(0,T.W)(ve=>(this.logger.error("Error: "+JSON.stringify(ve)),P.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,v.of)({type:C.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ve)}})):(P.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed.",ve):this.handleErrorWithAlert("SendPayment",P.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+C.rl.CHANNELS_API+"/transactions",ve),(0,v.of)({type:C.aU.VOID})))))}))),this.graphNodeFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_GRAPH_NODE_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,A.e8)({payload:{action:"FetchGraphNode",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload.pubkey).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,A.e8)({payload:{action:"FetchGraphNode",status:C.wn.COMPLETED}})),{type:C.QP.SET_GRAPH_NODE_LND,payload:F&&F.node?{node:F.node}:{node:null}})),(0,T.W)(F=>(this.handleErrorWithoutAlert("FetchGraphNode",C.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.setGraphNode=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_GRAPH_NODE_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_NEW_ADDRESS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+C.rl.NEW_ADDRESS_API+"?type="+P.payload.addressId).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GENERATE_NEW_ADDRESS})),{type:C.QP.SET_NEW_ADDRESS_LND,payload:F&&F.address?F.address:{}})),(0,T.W)(F=>(this.handleErrorWithAlert("GetNewAddress",C.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+C.rl.NEW_ADDRESS_API+"?type="+P.payload.addressId,F),(0,v.of)({type:C.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_NEW_ADDRESS_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_CHANNEL_TRANSACTION_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEND_FUNDS})),this.store.dispatch((0,A.e8)({payload:{action:"SetChannelTransaction",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.TRANSACTIONS_API,{amount:P.payload.amount,address:P.payload.address,sendAll:P.payload.sendAll,fees:P.payload.fees,blocks:P.payload.blocks}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SetChannelTransaction",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.SEND_FUNDS})),this.store.dispatch((0,A.mh)()),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),{type:C.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithoutAlert("SetChannelTransaction",C.MZ.SEND_FUNDS,"Sending Fund Failed.",F),(0,v.of)({type:C.aU.VOID})))))))),this.fetchForwardingHistory=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_FORWARDING_HISTORY_LND),(0,e.Z)(P=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchForwardingHistory",status:C.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+C.rl.SWITCH_API,{num_max_events:P.payload.num_max_events,index_offset:P.payload.index_offset,end_time:P.payload.end_time,start_time:P.payload.start_time}).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,A.e8)({payload:{action:"FetchForwardingHistory",status:C.wn.COMPLETED}})),{type:C.QP.SET_FORWARDING_HISTORY_LND,payload:ve})),(0,T.W)(ve=>(this.handleErrorWithAlert("FetchForwardingHistory",C.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+C.rl.SWITCH_API,ve),(0,v.of)({type:C.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_QUERY_ROUTES_LND),(0,e.Z)(P=>this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/routes/"+P.payload.destPubkey+"/"+P.payload.amount).pipe((0,w.T)(ve=>(this.logger.info(ve),{type:C.QP.SET_QUERY_ROUTES_LND,payload:ve})),(0,T.W)(ve=>(this.store.dispatch((0,A.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",C.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+C.rl.NETWORK_API,ve),(0,v.of)({type:C.aU.VOID}))))))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_QUERY_ROUTES_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.genSeed=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GEN_SEED_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/genseed/"+P.payload).pipe((0,w.T)(F=>(this.logger.info("Generated GenSeed!"),this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.GEN_SEED})),{type:C.QP.GEN_SEED_RESPONSE_LND,payload:F.cipher_seed_mnemonic})),(0,T.W)(F=>(this.handleErrorWithAlert("GenSeed",C.MZ.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/genseed/"+P.payload,F),(0,v.of)({type:C.aU.VOID})))))))),this.updateSelNodeOptions=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,e.Z)(()=>this.httpClient.get(this.CHILD_API_URL+C.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,w.T)(P=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(P),{type:C.aU.VOID})),(0,T.W)(P=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",C.MZ.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",P),(0,v.of)({type:C.aU.VOID}))))))),this.genSeedResponse=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GEN_SEED_RESPONSE_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.initWalletRes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INIT_WALLET_RESPONSE_LND),(0,w.T)(P=>P.payload)),{dispatch:!1}),this.initWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INIT_WALLET_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+C.rl.WALLET_API+"/wallet/initwallet",{wallet_password:P.payload.pwd,cipher_seed_mnemonic:P.payload.cipher?P.payload.cipher:"",aezeed_passphrase:P.payload.passphrase?P.payload.passphrase:""}).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.INITIALIZE_WALLET})),{type:C.QP.INIT_WALLET_RESPONSE_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("InitWallet",C.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/initwallet",F),(0,v.of)({type:C.aU.VOID})))))))),this.unlockWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.UNLOCK_WALLET_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+C.rl.WALLET_API+"/wallet/unlockwallet",{wallet_password:P.payload.pwd}).pipe((0,w.T)(F=>(this.logger.info(F),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,B.y0)({payload:C.MZ.UNLOCK_WALLET})),this.store.dispatch((0,B.mt)({payload:C.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,B.y0)({payload:C.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,A.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:C.aU.VOID})),(0,T.W)(F=>(this.handleErrorWithAlert("UnlockWallet",C.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+C.rl.WALLET_API+"/unlockwallet",F),(0,v.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.PEER_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_NODE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_NODE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("Lookup",C.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+C.rl.NETWORK_API+"/node/"+P.payload,F),(0,v.of)({type:C.aU.VOID})))))))),this.channelLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.CHANNEL_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.NETWORK_API+"/edge/"+P.payload.channelID).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:P.payload.uiMessage})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.handleErrorWithAlert("Lookup",P.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+C.rl.NETWORK_API+"/edge/"+P.payload.channelID,F),(0,v.of)({type:C.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.INVOICE_LOOKUP_LND),(0,e.Z)(P=>{this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}}));let F=this.CHILD_API_URL+C.rl.INVOICES_API+"/lookup";return F=P.payload.paymentAddress&&""!==P.payload.paymentAddress?F+"?payment_addr="+P.payload.paymentAddress:F+"?payment_hash="+P.payload.paymentHash,this.httpClient.get(F).pipe((0,w.T)(ve=>(this.logger.info(ve),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),this.store.dispatch((0,A.Dq)({payload:ve})),{type:C.QP.SET_LOOKUP_LND,payload:ve})),(0,T.W)(ve=>(this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",C.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ve),P.payload.openSnackBar&&this.store.dispatch((0,B.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,v.of)({type:C.QP.SET_LOOKUP_LND,payload:{error:ve}}))))}))),this.paymentLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.PAYMENT_LOOKUP_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/lookup/"+P.payload).pipe((0,w.T)(F=>(this.logger.info(F),this.store.dispatch((0,B.y0)({payload:C.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.COMPLETED}})),this.store.dispatch((0,A._$)({payload:F})),{type:C.QP.SET_LOOKUP_LND,payload:F})),(0,T.W)(F=>(this.store.dispatch((0,A.e8)({payload:{action:"Lookup",status:C.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",C.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",F),(0,v.of)({type:C.QP.SET_LOOKUP_LND,payload:{error:F}})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_LOOKUP_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.RESTORE_CHANNELS_LIST_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannelsList",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"RestoreChannelsList",status:C.wn.COMPLETED}})),{type:C.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:P||{all_restore_exists:!1,files:[]}})),(0,T.W)(P=>(this.handleErrorWithAlert("RestoreChannelsList",C.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+C.rl.CHANNELS_BACKUP_API,P),(0,v.of)({type:C.aU.VOID})))))))),this.setRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,w.T)(P=>(this.logger.info(P.payload),P.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchLightningTransactions",status:C.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+C.rl.PAYMENTS_API+"/alltransactions").pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchLightningTransactions",status:C.wn.COMPLETED}})),{type:C.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:P})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchLightningTransactions",C.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.pageSettingsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.FETCH_PAGE_SETTINGS_LND),(0,e.Z)(()=>(this.store.dispatch((0,A.e8)({payload:{action:"FetchPageSettings",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.PAGE_SETTINGS_API).pipe((0,w.T)(P=>(this.logger.info(P),this.store.dispatch((0,A.e8)({payload:{action:"FetchPageSettings",status:C.wn.COMPLETED}})),this.invoicesPageSettings=P&&Object.keys(P).length>0?P.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId):C.ZC.find(F=>"transactions"===F.pageId)?.tables.find(F=>"invoices"===F.tableId),this.paymentsPageSettings=P&&Object.keys(P).length>0?P.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId):C.ZC.find(F=>"transactions"===F.pageId)?.tables.find(F=>"payments"===F.tableId),{type:C.QP.SET_PAGE_SETTINGS_LND,payload:P||[]})),(0,T.W)(P=>(this.handleErrorWithoutAlert("FetchPageSettings",C.MZ.NO_SPINNER,"Fetching Page Settings Failed.",P),(0,v.of)({type:C.aU.VOID})))))))),this.savePageSettings=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(C.QP.SAVE_PAGE_SETTINGS_LND),(0,e.Z)(P=>(this.store.dispatch((0,B.mt)({payload:C.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,A.e8)({payload:{action:"SavePageSettings",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.PAGE_SETTINGS_API,P.payload).pipe((0,w.T)(F=>{this.logger.info(F),this.store.dispatch((0,A.e8)({payload:{action:"SavePageSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,B.y0)({payload:C.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,B.UI)({payload:"Page Layout Updated Successfully!"}));const ve=(F.find($=>"transactions"===$.pageId)?.tables.find($=>"invoices"===$.tableId)||C.ZC.find($=>"transactions"===$.pageId)?.tables.find($=>"invoices"===$.tableId)).recordsPerPage,H=(F.find($=>"transactions"===$.pageId)?.tables.find($=>"payments"===$.tableId)||C.ZC.find($=>"transactions"===$.pageId)?.tables.find($=>"payments"===$.tableId)).recordsPerPage;return this.invoicesPageSettings&&ve!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ve,this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&H!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=H),{type:C.QP.SET_PAGE_SETTINGS_LND,payload:F||[]}}),(0,T.W)(F=>(this.handleErrorWithAlert("SavePageSettings",C.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",C.rl.PAGE_SETTINGS_API,F),(0,v.of)({type:C.aU.VOID})))))))),this.store.select(Pe.ru).pipe((0,O.Q)(this.unSubs[0])).subscribe(P=>{P.FetchInfo.status!==C.wn.COMPLETED&&P.FetchInfo.status!==C.wn.ERROR||P.FetchFees.status!==C.wn.COMPLETED&&P.FetchFees.status!==C.wn.ERROR||P.FetchBalanceBlockchain.status!==C.wn.COMPLETED&&P.FetchBalanceBlockchain.status!==C.wn.ERROR||P.FetchAllChannels.status!==C.wn.COMPLETED&&P.FetchAllChannels.status!==C.wn.ERROR||P.FetchPendingChannels.status!==C.wn.COMPLETED&&P.FetchPendingChannels.status!==C.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,B.y0)({payload:C.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,O.Q)(this.unSubs[1])).subscribe(P=>{this.logger.info("Received new message from the service: "+JSON.stringify(P)),P&&(P.type===C.o1.INVOICE?(this.logger.info(P),P&&P.result&&P.result.payment_request&&this.store.dispatch((0,A.Dq)({payload:P.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(P)))})}initializeRemainingData(De,Re){this.sessionService.setItem("lndUnlocked","true");const Xe={identity_pubkey:De.identity_pubkey,alias:De.alias,testnet:De.testnet,chains:De.chains,uris:De.uris,version:De.version?De.version.split(" ")[0]:""};this.store.dispatch((0,B.mt)({payload:C.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,B.Fl)({payload:Xe}));let _e=this.location.path();_e.includes("/cln/")?_e=_e?.replace("/cln/","/lnd/"):_e.includes("/ecl/")&&(_e=_e?.replace("/ecl/","/lnd/")),(_e.includes("/unlock")||_e.includes("/login")||_e.includes("/error")||""===_e||"HOME"===Re||_e.includes("?access-key="))&&(_e="/lnd/home"),this.router.navigate([_e]),this.store.dispatch((0,A.DY)()),this.store.dispatch((0,A.$Q)()),this.store.dispatch((0,A.ar)()),this.store.dispatch((0,A.pL)()),this.store.dispatch((0,A.Gy)()),this.store.dispatch((0,A.tf)()),this.store.dispatch((0,A.yp)()),this.store.dispatch((0,A.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,A.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(De,Re,Xe,_e){this.logger.error("ERROR IN: "+De+"\n"+JSON.stringify(_e)),401===_e.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.ri)({payload:"Authentication Failed: "+JSON.stringify(_e.error)}))):(this.store.dispatch((0,B.y0)({payload:Re})),this.store.dispatch((0,A.e8)({payload:{action:De,status:C.wn.ERROR,statusCode:_e.status.toString(),message:this.commonService.extractErrorMessage(_e,Xe)}})))}handleErrorWithAlert(De,Re,Xe,_e,he){if(this.logger.error(he),401===he.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,B.Jh)()),this.store.dispatch((0,B.ri)({payload:"Authentication Failed: "+JSON.stringify(he.error)}));else{this.store.dispatch((0,B.y0)({payload:Re}));const Dt=this.commonService.extractErrorMessage(he);this.store.dispatch((0,B.xO)({payload:{data:{type:"ERROR",alertTitle:Xe,message:{code:he.status,message:Dt,URL:_e},component:L.f}}})),this.store.dispatch((0,A.e8)({payload:{action:De,status:C.wn.ERROR,statusCode:he.status.toString(),message:Dt,URL:_e}}))}}ngOnDestroy(){this.unSubs.forEach(De=>{De.next(null),De.complete()})}static#e=be=()=>(this.\u0275fac=function(Re){return new(Re||ne)(le.KVO(i.En),le.KVO(Ce.Qq),le.KVO(Ae.il),le.KVO(j.gP),le.KVO(W.h),le.KVO(G.Q),le.KVO(re.bZ),le.KVO(xe.Ix),le.KVO(Ee.I),le.KVO(V.aZ))},this.\u0275prov=le.jDH({token:ne,factory:ne.\u0275fac}))}return be(),ne})()},3536(Zt,pe,l){"use strict";l.d(pe,{$7:()=>Ae,$G:()=>v,BM:()=>A,Bw:()=>Ce,Ie:()=>O,KT:()=>f,Uv:()=>le,ah:()=>W,eO:()=>xe,gN:()=>C,gj:()=>Ee,n_:()=>re,oR:()=>u,os:()=>L,pI:()=>T,rN:()=>B,ru:()=>e,tA:()=>G});var i=l(9640);const d=(0,i.UX)("lnd"),v=(0,i.Mz)(d,V=>({pageSettings:V.pageSettings,apiCallStatus:V.apisCallStatus.FetchPageSettings})),T=(0,i.Mz)(d,V=>V.information),e=((0,i.Mz)(d,V=>({information:V.information,apiCallStatus:V.apisCallStatus.FetchInfo})),(0,i.Mz)(d,V=>V.apisCallStatus)),O=(0,i.Mz)(d,V=>({forwardingHistory:V.forwardingHistory,apiCallStatus:V.apisCallStatus.FetchForwardingHistory})),f=(0,i.Mz)(d,V=>({listPayments:V.listPayments,apiCallStatus:V.apisCallStatus.FetchPayments})),u=(0,i.Mz)(d,V=>({fees:V.fees,apiCallStatus:V.apisCallStatus.FetchFees})),L=(0,i.Mz)(d,V=>({peers:V.peers,apiCallStatus:V.apisCallStatus.FetchPeers})),C=(0,i.Mz)(d,V=>({transactions:V.transactions,apiCallStatus:V.apisCallStatus.FetchTransactions})),B=(0,i.Mz)(d,V=>({listInvoices:V.listInvoices,apiCallStatus:V.apisCallStatus.FetchInvoices})),A=(0,i.Mz)(d,V=>({channels:V.channels,channelsSummary:V.channelsSummary,lightningBalance:V.lightningBalance,apiCallStatus:V.apisCallStatus.FetchAllChannels})),le=((0,i.Mz)(d,V=>({channelsSummary:V.channelsSummary,pendingChannels:V.pendingChannels,closedChannels:V.closedChannels,apiCallStatus:V.apisCallStatus.FetchAllChannels})),(0,i.Mz)(d,V=>({pendingChannels:V.pendingChannels,pendingChannelsSummary:V.pendingChannelsSummary,apiCallStatus:V.apisCallStatus.FetchPendingChannels}))),Ce=(0,i.Mz)(d,V=>({closedChannels:V.closedChannels,apiCallStatus:V.apisCallStatus.FetchClosedChannels})),Ae=(0,i.Mz)(d,V=>({blockchainBalance:V.blockchainBalance,apiCallStatus:V.apisCallStatus.FetchBalanceBlockchain})),W=((0,i.Mz)(d,V=>({lightningBalance:V.lightningBalance,apiCallStatus:V.apisCallStatus.FetchAllChannels})),(0,i.Mz)(d,V=>({utxos:V.utxos,apiCallStatus:V.apisCallStatus.FetchUTXOs}))),G=(0,i.Mz)(d,V=>({networkInfo:V.networkInfo,apiCallStatus:V.apisCallStatus.FetchNetwork})),re=(0,i.Mz)(d,V=>({allLightningTransactions:V.allLightningTransactions,apiCallStatus:V.apisCallStatus.FetchLightningTransactions})),xe=(0,i.Mz)(d,V=>({channels:V.channels,pendingChannels:V.pendingChannels,closedChannels:V.closedChannels})),Ee=(0,i.Mz)(d,V=>({information:V.information,apiCallStatus:V.apisCallStatus.FetchInfo}))},6391(Zt,pe,l){"use strict";l.d(pe,{H:()=>Qn});var i=l(1585),d=l(5383),v=l(1413),T=l(6977),w=l(4416),e=l(3536),O=l(2615),f=l(3664),u=l(8570),L=l(2571),C=l(5416),B=l(9640),A=l(2200),Pe=l(60),le=l(8834),Ce=l(5596),Ae=l(9454),j=l(2629),W=l(1997),G=l(9183),re=l(2920),xe=l(6038),Ee=l(455),V=l(8288),ce=l(9157),be=l(9587);const ne=["scrollContainer"],J=h=>({"display-none":h}),De=h=>({"xs-scroll-y":h}),Re=h=>({"h-50":h}),Xe=()=>[],_e=h=>({"mr-0":h});function he(h,jt){if(1&h&&f.nrm(0,"qr-code",33),2&h){const Ue=f.XpG();f.Y8G("value",null==Ue.invoice?null:Ue.invoice.payment_request)("size",Ue.qrWidth)}}function Dt(h,jt){1&h&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function lt(h,jt){if(1&h&&f.nrm(0,"qr-code",33),2&h){const Ue=f.XpG();f.Y8G("value",null==Ue.invoice?null:Ue.invoice.payment_request)("size",Ue.qrWidth)}}function Le(h,jt){1&h&&(f.j41(0,"span",35),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function te(h,jt){1&h&&f.nrm(0,"mat-divider",24),2&h&&f.Y8G("inset",!0)}function ie(h,jt){1&h&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function P(h,jt){1&h&&f.nrm(0,"span",41)}function F(h,jt){if(1&h&&(f.j41(0,"div",37)(1,"div",38)(2,"span",39),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,P,1,0,"span",40),f.k0s()()),2&h){const Ue=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==Ue.invoice?null:Ue.invoice.amt_paid_sat)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,Xe).constructor(35))}}function ve(h,jt){if(1&h&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&h){const Ue=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==Ue.invoice?null:Ue.invoice.amt_paid_sat)," Sats")}}function H(h,jt){if(1&h&&(f.qex(0),f.DNE(1,F,6,5,"div",36)(2,ve,3,3,"div",23),f.bVm()),2&h){const Ue=f.XpG();f.R7$(),f.Y8G("ngIf",Ue.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!Ue.flgInvoicePaid)}}function $(h,jt){1&h&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Ke(h,jt){1&h&&f.nrm(0,"mat-spinner",43),2&h&&f.Y8G("diameter",20)}function Vt(h,jt){if(1&h&&(f.qex(0),f.DNE(1,$,2,0,"span",23)(2,Ke,1,1,"mat-spinner",42),f.bVm()),2&h){const Ue=f.XpG();f.R7$(),f.Y8G("ngIf","OPEN"!==(null==Ue.invoice?null:Ue.invoice.state)||!Ue.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","OPEN"===(null==Ue.invoice?null:Ue.invoice.state)&&Ue.flgVersionCompatible)}}function St(h,jt){1&h&&f.eu8(0)}function ot(h,jt){if(1&h&&(f.j41(0,"div"),f.DNE(1,St,1,0,"ng-container",44),f.k0s()),2&h){f.XpG();const Ue=f.sdS(79);f.R7$(),f.Y8G("ngTemplateOutlet",Ue)}}function nt(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"div",45)(1,"button",46),f.bIt("click",function(){O.eBV(Ue);const pt=f.XpG();return O.Njj(pt.onScrollDown())}),f.j41(2,"mat-icon",47),f.EFF(3,"arrow_downward"),f.k0s()()()}}function ht(h,jt){1&h&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function oe(h,jt){1&h&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ye(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"button",48),f.bIt("copied",function(pt){O.eBV(Ue);const Pt=f.XpG();return O.Njj(Pt.onCopyPayment(pt))}),f.EFF(1),f.k0s()}if(2&h){const Ue=f.XpG();f.Y8G("payload",null==Ue.invoice?null:Ue.invoice.payment_request),f.R7$(),f.JRh(Ue.screenSize===Ue.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function fe(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"button",49),f.bIt("click",function(){O.eBV(Ue);const pt=f.XpG();return O.Njj(pt.onClose())}),f.EFF(1,"OK"),f.k0s()}}function Qe(h,jt){if(1&h&&f.nrm(0,"span",64),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function gt(h,jt){if(1&h&&f.nrm(0,"span",65),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function Gt(h,jt){if(1&h&&f.nrm(0,"span",66),2&h){const Ue=f.XpG(4);f.Y8G("ngClass",f.eq3(1,_e,Ue.screenSize===Ue.screenSizeEnum.XS))}}function rt(h,jt){if(1&h&&(f.j41(0,"div",53)(1,"div",58)(2,"span",59),f.DNE(3,Qe,1,3,"span",60)(4,gt,1,3,"span",61)(5,Gt,1,3,"span",62),f.EFF(6),f.k0s(),f.j41(7,"span",63),f.EFF(8),f.nI1(9,"number"),f.k0s()(),f.nrm(10,"mat-divider",24),f.k0s()),2&h){const Ue=jt.$implicit,wt=f.XpG(3);f.R7$(3),f.Y8G("ngIf","SETTLED"===Ue.state),f.R7$(),f.Y8G("ngIf","ACCEPTED"===Ue.state),f.R7$(),f.Y8G("ngIf","CANCELED"===Ue.state),f.R7$(),f.SpI(" ",Ue.chan_id," "),f.R7$(2),f.JRh(f.i5U(9,6,+Ue.amt_msat/1e3||0,wt.getDecimalFormat(Ue))),f.R7$(2),f.Y8G("inset",!0)}}function cn(h,jt){if(1&h){const Ue=f.RV6();f.j41(0,"div",19)(1,"mat-expansion-panel",51),f.bIt("opened",function(){O.eBV(Ue);const pt=f.XpG(2);return O.Njj(pt.flgOpened=!0)})("closed",function(){O.eBV(Ue);const pt=f.XpG(2);return O.Njj(pt.onExpansionClosed())}),f.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),f.EFF(5,"HTLCs"),f.k0s()()(),f.j41(6,"div",53)(7,"div",54)(8,"span",55),f.EFF(9,"Channel ID"),f.k0s(),f.j41(10,"span",56),f.EFF(11,"Amount (Sats)"),f.k0s()(),f.nrm(12,"mat-divider",24),f.DNE(13,rt,11,9,"div",57),f.k0s()()()}if(2&h){const Ue=f.XpG(2);f.R7$(12),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngForOf",null==Ue.invoice?null:Ue.invoice.htlcs)}}function Ft(h,jt){1&h&&f.nrm(0,"mat-divider",24),2&h&&f.Y8G("inset",!0)}function Sn(h,jt){if(1&h&&(f.nrm(0,"mat-divider",24),f.j41(1,"div",19)(2,"div",25)(3,"h4",21),f.EFF(4,"Preimage"),f.k0s(),f.j41(5,"span",26),f.EFF(6),f.k0s()()(),f.nrm(7,"mat-divider",24),f.j41(8,"div",19)(9,"div",20)(10,"h4",21),f.EFF(11,"State"),f.k0s(),f.j41(12,"span",26),f.EFF(13),f.k0s()(),f.j41(14,"div",20)(15,"h4",21),f.EFF(16,"Expiry"),f.k0s(),f.j41(17,"span",26),f.EFF(18),f.nI1(19,"date"),f.k0s()()(),f.nrm(20,"mat-divider",24),f.j41(21,"div",19)(22,"div",20)(23,"h4",21),f.EFF(24,"Private Routing Hints"),f.k0s(),f.j41(25,"span",26),f.EFF(26),f.k0s()(),f.j41(27,"div",20)(28,"h4",21),f.EFF(29,"AMP Invoice"),f.k0s(),f.j41(30,"span",26),f.EFF(31),f.k0s()()(),f.nrm(32,"mat-divider",24),f.DNE(33,cn,14,2,"div",50)(34,Ft,1,1,"mat-divider",17)),2&h){const Ue=f.XpG();f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Ue.invoice?null:Ue.invoice.r_preimage)||"-"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Ue.invoice?null:Ue.invoice.state),f.R7$(5),f.JRh(f.i5U(19,11,1e3*(+(null==Ue.invoice?null:Ue.invoice.creation_date)+ +(null==Ue.invoice?null:Ue.invoice.expiry)),"dd/MMM/y HH:mm")),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null!=Ue.invoice&&Ue.invoice.private?"Yes":"No"),f.R7$(5),f.JRh(null!=Ue.invoice&&Ue.invoice.is_amp?"Yes":"No"),f.R7$(),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0),f.R7$(),f.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0)}}let Qn=(()=>{var h;class jt{set container(wt){wt&&(this.scrollContainer=wt)}constructor(wt,pt,Pt,gn,ei,vi){this.dialogRef=wt,this.data=pt,this.logger=Pt,this.commonService=gn,this.snackBar=ei,this.store=vi,this.faReceipt=d.Mf0,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=w.f7,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new v.B,new v.B,new v.B,new v.B,new v.B]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===w.f7.XS&&(this.qrWidth=220),this.store.select(e.pI).pipe((0,T.Q)(this.unSubs[0])).subscribe(pt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(pt.version,"0.11.0")});const wt=JSON.parse(JSON.stringify(this.invoice));this.store.select(e.rN).pipe((0,T.Q)(this.unSubs[1])).subscribe(pt=>{const Pt=this.invoice?.state,ei=(pt.listInvoices.invoices||[]).find(vi=>vi.r_hash===wt.r_hash)||null;ei&&(this.invoice=ei),Pt!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(pt)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(wt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+wt)}getDecimalFormat(wt){return wt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(wt=>{wt.next(null),wt.complete()})}static#e=h=()=>(this.\u0275fac=function(pt){return new(pt||jt)(f.rXU(i.CP),f.rXU(i.Vh),f.rXU(u.gP),f.rXU(L.h),f.rXU(C.UG),f.rXU(B.il))},this.\u0275cmp=f.VBU({type:jt,selectors:[["rtl-invoice-information"]],viewQuery:function(pt,Pt){if(1&pt&&f.GBs(ne,5),2&pt){let gn;f.mGM(gn=f.lsd())&&(Pt.container=gn.first)}},standalone:!1,decls:80,vars:49,consts:[["scrollContainer",""],["hideAdvancedText",""],["advancedBlock",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxLayout","column","fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],[3,"ngClass"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"font-size-300"],[1,"font-size-120"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],[4,"ngTemplateOutlet"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function(pt,Pt){if(1&pt){const gn=f.RV6();f.j41(0,"div",3)(1,"div",4),f.DNE(2,he,1,2,"qr-code",5)(3,Dt,2,0,"span",6),f.k0s(),f.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),f.nrm(7,"fa-icon",10),f.j41(8,"span",11),f.EFF(9),f.k0s()(),f.j41(10,"button",12),f.bIt("click",function(){return O.eBV(gn),O.Njj(Pt.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),f.DNE(15,lt,1,2,"qr-code",5)(16,Le,2,0,"span",16),f.k0s(),f.DNE(17,te,1,1,"mat-divider",17),f.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),f.EFF(23),f.k0s(),f.j41(24,"span",22),f.EFF(25),f.nI1(26,"number"),f.DNE(27,ie,2,0,"ng-container",23),f.k0s()(),f.j41(28,"div",20)(29,"h4",21),f.EFF(30,"Amount Settled"),f.k0s(),f.j41(31,"span",22),f.DNE(32,H,3,2,"ng-container",23)(33,Vt,3,2,"ng-container",23),f.k0s()()(),f.nrm(34,"mat-divider",24),f.j41(35,"div",19)(36,"div",20)(37,"h4",21),f.EFF(38,"Date Created"),f.k0s(),f.j41(39,"span",22),f.EFF(40),f.nI1(41,"date"),f.k0s()(),f.j41(42,"div",20)(43,"h4",21),f.EFF(44,"Date Settled"),f.k0s(),f.j41(45,"span",22),f.EFF(46),f.nI1(47,"date"),f.k0s()()(),f.nrm(48,"mat-divider",24),f.j41(49,"div",19)(50,"div",25)(51,"h4",21),f.EFF(52,"Memo"),f.k0s(),f.j41(53,"span",22),f.EFF(54),f.k0s()()(),f.nrm(55,"mat-divider",24),f.j41(56,"div",19)(57,"div",25)(58,"h4",21),f.EFF(59,"Payment Request"),f.k0s(),f.j41(60,"span",26),f.EFF(61),f.k0s()()(),f.nrm(62,"mat-divider",24),f.j41(63,"div",19)(64,"div",25)(65,"h4",21),f.EFF(66,"Payment Hash"),f.k0s(),f.j41(67,"span",26),f.EFF(68),f.k0s()()(),f.DNE(69,ot,2,1,"div",23),f.k0s()()(),f.DNE(70,nt,4,0,"div",27),f.j41(71,"div",28)(72,"button",29),f.bIt("click",function(){return O.eBV(gn),O.Njj(Pt.onShowAdvanced())}),f.DNE(73,ht,2,0,"p",30)(74,oe,2,0,"ng-template",null,1,f.C5r),f.k0s(),f.DNE(76,Ye,2,2,"button",31)(77,fe,2,0,"button",32),f.k0s()()(),f.DNE(78,Sn,35,14,"ng-template",null,2,f.C5r)}if(2&pt){const gn=f.sdS(75);f.R7$(),f.Y8G("fxLayoutAlign",null!=Pt.invoice&&Pt.invoice.payment_request&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(41,J,Pt.screenSize===Pt.screenSizeEnum.XS||Pt.screenSize===Pt.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(4),f.Y8G("icon",Pt.faReceipt),f.R7$(2),f.JRh(Pt.screenSize===Pt.screenSizeEnum.XS?Pt.newlyAdded?"Created":"Invoice":Pt.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(43,De,Pt.screenSize===Pt.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Pt.invoice&&Pt.invoice.payment_request&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(45,J,Pt.screenSize!==Pt.screenSizeEnum.XS&&Pt.screenSize!==Pt.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",Pt.screenSize===Pt.screenSizeEnum.XS||Pt.screenSize===Pt.screenSizeEnum.SM),f.R7$(),f.Y8G("ngClass",f.eq3(47,Re,(null==Pt.invoice?null:Pt.invoice.htlcs)&&(null==Pt.invoice?null:Pt.invoice.htlcs.length)>0&&Pt.showAdvanced)),f.R7$(5),f.JRh(Pt.screenSize===Pt.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI("",f.bMT(26,33,(null==Pt.invoice?null:Pt.invoice.value)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.value)||"0"===(null==Pt.invoice?null:Pt.invoice.value)),f.R7$(5),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.amt_paid_sat)&&"OPEN"!==(null==Pt.invoice?null:Pt.invoice.state)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.amt_paid_sat)||"0"===(null==Pt.invoice?null:Pt.invoice.amt_paid_sat)),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(f.i5U(41,35,1e3*(null==Pt.invoice?null:Pt.invoice.creation_date),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(0!=+(null==Pt.invoice?null:Pt.invoice.settle_date)?f.i5U(47,38,1e3*+(null==Pt.invoice?null:Pt.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Pt.invoice?null:Pt.invoice.memo),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Pt.invoice?null:Pt.invoice.payment_request)||"N/A"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Pt.invoice?null:Pt.invoice.r_hash)||""),f.R7$(),f.Y8G("ngIf",Pt.showAdvanced),f.R7$(),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.htlcs)&&(null==Pt.invoice?null:Pt.invoice.htlcs.length)>0&&Pt.showAdvanced&&Pt.flgOpened),f.R7$(3),f.Y8G("ngIf",!Pt.showAdvanced)("ngIfElse",gn),f.R7$(3),f.Y8G("ngIf",(null==Pt.invoice?null:Pt.invoice.payment_request)&&""!==(null==Pt.invoice?null:Pt.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Pt.invoice&&Pt.invoice.payment_request)||""===(null==Pt.invoice?null:Pt.invoice.payment_request))}},dependencies:[A.YU,A.Sq,A.bT,A.T3,Pe.aY,le.$z,le.$0,Ce.m2,Ce.MM,Ae.GK,Ae.Z2,Ae.WN,j.An,W.q,G.LG,re.DJ,re.sA,re.UI,xe.PW,Ee.oV,V.Um,ce.U,be.N,A.QX,A.vh],encapsulation:2}))}return h(),jt})()},1001(Zt,pe,l){"use strict";l.d(pe,{C:()=>d,q:()=>v});var i=l(1514);const d=[(0,i.hZ)("opacityAnimation",[(0,i.kY)(":enter",[(0,i.iF)({opacity:0}),(0,i.i0)("1000ms ease-in",(0,i.iF)({opacity:1}))]),(0,i.kY)(":leave",[(0,i.i0)("0ms",(0,i.iF)({opacity:0}))])])],v=[(0,i.hZ)("fadeIn",[(0,i.kY)("void => *",[]),(0,i.kY)("* => void",[]),(0,i.kY)("* => *",[(0,i.i0)(800,(0,i.i7)([(0,i.iF)({opacity:0,transform:"translateY(100%)"}),(0,i.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881(Zt,pe,l){"use strict";l.d(pe,{E:()=>d});var i=l(1514);const d=(0,i.hZ)("routeAnimation",[(0,i.kY)("* => *",[(0,i.P)(":enter, :leave",(0,i.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,i.Os)([(0,i.P)(":enter",[(0,i.iF)({transform:"translateX(100%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,i.P)(":leave",[(0,i.iF)({transform:"translateX(0%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949(Zt,pe,l){"use strict";l.d(pe,{k:()=>d});var i=l(1514);const d=[(0,i.hZ)("sliderAnimation",[(0,i.wk)("*",(0,i.iF)({transform:"translateX(0)"})),(0,i.kY)("void => backward",[(0,i.iF)({transform:"translateX(-100%"}),(0,i.i0)("800ms")]),(0,i.kY)("backward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(100%)"}))]),(0,i.kY)("void => forward",[(0,i.iF)({transform:"translateX(100%"}),(0,i.i0)("800ms")]),(0,i.kY)("forward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(-100%)"}))])])]},2462(Zt,pe,l){"use strict";l.d(pe,{f:()=>C});var i=l(1585),d=l(3664),v=l(8570),T=l(2200),w=l(8834),e=l(5596),O=l(1997),f=l(2920),u=l(9587);function L(B,A){if(1&B&&(d.j41(0,"p",14),d.EFF(1),d.k0s()),2&B){const Pe=d.XpG();d.R7$(),d.JRh(Pe.data.titleMessage)}}let C=(()=>{var B;class A{constructor(le,Ce,Ae){this.dialogRef=le,this.data=Ce,this.logger=Ae,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=B=()=>(this.\u0275fac=function(Ce){return new(Ce||A)(d.rXU(i.CP),d.rXU(i.Vh),d.rXU(v.gP))},this.\u0275cmp=d.VBU({type:A,selectors:[["rtl-error-message"]],standalone:!1,decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(Ce,Ae){1&Ce&&(d.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),d.EFF(5),d.k0s()(),d.j41(6,"button",5),d.bIt("click",function(){return Ae.onClose()}),d.EFF(7,"X"),d.k0s()(),d.j41(8,"mat-card-content",6)(9,"div",7),d.DNE(10,L,2,1,"p",8),d.j41(11,"h4",9),d.EFF(12,"Error Code"),d.k0s(),d.j41(13,"span"),d.EFF(14),d.k0s(),d.nrm(15,"mat-divider",10),d.j41(16,"h4",9),d.EFF(17,"Error Message"),d.k0s(),d.j41(18,"span",11),d.EFF(19),d.k0s(),d.nrm(20,"mat-divider",10),d.j41(21,"h4",9),d.EFF(22,"API URL"),d.k0s(),d.j41(23,"span",11),d.EFF(24),d.k0s(),d.nrm(25,"mat-divider",10),d.j41(26,"div",12)(27,"button",13),d.EFF(28,"OK"),d.k0s()()()()()()),2&Ce&&(d.R7$(5),d.JRh(Ae.data.alertTitle||"ERROR"),d.R7$(5),d.Y8G("ngIf",Ae.data.titleMessage),d.R7$(4),d.JRh(Ae.data.message.code),d.R7$(5),d.JRh(Ae.errorMessage),d.R7$(5),d.JRh(Ae.data.message.URL),d.R7$(3),d.Y8G("mat-dialog-close",!1))},dependencies:[T.bT,i.tx,w.$z,e.m2,e.MM,O.q,f.DJ,f.sA,f.UI,u.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return B(),A})()},1092(Zt,pe,l){"use strict";l.d(pe,{D:()=>Tt});var i=l(9417),d=l(1413),v=l(6977),T=l(1585),w=l(5383),e=l(1001),O=l(4416),f=l(3536),u=l(3664),L=l(2615),C=l(9640),B=l(4104),A=l(2200),Pe=l(8570),le=l(3694),Ce=l(2571),Ae=l(8834),j=l(5596),W=l(9454),G=l(2629),re=l(3746),xe=l(9588),Ee=l(7575),V=l(5951),ce=l(2920),be=l(6038),ne=l(450),J=l(455),De=l(6013),Re=l(9587),Xe=l(1997);const _e=At=>({"h-5":At});function he(At,we){1&At&&u.eu8(0)}function Dt(At,we){1&At&&u.eu8(0)}function lt(At,we){if(1&At&&(u.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),u.EFF(4),u.nI1(5,"number"),u.k0s()()(),u.DNE(6,Dt,1,0,"ng-container",2),u.k0s()),2&At){const ae=u.XpG(),Lt=u.sdS(4);u.Y8G("expanded",ae.panelExpanded)("ngClass",u.eq3(7,_e,!ae.flgShowPanel)),u.R7$(4),u.Lme("Quote for ",ae.termCaption," amount (",u.bMT(5,5,ae.quote.amount)," Sats)"),u.R7$(2),u.Y8G("ngTemplateOutlet",Lt)}}function Le(At,we){if(1&At&&(u.j41(0,"div",19)(1,"h4",8),u.EFF(2," Prepay Amount (Sats) "),u.j41(3,"mat-icon",20),u.EFF(4,"info_outline"),u.k0s()(),u.j41(5,"span",10),u.EFF(6),u.nI1(7,"number"),u.k0s()()),2&At){const ae=u.XpG(2);u.R7$(6),u.JRh(u.bMT(7,1,null==ae.quote?null:ae.quote.prepay_amt_sat))}}function te(At,we){1&At&&u.nrm(0,"mat-divider",13)}function ie(At,we){if(1&At&&(u.j41(0,"div",6)(1,"div",21)(2,"h4",8),u.EFF(3," Swap Server Node Pubkey "),u.j41(4,"mat-icon",22),u.EFF(5,"info_outline"),u.k0s()(),u.j41(6,"span",10),u.EFF(7),u.k0s()()()),2&At){const ae=u.XpG(2);u.R7$(7),u.JRh(null==ae.quote?null:ae.quote.swap_payment_dest)}}function P(At,we){if(1&At&&(u.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),u.EFF(4," Swap Fee (Sats) "),u.j41(5,"mat-icon",9),u.EFF(6,"info_outline"),u.k0s()(),u.j41(7,"span",10),u.EFF(8),u.nI1(9,"number"),u.k0s()(),u.j41(10,"div",7)(11,"h4",8),u.EFF(12),u.j41(13,"mat-icon",11),u.EFF(14,"info_outline"),u.k0s()(),u.j41(15,"span",10),u.EFF(16),u.nI1(17,"number"),u.k0s()(),u.DNE(18,Le,8,3,"div",12),u.k0s(),u.nrm(19,"mat-divider",13),u.j41(20,"div",6)(21,"div",14)(22,"h4",8),u.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),u.j41(24,"mat-icon",15),u.EFF(25,"info_outline"),u.k0s()(),u.j41(26,"span",10),u.EFF(27),u.nI1(28,"number"),u.k0s()(),u.j41(29,"div",14)(30,"h4",8),u.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),u.j41(32,"mat-icon",16),u.EFF(33,"info_outline"),u.k0s()(),u.j41(34,"span",10),u.EFF(35,"36"),u.k0s()()(),u.DNE(36,te,1,0,"mat-divider",17)(37,ie,8,1,"div",18),u.k0s()),2&At){const ae=u.XpG();u.R7$(2),u.Y8G("ngClass",null!=ae.quote&&ae.quote.prepay_amt_sat?"flex-30":"flex-50"),u.R7$(6),u.JRh(u.bMT(9,9,null==ae.quote?null:ae.quote.swap_fee_sat)),u.R7$(2),u.Y8G("ngClass",null!=ae.quote&&ae.quote.prepay_amt_sat?"flex-35":"flex-50"),u.R7$(2),u.SpI(" ",null!=ae.quote&&ae.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=ae.quote&&ae.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),u.R7$(4),u.JRh(u.bMT(17,11,null!=ae.quote&&ae.quote.htlc_sweep_fee_sat?ae.quote.htlc_sweep_fee_sat:null!=ae.quote&&ae.quote.htlc_publish_fee_sat?ae.quote.htlc_publish_fee_sat:0)),u.R7$(2),u.Y8G("ngIf",null==ae.quote?null:ae.quote.prepay_amt_sat),u.R7$(9),u.JRh(u.bMT(28,13,(null==ae.quote?null:ae.quote.amount)*((null!=ae.quote&&ae.quote.off_chain_swap_routing_fee_percentage?null==ae.quote?null:ae.quote.off_chain_swap_routing_fee_percentage:2)/100))),u.R7$(9),u.Y8G("ngIf",""!==(null==ae.quote?null:ae.quote.swap_payment_dest)),u.R7$(),u.Y8G("ngIf",""!==(null==ae.quote?null:ae.quote.swap_payment_dest))}}let F=(()=>{var At;class we{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},standalone:!1,decls:5,vars:1,consts:[["informationBlock",""],["quoteDetailsBlock",""],[4,"ngTemplateOutlet"],["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded","ngClass"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],[3,"ngClass"],["fxLayoutAlign","start center",1,"font-bold-500"],["matTooltip","Estimated fee charged by the loop server for the swap",1,"info-icon","info-icon-text"],[1,"foreground-secondary-text"],["matTooltip","An estimate of the on-chain fee that needs to be paid to sweep the HTLC",1,"info-icon","info-icon-text"],["fxFlex","35",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","50"],["matTooltip","Maximum off-chain fee that may be paid for routing the payment amount to the server",1,"info-icon","info-icon-text"],["matTooltip","Maximum off-chain fee that may be paid for routing the pre-payment amount to the server","matTooltipPosition","before",1,"info-icon","info-icon-text"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxFlex","35"],["matTooltip","The part of the swap fee that is requested as a prepayment","matTooltipPosition","before",1,"info-icon","info-icon-text"],["fxFlex","100"],["matTooltip","The node pubkey, where the swap payments will be sent",1,"info-icon","info-icon-text"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,he,1,0,"ng-container",2)(1,lt,7,9,"ng-template",null,0,u.C5r)(3,P,38,15,"ng-template",null,1,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4);u.Y8G("ngTemplateOutlet",_n.showPanel?fi:bi)}},dependencies:[A.YU,A.bT,A.T3,W.GK,W.Z2,W.WN,G.An,Xe.q,ce.DJ,ce.sA,ce.UI,be.PW,J.oV,A.QX],encapsulation:2}))}return At(),we})();function ve(At,we){1&At&&u.eu8(0)}function H(At,we){if(1&At&&(u.j41(0,"div",3)(1,"span",4),u.EFF(2),u.k0s()()),2&At){const ae=u.XpG();u.R7$(2),u.JRh(null!=ae.loopStatus&&ae.loopStatus.error?null==ae.loopStatus?null:ae.loopStatus.error:"Unknown Error.")}}function $(At,we){if(1&At&&(u.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),u.EFF(4,"ID"),u.k0s(),u.j41(5,"span",4),u.EFF(6),u.k0s()()(),u.nrm(7,"mat-divider",8),u.j41(8,"div",5)(9,"div",6)(10,"h4",7),u.EFF(11,"HTLC Address"),u.k0s(),u.j41(12,"span",4),u.EFF(13),u.k0s()()()()),2&At){const ae=u.XpG();u.R7$(6),u.JRh(null==ae.loopStatus?null:ae.loopStatus.id_bytes),u.R7$(7),u.JRh(null==ae.loopStatus?null:ae.loopStatus.htlc_address)}}let Ke=(()=>{var At;class we{constructor(){}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},standalone:!1,decls:5,vars:1,consts:[["loopFailedBlock",""],["loopSuccessfulBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,ve,1,0,"ng-container",2)(1,H,3,1,"ng-template",null,0,u.C5r)(3,$,14,2,"ng-template",null,1,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4);u.Y8G("ngTemplateOutlet",null!=_n.loopStatus&&_n.loopStatus.error?fi:bi)}},dependencies:[A.T3,Xe.q,ce.DJ,ce.sA,ce.UI],encapsulation:2}))}return At(),we})();var Vt=l(6949);const St=(At,we)=>({"small-svg":At,"large-svg":we});function ot(At,we){1&At&&u.eu8(0)}function nt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",7)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u.nrm(8,"circle",12)(9,"path",13),u.k0s(),u.j41(10,"g",14),u.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),u.k0s()()()()(),L.joV(),u.j41(26,"div",30)(27,"mat-card-title"),u.EFF(28,"Loop In explained."),u.k0s()(),u.j41(29,"div",31)(30,"mat-card-subtitle",32),u.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function ht(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",33)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),u.nrm(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),u.k0s(),u.j41(28,"g",56)(29,"g",57)(30,"g",58),u.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),u.j41(34,"g",62),u.nrm(35,"path",63),u.k0s(),u.nrm(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),u.k0s(),u.j41(45,"g",73),u.nrm(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),u.k0s(),u.nrm(59,"path",87),u.k0s()()()()()(),L.joV(),u.j41(60,"div",30)(61,"mat-card-title"),u.EFF(62,"Step 1: Deciding to Loop In"),u.k0s()(),u.j41(63,"div",31)(64,"mat-card-subtitle",32),u.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function oe(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",88)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",89),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),u.nrm(14,"circle",95)(15,"path",96),u.j41(16,"g",97),u.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),u.k0s(),u.j41(20,"g",101),u.nrm(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),u.j41(31,"g",112)(32,"g",113),u.nrm(33,"g",114),u.k0s(),u.nrm(34,"g",115),u.k0s()()(),u.j41(35,"g",116)(36,"g",40),u.nrm(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),u.k0s(),u.j41(53,"g",56)(54,"g",57)(55,"g",58),u.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),u.j41(59,"g",122),u.nrm(60,"path",63),u.k0s(),u.nrm(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),u.k0s(),u.j41(70,"g",73),u.nrm(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),u.k0s(),u.nrm(84,"path",139),u.k0s()()()(),u.nrm(85,"path",140)(86,"path",141),u.k0s()()()(),L.joV(),u.j41(87,"div",30)(88,"mat-card-title"),u.EFF(89,"Step 2: Send payment out"),u.k0s()(),u.j41(90,"div",31)(91,"mat-card-subtitle",32),u.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Ye(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",142)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),u.nrm(10,"circle",12)(11,"path",147),u.k0s(),u.j41(12,"g",14),u.nrm(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),u.k0s()(),u.j41(28,"g",149),u.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),u.k0s(),u.j41(32,"g",152),u.nrm(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),u.j41(43,"g",112)(44,"g",113),u.nrm(45,"g",114),u.k0s(),u.nrm(46,"g",115),u.k0s()()(),u.nrm(47,"path",153),u.k0s()()()(),L.joV(),u.j41(48,"div",30)(49,"mat-card-title"),u.EFF(50,"Step 3: Recieve Funds Off-chain"),u.k0s()(),u.j41(51,"div",31)(52,"mat-card-subtitle",32),u.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function fe(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",154)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),u.nrm(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),u.k0s(),u.j41(28,"g",172),u.nrm(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),u.k0s(),u.nrm(43,"path",187),u.k0s()(),u.nrm(44,"circle",188),u.k0s()()()(),L.joV(),u.j41(45,"div",30)(46,"mat-card-title"),u.EFF(47,"Done!"),u.k0s()(),u.j41(48,"div",31)(49,"mat-card-subtitle",32),u.EFF(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,St,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}let Qe=(()=>{var At;class we{constructor(Lt){this.commonService=Lt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.bkB,this.screenSize="",this.screenSizeEnum=O.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Lt){2===Lt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Lt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopIn_Step02","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(542.000000, 210.000000)"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"],["fxFlex","30","viewBox","0 0 364 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","Loopv0.3","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step03","transform","translate(-1127.000000, -164.000000)"],["id","LoopIn_Step03","transform","translate(1127.000000, 164.000000)"],["id","Group-21"],["id","Group-35","transform","translate(107.000000, 10.000000)"],["id","Oval","fill-rule","nonzero","cx","214.487742","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M232.082742,28.5000036 C236.446821,28.5000036 239.999928,25.1343958 239.999928,21.0000215 C239.999928,16.8656472 236.446821,13.5000393 232.082742,13.5000393 C228.98433,13.5000393 226.560889,15.4359631 224.999964,17.1843872 C223.43904,15.4359631 221.015599,13.5000393 217.917187,13.5000393 C213.553107,13.5000393 210,16.8656472 210,21.0000215 C210,25.1343958 213.553107,28.5000036 217.917187,28.5000036 C221.015599,28.5000036 223.43904,26.5640798 224.999964,24.8156557 C226.560889,26.5640798 228.98433,28.5000036 232.082742,28.5000036 Z M217.917187,24.0000143 C216.032807,24.0000143 214.499989,22.6546959 214.499989,21.0000286 C214.499989,19.3453471 216.032807,18.0000286 217.917187,18.0000286 C219.707771,18.0000286 221.357776,19.6921938 222.323426,21.0000286 C221.36716,22.2937501 219.703102,24.0000143 217.917187,24.0000143 Z M232.082742,24.0000143 C230.292157,24.0000143 228.642152,22.3078492 227.676502,21.0000286 C228.632768,19.7062929 230.296827,18.0000286 232.082742,18.0000286 C233.967121,18.0000286 235.499939,19.3453471 235.499939,21.0000286 C235.499939,22.6546959 233.967121,24.0000143 232.082742,24.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(0.000000, 64.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-20"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-20"],["id","Group-43","transform","translate(152.000000, 35.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["id","LoopIn_Step03","fill-rule","nonzero"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-10"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","15.8607624","r","7.93434243"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.35996418",1,"fill-color-31"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-4"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-20"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-20"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-16"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-9"],["d","M93.2292414,91.9116485 L93.2292414,89.7922708 C93.647506,89.8022089 94.0558324,89.8022089 94.4442517,89.8022089 L94.4442517,91.9116485 L95.9779294,91.9116485 L95.9779294,89.7623948 C98.5473303,89.6229527 100.264986,88.975618 100.494057,86.5555973 C100.673282,84.6136241 99.757032,83.7471573 98.3030443,83.3986138 C99.1794183,82.9504733 99.7371558,82.1537275 99.6076827,80.8291821 C99.4383337,79.0166511 97.9497787,78.4091306 95.9778985,78.2398742 L95.9778985,75.7301945 L94.4442208,75.7301945 L94.4442208,78.1701531 C94.0458325,78.1701531 93.6375061,78.1800912 93.2292106,78.1900602 L93.2292106,75.7301945 L91.695502,75.7301945 L91.695502,78.2398742 C91.1316227,78.2569109 90.4748746,78.2485777 88.6181777,78.2398742 L88.6181777,79.8731181 C89.8290831,79.8516987 90.4644118,79.7738914 90.6099957,80.5502979 L90.6099957,87.4220333 C90.517559,88.0380413 90.0245427,87.9493391 88.926907,87.9299259 L88.6181777,89.7524258 L89.5798445,89.7528809 C91.4824304,89.7548325 91.6955329,89.7623948 91.6955329,89.7623948 L91.6955329,91.9116485 L93.2292414,91.9116485 Z M93.2591175,83.0400705 L93.2591175,79.9826533 C94.1255534,79.9826533 96.8343964,79.7137998 96.8343964,81.5163618 C96.8343964,83.2392647 94.1255843,83.0400705 93.2591175,83.0400705 Z M93.2591175,87.9398948 L93.2591175,84.5737791 C94.2948407,84.5737791 97.4665153,84.2849568 97.4665153,86.2568678 C97.4665153,88.1589961 94.2948407,87.9398948 93.2591175,87.9398948 Z","id","b","fill-rule","nonzero","transform","translate(94.567271, 83.820921) rotate(14.000000) translate(-94.567271, -83.820921) ",1,"fill-color-9"],["d","M305.611064,96.181454 L305.611064,94.0620763 C306.029328,94.0720144 306.437655,94.0720144 306.826074,94.0720144 L306.826074,96.181454 L308.359752,96.181454 L308.359752,94.0322003 C310.929153,93.8927582 312.646809,93.2454235 312.875879,90.8254028 C313.055104,88.8834296 312.138854,88.0169628 310.684867,87.6684193 C311.561241,87.2202788 312.118978,86.423533 311.989505,85.0989876 C311.820156,83.2864566 310.331601,82.678936 308.359721,82.5096797 L308.359721,80 L306.826043,80 L306.826043,82.4399586 C306.427655,82.4399586 306.019328,82.4498967 305.611033,82.4598657 L305.611033,80 L304.077324,80 L304.077324,82.5096797 C303.513445,82.5267164 302.856697,82.5183832 301,82.5096797 L301,84.1429236 C302.210905,84.1215042 302.846234,84.0436969 302.991818,84.8201034 L302.991818,91.6918387 C302.899381,92.3078468 302.406365,92.2191446 301.308729,92.1997314 L301,94.0222313 L301.961667,94.0226864 C303.864253,94.024638 304.077355,94.0322003 304.077355,94.0322003 L304.077355,96.181454 L305.611064,96.181454 Z M305.64094,87.309876 L305.64094,84.2524587 C306.507376,84.2524587 309.216219,83.9836053 309.216219,85.7861673 C309.216219,87.5090702 306.507407,87.309876 305.64094,87.309876 Z M305.64094,92.2097003 L305.64094,88.8435846 C306.676663,88.8435846 309.848338,88.5547623 309.848338,90.5266733 C309.848338,92.4288016 306.676663,92.2097003 305.64094,92.2097003 Z","id","b","fill-rule","nonzero","transform","translate(306.949093, 88.090727) rotate(14.000000) translate(-306.949093, -88.090727) ",1,"fill-color-26"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step04","transform","translate(-1799.000000, -756.000000)"],["id","LoopIn_Step04","transform","translate(1799.000000, 756.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["d","M225.805162,92.2474279 C226.071703,92.2474279 226.325569,92.1077892 226.465207,91.8666288 L232.050261,82.2197185 C232.345374,81.7151473 231.980441,81.0773212 231.393376,81.0773212 L227.731346,81.0773212 L229.083201,76.9583506 C229.210134,76.4759989 228.845202,76 228.346983,76 L223.777394,76 C223.396595,76 223.07291,76.2824384 223.022149,76.6600456 L222.006685,84.2760274 C221.946379,84.7329987 222.301798,85.1391782 222.76193,85.1391782 L226.528674,85.1391782 L225.065752,91.3112968 C224.951525,91.7936485 225.319618,92.2474279 225.805162,92.2474279 Z","id","b","fill-rule","nonzero","transform","translate(227.077378, 84.123714) rotate(14.000000) translate(-227.077378, -84.123714) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step05","transform","translate(-2386.000000, -764.000000)","fill-rule","nonzero"],["id","LoopIn_Step05","transform","translate(2386.000000, 764.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,ot,1,0,"ng-container",5)(1,nt,32,5,"ng-template",null,0,u.C5r)(3,ht,66,5,"ng-template",null,1,u.C5r)(5,oe,93,5,"ng-template",null,2,u.C5r)(7,Ye,54,5,"ng-template",null,3,u.C5r)(9,fe,51,5,"ng-template",null,4,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4),Qi=u.sdS(6),zi=u.sdS(8),It=u.sdS(10);u.Y8G("ngTemplateOutlet",1===_n.stepNumber?fi:2===_n.stepNumber?bi:3===_n.stepNumber?Qi:4===_n.stepNumber?zi:It)}},dependencies:[A.YU,A.T3,j.Lc,j.dh,ce.DJ,ce.sA,ce.UI,be.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Vt.k]}}))}return At(),we})();const gt=(At,we)=>({"small-svg":At,"large-svg":we});function Gt(At,we){1&At&&u.eu8(0)}function rt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",7)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),u.nrm(8,"circle",12)(9,"path",13),u.k0s(),u.j41(10,"g",14),u.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),u.k0s()()()()(),L.joV(),u.j41(26,"div",30)(27,"mat-card-title"),u.EFF(28,"Loop Out explained."),u.k0s()(),u.j41(29,"div",31)(30,"mat-card-subtitle",32),u.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function cn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",33)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),u.nrm(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),u.k0s(),u.j41(28,"g",56),u.nrm(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),u.k0s(),u.nrm(43,"path",71),u.k0s()(),u.nrm(44,"circle",72),u.k0s()()()(),L.joV(),u.j41(45,"div",30)(46,"mat-card-title"),u.EFF(47,"Step 1: Deciding to Loop Out"),u.k0s()(),u.j41(48,"div",31)(49,"mat-card-subtitle",32),u.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Ft(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",73)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",74),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",75)(11,"g",76),u.nrm(12,"circle",77)(13,"path",78),u.j41(14,"g",79),u.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),u.k0s(),u.j41(18,"g",83),u.nrm(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),u.j41(29,"g",94)(30,"g",95),u.nrm(31,"g",96),u.k0s(),u.nrm(32,"g",97),u.k0s(),u.nrm(33,"path",98),u.k0s(),u.j41(34,"g",99)(35,"g",41)(36,"g",42),u.nrm(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),u.k0s(),u.j41(52,"g",56),u.nrm(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),u.k0s(),u.nrm(67,"path",111),u.k0s()()()()()(),L.joV(),u.j41(68,"div",30)(69,"mat-card-title"),u.EFF(70,"Step 2: Send lightning payment"),u.k0s()(),u.j41(71,"div",31)(72,"mat-card-subtitle",32),u.EFF(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Sn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",112)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),u.nrm(9,"circle",12)(10,"path",117),u.k0s(),u.j41(11,"g",14),u.nrm(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),u.k0s()(),u.j41(27,"g",119),u.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),u.k0s(),u.j41(31,"g",121),u.nrm(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),u.j41(42,"g",94)(43,"g",95),u.nrm(44,"g",96),u.k0s(),u.nrm(45,"g",97),u.k0s(),u.nrm(46,"path",123),u.k0s()()()()(),L.joV(),u.j41(47,"div",30)(48,"mat-card-title"),u.EFF(49,"Step 3: Receive funds back"),u.k0s()(),u.j41(50,"div",31)(51,"mat-card-subtitle",32),u.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}function Qn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",6),u.bIt("swipe",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.onSwipe(Ht))}),L.qSk(),u.j41(1,"svg",124)(2,"desc"),u.EFF(3,"Created with Sketch."),u.k0s(),u.j41(4,"defs")(5,"linearGradient",34),u.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),u.k0s()(),u.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),u.nrm(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),u.k0s(),u.j41(28,"g",142)(29,"g",143)(30,"g",144),u.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),u.j41(34,"g",148),u.nrm(35,"path",149),u.k0s(),u.nrm(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),u.k0s(),u.j41(45,"g",159),u.nrm(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),u.k0s(),u.nrm(59,"path",173),u.k0s()()()()()(),L.joV(),u.j41(60,"div",30)(61,"mat-card-title"),u.EFF(62,"Done!"),u.k0s()(),u.j41(63,"div",31)(64,"mat-card-subtitle",32),u.EFF(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@sliderAnimation",ae.animationDirection),u.R7$(),u.Y8G("ngClass",u.l_i(2,gt,ae.screenSize===ae.screenSizeEnum.XS,ae.screenSize!==ae.screenSizeEnum.XS))}}let h=(()=>{var At;class we{constructor(Lt){this.commonService=Lt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.bkB,this.screenSize="",this.screenSizeEnum=O.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Lt){2===Lt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Lt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopOut_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopOut_Step02","transform","translate(-540.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(540.000000, 210.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["fxFlex","30","viewBox","0 0 373 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","LoopOut_Step03","transform","translate(-460.000000, -210.000000)"],["id","Loop_Step03","transform","translate(460.000000, 210.000000)"],["id","Oval","fill-rule","nonzero","cx","330.487742","cy","57.4877419","r","42.4877419",1,"fill-color-2"],["d","M345.082742,43.5000036 C349.446821,43.5000036 352.999928,40.1343958 352.999928,36.0000215 C352.999928,31.8656472 349.446821,28.5000393 345.082742,28.5000393 C341.98433,28.5000393 339.560889,30.4359631 337.999964,32.1843872 C336.43904,30.4359631 334.015599,28.5000393 330.917187,28.5000393 C326.553107,28.5000393 323,31.8656472 323,36.0000215 C323,40.1343958 326.553107,43.5000036 330.917187,43.5000036 C334.015599,43.5000036 336.43904,41.5640798 337.999964,39.8156557 C339.560889,41.5640798 341.98433,43.5000036 345.082742,43.5000036 Z M330.917187,39.0000143 C329.032807,39.0000143 327.499989,37.6546959 327.499989,36.0000286 C327.499989,34.3453471 329.032807,33.0000286 330.917187,33.0000286 C332.707771,33.0000286 334.357776,34.6921938 335.323426,36.0000286 C334.36716,37.2937501 332.703102,39.0000143 330.917187,39.0000143 Z M345.082742,39.0000143 C343.292157,39.0000143 341.642152,37.3078492 340.676502,36.0000286 C341.632768,34.7062929 343.296827,33.0000286 345.082742,33.0000286 C346.967121,33.0000286 348.499939,34.3453471 348.499939,36.0000286 C348.499939,37.6546959 346.967121,39.0000143 345.082742,39.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(113.000000, 79.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-22"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(265.000000, 50.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-3"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["d","M46.60483,51.432122 C46.8713708,51.432122 47.1252368,51.2924832 47.2648756,51.0513229 L52.8499289,41.4044125 C53.145042,40.8998413 52.7801095,40.2620153 52.1930443,40.2620153 L48.5310139,40.2620153 L49.8828693,36.1430446 C50.0098023,35.6606929 49.6448699,35.184694 49.1466515,35.184694 L44.5770624,35.184694 C44.1962633,35.184694 43.8725779,35.4671324 43.8218171,35.8447396 L42.8063528,43.4607214 C42.7460473,43.9176927 43.1014659,44.3238722 43.5615982,44.3238722 L47.3283421,44.3238722 L45.8654203,50.4959909 C45.751193,50.9783426 46.1192864,51.432122 46.60483,51.432122 Z","id","b","fill-rule","nonzero","transform","translate(47.877046, 43.308408) rotate(14.000000) translate(-47.877046, -43.308408) ",1,"fill-color-12"],["id","Group-34","fill-rule","nonzero"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","17.5648113","r","8.78679245"],["id","Oval","cx","76.317438","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-8"],["id","Path","opacity","0.222721354","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-18"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-8"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-14"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step04","transform","translate(-503.000000, -212.000000)"],["id","Loop_Step04","transform","translate(503.000000, 212.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M46.519593,50.6740439 L46.519593,48.5460252 C46.9395628,48.5560039 47.349554,48.5560039 47.739557,48.5560039 L47.739557,50.6740439 L49.2794877,50.6740439 L49.2794877,48.5160274 C51.8593644,48.3760168 53.5840235,47.7260428 53.8140277,45.2961554 C53.9939838,43.3462645 53.0739982,42.476265 51.6140824,42.1263004 C52.4940295,41.6763328 53.054041,40.8763386 52.92404,39.5463928 C52.7540005,37.7264719 51.2593765,37.1164744 49.2794567,36.9465279 L49.2794567,34.4266159 L47.739526,34.4266159 L47.739526,36.8765226 C47.3395134,36.8765226 46.9295222,36.8865012 46.519562,36.8965108 L46.519562,34.4266159 L44.9796003,34.4266159 L44.9796003,36.9465279 C44.413422,36.9636341 43.7539962,36.9552669 41.8897293,36.9465279 L41.8897293,38.5864308 C43.1055717,38.564924 43.7434908,38.4867995 43.8896683,39.2663716 L43.8896683,46.1661239 C43.7968547,46.7846435 43.3018283,46.6955796 42.1997174,46.6760872 L41.8897293,48.5060178 C44.6975648,48.5060178 44.9796313,48.5160274 44.9796313,48.5160274 L44.9796313,50.6740439 L46.519593,50.6740439 Z M46.5495908,41.7662953 L46.5495908,38.6964125 C47.4195593,38.6964125 50.1394466,38.4264629 50.1394466,40.2363742 C50.1394466,41.9663016 47.4195903,41.7662953 46.5495908,41.7662953 Z M46.5495908,46.6860969 L46.5495908,43.306257 C47.5895368,43.306257 50.7741427,43.0162572 50.7741427,44.9962079 C50.7741427,46.9060914 47.5895368,46.6860969 46.5495908,46.6860969 Z","id","B","fill-rule","nonzero","transform","translate(47.863077, 42.550330) rotate(14.000000) translate(-47.863077, -42.550330) ",1,"fill-color-29"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step05","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step05","transform","translate(542.000000, 210.000000)"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"]],template:function(Ht,_n){if(1&Ht&&u.DNE(0,Gt,1,0,"ng-container",5)(1,rt,32,5,"ng-template",null,0,u.C5r)(3,cn,51,5,"ng-template",null,1,u.C5r)(5,Ft,74,5,"ng-template",null,2,u.C5r)(7,Sn,53,5,"ng-template",null,3,u.C5r)(9,Qn,66,5,"ng-template",null,4,u.C5r),2&Ht){const fi=u.sdS(2),bi=u.sdS(4),Qi=u.sdS(6),zi=u.sdS(8),It=u.sdS(10);u.Y8G("ngTemplateOutlet",1===_n.stepNumber?fi:2===_n.stepNumber?bi:3===_n.stepNumber?Qi:4===_n.stepNumber?zi:It)}},dependencies:[A.YU,A.T3,j.Lc,j.dh,ce.DJ,ce.sA,ce.UI,be.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Vt.k]}}))}return At(),we})();const jt=["stepper"],Ue=()=>[1,2,3,4,5],wt=(At,we)=>({"dot-primary":At,"dot-primary-lighter":we});function pt(At,we){if(1&At&&(u.j41(0,"div",49)(1,"p",50)(2,"strong"),u.EFF(3,"Channel Peer:\xa0"),u.k0s(),u.EFF(4),u.nI1(5,"titlecase"),u.k0s(),u.j41(6,"p",51)(7,"strong"),u.EFF(8,"Channel ID:\xa0"),u.k0s(),u.EFF(9),u.k0s(),u.nrm(10,"p",51),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(4),u.JRh(u.bMT(5,2,ae.channel.remote_alias)),u.R7$(5),u.JRh(ae.channel.chan_id)}}function Pt(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.JRh(ae.inputFormLabel)}}function gn(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Amount is required."),u.k0s())}function ei(At,we){if(1&At&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"number"),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Amount must be greater than or equal to ",u.bMT(2,1,ae.minQuote.amount),".")}}function vi(At,we){if(1&At&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"number"),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Amount must be less than or equal to ",u.bMT(2,1,ae.maxQuote.amount),".")}}function Ni(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Confirmation target is required."),u.k0s())}function kn(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Confirmation target must be a positive number."),u.k0s())}function Ri(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Percentage is required."),u.k0s())}function vt(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Percentage must be a positive number."),u.k0s())}function ee(At,we){if(1&At&&(u.j41(0,"mat-form-field",51)(1,"mat-label"),u.EFF(2,"Max Off-chain Routing Fee (%)"),u.k0s(),u.nrm(3,"input",52),u.DNE(4,Ri,2,0,"mat-error",26)(5,vt,2,0,"mat-error",26),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(3),u.Y8G("step",1),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.routingFeePercent.errors?null:ae.inputFormGroup.controls.routingFeePercent.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.routingFeePercent.errors?null:ae.inputFormGroup.controls.routingFeePercent.errors.min)}}function ye(At,we){1&At&&(u.j41(0,"div",53)(1,"mat-slide-toggle",54),u.EFF(2,"Fast"),u.k0s(),u.j41(3,"mat-icon",55),u.EFF(4,"info_outline"),u.k0s()())}function ke(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.JRh(ae.quoteFormLabel)}}function Se(At,we){1&At&&(u.j41(0,"p",56)(1,"mat-icon",57),u.EFF(2,"close"),u.k0s(),u.EFF(3,"Local balance amount is insufficient for swap."),u.k0s())}function ge(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",58),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onValidateAmount())}),u.EFF(1,"Next"),u.k0s()}}function N(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",59),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onLoop())}),u.EFF(1),u.k0s()}if(2&At){const ae=u.XpG(2);u.R7$(),u.SpI("Initiate ",ae.loopDirectionCaption)}}function Z(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(3);u.JRh(ae.addressFormLabel)}}function Me(At,we){1&At&&(u.j41(0,"mat-error"),u.EFF(1,"Address is required."),u.k0s())}function at(At,we){if(1&At){const ae=u.RV6();u.j41(0,"mat-step",16)(1,"form",17),u.DNE(2,Z,1,1,"ng-template",18),u.j41(3,"div",60)(4,"mat-radio-group",61),u.bIt("change",function(Ht){L.eBV(ae);const _n=u.XpG(2);return L.Njj(_n.onAddressTypeChange(Ht))}),u.j41(5,"mat-radio-button",62),u.EFF(6,"Node Local Address"),u.k0s(),u.j41(7,"mat-radio-button",63),u.EFF(8,"External Address"),u.k0s()(),u.j41(9,"mat-form-field",64)(10,"mat-label"),u.EFF(11,"Address"),u.k0s(),u.nrm(12,"input",65),u.DNE(13,Me,2,0,"mat-error",26),u.k0s()(),u.j41(14,"div",30)(15,"button",66),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onLoop())}),u.EFF(16),u.k0s()()()()}if(2&At){const ae=u.XpG(2);u.Y8G("stepControl",ae.addressFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.addressFormGroup),u.R7$(11),u.Y8G("required","external"===ae.addressFormGroup.controls.addressType.value),u.R7$(),u.Y8G("ngIf",null==ae.addressFormGroup.controls.address.errors?null:ae.addressFormGroup.controls.address.errors.required),u.R7$(3),u.SpI("Initiate ",ae.loopDirectionCaption)}}function qe(At,we){if(1&At&&u.EFF(0),2&At){const ae=u.XpG(2);u.SpI("",ae.loopDirectionCaption," Status")}}function pn(At,we){if(1&At&&(u.j41(0,"mat-icon",67),u.EFF(1),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.JRh(ae.loopStatus&&null!=ae.loopStatus&&ae.loopStatus.id_bytes?"check":"close")}}function Je(At,we){1&At&&u.nrm(0,"div")}function Be(At,we){1&At&&u.nrm(0,"mat-progress-bar",68)}function ut(At,we){if(1&At&&(u.j41(0,"h4",69),u.EFF(1),u.k0s()),2&At){const ae=u.XpG(2);u.R7$(),u.JRh(ae.loopStatus&&ae.loopStatus.error?ae.loopDirectionCaption+" failed.":ae.loopStatus&&ae.loopStatus.id_bytes&&ae.channel?ae.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":ae.loopDirectionCaption+" request placed successfully.")}}function Ge(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",70),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.goToLoop())}),u.EFF(1,"Check Status"),u.k0s()}}function Ot(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",71),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onRestart())}),u.EFF(1,"Start Again"),u.k0s()}}function se(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),u.EFF(5),u.k0s()(),u.j41(6,"div",9)(7,"button",10),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.showInfo())}),u.EFF(8,"?"),u.k0s(),u.j41(9,"button",11),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.onClose())}),u.EFF(10,"X"),u.k0s()()(),u.j41(11,"mat-card-content",12)(12,"div",13),u.DNE(13,pt,11,4,"div",14),u.j41(14,"mat-vertical-stepper",15,1),u.bIt("selectionChange",function(Ht){L.eBV(ae);const _n=u.XpG();return L.Njj(_n.stepSelectionChanged(Ht))}),u.j41(16,"mat-step",16)(17,"form",17),u.DNE(18,Pt,1,1,"ng-template",18),u.j41(19,"div",19),u.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",21),u.k0s(),u.j41(22,"div",22)(23,"mat-form-field",23)(24,"mat-label"),u.EFF(25,"Amount"),u.k0s(),u.nrm(26,"input",24),u.j41(27,"mat-hint"),u.EFF(28),u.nI1(29,"number"),u.nI1(30,"number"),u.k0s(),u.j41(31,"span",25),u.EFF(32,"Sats"),u.k0s(),u.DNE(33,gn,2,0,"mat-error",26)(34,ei,3,3,"mat-error",26)(35,vi,3,3,"mat-error",26),u.k0s(),u.j41(36,"mat-form-field",23)(37,"mat-label"),u.EFF(38,"Sweep Confirmation Target"),u.k0s(),u.nrm(39,"input",27),u.DNE(40,Ni,2,0,"mat-error",26)(41,kn,2,0,"mat-error",26),u.k0s(),u.DNE(42,ee,6,3,"mat-form-field",28),u.k0s(),u.DNE(43,ye,5,0,"div",29),u.j41(44,"div",30)(45,"button",31),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return L.Njj(Ht.onEstimateQuote())}),u.EFF(46,"Estimate Quote"),u.k0s()()()(),u.j41(47,"mat-step",16)(48,"form",17),u.DNE(49,ke,1,1,"ng-template",18),u.nrm(50,"rtl-loop-quote",32),u.DNE(51,Se,4,0,"p",33),u.j41(52,"div",30),u.DNE(53,ge,2,0,"button",34)(54,N,2,1,"button",35),u.k0s()()(),u.DNE(55,at,17,6,"mat-step",36),u.j41(56,"mat-step",37)(57,"form",17),u.DNE(58,qe,1,1,"ng-template",18),u.j41(59,"div",38)(60,"mat-expansion-panel",39)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",40),u.EFF(64),u.DNE(65,pn,2,1,"mat-icon",41),u.k0s()()(),u.DNE(66,Je,1,0,"div",42),u.k0s(),u.DNE(67,Be,1,0,"mat-progress-bar",43),u.k0s(),u.DNE(68,ut,2,1,"h4",44),u.j41(69,"div",30),u.DNE(70,Ge,2,0,"button",45)(71,Ot,2,0,"button",46),u.k0s()()()(),u.j41(72,"div",47)(73,"button",48),u.EFF(74,"Close"),u.k0s()()()()()()}if(2&At){const ae=u.XpG(),Lt=u.sdS(2);u.Y8G("@opacityAnimation",void 0),u.R7$(3),u.Y8G("ngClass",ae.screenSize===ae.screenSizeEnum.XS||ae.screenSize===ae.screenSizeEnum.SM?"flex-83":"flex-91"),u.R7$(2),u.JRh(ae.channel?"Channel "+ae.loopDirectionCaption:ae.loopDirectionCaption),u.R7$(),u.Y8G("ngClass",ae.screenSize===ae.screenSizeEnum.XS||ae.screenSize===ae.screenSizeEnum.SM?"flex-17":"flex-9"),u.R7$(7),u.Y8G("ngIf",ae.channel),u.R7$(),u.Y8G("linear",!0),u.R7$(2),u.Y8G("stepControl",ae.inputFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.inputFormGroup),u.R7$(3),u.Y8G("quote",ae.minQuote)("panelExpanded",!1)("showPanel",!0),u.R7$(),u.Y8G("quote",ae.maxQuote)("panelExpanded",!1)("showPanel",!0),u.R7$(2),u.Y8G("ngClass",ae.direction===ae.LoopTypeEnum.LOOP_OUT?"flex-35":"flex-48"),u.R7$(3),u.Y8G("step",1e3),u.R7$(2),u.Lme("Range: ",u.bMT(29,49,ae.minQuote.amount),"-",u.bMT(30,51,ae.maxQuote.amount)),u.R7$(5),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.min),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.amount.errors?null:ae.inputFormGroup.controls.amount.errors.max),u.R7$(),u.Y8G("ngClass",ae.direction===ae.LoopTypeEnum.LOOP_OUT?"flex-30":"flex-48"),u.R7$(3),u.Y8G("step",1),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.sweepConfTarget.errors?null:ae.inputFormGroup.controls.sweepConfTarget.errors.required),u.R7$(),u.Y8G("ngIf",null==ae.inputFormGroup.controls.sweepConfTarget.errors?null:ae.inputFormGroup.controls.sweepConfTarget.errors.min),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(4),u.Y8G("stepControl",ae.quoteFormGroup)("editable",ae.flgEditable),u.R7$(),u.Y8G("formGroup",ae.quoteFormGroup),u.R7$(2),u.Y8G("quote",ae.quote)("showPanel",!1),u.R7$(),u.Y8G("ngIf",ae.inputFormGroup.controls.amount.value>ae.localBalanceToCompare),u.R7$(2),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_IN),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("stepControl",ae.statusFormGroup),u.R7$(),u.Y8G("formGroup",ae.statusFormGroup),u.R7$(3),u.Y8G("expanded",!!ae.loopStatus),u.R7$(4),u.JRh(ae.loopStatus?ae.loopStatus.id_bytes?ae.loopDirectionCaption+" request details":ae.loopDirectionCaption+" error details":"Waiting for "+ae.loopDirectionCaption+" request..."),u.R7$(),u.Y8G("ngIf",ae.loopStatus),u.R7$(),u.Y8G("ngIf",!ae.loopStatus)("ngIfElse",Lt),u.R7$(),u.Y8G("ngIf",!ae.loopStatus),u.R7$(),u.Y8G("ngIf",ae.loopStatus),u.R7$(2),u.Y8G("ngIf",ae.loopStatus&&ae.loopStatus.id_bytes&&ae.channel),u.R7$(),u.Y8G("ngIf",ae.loopStatus&&(ae.loopStatus.error||!ae.loopStatus.id_bytes)),u.R7$(2),u.Y8G("mat-dialog-close",!1)}}function We(At,we){if(1&At&&u.nrm(0,"rtl-loop-status",72),2&At){const ae=u.XpG();u.Y8G("loopStatus",ae.loopStatus)}}function bt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"rtl-loop-out-info-graphics",88),u.mxI("stepNumberChange",function(Ht){L.eBV(ae);const _n=u.XpG(2);return u.DH7(_n.stepNumber,Ht)||(_n.stepNumber=Ht),L.Njj(Ht)}),u.k0s()}if(2&At){const ae=u.XpG(2);u.Y8G("animationDirection",ae.animationDirection),u.R50("stepNumber",ae.stepNumber)}}function tn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"rtl-loop-in-info-graphics",88),u.mxI("stepNumberChange",function(Ht){L.eBV(ae);const _n=u.XpG(2);return u.DH7(_n.stepNumber,Ht)||(_n.stepNumber=Ht),L.Njj(Ht)}),u.k0s()}if(2&At){const ae=u.XpG(2);u.Y8G("animationDirection",ae.animationDirection),u.R50("stepNumber",ae.stepNumber)}}function on(At,we){if(1&At){const ae=u.RV6();u.j41(0,"span",89),u.bIt("click",function(){const Ht=L.eBV(ae).$implicit,_n=u.XpG(2);return L.Njj(_n.onStepChanged(Ht))}),u.nrm(1,"p",90),u.k0s()}if(2&At){const ae=we.$implicit,Lt=u.XpG(2);u.R7$(),u.Y8G("ngClass",u.l_i(1,wt,Lt.stepNumber===ae,Lt.stepNumber!==ae))}}function un(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",91),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onReadMore())}),u.EFF(1,"Read More"),u.k0s()}}function Nt(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",92),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(4))}),u.EFF(1,"Back"),u.k0s()}}function dn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",93),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(1,"Close"),u.k0s()}}function xn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",94),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(1,"Close"),u.k0s()}}function Jn(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",95),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(Ht.stepNumber-1))}),u.EFF(1,"Back"),u.k0s()}}function xi(At,we){if(1&At){const ae=u.RV6();u.j41(0,"button",96),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG(2);return L.Njj(Ht.onStepChanged(Ht.stepNumber+1))}),u.EFF(1,"Next"),u.k0s()}}function Yi(At,we){if(1&At){const ae=u.RV6();u.j41(0,"div",73)(1,"div",19)(2,"mat-card-header",74)(3,"div",75),u.nrm(4,"span",8),u.k0s(),u.j41(5,"div",76)(6,"button",11),u.bIt("click",function(){L.eBV(ae);const Ht=u.XpG();return Ht.flgShowInfo=!1,L.Njj(Ht.stepNumber=1)}),u.EFF(7,"X"),u.k0s()()(),u.j41(8,"mat-card-content",77),u.DNE(9,bt,1,2,"rtl-loop-out-info-graphics",78)(10,tn,1,2,"rtl-loop-in-info-graphics",78),u.k0s(),u.j41(11,"div",79),u.DNE(12,on,2,4,"span",80),u.k0s(),u.j41(13,"div",81),u.DNE(14,un,2,0,"button",82)(15,Nt,2,0,"button",83)(16,dn,2,0,"button",84)(17,xn,2,0,"button",85)(18,Jn,2,0,"button",86)(19,xi,2,0,"button",87),u.k0s()()()}if(2&At){const ae=u.XpG();u.Y8G("@opacityAnimation",void 0),u.R7$(9),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_OUT),u.R7$(),u.Y8G("ngIf",ae.direction===ae.LoopTypeEnum.LOOP_IN),u.R7$(2),u.Y8G("ngForOf",u.lJ4(10,Ue)),u.R7$(2),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",5===ae.stepNumber),u.R7$(),u.Y8G("ngIf",ae.stepNumber<5),u.R7$(),u.Y8G("ngIf",ae.stepNumber>1&&ae.stepNumber<5),u.R7$(),u.Y8G("ngIf",ae.stepNumber<5)}}let Tt=(()=>{var At;class we{constructor(Lt,Ht,_n,fi,bi,Qi,zi,It,an){this.dialogRef=Lt,this.data=Ht,this.store=_n,this.loopService=fi,this.formBuilder=bi,this.decimalPipe=Qi,this.logger=zi,this.router=It,this.commonService=an,this.faInfoCircle=w.iW_,this.LoopTypeEnum=O.C7,this.direction=O.C7.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=O.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||O.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===O.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[i.k0.required,i.k0.min(this.minQuote.amount||0),i.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[i.k0.required,i.k0.min(1)]],routingFeePercent:[2,[i.k0.required,i.k0.min(0)]],fast:[!1,[i.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[i.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===O.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(f.BM).pipe((0,v.Q)(this.unSubs[6])).subscribe(Lt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Lt.lightningBalance&&Lt.lightningBalance.local?+Lt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,v.Q)(this.unSubs[4])).subscribe(Lt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===O.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,v.Q)(this.unSubs[5])).subscribe(Lt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Lt){"external"===Lt.value?(this.addressFormGroup.controls.address.setValidators([i.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===O.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===O.C7.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===O.C7.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,v.Q)(this.unSubs[0])).subscribe({next:Lt=>{this.loopStatus=Lt,this.loopService.listSwaps(),this.flgEditable=!0},error:Lt=>{this.loopStatus={error:Lt},this.flgEditable=!0,this.logger.error(Lt)}});else{const Lt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Ht="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",_n=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,Lt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),_n,Ht).pipe((0,v.Q)(this.unSubs[1])).subscribe({next:fi=>{this.loopStatus=fi,this.loopService.listSwaps(),this.flgEditable=!0},error:fi=>{this.loopStatus={error:fi},this.flgEditable=!0,this.logger.error(fi)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const Lt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===O.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Lt).pipe((0,v.Q)(this.unSubs[2])).subscribe(Ht=>{this.quote=Ht,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Lt).pipe((0,v.Q)(this.unSubs[3])).subscribe(Ht=>{this.quote=Ht,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(Lt){switch(Lt.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===O.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===O.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===O.C7.LOOP_OUT&&1!==Lt.selectedIndex&&Lt.selectedIndex{Lt.next(null),Lt.complete()})}static#e=At=()=>(this.\u0275fac=function(Ht){return new(Ht||we)(u.rXU(T.CP),u.rXU(T.Vh),u.rXU(C.il),u.rXU(B.Q),u.rXU(i.ze),u.rXU(A.QX),u.rXU(Pe.gP),u.rXU(le.Ix),u.rXU(Ce.h))},this.\u0275cmp=u.VBU({type:we,selectors:[["rtl-loop-modal"]],viewQuery:function(Ht,_n){if(1&Ht&&u.GBs(jt,5),2&Ht){let fi;u.mGM(fi=u.lsd())&&(_n.stepper=fi.first)}},standalone:!1,decls:4,vars:2,consts:[["loopStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"ngClass"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"ngClass"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["termCaption","min",3,"quote","panelExpanded","showPanel"],["termCaption","max",3,"quote","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"ngClass"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Ht,_n){1&Ht&&u.DNE(0,se,75,53,"div",2)(1,We,1,1,"ng-template",null,0,u.C5r)(3,Yi,20,11,"div",3),2&Ht&&(u.Y8G("ngIf",!_n.flgShowInfo),u.R7$(3),u.Y8G("ngIf",_n.flgShowInfo))},dependencies:[A.YU,A.Sq,A.bT,i.qT,i.me,i.Q0,i.BC,i.cb,i.YS,i.j4,i.JD,T.tx,Ae.$z,j.m2,j.MM,W.GK,W.Z2,W.WN,G.An,re.fg,xe.rl,xe.nJ,xe.MV,xe.TL,xe.yw,Ee.HM,V.VT,V._g,ce.DJ,ce.sA,ce.UI,be.PW,ne.sG,J.oV,De.V5,De.Ti,De.M6,Re.N,F,Ke,Qe,h,A.QX,A.PV],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[e.C]}}))}return At(),we})()},13(Zt,pe,l){"use strict";l.d(pe,{X:()=>f});var i=l(5383),d=l(3664),v=l(3694),T=l(60),w=l(8834),e=l(5596),O=l(2920);let f=(()=>{var u;class L{constructor(B){this.router=B,this.faTimes=i.GRI}goToHelp(){this.router.navigate(["/help"])}static#e=u=()=>(this.\u0275fac=function(A){return new(A||L)(d.rXU(v.Ix))},this.\u0275cmp=d.VBU({type:L,selectors:[["rtl-not-found"]],standalone:!1,decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(A,Pe){1&A&&(d.j41(0,"div",0),d.nrm(1,"fa-icon",1),d.j41(2,"span",2),d.EFF(3,"Page Not Found"),d.k0s()(),d.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),d.EFF(9,"This page does not exist!"),d.k0s(),d.j41(10,"span",7)(11,"button",8),d.bIt("click",function(){return Pe.goToHelp()}),d.EFF(12,"Go To Help"),d.k0s()()()()()()),2&A&&(d.R7$(),d.Y8G("icon",Pe.faTimes))},dependencies:[T.aY,w.$z,e.RN,e.m2,O.DJ,O.sA,O.UI],encapsulation:2}))}return u(),L})()},9587(Zt,pe,l){"use strict";l.d(pe,{N:()=>d});var i=l(3664);let d=(()=>{var v;class T{constructor(e){this.el=e}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=v=()=>(this.\u0275fac=function(O){return new(O||T)(i.rXU(i.aKT))},this.\u0275dir=i.FsC({type:T,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"},standalone:!1}))}return v(),T})()},9157(Zt,pe,l){"use strict";l.d(pe,{U:()=>d});var i=l(3664);let d=(()=>{var v;class T{constructor(){this.copied=new i.bkB}onClick(e){e.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const e=document.createElement("textarea");e.value=this.payload,document.body.appendChild(e),e.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(e)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(e=>{this.copied.emit("Error could not copy text: "+JSON.stringify(e))})}static#e=v=()=>(this.\u0275fac=function(O){return new(O||T)},this.\u0275dir=i.FsC({type:T,selectors:[["","rtlClipboard",""]],hostBindings:function(O,f){1&O&&i.bIt("click",function(L){return f.onClick(L)})},inputs:{payload:"payload"},outputs:{copied:"copied"},standalone:!1}))}return v(),T})()},92(Zt,pe,l){"use strict";l.d(pe,{z:()=>v});var i=l(9417),d=l(3664);let v=(()=>{var T;class w{validate(O){return this.max?i.k0.max(+this.max)(O):null}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275dir=d.FsC({type:w,selectors:[["input","max",""]],inputs:{max:"max"},standalone:!1,features:[d.Jv_([{provide:i.cz,useExisting:w,multi:!0}])]}))}return T(),w})()},6114(Zt,pe,l){"use strict";l.d(pe,{V:()=>v});var i=l(9417),d=l(3664);let v=(()=>{var T;class w{validate(O){return this.min?i.k0.min(+this.min)(O):null}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275dir=d.FsC({type:w,selectors:[["input","min",""]],inputs:{min:"min"},standalone:!1,features:[d.Jv_([{provide:i.cz,useExisting:w,multi:!0}])]}))}return T(),w})()},2929(Zt,pe,l){"use strict";l.d(pe,{Qu:()=>T,VD:()=>w,ZE:()=>v,gZ:()=>d});var i=l(3664);let d=(()=>{var e;class O{transform(u,L){return u?.replace(/^[0]+/g,"")}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"removeleadingzeros",type:O,pure:!0,standalone:!1}))}return e(),O})(),v=(()=>{var e;class O{transform(u,L){return u?.replace(/(?:^\w|[A-Z]|\b\w)/g,(C,B)=>C.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelcase",type:O,pure:!0,standalone:!1}))}return e(),O})(),T=(()=>{var e;class O{transform(u,L,C){return u.replace(/(?:^\w|[A-Z]|\b\w)/g,(B,A)=>" "+B.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelCaseWithSpaces",type:O,pure:!0,standalone:!1}))}return e(),O})(),w=(()=>{var e;class O{transform(u,L,C){return u=u?u.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",L&&(u=u.replace(new RegExp(L,"g")," ")),C&&(u=u.replace(new RegExp(C,"g")," ")),u.replace(/(?:^\w|[A-Z]|\b\w)/g,(B,A)=>B.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(L){return new(L||O)},this.\u0275pipe=i.EJ8({name:"camelcaseWithReplace",type:O,pure:!0,standalone:!1}))}return e(),O})()},7186(Zt,pe,l){"use strict";l.d(pe,{Wz:()=>O,fe:()=>f,jn:()=>e,q_:()=>w});var i=l(2615),d=l(3694),v=l(3202),T=l(6354);function w(){return()=>{const u=(0,i.WQX)(d.Ix),L=(0,i.WQX)(d.nX),C=(0,i.WQX)(v.Q);return!(!C.getItem("token")||L.snapshot.url&&L.snapshot.url.length&&"settings"!==L.snapshot.url[0].path&&"auth"!==L.snapshot.url[0].path&&"true"===C.getItem("defaultPassword")&&(u.navigate(["/settings/auth"]),1))}}function e(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.lndUnlocked))}function O(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.clnUnlocked))}function f(){return()=>!!(0,i.WQX)(v.Q).watchSession().pipe((0,T.T)(L=>L.eclUnlocked))}},2571(Zt,pe,l){"use strict";l.d(pe,{h:()=>Pe});var i=l(1413),d=l(4412),v=l(7673),T=l(8810),w=l(9437),e=l(5558),O=l(6977),f=l(4416),u=l(2615),L=l(1534),C=l(8570),B=l(2200),A=l(345);let Pe=(()=>{var le;class Ce{constructor(j,W,G,re){this.dataService=j,this.logger=W,this.datePipe=G,this.sanitizer=re,this.currencyUnits=[],this.CurrencyUnitEnum=f.BQ,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=f.wn.UN_INITIATED,this.screenSize=f.f7.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new d.t(this.containerSize),this.unSubs=[new i.B,new i.B,new i.B]}getScreenSize(){return this.screenSize}setScreenSize(j){this.screenSize=j}getContainerSize(){return this.containerSize}setContainerSize(j,W){this.containerSize={width:j,height:W},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(j,W,G,re="asc"){return j.sort("number"===G?"desc"===re?(xe,Ee)=>+xe[W]>+Ee[W]?-1:1:(xe,Ee)=>+xe[W]>+Ee[W]?1:-1:"desc"===re?(xe,Ee)=>xe[W]>Ee[W]?-1:1:(xe,Ee)=>xe[W]>Ee[W]?1:-1)}sortDescByKey(j,W){return j.sort((G,re)=>{const xe=+G[W],Ee=+re[W];return xe>Ee?-1:xe{const xe=+G[W],Ee=+re[W];return xeEe?1:0})}camelCase(j){return j?.replace(/(?:^\w|[A-Z]|\b\w)/g,(W,G)=>W.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(j,W,G){return W&&G&&""!==W&&""!==G&&(j=j?.replace(new RegExp(W,"g"),G)),j.indexOf("!\n")>0||j.indexOf(".\n")>0?j.split("\n")?.reduce((re,xe)=>re+xe.charAt(0).toUpperCase()+xe.substring(1).toLowerCase()+"\n",""):j.indexOf(" ")>0?j.split(" ")?.reduce((re,xe)=>re+xe.charAt(0).toUpperCase()+xe.substring(1).toLowerCase()+" ",""):j.charAt(0).toUpperCase()+j.substring(1).toLowerCase()}convertCurrency(j,W,G,re,xe){const Ee=(new Date).valueOf();try{return xe&&re&&(W===f.BQ.OTHER||G===f.BQ.OTHER)?this.ratesAPIStatus!==f.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&Ee(this.ratesAPIStatus=f.wn.COMPLETED,this.conversionData.data=V&&"object"==typeof V?V:V&&"string"==typeof V?JSON.parse(V):{},this.conversionData.last_fetched=Ee,(0,v.of)(this.convertWithFiat(j,W,re)))),(0,w.W)(V=>(this.ratesAPIStatus=f.wn.ERROR,(0,T.$)(()=>"Currency Conversion Error."))))):(0,v.of)(this.conversionData.data&&this.conversionData.last_fetched&&Ee"Currency Conversion Error.")}}convertWithoutFiat(j,W){const G={};switch(G[f.BQ.SATS]=0,G[f.BQ.BTC]=0,W){case f.BQ.SATS:G[f.BQ.SATS]=j,G[f.BQ.BTC]=1e-8*j;break;case f.BQ.BTC:G[f.BQ.SATS]=1e8*j,G[f.BQ.BTC]=j}return G}convertWithFiat(j,W,G){const re={unit:G,iconType:"FA",symbol:null};if(G){const xe=(0,f.Zo)(this.conversionData.data[G].symbol);re.iconType=xe.iconType,re.symbol=xe&&"SVG"===xe.iconType&&xe.symbol&&"string"==typeof xe.symbol?this.sanitizer.bypassSecurityTrustHtml(xe.symbol):xe.symbol}switch(re[f.BQ.SATS]=0,re[f.BQ.BTC]=0,re[f.BQ.OTHER]=0,W){case f.BQ.SATS:re[f.BQ.SATS]=j,re[f.BQ.BTC]=1e-8*j,re[f.BQ.OTHER]=1e-8*j*this.conversionData.data[G].last;break;case f.BQ.BTC:re[f.BQ.SATS]=1e8*j,re[f.BQ.BTC]=j,re[f.BQ.OTHER]=j*this.conversionData.data[G].last;break;case f.BQ.OTHER:re[f.BQ.SATS]=j/this.conversionData.data[G].last*1e8,re[f.BQ.BTC]=j/this.conversionData.data[G].last,re[f.BQ.OTHER]=j}return re}convertTime(j,W,G){switch(W){case f.F7.SECS:switch(G){case f.F7.MINS:j/=60;break;case f.F7.HOURS:j/=f.bz;break;case f.F7.DAYS:j/=24*f.bz}break;case f.F7.MINS:switch(G){case f.F7.SECS:j*=60;break;case f.F7.HOURS:j/=60;break;case f.F7.DAYS:j/=1440}break;case f.F7.HOURS:switch(G){case f.F7.SECS:j*=f.bz;break;case f.F7.MINS:j*=60;break;case f.F7.DAYS:j/=24}break;case f.F7.DAYS:switch(G){case f.F7.SECS:j=j*f.bz*24;break;case f.F7.MINS:j=60*j*24;break;case f.F7.HOURS:j*=24}}return j}downloadFile(j,W,G=".json",re=".csv"){let xe=new Blob;xe=".json"===G?new Blob(["\ufeff"+this.convertToCSV(j)],{type:"text/csv;charset=utf-8;"}):new Blob([j.toString()],{type:"text/plain;charset=utf-8"});const Ee=document.createElement("a"),V=URL.createObjectURL(xe);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&Ee.setAttribute("target","_blank"),Ee.setAttribute("href",V),Ee.setAttribute("download",W+re),Ee.style.visibility="hidden",document.body.appendChild(Ee),Ee.click(),document.body.removeChild(Ee)}convertToCSV(j){const W=[];let G="",re="",xe="";return"object"!=typeof j&&(j=JSON.parse(j)),j.forEach((V,ce)=>{for(const be in V)W.findIndex(ne=>ne===be)<0&&W.push(be)}),xe=W.join(",")+"\r\n",j.forEach(V=>{G="",W.forEach(ce=>{if(V.hasOwnProperty(ce))if(Array.isArray(V[ce]))re="",V[ce].forEach((be,ne)=>{re+="object"==typeof be?"("+JSON.stringify(be)?.replace(/\,/g,";")+")":"("+be+")"}),G+=re+",";else if("object"==typeof V[ce])G+=JSON.stringify(V[ce])?.replace(/\,/g,";")+",";else if(ce.includes("timestamp")||ce.includes("date"))try{switch(V[ce].toString().length){case 10:G+=this.datePipe.transform(new Date(1e3*V[ce]),"dd/MMM/y HH:mm")+",";break;case 13:G+=this.datePipe.transform(new Date(V[ce]),"dd/MMM/y HH:mm")+",";break;default:G+=V[ce]+","}}catch{G+=V[ce]+","}else G+=V[ce]+",";else G+=","}),xe+=G.slice(0,-1)+"\r\n"}),xe}isVersionCompatible(j,W){if(j){const G=j.match(/v?(?\d+(?:\.\d+)*)/);if(G&&G.groups&&G.groups.version){this.logger.info("Current Version: "+G.groups.version),this.logger.info("Checking Compatiblility with Version: "+W);const re=G.groups.version.split(".")||[],xe=W.split(".");return+re[0]>+xe[0]||+re[0]==+xe[0]&&+re[1]>+xe[1]||+re[0]==+xe[0]&&+re[1]==+xe[1]&&+re[2]>=+xe[2]}return this.logger.error("Invalid Version String: "+j),!1}return!1}extractErrorMessage(j,W="Unknown Error."){const G=this.titleCase(j.error&&j.error.text&&"string"==typeof j.error.text&&j.error.text.includes('')?"API Route Does Not Exist.":j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.error&&"string"==typeof j.error.error.error.error.error?j.error.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&"string"==typeof j.error.error.error.error?j.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&"string"==typeof j.error.error.error?j.error.error.error:j.error&&j.error.error&&"string"==typeof j.error.error?j.error.error:j.error&&"string"==typeof j.error?j.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.message&&"string"==typeof j.error.error.error.error.message?j.error.error.error.error.message:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.message&&"string"==typeof j.error.error.error.message?j.error.error.error.message:j.error&&j.error.error&&j.error.error.message&&"string"==typeof j.error.error.message?j.error.error.message:j.error&&j.error.message&&"string"==typeof j.error.message?j.error.message:j.message&&"string"==typeof j.message?j.message:W);return this.logger.info("Error Message: "+G),G}extractErrorCode(j,W=500){const G=j.error&&j.error.error&&j.error.error.message&&j.error.error.message.code?j.error.error.message.code:j.error&&j.error.error&&j.error.error.code?j.error.error.code:j.error&&j.error.code?j.error.code:j.code?j.code:j.status?j.status:W;return this.logger.info("Error Code: "+G),G}extractErrorNumber(j,W=500){const G=j.error&&j.error.error&&j.error.error.errno?j.error.error.errno:j.error&&j.error.errno?j.error.errno:j.errno?j.errno:j.status?j.status:W;return this.logger.info("Error Number: "+G),G}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)(u.KVO(L.u),u.KVO(C.gP),u.KVO(B.vh),u.KVO(A.up))},this.\u0275prov=u.jDH({token:Ce,factory:Ce.\u0275fac}))}return le(),Ce})()},4416(Zt,pe,l){"use strict";l.d(pe,{A$:()=>be,A0:()=>C,Ah:()=>Ke,BQ:()=>Re,Bd:()=>P,Bv:()=>re,C6:()=>vt,C7:()=>ie,F7:()=>J,G:()=>G,H$:()=>u,HW:()=>ce,Hx:()=>te,It:()=>O,Jd:()=>pt,Jr:()=>Ee,KR:()=>ve,Ld:()=>Ae,MZ:()=>St,NG:()=>e,QP:()=>oe,SY:()=>A,TC:()=>Ye,TH:()=>Qe,U1:()=>ne,UN:()=>Xe,Uq:()=>gt,Uu:()=>fe,WW:()=>vi,X8:()=>ei,XG:()=>j,Y0:()=>ot,ZC:()=>Pt,Zb:()=>Le,Zi:()=>kn,Zo:()=>Ri,_1:()=>gn,_U:()=>Gt,aG:()=>Dt,aR:()=>nt,aU:()=>ht,bz:()=>w,ck:()=>xe,f7:()=>_e,iI:()=>lt,jG:()=>Ue,k:()=>B,md:()=>le,mu:()=>wt,nv:()=>W,o1:()=>V,oi:()=>jt,on:()=>T,q9:()=>F,rl:()=>L,rs:()=>H,tj:()=>he,ul:()=>rt,wn:()=>Vt,xk:()=>cn,xp:()=>Ce,xv:()=>f});var i=l(7705),d=l(6695),v=l(5383);function T(ee){const ye=new d.xX;return ye.itemsPerPageLabel=ee+" per page:",ye}const w=3600,e=31536e3,O=24*w*7,f="0.15.10-beta",u=(0,i.naY)()?"http://localhost:3000/rtl/api":"./api",L={AUTHENTICATE_API:u+"/authenticate",CONF_API:u+"/conf",PAGE_SETTINGS_API:u+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},C=["Sats","BTC"],B={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},A=["SECS","MINS","HOURS","DAYS"],le=10,Ce=[5,10,25,100],Ae=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],j=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],W=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Amount",placeholder:"Percentage Limit"}],G=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],re={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var xe=function(ee){return ee.PAYMENT_RECEIVED="payment-received",ee.PAYMENT_RELAYED="payment-relayed",ee.PAYMENT_SENT="payment-sent",ee.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",ee.PAYMENT_FAILED="payment-failed",ee.CHANNEL_OPENED="channel-opened",ee.CHANNEL_STATE_CHANGED="channel-state-changed",ee.CHANNEL_CLOSED="channel-closed",ee}(xe||{}),Ee=function(ee){return ee.CONNECT="connect",ee.DISCONNECT="disconnect",ee.WARNING="warning",ee.INVOICE_PAYMENT="invoice_payment",ee.INVOICE_CREATION="invoice_creation",ee.CHANNEL_OPENED="channel_opened",ee.CHANNEL_STATE_CHANGED="channel_state_changed",ee.SENDPAY_SUCCESS="sendpay_success",ee.SENDPAY_FAILURE="sendpay_failure",ee.COIN_MOVEMENT="coin_movement",ee.BALANCE_SNAPSHOT="balance_snapshot",ee.BLOCK_ADDED="block_added",ee.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",ee.CHANNEL_OPEN_FAILED="channel_open_failed",ee}(Ee||{}),V=function(ee){return ee.INVOICE="invoice",ee}(V||{}),ce=function(ee){return ee.OPERATOR="OPERATOR",ee.MERCHANT="MERCHANT",ee.ALL="ALL",ee}(ce||{}),be=function(ee){return ee.INFORMATION="Information",ee.WARNING="Warning",ee.ERROR="Error",ee.SUCCESS="Success",ee.CONFIRM="Confirm",ee}(be||{}),ne=function(ee){return ee.NOAUTH="NOAUTH",ee.JWT="JWT",ee.PASSWORD="PASSWORD",ee}(ne||{}),J=function(ee){return ee.SECS="SECS",ee.MINS="MINS",ee.HOURS="HOURS",ee.DAYS="DAYS",ee}(J||{}),Re=function(ee){return ee.SATS="Sats",ee.BTC="BTC",ee.OTHER="OTHER",ee}(Re||{}),Xe=function(ee){return ee.ARRAY="ARRAY",ee.NUMBER="NUMBER",ee.STRING="STRING",ee.BOOLEAN="BOOLEAN",ee.PASSWORD="PASSWORD",ee.DATE="DATE",ee.DATE_TIME="DATE_TIME",ee}(Xe||{}),_e=function(ee){return ee.XS="XS",ee.SM="SM",ee.MD="MD",ee.LG="LG",ee.XL="XL",ee}(_e||{});const he={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},Dt={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var lt=function(ee){return ee.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",ee.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",ee.WIRE_INVALID_ONION_KEY="Invalid Onion Key",ee.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",ee.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",ee.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",ee.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",ee.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",ee.WIRE_FEE_INSUFFICIENT="Insufficient Fee",ee.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ee.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",ee.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",ee.WIRE_CHANNEL_DISABLED="Channel Disabled",ee.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",ee.WIRE_INVALID_REALM="Invalid Realm",ee.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",ee.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",ee.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",ee.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",ee.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",ee.WIRE_MPP_TIMEOUT="MPP Timeout",ee.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ee.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",ee}(lt||{}),Le=function(ee){return ee.CHANNELD_NORMAL="Active",ee.OPENINGD="Opening",ee.CHANNELD_AWAITING_LOCKIN="Pending Open",ee.CHANNELD_SHUTTING_DOWN="Shutting Down",ee.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",ee.CLOSINGD_COMPLETE="Closed",ee.AWAITING_UNILATERAL="Awaiting Unilateral Close",ee.FUNDING_SPEND_SEEN="Funding Spend Seen",ee.ONCHAIN="Onchain",ee.DUALOPEND_OPEN_INIT="Dual Open Initialized",ee.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",ee}(Le||{}),te=function(ee){return ee.INITIATED="Initiated",ee.PREIMAGE_REVEALED="Preimage Revealed",ee.HTLC_PUBLISHED="HTLC Published",ee.SUCCESS="Successful",ee.FAILED="Failed",ee.INVOICE_SETTLED="Invoice Settled",ee}(te||{}),ie=function(ee){return ee.LOOP_OUT="LOOP_OUT",ee.LOOP_IN="LOOP_IN",ee}(ie||{}),P=function(ee){return ee.SWAP_OUT="SWAP_OUT",ee.SWAP_IN="SWAP_IN",ee}(P||{}),F=function(ee){return ee["swap.created"]="Swap Created",ee["swap.expired"]="Swap Expired",ee["invoice.set"]="Invoice Set",ee["invoice.paid"]="Invoice Paid",ee["invoice.pending"]="Invoice Pending",ee["invoice.settled"]="Invoice Settled",ee["invoice.failedToPay"]="Invoice Failed To Pay",ee["channel.created"]="Channel Created",ee["transaction.failed"]="Transaction Failed",ee["transaction.mempool"]="Transaction Mempool",ee["transaction.claimed"]="Transaction Claimed",ee["transaction.refunded"]="Transaction Refunded",ee["transaction.confirmed"]="Transaction Confirmed",ee["transaction.lockupFailed"]="Lockup Transaction Failed",ee["swap.refunded"]="Swap Refunded",ee["swap.abandoned"]="Swap Abandoned",ee}(F||{});const ve=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],H=["MONTHLY","YEARLY"],Ke=["password","changeme","moneyprintergobrrr"];var Vt=function(ee){return ee.UN_INITIATED="UN_INITIATED",ee.INITIATED="INITIATED",ee.COMPLETED="COMPLETED",ee.ERROR="ERROR",ee}(Vt||{});const St={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var ot=function(ee){return ee.INVOICE="INVOICE",ee.OFFER="OFFER",ee.KEYSEND="KEYSEND",ee}(ot||{}),nt=function(ee){return ee.FEES="FEES",ee.EVENTS="EVENTS",ee}(nt||{}),ht=function(ee){return ee.VOID="VOID",ee.SET_API_URL_ECL="SET_API_URL_ECL",ee.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",ee.RESET_ROOT_STORE="RESET_ROOT_STORE",ee.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",ee.OPEN_SNACK_BAR="OPEN_SNACKBAR",ee.OPEN_SPINNER="OPEN_SPINNER",ee.CLOSE_SPINNER="CLOSE_SPINNER",ee.OPEN_ALERT="OPEN_ALERT",ee.CLOSE_ALERT="CLOSE_ALERT",ee.OPEN_CONFIRMATION="OPEN_CONFIRMATION",ee.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",ee.SHOW_PUBKEY="SHOW_PUBKEY",ee.FETCH_CONFIG="FETCH_CONFIG",ee.SHOW_CONFIG="SHOW_CONFIG",ee.FETCH_STORE="FETCH_STORE",ee.SET_STORE="SET_STORE",ee.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",ee.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",ee.SAVE_SETTINGS="SAVE_SETTINGS",ee.SET_SELECTED_NODE="SET_SELECTED_NODE",ee.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",ee.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",ee.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",ee.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",ee.SET_NODE_DATA="SET_NODE_DATA",ee.IS_AUTHORIZED="IS_AUTHORIZED",ee.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",ee.LOGIN="LOGIN",ee.VERIFY_TWO_FA="VERIFY_TWO_FA",ee.LOGOUT="LOGOUT",ee.RESET_PASSWORD="RESET_PASSWORD",ee.RESET_PASSWORD_RES="RESET_PASSWORD_RES",ee.FETCH_FILE="FETCH_FILE",ee.SHOW_FILE="SHOW_FILE",ee}(ht||{}),oe=function(ee){return ee.RESET_LND_STORE="RESET_LND_STORE",ee.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",ee.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",ee.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",ee.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",ee.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",ee.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",ee.FETCH_INFO_LND="FETCH_INFO_LND",ee.SET_INFO_LND="SET_INFO_LND",ee.FETCH_PEERS_LND="FETCH_PEERS_LND",ee.SET_PEERS_LND="SET_PEERS_LND",ee.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",ee.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",ee.DETACH_PEER_LND="DETACH_PEER_LND",ee.REMOVE_PEER_LND="REMOVE_PEER_LND",ee.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",ee.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",ee.ADD_INVOICE_LND="ADD_INVOICE_LND",ee.FETCH_FEES_LND="FETCH_FEES_LND",ee.SET_FEES_LND="SET_FEES_LND",ee.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",ee.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",ee.FETCH_NETWORK_LND="FETCH_NETWORK_LND",ee.SET_NETWORK_LND="SET_NETWORK_LND",ee.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",ee.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",ee.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",ee.SET_CHANNELS_LND="SET_CHANNELS_LND",ee.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",ee.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",ee.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",ee.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",ee.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",ee.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",ee.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",ee.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",ee.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",ee.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",ee.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",ee.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",ee.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",ee.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",ee.FETCH_INVOICES_LND="FETCH_INVOICES_LND",ee.SET_INVOICES_LND="SET_INVOICES_LND",ee.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",ee.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",ee.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",ee.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",ee.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",ee.FETCH_UTXOS_LND="FETCH_UTXOS_LND",ee.SET_UTXOS_LND="SET_UTXOS_LND",ee.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",ee.SET_PAYMENTS_LND="SET_PAYMENTS_LND",ee.SEND_PAYMENT_LND="SEND_PAYMENT_LND",ee.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",ee.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",ee.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",ee.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",ee.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",ee.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",ee.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",ee.GEN_SEED_LND="GEN_SEED_LND",ee.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",ee.INIT_WALLET_LND="INIT_WALLET_LND",ee.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",ee.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",ee.PEER_LOOKUP_LND="PEER_LOOKUP_LND",ee.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",ee.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",ee.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",ee.SET_LOOKUP_LND="SET_LOOKUP_LND",ee.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",ee.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",ee.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",ee.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",ee.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",ee.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",ee}(oe||{}),Ye=function(ee){return ee.RESET_CLN_STORE="RESET_CLN_STORE",ee.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",ee.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",ee.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",ee.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",ee.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",ee.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",ee.SET_INFO_CLN="SET_INFO_CLN",ee.FETCH_FEES_CLN="FETCH_FEES_CLN",ee.SET_FEES_CLN="SET_FEES_CLN",ee.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",ee.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",ee.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",ee.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",ee.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",ee.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",ee.FETCH_PEERS_CLN="FETCH_PEERS_CLN",ee.SET_PEERS_CLN="SET_PEERS_CLN",ee.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",ee.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",ee.ADD_PEER_CLN="ADD_PEER_CLN",ee.DETACH_PEER_CLN="DETACH_PEER_CLN",ee.REMOVE_PEER_CLN="REMOVE_PEER_CLN",ee.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",ee.SET_CHANNELS_CLN="SET_CHANNELS_CLN",ee.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",ee.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",ee.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",ee.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",ee.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",ee.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",ee.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",ee.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",ee.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",ee.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",ee.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",ee.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",ee.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",ee.SET_LOOKUP_CLN="SET_LOOKUP_CLN",ee.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",ee.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",ee.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",ee.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",ee.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ee.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ee.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",ee.SET_INVOICES_CLN="SET_INVOICES_CLN",ee.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",ee.ADD_INVOICE_CLN="ADD_INVOICE_CLN",ee.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",ee.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",ee.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",ee.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",ee.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",ee.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",ee.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",ee.SET_OFFERS_CLN="SET_OFFERS_CLN",ee.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",ee.ADD_OFFER_CLN="ADD_OFFER_CLN",ee.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",ee.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",ee.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",ee.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",ee.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",ee.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",ee.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",ee}(Ye||{}),fe=function(ee){return ee.RESET_ECL_STORE="RESET_ECL_STORE",ee.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",ee.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",ee.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",ee.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",ee.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",ee.FETCH_INFO_ECL="FETCH_INFO_ECL",ee.SET_INFO_ECL="SET_INFO_ECL",ee.FETCH_FEES_ECL="FETCH_FEES_ECL",ee.SET_FEES_ECL="SET_FEES_ECL",ee.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",ee.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",ee.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",ee.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",ee.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",ee.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",ee.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",ee.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",ee.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",ee.FETCH_PEERS_ECL="FETCH_PEERS_ECL",ee.SET_PEERS_ECL="SET_PEERS_ECL",ee.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",ee.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",ee.ADD_PEER_ECL="ADD_PEER_ECL",ee.DETACH_PEER_ECL="DETACH_PEER_ECL",ee.REMOVE_PEER_ECL="REMOVE_PEER_ECL",ee.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",ee.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",ee.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",ee.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",ee.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",ee.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",ee.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",ee.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",ee.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",ee.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",ee.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",ee.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",ee.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",ee.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",ee.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",ee.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",ee.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",ee.SET_INVOICES_ECL="SET_INVOICES_ECL",ee.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",ee.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",ee.ADD_INVOICE_ECL="ADD_INVOICE_ECL",ee.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",ee.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",ee.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",ee.SET_LOOKUP_ECL="SET_LOOKUP_ECL",ee.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",ee.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",ee}(fe||{});const Qe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var gt=function(ee){return ee.gossip_queries_ex="Gossip queries including additional information",ee.option_anchor_outputs="Anchor outputs",ee.option_data_loss_protect="Extra channel re-establish fields",ee.var_onion_optin="Variable-length routing onion payloads",ee.option_static_remotekey="Static key for remote output",ee.option_support_large_channel="Create large channels",ee.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ee.payment_secret="Payment secret field",ee.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",ee.basic_mpp="Basic multi-part payments",ee.gossip_queries="More sophisticated gossip control",ee.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",ee.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ee.amp="AMP",ee}(gt||{}),Gt=function(ee){return ee["data-loss-protect"]="Extra channel re-establish fields",ee["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",ee["gossip-queries"]="More sophisticated gossip control",ee["tlv-onion"]="Variable-length routing onion payloads",ee["ext-gossip-queries"]="Gossip queries can include additional information",ee["static-remote-key"]="Static key for remote output",ee["payment-addr"]="Payment secret field",ee["multi-path-payments"]="Basic multi-part payments",ee["wumbo-channels"]="Wumbo Channels",ee.anchors="Anchor outputs",ee["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",ee.amp="AMP",ee}(Gt||{});const rt=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var cn=function(ee){return ee.OFFERED="offered",ee.SETTLED="settled",ee.FAILED="failed",ee.LOCAL_FAILED="local_failed",ee}(cn||{}),jt=function(ee){return ee.ASCENDING="asc",ee.DESCENDING="desc",ee}(jt||{});const Ue=["asc","desc"],wt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:le,sortBy:"blockheight",sortOrder:jt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:le,sortBy:"blockheight",sortOrder:jt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:le,sortBy:"msatoshi_to_us",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:le,sortBy:"state",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:le,sortBy:"expiry",sortOrder:jt.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:le,sortBy:"channel_opening_fee",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"created_at",sortOrder:jt.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:le,sortBy:"expires_at",sortOrder:jt.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:le,sortBy:"offer_id",sortOrder:jt.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:le,sortBy:"lastUpdatedAt",sortOrder:jt.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"total_fee",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"received_time",sortOrder:jt.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:le,sortBy:"msatoshi",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],pt={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},Pt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:le,sortBy:"tx_id",sortOrder:jt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:le,sortBy:"time_stamp",sortOrder:jt.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:le,sortBy:"tx_id",sortOrder:jt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:le,sortBy:"balancedness",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","blocks_til_maturity","limbo_balance"],columnSelection:["remote_alias","blocks_til_maturity","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:le,sortBy:"close_type",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:le,sortBy:"incoming",sortOrder:jt.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"creation_date",sortOrder:jt.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:le,sortBy:"creation_date",sortOrder:jt.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"total_amount",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:le,sortBy:"remote_alias",sortOrder:jt.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:le,sortBy:"hop_sequence",sortOrder:jt.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:le,sortBy:"initiation_time",sortOrder:jt.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:le,sortBy:"status",sortOrder:jt.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:le,sortBy:"status",sortOrder:jt.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],gn={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},ei=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:le,sortBy:"alias",sortOrder:jt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:le,sortBy:"alias",sortOrder:jt.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:le,sortBy:"firstPartTimestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:le,sortBy:"receivedAt",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:le,sortBy:"totalFee",sortOrder:jt.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:le,sortBy:"timestamp",sortOrder:jt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:le,sortBy:"date",sortOrder:jt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],vi={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}},Ni_DKK="\n \n \n \n ",kn=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:v.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:v.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:v.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:v.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:v.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:v.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:v.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:v.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n \n \n \n \n \n \n \n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:v.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:v.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:v.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/183602/forint-business-and-finance --\x3e\n \n \n \n \n \n \n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:v.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:v.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:v.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:v.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n \n \n \n \n \n \n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:v.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:Ni_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:v.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:v.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:v.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/142061/new-taiwan-dollar --\x3e\n \n \n \n \n \n \n ',class:"currency-icon-small"}];function Ri(ee){const ye=kn.find(ke=>ke.id===ee);return"SVG"===ye.iconType&&"string"==typeof ye.symbol&&(ye.symbol=ye.symbol.replace('Ee});var i=l(9330),d=l(1413),v=l(4412),T=l(7673),w=l(8810),e=l(9437),O=l(1594),f=l(6354),u=l(1397),L=l(6977),C=l(3993),B=l(4416),A=l(2462),Pe=l(1771),le=l(190),Ce=l(3536),Ae=l(9584),j=l(2615),W=l(9640),G=l(8570),re=l(5416),xe=l(2200);let Ee=(()=>{var V;class ce{constructor(ne,J,De,Re,Xe){this.httpClient=ne,this.store=J,this.logger=De,this.snackBar=Re,this.titleCasePipe=Xe,this.APIUrl=B.H$,this.lnImplementation="",this.lnImplementationUpdated=new v.t(null),this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B],this.mapAliases=(_e,he)=>(_e&&_e.length>0?_e.forEach((Dt,lt)=>{if(he&&he.length>0)for(let Le=0;Le{let Re;return this.store.dispatch((0,Pe.mt)({payload:B.MZ.DECODE_PAYMENT})),Re="cln"===De?this.httpClient.post(this.APIUrl+"/"+De+B.rl.UTILITY_API+"/decode",{string:ne},{headers:{"Content-Type":"application/json"}}):this.httpClient.get(this.APIUrl+"/"+De+B.rl.PAYMENTS_API+"/decode/"+ne),Re.pipe((0,L.Q)(this.unSubs[0]),(0,f.T)(Xe=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.DECODE_PAYMENT})),Xe)),(0,e.W)(Xe=>(J?this.handleErrorWithoutAlert("Decode Payment",B.MZ.DECODE_PAYMENT,Xe):this.handleErrorWithAlert("decodePaymentData",B.MZ.DECODE_PAYMENT,"Decode Payment Failed",this.APIUrl+"/"+De+("cln"===De?B.rl.UTILITY_API+"/decode":B.rl.PAYMENTS_API+"/decode/"+ne),Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))}))}decodePayments(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>{let De="",Re="",Xe=null;return"ecl"===J?(De=this.APIUrl+"/"+J+B.rl.PAYMENTS_API+"/getsentinfos",Xe={payments:ne},Re=B.MZ.GET_SENT_PAYMENTS):"cln"===J?(De=this.APIUrl+"/"+J+B.rl.UTILITY_API+"/decode",Xe={string:ne},Re=B.MZ.DECODE_PAYMENTS):(De=this.APIUrl+"/"+J+B.rl.PAYMENTS_API,Xe={payments:ne},Re=B.MZ.DECODE_PAYMENTS),this.store.dispatch((0,Pe.mt)({payload:Re})),this.httpClient.post(De,Xe).pipe((0,L.Q)(this.unSubs[1]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:Re})),_e)),(0,e.W)(_e=>(this.handleErrorWithAlert("decodePaymentsData",Re,Re+" Failed",De,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}getAliasesFromPubkeys(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{if(J){const Re=(new i.Nl).set("pubkeys",ne);return this.httpClient.get(this.APIUrl+"/"+De+B.rl.NETWORK_API+"/nodes",{params:Re})}return this.httpClient.get(this.APIUrl+"/"+De+B.rl.NETWORK_API+"/node/"+ne)}))}signMessage(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>{let De=this.APIUrl+"/"+J+B.rl.MESSAGE_API+"/sign";return"cln"===J&&(De=this.APIUrl+"/"+J+B.rl.UTILITY_API+"/sign"),this.store.dispatch((0,Pe.mt)({payload:B.MZ.SIGN_MESSAGE})),this.httpClient.post(De,{message:ne}).pipe((0,L.Q)(this.unSubs[2]),(0,f.T)(Re=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.SIGN_MESSAGE})),Re)),(0,e.W)(Re=>(this.handleErrorWithAlert("signMessageData",B.MZ.SIGN_MESSAGE,"Sign Message Failed",De,Re),(0,w.$)(()=>new Error(this.extractErrorMessage(Re))))))}))}verifyMessage(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{let Re="",Xe=null;return"cln"===De?(Re=this.APIUrl+"/"+De+B.rl.UTILITY_API+"/verify",Xe={message:ne,zbase:J}):(Re=this.APIUrl+"/"+De+B.rl.MESSAGE_API+"/verify",Xe={message:ne,signature:J}),this.store.dispatch((0,Pe.mt)({payload:B.MZ.VERIFY_MESSAGE})),this.httpClient.post(Re,Xe).pipe((0,L.Q)(this.unSubs[3]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.VERIFY_MESSAGE})),_e)),(0,e.W)(_e=>(this.handleErrorWithAlert("verifyMessageData",B.MZ.VERIFY_MESSAGE,"Verify Message Failed",Re,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}bumpFee(ne,J,De,Re){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(Xe=>{const _e={txid:ne,outputIndex:J};return De&&(_e.targetConf=De),Re&&(_e.satPerVByte=Re),this.store.dispatch((0,Pe.mt)({payload:B.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+Xe+B.rl.WALLET_API+"/bumpfee",_e).pipe((0,L.Q)(this.unSubs[4]),(0,f.T)(he=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),he)),(0,e.W)(he=>(this.handleErrorWithoutAlert("Bump Fee",B.MZ.BUMP_FEE,he),(0,w.$)(()=>new Error(this.extractErrorMessage(he))))))}))}labelUTXO(ne,J,De=!0){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(Re=>{const Xe={txid:ne,label:J,overwrite:De};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+Re+B.rl.WALLET_API+"/label",Xe).pipe((0,L.Q)(this.unSubs[5]),(0,f.T)(_e=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.LABEL_UTXO})),_e)),(0,e.W)(_e=>(this.handleErrorWithoutAlert("Label UTXO",B.MZ.LABEL_UTXO,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}))}leaseUTXO(ne,J){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(De=>{const Re={txid:ne,outputIndex:J};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+De+B.rl.WALLET_API+"/lease",Re).pipe((0,L.Q)(this.unSubs[6]),(0,f.T)(Xe=>{this.store.dispatch((0,Pe.y0)({payload:B.MZ.LEASE_UTXO})),this.store.dispatch((0,le.mh)()),this.store.dispatch((0,le.SM)());const _e=new Date(1e3*Xe.expiration);return Math.round(_e.getTime())-60*_e.getTimezoneOffset()}),(0,e.W)(Xe=>(this.handleErrorWithoutAlert("Lease UTXO",B.MZ.LEASE_UTXO,Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))}))}getForwardingHistory(ne,J,De,Re){if("LND"===ne){const Xe={end_time:De,start_time:J};return this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+B.rl.SWITCH_API,Xe).pipe((0,L.Q)(this.unSubs[7]),(0,C.E)(this.store.select(Ce.eO)),(0,u.Z)(([_e,he])=>{if(_e.forwarding_events){const Dt=[...he.channels,...he.closedChannels];_e.forwarding_events.forEach(lt=>{if(Dt&&Dt.length>0)for(let Le=0;Le(this.handleErrorWithAlert("getForwardingHistoryData",B.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+B.rl.SWITCH_API,_e),(0,w.$)(()=>new Error(this.extractErrorMessage(_e))))))}return"CLN"===ne?(this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+B.rl.CHANNELS_API+"/listForwards",{status:Re||"settled"}).pipe((0,L.Q)(this.unSubs[8]),(0,C.E)(this.store.select(Ae.BM)),(0,u.Z)(([Xe,_e])=>{const he=this.mapAliases(Xe,[..._e.activeChannels,..._e.pendingChannels,..._e.inactiveChannels]);return this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_FORWARDING_HISTORY})),(0,T.of)(he)}),(0,e.W)(Xe=>(this.handleErrorWithAlert("getForwardingHistoryData",B.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+B.rl.CHANNELS_API+"/listForwards",Xe),(0,w.$)(()=>new Error(this.extractErrorMessage(Xe))))))):(0,T.of)({})}listNetworkNodes(ne){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(J=>(this.store.dispatch((0,Pe.mt)({payload:B.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+J+B.rl.NETWORK_API+"/listNodes",ne).pipe((0,L.Q)(this.unSubs[9]),(0,u.Z)(De=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.LIST_NETWORK_NODES})),(0,T.of)(De))),(0,e.W)(De=>(this.handleErrorWithoutAlert("List Network Nodes",B.MZ.LIST_NETWORK_NODES,De),(0,w.$)(()=>this.extractErrorMessage(De))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(ne=>(this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ne+B.rl.UTILITY_API+"/listConfigs").pipe((0,L.Q)(this.unSubs[10]),(0,u.Z)(J=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_LIST_CONFIGS})),(0,T.of)(J))),(0,e.W)(J=>(this.handleErrorWithoutAlert("List Configurations",B.MZ.GET_LIST_CONFIGS,J),(0,w.$)(()=>this.extractErrorMessage(J))))))))}getOrUpdateFunderPolicy(ne,J,De,Re,Xe,_e){return this.lnImplementationUpdated.pipe((0,O.$)(),(0,u.Z)(he=>{const Dt=ne?{policy:ne,policy_mod:J,lease_fee_base_msat:De,lease_fee_basis:Re,channel_fee_max_base_msat:Xe,channel_fee_max_proportional_thousandths:_e}:null;return this.store.dispatch((0,Pe.mt)({payload:B.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+he+B.rl.CHANNELS_API+"/funderUpdate",Dt).pipe((0,L.Q)(this.unSubs[11]),(0,f.T)(lt=>(this.store.dispatch((0,Pe.y0)({payload:B.MZ.GET_FUNDER_POLICY})),Dt&&this.store.dispatch((0,Pe.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+lt.compact_lease+"!"})),lt)),(0,e.W)(lt=>(this.handleErrorWithoutAlert("Funder Policy",B.MZ.GET_FUNDER_POLICY,lt),(0,w.$)(()=>new Error(this.extractErrorMessage(lt))))))}))}circularRebalance(ne,J="",De="",Re="",Xe="",_e=[],he="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+B.rl.CHANNELS_API+"/circularRebalance",{amountMsat:ne,sourceShortChannelId:J,sourceNodeId:De,targetShortChannelId:Re,targetNodeId:Xe,ignoreNodeIds:_e,format:he}).pipe((0,L.Q)(this.unSubs[12]),(0,f.T)(Le=>Le),(0,e.W)(Le=>(this.handleErrorWithoutAlert("Rebalance Channel",B.MZ.REBALANCE_CHANNEL,Le),(0,w.$)(()=>Le.error))))}extractErrorMessage(ne,J="Unknown Error."){return this.titleCasePipe.transform(ne.error.text&&"string"==typeof ne.error.text&&ne.error.text.includes('')?"API Route Does Not Exist.":ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&ne.error.error.error.error.error&&"string"==typeof ne.error.error.error.error.error?ne.error.error.error.error.error:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&"string"==typeof ne.error.error.error.error?ne.error.error.error.error:ne.error&&ne.error.error&&ne.error.error.error&&"string"==typeof ne.error.error.error?ne.error.error.error:ne.error&&ne.error.error&&"string"==typeof ne.error.error?ne.error.error:ne.error&&"string"==typeof ne.error?ne.error:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.error&&ne.error.error.error.error.message&&"string"==typeof ne.error.error.error.error.message?ne.error.error.error.error.message:ne.error&&ne.error.error&&ne.error.error.error&&ne.error.error.error.message&&"string"==typeof ne.error.error.error.message?ne.error.error.error.message:ne.error&&ne.error.error&&ne.error.error.message&&"string"==typeof ne.error.error.message?ne.error.error.message:ne.error&&ne.error.message&&"string"==typeof ne.error.message?ne.error.message:ne.message&&"string"==typeof ne.message?ne.message:J)}handleErrorWithoutAlert(ne,J,De){De.error.text&&"string"==typeof De.error.text&&De.error.text.includes('')&&(De={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+ne+"\n"+JSON.stringify(De)),401===De.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.Jh)()),this.store.dispatch((0,Pe.ri)({payload:"Authentication Failed: "+JSON.stringify(De.error)}))):(this.store.dispatch((0,Pe.y0)({payload:J})),this.store.dispatch((0,Pe.Gd)({payload:{action:ne,status:B.wn.ERROR,statusCode:De.status.toString(),message:this.extractErrorMessage(De)}})))}handleErrorWithAlert(ne,J,De,Re,Xe){if(this.logger.error(Xe),401===Xe.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.Jh)()),this.store.dispatch((0,Pe.ri)({payload:"Authentication Failed: "+JSON.stringify(Xe.error)}));else{this.store.dispatch((0,Pe.y0)({payload:J}));const _e=this.extractErrorMessage(Xe);this.store.dispatch((0,Pe.xO)({payload:{data:{type:"ERROR",alertTitle:De,message:{code:Xe.status?Xe.status:"Unknown Error",message:_e,URL:Re},component:A.f}}})),this.store.dispatch((0,Pe.Gd)({payload:{action:ne,status:B.wn.ERROR,statusCode:Xe.status.toString(),message:_e,URL:Re}}))}}ngOnDestroy(){this.unSubs.forEach(ne=>{ne.next(null),ne.complete()})}static#e=V=()=>(this.\u0275fac=function(J){return new(J||ce)(j.KVO(i.Qq),j.KVO(W.il),j.KVO(G.gP),j.KVO(re.UG),j.KVO(xe.PV))},this.\u0275prov=j.jDH({token:ce,factory:ce.\u0275fac}))}return V(),ce})()},8570(Zt,pe,l){"use strict";l.d(pe,{gP:()=>e,tU:()=>O});var i=l(7705),d=l(2615);const v=(0,i.naY)(),T=()=>null;let e=(()=>{var f;class u{invokeConsoleMethod(C,B){}static#e=f=()=>(this.\u0275fac=function(B){return new(B||u)},this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac}))}return f(),u})(),O=(()=>{var f;class u{get info(){return v?console.log.bind(console):T}get warn(){return v?console.warn.bind(console):T}get error(){return v?console.error.bind(console):T}invokeConsoleMethod(C,B){(console[C]||console.log||T).apply(console,[B])}static#e=f=()=>(this.\u0275fac=function(B){return new(B||u)},this.\u0275prov=d.jDH({token:u,factory:u.\u0275fac}))}return f(),u})()},4104(Zt,pe,l){"use strict";l.d(pe,{Q:()=>Ce});var i=l(9330),d=l(1413),v=l(4412),T=l(7673),w=l(8810),e=l(9437),O=l(6354),f=l(6977),u=l(4416),L=l(2462),C=l(1771),B=l(2615),A=l(8570),Pe=l(9640),le=l(2571);let Ce=(()=>{var Ae;class j{constructor(G,re,xe,Ee){this.httpClient=G,this.logger=re,this.store=xe,this.commonService=Ee,this.loopUrl="",this.swaps=[],this.swapsChanged=new v.t([]),this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}getLoopInfo(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,C.mt)({payload:u.MZ.GET_LOOP_SWAPS})),this.loopUrl=u.H$+u.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,f.Q)(this.unSubs[0])).subscribe({next:G=>{this.store.dispatch((0,C.y0)({payload:u.MZ.GET_LOOP_SWAPS})),this.swaps=G,this.swapsChanged.next(this.swaps)},error:G=>this.swapsChanged.error(this.handleErrorWithAlert(u.MZ.GET_LOOP_SWAPS,this.loopUrl,G))})}loopOut(G,re,xe,Ee,V,ce,be,ne,J,De){const Re={amount:G,targetConf:xe,swapRoutingFee:Ee,minerFee:V,prepayRoutingFee:ce,prepayAmt:be,swapFee:ne,swapPublicationDeadline:J,destAddress:De};return""!==re&&(Re.chanId=re),this.loopUrl=u.H$+u.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,Re).pipe((0,e.W)(Xe=>this.handleErrorWithoutAlert("Loop Out for Channel: "+re,u.MZ.NO_SPINNER,Xe)))}getLoopOutTerms(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)(G=>this.handleErrorWithoutAlert("Loop Out Terms",u.MZ.NO_SPINNER,G)))}getLoopOutQuote(G,re,xe){let Ee=new i.Nl;return Ee=Ee.append("targetConf",re.toString()),Ee=Ee.append("swapPublicationDeadline",xe.toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/out/quote/"+G,this.store.dispatch((0,C.mt)({payload:u.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:Ee}).pipe((0,f.Q)(this.unSubs[1]),(0,O.T)(V=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_QUOTE})),V)),(0,e.W)(V=>this.handleErrorWithoutAlert("Loop Out Quote",u.MZ.GET_QUOTE,V)))}getLoopOutTermsAndQuotes(G){let re=new i.Nl;return re=re.append("targetConf",G.toString()),re=re.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,C.mt)({payload:u.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,f.Q)(this.unSubs[2]),(0,O.T)(xe=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_TERMS_QUOTES})),xe)),(0,e.W)(xe=>(0,T.of)(this.handleErrorWithAlert(u.MZ.GET_TERMS_QUOTES,this.loopUrl,xe))))}loopIn(G,re,xe,Ee,V){const ce={amount:G,swapFee:re,minerFee:xe,lastHop:Ee,externalHtlc:V};return this.loopUrl=u.H$+u.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ce).pipe((0,e.W)(be=>this.handleErrorWithoutAlert("Loop In",u.MZ.NO_SPINNER,be)))}getLoopInTerms(){return this.loopUrl=u.H$+u.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)(G=>this.handleErrorWithoutAlert("Loop In Terms",u.MZ.NO_SPINNER,G)))}getLoopInQuote(G,re,xe){let Ee=new i.Nl;return Ee=Ee.append("targetConf",re.toString()),Ee=Ee.append("swapPublicationDeadline",xe.toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/in/quote/"+G,this.store.dispatch((0,C.mt)({payload:u.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:Ee}).pipe((0,f.Q)(this.unSubs[3]),(0,O.T)(V=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_QUOTE})),V)),(0,e.W)(V=>this.handleErrorWithoutAlert("Loop In Qoute",u.MZ.GET_QUOTE,V)))}getLoopInTermsAndQuotes(G){let re=new i.Nl;return re=re.append("targetConf",G.toString()),re=re.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=u.H$+u.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,C.mt)({payload:u.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,f.Q)(this.unSubs[4]),(0,O.T)(xe=>(this.store.dispatch((0,C.y0)({payload:u.MZ.GET_TERMS_QUOTES})),xe)),(0,e.W)(xe=>(0,T.of)(this.handleErrorWithAlert(u.MZ.GET_TERMS_QUOTES,this.loopUrl,xe))))}getSwap(G){return this.loopUrl=u.H$+u.rl.LOOP_API+"/swap/"+G,this.httpClient.get(this.loopUrl).pipe((0,e.W)(re=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+G,u.MZ.NO_SPINNER,re)))}handleErrorWithoutAlert(G,re,xe){let Ee="";return this.logger.error("ERROR IN: "+G+"\n"+JSON.stringify(xe)),this.store.dispatch((0,C.y0)({payload:re})),401===xe.status?(Ee="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.ri)({payload:Ee}))):503===xe.status?(Ee="Unable to Connect to Loop Server.",this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:xe.status,message:"Unable to Connect to Loop Server",URL:G},component:L.f}}}))):Ee=this.commonService.extractErrorMessage(xe),(0,w.$)(()=>new Error(Ee))}handleErrorWithAlert(G,re,xe){let Ee="";if(this.logger.error(xe),this.store.dispatch((0,C.y0)({payload:G})),401===xe.status)Ee="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,C.ri)({payload:Ee}));else if(503===xe.status)Ee="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:xe.status,message:"Unable to Connect to Loop Server",URL:re},component:L.f}}}))},100);else{Ee=this.commonService.extractErrorMessage(xe);const V=xe.error&&xe.error.error&&xe.error.error.code?xe.error.error.code:xe.error&&xe.error.code?xe.error.code:xe.code?xe.code:xe.status;setTimeout(()=>{this.store.dispatch((0,C.xO)({payload:{data:{type:u.A$.ERROR,alertTitle:"ERROR",message:{code:V,message:Ee,URL:re},component:L.f}}}))},100)}return{message:Ee}}ngOnDestroy(){this.unSubs.forEach(G=>{G.next(null),G.complete()})}static#e=Ae=()=>(this.\u0275fac=function(re){return new(re||j)(B.KVO(i.Qq),B.KVO(A.gP),B.KVO(Pe.il),B.KVO(le.h))},this.\u0275prov=B.jDH({token:j,factory:j.\u0275fac}))}return Ae(),j})()},3202(Zt,pe,l){"use strict";l.d(pe,{Q:()=>v});var i=l(1413),d=l(2615);let v=(()=>{var T;class w{constructor(){this.sessionSub=new i.B}watchSession(){return this.sessionSub.asObservable()}getItem(O){return sessionStorage.getItem(O)}getAllItems(){return sessionStorage}setItem(O,f){sessionStorage.setItem(O,f),this.sessionSub.next(sessionStorage)}removeItem(O){sessionStorage.removeItem(O),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=T=()=>(this.\u0275fac=function(f){return new(f||w)},this.\u0275prov=d.jDH({token:w,factory:w.\u0275fac}))}return T(),w})()},7879(Zt,pe,l){"use strict";l.d(pe,{I:()=>Pe});var i=l(4412),d=l(1413),v=l(6977),T=l(7707),w=l(1985),e=l(8359),O=l(2771);const f={url:"",deserializer:le=>JSON.parse(le.data),serializer:le=>JSON.stringify(le)};class L extends d.k{constructor(Ce,Ae){if(super(),this._socket=null,Ce instanceof w.c)this.destination=Ae,this.source=Ce;else{const j=this._config=Object.assign({},f);if(this._output=new d.B,"string"==typeof Ce)j.url=Ce;else for(const W in Ce)Ce.hasOwnProperty(W)&&(j[W]=Ce[W]);if(!j.WebSocketCtor&&WebSocket)j.WebSocketCtor=WebSocket;else if(!j.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new O.m}}lift(Ce){const Ae=new L(this._config,this.destination);return Ae.operator=Ce,Ae.source=this,Ae}_resetState(){this._socket=null,this.source||(this.destination=new O.m),this._output=new d.B}multiplex(Ce,Ae,j){const W=this;return new w.c(G=>{try{W.next(Ce())}catch(xe){G.error(xe)}const re=W.subscribe({next:xe=>{try{j(xe)&&G.next(xe)}catch(Ee){G.error(Ee)}},error:xe=>G.error(xe),complete:()=>G.complete()});return()=>{try{W.next(Ae())}catch(xe){G.error(xe)}re.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Ce,protocol:Ae,url:j,binaryType:W}=this._config,G=this._output;let re=null;try{re=Ae?new Ce(j,Ae):new Ce(j),this._socket=re,W&&(this._socket.binaryType=W)}catch(Ee){return void G.error(Ee)}const xe=new e.yU(()=>{this._socket=null,re&&1===re.readyState&&re.close()});re.onopen=Ee=>{const{_socket:V}=this;if(!V)return re.close(),void this._resetState();const{openObserver:ce}=this._config;ce&&ce.next(Ee);const be=this.destination;this.destination=T.vU.create(ne=>{if(1===re.readyState)try{const{serializer:J}=this._config;re.send(J(ne))}catch(J){this.destination.error(J)}},ne=>{const{closingObserver:J}=this._config;J&&J.next(void 0),ne&&ne.code?re.close(ne.code,ne.reason):G.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:ne}=this._config;ne&&ne.next(void 0),re.close(),this._resetState()}),be&&be instanceof O.m&&xe.add(be.subscribe(this.destination))},re.onerror=Ee=>{this._resetState(),G.error(Ee)},re.onclose=Ee=>{re===this._socket&&this._resetState();const{closeObserver:V}=this._config;V&&V.next(Ee),Ee.wasClean?G.complete():G.error(Ee)},re.onmessage=Ee=>{try{const{deserializer:V}=this._config;G.next(V(Ee))}catch(V){G.error(V)}}}_subscribe(Ce){const{source:Ae}=this;return Ae?Ae.subscribe(Ce):(this._socket||this._connectSocket(),this._output.subscribe(Ce),Ce.add(()=>{const{_socket:j}=this;0===this._output.observers.length&&(j&&(1===j.readyState||0===j.readyState)&&j.close(),this._resetState())}),Ce)}unsubscribe(){const{_socket:Ce}=this;Ce&&(1===Ce.readyState||0===Ce.readyState)&&Ce.close(),this._resetState(),super.unsubscribe()}}var C=l(2615),B=l(8570),A=l(3202);let Pe=(()=>{var le;class Ce{constructor(j,W){this.logger=j,this.sessionService=W,this.clWSMessages=new i.t(null),this.eclWSMessages=new i.t(null),this.lndWSMessages=new i.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B,new d.B]}connectWebSocket(j,W){(!this.socket||this.socket.closed)&&(this.wsUrl=j,this.nodeIndex=W,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new L({url:j,protocol:[this.sessionService.getItem("token")||"",W]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,v.Q)(this.unSubs[1])).subscribe({next:j=>{if((j="string"==typeof j?JSON.parse(j):j).error)this.handleError(j.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(j)),j.source){case"LND":this.lndWSMessages.next(j);break;case"CLN":this.clWSMessages.next(j);break;case"ECL":this.eclWSMessages.next(j)}},error:j=>this.handleError(j),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(j){this.logger.error(j),this.clWSMessages.error(j),this.eclWSMessages.error(j),this.lndWSMessages.error(j),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)(C.KVO(B.gP),C.KVO(A.Q))},this.\u0275prov=C.jDH({token:Ce,factory:Ce.\u0275fac}))}return le(),Ce})()},9029(Zt,pe,l){"use strict";l.d(pe,{G:()=>Es});var i=l(2200),d=l(8132),v=l(9417),T=l(60),w=l(9327),e=l(3),O=l(9945),f=l(1585),u=l(2628),L=l(1975),C=l(8834),B=l(9726),A=l(6838),j=(l(1577),l(3869),l(7336),l(438),l(8968)),W=l(3664),G=l(2615),re=l(7705),xe=l(2496),Ee=l(3386),V=l(1804),ce=l(2046),be=l(2466),ne=l(6881);const J=["button"],De=["*"];function Re(kt,On){if(1&kt&&(W.j41(0,"div",2),W.nrm(1,"mat-pseudo-checkbox",6),W.k0s()),2&kt){const $e=W.XpG();W.R7$(),W.Y8G("disabled",$e.disabled)}}const Xe=new G.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function _e(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}}),he=new G.nKC("MatButtonToggleGroup");class lt{source;value;constructor(On,$e){this.source=On,this.value=$e}}let te=(()=>{class kt{_changeDetectorRef=(0,G.WQX)(re.gRc);_elementRef=(0,G.WQX)(W.aKT);_focusMonitor=(0,G.WQX)(A.FN);_idGenerator=(0,G.WQX)(B.g);_animationDisabled=(0,V.Rc)();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex($e){this._tabIndex.set($e)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance($e){this._appearance=$e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked($e){$e!==this._checked&&(this._checked=$e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled($e){this._disabled=$e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||null!==this.buttonToggleGroup&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive($e){this._disabledInteractive=$e}_disabledInteractive;change=new W.bkB;constructor(){(0,G.WQX)(j.l).load(ce.A);const $e=(0,G.WQX)(he,{optional:!0}),mn=(0,G.WQX)(new re.ES_("tabindex"),{optional:!0})||"",Ln=(0,G.WQX)(Xe,{optional:!0});this._tabIndex=(0,G.vPA)(parseInt(mn)||0),this.buttonToggleGroup=$e,this.appearance=Ln&&Ln.appearance?Ln.appearance:"standard",this.disabledInteractive=Ln?.disabledInteractive??!1}ngOnInit(){const $e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),$e&&($e._isPrechecked(this)?this.checked=!0:$e._isSelected(this)!==this._checked&&$e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const $e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),$e&&$e._isSelected(this)&&$e._syncButtonToggle(this,!1,!1,!0)}focus($e){this._buttonElement.nativeElement.focus($e)}_onButtonClick(){if(this.disabled)return;const $e=!!this.isSingleSelector()||!this._checked;if($e!==this._checked&&(this._checked=$e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){const mn=this.buttonToggleGroup._buttonToggles.find(Ln=>0===Ln.tabIndex);mn&&(mn.tabIndex=-1),this.tabIndex=0}this.change.emit(new lt(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(mn){return new(mn||kt)};static \u0275cmp=W.VBU({type:kt,selectors:[["mat-button-toggle"]],viewQuery:function(mn,Ln){if(1&mn&&W.GBs(J,5),2&mn){let Ei;W.mGM(Ei=W.lsd())&&(Ln._buttonElement=Ei.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(mn,Ln){1&mn&&W.bIt("focus",function(){return Ln.focus()}),2&mn&&(W.BMQ("aria-label",null)("aria-labelledby",null)("id",Ln.id)("name",null),W.AVh("mat-button-toggle-standalone",!Ln.buttonToggleGroup)("mat-button-toggle-checked",Ln.checked)("mat-button-toggle-disabled",Ln.disabled)("mat-button-toggle-disabled-interactive",Ln.disabledInteractive)("mat-button-toggle-appearance-standard","standard"===Ln.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",re.L39],appearance:"appearance",checked:[2,"checked","checked",re.L39],disabled:[2,"disabled","disabled",re.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",re.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:De,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(mn,Ln){if(1&mn){const Ei=W.RV6();W.NAR(),W.j41(0,"button",1,0),W.bIt("click",function(){return G.eBV(Ei),G.Njj(Ln._onButtonClick())}),W.nVh(2,Re,2,1,"div",2),W.j41(3,"span",3),W.SdG(4),W.k0s()(),W.nrm(5,"span",4)(6,"span",5)}if(2&mn){const Ei=W.sdS(1);W.Y8G("id",Ln.buttonId)("disabled",Ln.disabled&&!Ln.disabledInteractive||null),W.BMQ("role",Ln.isSingleSelector()?"radio":"button")("tabindex",Ln.disabled&&!Ln.disabledInteractive?-1:Ln.tabIndex)("aria-pressed",Ln.isSingleSelector()?null:Ln.checked)("aria-checked",Ln.isSingleSelector()?Ln.checked:null)("name",Ln._getButtonName())("aria-label",Ln.ariaLabel)("aria-labelledby",Ln.ariaLabelledby)("aria-disabled",Ln.disabled&&Ln.disabledInteractive?"true":null),W.R7$(2),W.vxM(Ln.buttonToggleGroup&&(!Ln.buttonToggleGroup.multiple&&!Ln.buttonToggleGroup.hideSingleSelectionIndicator||Ln.buttonToggleGroup.multiple&&!Ln.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),W.R7$(4),W.Y8G("matRippleTrigger",Ei)("matRippleDisabled",Ln.disableRipple||Ln.disabled)}},dependencies:[xe.r6,Ee.w],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}\n"],encapsulation:2,changeDetection:0})}return kt})(),ie=(()=>{class kt{static \u0275fac=function(mn){return new(mn||kt)};static \u0275mod=W.$C({type:kt});static \u0275inj=G.G2t({imports:[be.y,ne.p,te,be.y]})}return kt})();var P=l(5596),F=l(2765),ve=l(5084),H=l(9454),$=l(2885),Ke=l(2629),Vt=l(3746),St=l(3902),ot=l(9115),nt=l(6695),ht=l(7575),oe=l(9183),Ye=l(5951),fe=l(6183),Qe=l(882),gt=l(450),Gt=l(9842);l(1413);let dn=(()=>{class kt{static \u0275fac=function(mn){return new(mn||kt)};static \u0275mod=W.$C({type:kt});static \u0275inj=G.G2t({imports:[be.y,ne.p]})}return kt})();var xn=l(5416),Jn=l(2042),xi=l(6013),Yi=l(1676),Tt=l(6850),At=l(5911),we=l(6156),ae=l(7358),Lt=l(6471),Ht=l(9340),_n=l(6038),fi=l(2920);l(4085);let wa=(()=>{class kt{}return kt.\u0275fac=function($e){return new($e||kt)},kt.\u0275mod=W.$C({type:kt}),kt.\u0275inj=G.G2t({imports:[Ht.Ui]}),kt})();var ja=l(177);let Or=(()=>{class kt{constructor($e,mn){(0,ja.Vy)(mn)&&!$e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig($e,mn=[]){return{ngModule:kt,providers:$e.serverLoaded?[{provide:Ht.EA,useValue:{...Ht.PV,...$e}},{provide:Ht.SL,useValue:mn,multi:!0},{provide:Ht.Ce,useValue:!0}]:[{provide:Ht.EA,useValue:{...Ht.PV,...$e}},{provide:Ht.SL,useValue:mn,multi:!0}]}}}return kt.\u0275fac=function($e){return new($e||kt)(G.KVO(Ht.Ce),G.KVO(W.Agw))},kt.\u0275mod=W.$C({type:kt}),kt.\u0275inj=G.G2t({imports:[fi.w2,_n.Cc,wa,fi.w2,_n.Cc,wa]}),kt})();var Rr=l(1993),Fs=l(8288),Hr=l(497),Ks=l(9338);let Sr=(()=>{var kt;class On extends Ks.Sf{constructor(mn,Ln){super(mn,Ln)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)(W.rXU(G.qQL),W.rXU(Gt.O))},this.\u0275dir=W.FsC({type:On,features:[W.Vt3]}))}return kt(),On})();var Ne=l(8570),He=l(4416),q=l(2929),mt=l(9330);const ln={suppressScrollX:!1,suppressScrollY:!1};let Oi=(()=>{var kt;class On extends e.xW{constructor(mn){super(mn)}format(mn,Ln){if("input"===Ln){let Ei=mn.getDate().toString();return Ei=+Ei<10?"0"+Ei:Ei,Ei+"/"+He.KR[mn.getMonth()].name.toUpperCase()+"/"+mn.getFullYear()}return He.KR[mn.getMonth()].name.toUpperCase()+" "+mn.getFullYear()}static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)(G.KVO(O.Ju,8))},this.\u0275prov=G.jDH({token:On,factory:On.\u0275fac}))}return kt(),On})();const ua={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let Es=(()=>{var kt;class On{static#e=kt=()=>(this.\u0275fac=function(Ln){return new(Ln||On)},this.\u0275mod=W.$C({type:On}),this.\u0275inj=G.G2t({providers:[{provide:Ne.gP,useClass:Ne.tU},{provide:Hr.kU,useValue:ln},{provide:xn.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:f.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:O.MJ,useClass:Oi},{provide:O.de,useValue:ua},{provide:Ks.Sf,useClass:Sr},i.QX,i.PV,i.vh,q.gZ,q.ZE,q.VD,q.Qu],imports:[i.MD,mt.q1,v.YN,v.X1,T.dX,w.RH,f.hM,C.Hl,ie,P.Hu,F.g7,H.MY,$.Fe,ve.X6,e.WX,Ke.m_,Vt.fS,St.Fg,ot.Cn,ht.PO,oe.D6,Ye.Wk,ae.jH,Or,Lt.YN,fe.Ve,Qe.vg,gt.mV,Jn.NQ,Yi.tP,At.s5,we.u,L.Y,nt.Ou,xi.aP,dn,Tt.RI,xn._T,u.jL,Rr.dV,Fs.XK,d.iI,Hr.U$,v.YN,v.X1,T.dX,w.RH,f.hM,C.Hl,ie,P.Hu,F.g7,H.MY,$.Fe,ve.X6,e.WX,Ke.m_,Vt.fS,St.Fg,ot.Cn,ht.PO,oe.D6,Ye.Wk,ae.jH,Or,Lt.YN,fe.Ve,Qe.vg,gt.mV,Jn.NQ,Yi.tP,At.s5,we.u,L.Y,nt.Ou,xi.aP,dn,Tt.RI,xn._T,u.jL,Rr.dV,Fs.XK,Hr.U$]}))}return kt(),On})()},1771(Zt,pe,l){"use strict";l.d(pe,{Dz:()=>le,Fl:()=>V,Gd:()=>w,I1:()=>B,IK:()=>W,Jh:()=>e,My:()=>T,NU:()=>j,Np:()=>xe,OP:()=>Pe,Qi:()=>G,R$:()=>C,T$:()=>re,Tn:()=>Ae,UI:()=>O,iD:()=>Re,mt:()=>f,oz:()=>J,rc:()=>Ee,ri:()=>ce,t2:()=>_e,uP:()=>A,xO:()=>L,xw:()=>be,y0:()=>u});var i=l(9640),d=l(4416);(0,i.VP)(d.aU.VOID);const T=(0,i.VP)(d.aU.SET_API_URL_ECL,(0,i.xk)()),w=(0,i.VP)(d.aU.UPDATE_API_CALL_STATUS_ROOT,(0,i.xk)()),e=(0,i.VP)(d.aU.CLOSE_ALL_DIALOGS),O=(0,i.VP)(d.aU.OPEN_SNACK_BAR,(0,i.xk)()),f=(0,i.VP)(d.aU.OPEN_SPINNER,(0,i.xk)()),u=(0,i.VP)(d.aU.CLOSE_SPINNER,(0,i.xk)()),L=(0,i.VP)(d.aU.OPEN_ALERT,(0,i.xk)()),C=(0,i.VP)(d.aU.CLOSE_ALERT,(0,i.xk)()),B=(0,i.VP)(d.aU.OPEN_CONFIRMATION,(0,i.xk)()),A=(0,i.VP)(d.aU.CLOSE_CONFIRMATION,(0,i.xk)()),Pe=(0,i.VP)(d.aU.SHOW_PUBKEY),le=(0,i.VP)(d.aU.FETCH_CONFIG,(0,i.xk)()),Ae=((0,i.VP)(d.aU.SHOW_CONFIG,(0,i.xk)()),(0,i.VP)(d.aU.RESET_ROOT_STORE,(0,i.xk)())),j=(0,i.VP)(d.aU.FETCH_APPLICATION_SETTINGS),W=(0,i.VP)(d.aU.SET_APPLICATION_SETTINGS,(0,i.xk)()),G=(0,i.VP)(d.aU.SET_SELECTED_NODE,(0,i.xk)()),re=(0,i.VP)(d.aU.UPDATE_NODE_SETTINGS,(0,i.xk)()),xe=(0,i.VP)(d.aU.SET_SELECTED_NODE_SETTINGS,(0,i.xk)()),Ee=(0,i.VP)(d.aU.UPDATE_APPLICATION_SETTINGS,(0,i.xk)()),V=(0,i.VP)(d.aU.SET_NODE_DATA,(0,i.xk)()),ce=(0,i.VP)(d.aU.LOGOUT,(0,i.xk)()),be=(0,i.VP)(d.aU.RESET_PASSWORD,(0,i.xk)()),J=((0,i.VP)(d.aU.RESET_PASSWORD_RES,(0,i.xk)()),(0,i.VP)(d.aU.IS_AUTHORIZED,(0,i.xk)())),Re=((0,i.VP)(d.aU.IS_AUTHORIZED_RES,(0,i.xk)()),(0,i.VP)(d.aU.LOGIN,(0,i.xk)())),_e=((0,i.VP)(d.aU.VERIFY_TWO_FA,(0,i.xk)()),(0,i.VP)(d.aU.FETCH_FILE,(0,i.xk)()));(0,i.VP)(d.aU.SHOW_FILE,(0,i.xk)())},7541(Zt,pe,l){"use strict";l.d(pe,{H:()=>ci});var i=l(7705),d=l(1747),v=l(1413),T=l(7673),w=l(6354),e=l(6697),O=l(3993),f=l(1397),u=l(9437),L=l(6977),C=l(4416),B=l(1585),A=l(3664),Pe=l(9183),le=l(2920);let Ce=(()=>{var rn;class In{constructor(Vn,ii){this.dialogRef=Vn,this.data=ii}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-spinner-dialog"]],standalone:!1,decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",0),A.nrm(1,"mat-progress-spinner",1),A.j41(2,"h2"),A.EFF(3),A.k0s()()),2&ii&&(A.R7$(3),A.JRh(Bn.data.titleMessage))},dependencies:[Pe.LG,le.DJ,le.sA],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]}))}return rn(),In})();var Ae=l(5383),j=l(9647),W=l(2615),G=l(8570),re=l(5416),xe=l(2571),Ee=l(3694),V=l(9640),ce=l(2200),be=l(60),ne=l(8834),J=l(5596),De=l(2629),Re=l(1997),Xe=l(6038),_e=l(455),he=l(8288),Dt=l(497),lt=l(9157),Le=l(9587);const te=["scrollContainer"],ie=rn=>({"display-none":rn}),P=rn=>({"h-40":rn}),F=rn=>({"failed-status":rn});function ve(rn,In){if(1&rn&&A.nrm(0,"qr-code",19),2&rn){const Mn=A.XpG();A.Y8G("value",Mn.showQRField)("size",200)}}function H(rn,In){1&rn&&A.eu8(0)}function $(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"mat-card-content",20,1),A.DNE(3,H,1,0,"ng-container",21),A.k0s(),A.bVm()),2&rn){const Mn=A.XpG(),Vn=A.sdS(20);A.R7$(),A.Y8G("ngClass",A.eq3(2,P,Mn.data.scrollable)),A.R7$(2),A.Y8G("ngTemplateOutlet",Vn)}}function Ke(rn,In){1&rn&&A.eu8(0)}function Vt(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"mat-card-content",22),A.DNE(2,Ke,1,0,"ng-container",21),A.k0s(),A.bVm()),2&rn){A.XpG();const Mn=A.sdS(20);A.R7$(2),A.Y8G("ngTemplateOutlet",Mn)}}function St(rn,In){1&rn&&(A.j41(0,"mat-icon",27),A.EFF(1,"arrow_downward"),A.k0s())}function ot(rn,In){1&rn&&(A.j41(0,"mat-icon",28),A.EFF(1,"arrow_upward"),A.k0s())}function nt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"div",23)(1,"button",24),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onScroll())}),A.DNE(2,St,2,0,"mat-icon",25)(3,ot,2,0,"mat-icon",26),A.k0s()()}if(2&rn){const Mn=A.XpG();A.R7$(2),A.Y8G("ngIf","DOWN"===Mn.scrollDirection),A.R7$(),A.Y8G("ngIf","UP"===Mn.scrollDirection)}}function ht(rn,In){1&rn&&(A.j41(0,"button",29),A.EFF(1,"OK"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function oe(rn,In){1&rn&&(A.j41(0,"button",30),A.EFF(1,"Close"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function Ye(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",31),A.bIt("copied",function(ii){W.eBV(Mn);const Bn=A.XpG();return W.Njj(Bn.onCopyField(ii))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.Y8G("payload",Mn.showCopyField),A.R7$(),A.SpI("Copy ",Mn.showCopyName)}}function fe(rn,In){1&rn&&(A.j41(0,"button",30),A.EFF(1,"Close"),A.k0s()),2&rn&&A.Y8G("mat-dialog-close",!1)}function Qe(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",31),A.bIt("copied",function(ii){W.eBV(Mn);const Bn=A.XpG();return W.Njj(Bn.onCopyField(ii))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.Y8G("payload",Mn.showQRField),A.R7$(),A.SpI("Copy ",Mn.showQRName)}}function gt(rn,In){if(1&rn&&A.nrm(0,"qr-code",19),2&rn){const Mn=A.XpG(2);A.Y8G("value",Mn.showQRField)("size",200)}}function Gt(rn,In){if(1&rn&&(A.j41(0,"p",37),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.JRh(Mn.data.titleMessage)}}function rt(rn,In){1&rn&&A.nrm(0,"span",51),2&rn&&A.Y8G("innerHTML",In.$implicit,A.npT)}function cn(rn,In){if(1&rn&&(A.qex(0),A.j41(1,"span",34),A.DNE(2,rt,1,1,"span",50),A.k0s(),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(2),A.Y8G("ngForOf",Mn.value)}}function Ft(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"date"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,1e3*Mn.value,"dd/MMM/y HH:mm"))}}function Sn(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"number"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,Mn.value,Mn.digitsInfo?Mn.digitsInfo:"1.0-3"))}}function Qn(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(Mn.value?"True":"False")}}function h(rn,In){1&rn&&(A.j41(0,"mat-icon",55),A.EFF(1,"info"),A.k0s())}function jt(rn,In){if(1&rn&&(A.j41(0,"p",53),A.EFF(1),A.DNE(2,h,2,0,"mat-icon",54),A.k0s()),2&rn){const Mn=A.XpG(3).$implicit,Vn=A.XpG(4);A.Y8G("ngClass",A.eq3(3,F,Mn.value===Vn.LoopStateEnum.FAILED)),A.R7$(),A.SpI(" ",Mn.value," "),A.R7$(),A.Y8G("ngIf",Mn.value===Vn.LoopStateEnum.FAILED)}}function Ue(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"p",57),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG(8);return W.Njj(ii.onGoToLink())}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG(4).$implicit,Vn=A.XpG(4);A.Y8G("matTooltip",A.mNQ("Go To "+Vn.goToName)),A.R7$(),A.SpI(" ",Mn.value," ")}}function wt(rn,In){if(1&rn&&A.EFF(0),2&rn){const Mn=A.XpG(4).$implicit;A.SpI(" ",Mn.value," ")}}function pt(rn,In){if(1&rn&&A.DNE(0,Ue,2,3,"p",56)(1,wt,1,1,"ng-template",null,4,A.C5r),2&rn){const Mn=A.sdS(2),Vn=A.XpG(3).$implicit,ii=A.XpG(4);A.Y8G("ngIf",Vn.value===ii.goToFieldValue)("ngIfElse",Mn)}}function Pt(rn,In){if(1&rn&&(A.qex(0),A.DNE(1,jt,3,5,"p",52)(2,pt,3,2,"ng-template",null,3,A.C5r),A.bVm()),2&rn){const Mn=A.sdS(3),Vn=A.XpG(2).$implicit,ii=A.XpG(4);A.R7$(),A.Y8G("ngIf","SWAP"===ii.data.openedBy&&"state"===Vn.key)("ngIfElse",Mn)}}function gn(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"fa-icon",58),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG(2).$implicit,Bn=A.XpG(4);return W.Njj(Bn.onExplorerClicked(ii))}),A.k0s()}if(2&rn){const Mn=A.XpG(6);A.Y8G("matTooltip",A.mNQ("Link to "+Mn.selNode.settings.blockExplorerUrl))("icon",Mn.faUpRightFromSquare)}}function ei(rn,In){if(1&rn&&(A.j41(0,"span")(1,"span",46),A.DNE(2,cn,3,1,"ng-container",47)(3,Ft,3,4,"ng-container",47)(4,Sn,3,4,"ng-container",47)(5,Qn,2,1,"ng-container",47)(6,Pt,4,2,"ng-container",48),A.j41(7,"span"),A.DNE(8,gn,1,3,"fa-icon",49),A.k0s()()()),2&rn){const Mn=A.XpG().$implicit,Vn=A.XpG(4);A.R7$(),A.Y8G("ngSwitch",Mn.type),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.ARRAY),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.DATE_TIME),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.NUMBER),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.BOOLEAN),A.R7$(3),A.Y8G("ngIf",Mn.explorerLink&&""!==Mn.explorerLink)}}function vi(rn,In){1&rn&&(A.j41(0,"span",59),A.EFF(1,"\xa0"),A.k0s())}function Ni(rn,In){if(1&rn&&(A.j41(0,"div",42)(1,"h4",43),A.EFF(2),A.k0s(),A.DNE(3,ei,9,6,"span",44)(4,vi,2,0,"ng-template",null,2,A.C5r),A.nrm(6,"mat-divider",45),A.k0s()),2&rn){const Mn=In.$implicit,Vn=A.sdS(5);A.Y8G("fxFlex.gt-md",A.mNQ(Mn.width)),A.R7$(2),A.JRh(Mn.title),A.R7$(),A.Y8G("ngIf",Mn&&(!!Mn.value||0===Mn.value))("ngIfElse",Vn)}}function kn(rn,In){if(1&rn&&(A.j41(0,"div")(1,"div",40),A.DNE(2,Ni,7,5,"div",41),A.k0s()()),2&rn){const Mn=In.$implicit;A.R7$(2),A.Y8G("ngForOf",Mn)}}function Ri(rn,In){if(1&rn&&(A.j41(0,"div",38),A.DNE(1,kn,3,1,"div",39),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.Y8G("ngForOf",Mn.messageObjs)}}function vt(rn,In){if(1&rn&&(A.j41(0,"div",32)(1,"div",33),A.DNE(2,gt,1,2,"qr-code",7),A.k0s(),A.j41(3,"div",34),A.DNE(4,Gt,2,1,"p",35)(5,Ri,2,1,"div",36),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngClass",A.eq3(4,ie,""===Mn.showQRField||Mn.screenSize!==Mn.screenSizeEnum.XS&&Mn.screenSize!==Mn.screenSizeEnum.SM)),A.R7$(),A.Y8G("ngIf",""!==Mn.showQRField),A.R7$(2),A.Y8G("ngIf",Mn.data.titleMessage),A.R7$(),A.Y8G("ngIf",(null==Mn.messageObjs?null:Mn.messageObjs.length)>0)}}let ee=(()=>{var rn;class In{set container(Vn){Vn&&(this.scrollContainer=Vn,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}constructor(Vn,ii,Bn,ia,ra,fa,ha,qt){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.snackBar=ia,this.commonService=ra,this.renderer=fa,this.router=ha,this.store=qt,this.faUpRightFromSquare=Ae.k02,this.LoopStateEnum=C.Hx,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=C.A$,this.dataTypeEnum=C.UN,this.screenSize="",this.screenSizeEnum=C.f7,this.scrollDirection="DOWN",this.shouldScroll=!0,this.unSubs=[new v.B,new v.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===C.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs),this.store.select(j._c).pipe((0,L.Q)(this.unSubs[0])).subscribe(Vn=>{this.selNode=Vn,this.logger.info(this.selNode)})}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(Vn){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Vn)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(Vn){window.open(this.selNode.settings.blockExplorerUrl+"/"+Vn.explorerLink+"/"+Vn.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(Vn=>{Vn.next(null),Vn.complete()})}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(re.UG),A.rXU(xe.h),A.rXU(A.sFG),A.rXU(Ee.Ix),A.rXU(V.il))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-alert-message"]],viewQuery:function(ii,Bn){if(1&ii&&A.GBs(te,5),2&ii){let ia;A.mGM(ia=A.lsd())&&(Bn.container=ia.first)}},standalone:!1,decls:21,vars:14,consts:[["contentBlock",""],["scrollContainer",""],["emptyField",""],["noStyleBlock",""],["noStyleChild",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],[3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["errorCorrectionLevel","L",3,"value","size"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["class","arrow-downward","fxLayoutAlign","center center",4,"ngIf"],["class","arrow-upward","fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center",1,"arrow-downward"],["fxLayoutAlign","center center",1,"arrow-upward"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","ml-1 fa-icon-primary",3,"matTooltip","icon","click",4,"ngIf"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxLayout","row","class","go-to-link","tabindex","4",3,"matTooltip","click",4,"ngIf","ngIfElse"],["fxLayout","row","tabindex","4",1,"go-to-link",3,"click","matTooltip"],[1,"ml-1","fa-icon-primary",3,"click","matTooltip","icon"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(ii,Bn){if(1&ii){const ia=A.RV6();A.j41(0,"div",5)(1,"div",6),A.DNE(2,ve,1,2,"qr-code",7),A.k0s(),A.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),A.EFF(7),A.k0s()(),A.j41(8,"button",12),A.bIt("click",function(){return W.eBV(ia),W.Njj(Bn.onClose())}),A.EFF(9,"X"),A.k0s()(),A.DNE(10,$,4,4,"ng-container",13)(11,Vt,3,1,"ng-container",13)(12,nt,4,2,"div",14),A.j41(13,"div",15),A.DNE(14,ht,2,1,"button",16)(15,oe,2,1,"button",17)(16,Ye,2,2,"button",18)(17,fe,2,1,"button",17)(18,Qe,2,2,"button",18),A.k0s()()(),A.DNE(19,vt,6,6,"ng-template",null,0,A.C5r)}2&ii&&(A.R7$(),A.Y8G("ngClass",A.eq3(12,ie,""===Bn.showQRField||Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField),A.R7$(),A.Y8G("ngClass",""===Bn.showQRField||Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM?"flex-100":"flex-70"),A.R7$(4),A.JRh(Bn.data.alertTitle||Bn.alertTypeEnum[Bn.data.type]),A.R7$(3),A.Y8G("ngIf",Bn.data.scrollable),A.R7$(),A.Y8G("ngIf",!Bn.data.scrollable),A.R7$(),A.Y8G("ngIf",Bn.data.scrollable&&Bn.shouldScroll),A.R7$(2),A.Y8G("ngIf",(!Bn.showQRField||""===Bn.showQRField)&&""===Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showCopyName),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField),A.R7$(),A.Y8G("ngIf",""!==Bn.showQRField))},dependencies:[ce.YU,ce.Sq,ce.bT,ce.T3,ce.ux,ce.e1,ce.fG,be.aY,B.tx,ne.$z,ne.$0,J.m2,J.MM,De.An,Re.q,le.DJ,le.sA,le.UI,Xe.PW,_e.oV,he.Um,Dt.Ld,lt.U,Le.N,ce.QX,ce.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return rn(),In})();var ye=l(1771),ke=l(9417),Se=l(3746),ge=l(9588),N=l(6114);function Z(rn,In){if(1&rn&&(A.j41(0,"div",20),A.nrm(1,"fa-icon",21),A.j41(2,"span"),A.EFF(3),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("icon",Mn.faExclamationTriangle),A.R7$(2),A.JRh(Mn.warningMessage)}}function Me(rn,In){if(1&rn&&(A.j41(0,"div",22),A.nrm(1,"fa-icon",21),A.j41(2,"span"),A.EFF(3),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("icon",Mn.faInfoCircle),A.R7$(2),A.JRh(Mn.informationMessage)}}function at(rn,In){if(1&rn&&(A.j41(0,"p",23),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.data.titleMessage)}}function qe(rn,In){1&rn&&A.nrm(0,"div",37),2&rn&&A.Y8G("innerHTML",In.$implicit,A.npT)}function pn(rn,In){if(1&rn&&(A.qex(0,35),A.DNE(1,qe,1,1,"div",36),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.Y8G("ngForOf",Mn.value)}}function Je(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"date"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,1e3*Mn.value,"dd/MMM/y HH:mm"))}}function Be(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.nI1(2,"number"),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(A.i5U(2,1,Mn.value,"1.0-3"))}}function ut(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(!0===Mn.value?"True":"False")}}function Ge(rn,In){if(1&rn&&(A.qex(0),A.EFF(1),A.bVm()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.JRh(Mn.value)}}function Ot(rn,In){if(1&rn&&(A.j41(0,"span")(1,"span",31),A.DNE(2,pn,2,1,"ng-container",32)(3,Je,3,4,"ng-container",33)(4,Be,3,4,"ng-container",33)(5,ut,2,1,"ng-container",33)(6,Ge,2,1,"ng-container",34),A.k0s()()),2&rn){const Mn=A.XpG().$implicit,Vn=A.XpG(3);A.R7$(),A.Y8G("ngSwitch",Mn.type),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.ARRAY),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.DATE_TIME),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.NUMBER),A.R7$(),A.Y8G("ngSwitchCase",Vn.dataTypeEnum.BOOLEAN)}}function se(rn,In){1&rn&&(A.j41(0,"span",38),A.EFF(1,"\xa0"),A.k0s())}function We(rn,In){if(1&rn&&(A.j41(0,"div",27)(1,"h4",28),A.EFF(2),A.k0s(),A.DNE(3,Ot,7,5,"span",29)(4,se,2,0,"ng-template",null,0,A.C5r),A.nrm(6,"mat-divider",30),A.k0s()),2&rn){const Mn=In.$implicit,Vn=A.sdS(5);A.Y8G("fxFlex.gt-md",A.mNQ(Mn.width)),A.R7$(2),A.JRh(Mn.title),A.R7$(),A.Y8G("ngIf",Mn&&(!!Mn.value||0===Mn.value))("ngIfElse",Vn)}}function bt(rn,In){if(1&rn&&(A.j41(0,"div")(1,"div",25),A.DNE(2,We,7,5,"div",26),A.k0s()()),2&rn){const Mn=In.$implicit;A.R7$(2),A.Y8G("ngForOf",Mn)}}function tn(rn,In){if(1&rn&&(A.j41(0,"div"),A.DNE(1,bt,3,1,"div",24),A.k0s()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngForOf",Mn.messageObjs)}}function on(rn,In){if(1&rn&&(A.j41(0,"p",23),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2);A.R7$(),A.JRh(Mn.data.titleMessage)}}function un(rn,In){if(1&rn&&(A.j41(0,"mat-error"),A.EFF(1),A.k0s()),2&rn){const Mn=A.XpG(2).$implicit;A.R7$(),A.SpI("",Mn.placeholder," is required.")}}function Nt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"mat-form-field",42)(1,"mat-label"),A.EFF(2),A.k0s(),A.j41(3,"input",43),A.nI1(4,"lowercase"),A.mxI("ngModelChange",function(ii){W.eBV(Mn);const Bn=A.XpG().$implicit;return A.DH7(Bn.inputValue,ii)||(Bn.inputValue=ii),W.Njj(ii)}),A.k0s(),A.DNE(5,un,2,1,"mat-error",13),A.j41(6,"mat-hint"),A.EFF(7),A.k0s()()}if(2&rn){const Mn=A.XpG(),Vn=Mn.$implicit,ii=Mn.index;A.Y8G("ngClass",Vn.width),A.R7$(2),A.JRh(Vn.placeholder),A.R7$(),A.Y8G("name",A.VkB("input",ii))("autoFocus",0===ii)("min",Vn.min)("step",Vn.step)("type",A.bMT(4,12,Vn.inputType))("tabindex",ii+1),A.R50("ngModel",Vn.inputValue),A.R7$(2),A.Y8G("ngIf",!Vn.inputValue),A.R7$(2),A.JRh(Vn.hintFunction?Vn.hintFunction(Vn.inputValue):Vn.hintText)}}function dn(rn,In){if(1&rn&&(A.qex(0),A.DNE(1,Nt,8,14,"mat-form-field",41),A.bVm()),2&rn){const Mn=In.$implicit,Vn=A.XpG(2);A.R7$(),A.Y8G("ngIf",!Mn.advancedField||Vn.showAdvanced)}}function xn(rn,In){if(1&rn&&(A.j41(0,"div",39),A.DNE(1,on,2,1,"p",12),A.j41(2,"div",40),A.DNE(3,dn,2,1,"ng-container",24),A.k0s()()),2&rn){const Mn=A.XpG();A.R7$(),A.Y8G("ngIf",Mn.data.titleMessage),A.R7$(2),A.Y8G("ngForOf",Mn.getInputs)}}function Jn(rn,In){1&rn&&(A.j41(0,"p"),A.EFF(1,"Show Advanced"),A.k0s())}function xi(rn,In){1&rn&&(A.j41(0,"p"),A.EFF(1,"Hide Advanced"),A.k0s())}function Yi(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",44),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onShowAdvanced())}),A.DNE(1,Jn,2,0,"p",29)(2,xi,2,0,"ng-template",null,1,A.C5r),A.k0s()}if(2&rn){const Mn=A.sdS(3),Vn=A.XpG();A.R7$(),A.Y8G("ngIf",!Vn.showAdvanced)("ngIfElse",Mn)}}function Tt(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",45),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onClose(ii.getInputs))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.yesBtnText)}}function At(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"button",46),A.bIt("click",function(){W.eBV(Mn);const ii=A.XpG();return W.Njj(ii.onClose(!0))}),A.EFF(1),A.k0s()}if(2&rn){const Mn=A.XpG();A.R7$(),A.JRh(Mn.yesBtnText)}}let we=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.store=ia,this.faInfoCircle=Ae.iW_,this.faExclamationTriangle=Ae.zpE,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=C.A$,this.dataTypeEnum=C.UN,this.getInputs=[{placeholder:"",inputType:C.UN.STRING,inputValue:"",hintText:"",hintFunction:null,advancedField:!1}],this.showAdvanced=!1}ngOnInit(){this.informationMessage=this.data.informationMessage||"",this.warningMessage=this.data.warningMessage||"",this.flgShowInput=!!this.data.flgShowInput,this.getInputs=this.data.getInputs||[],this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.hasAdvanced=!!this.data.hasAdvanced&&this.data.hasAdvanced,this.messageObjs=this.data.message,this.data.type===C.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(Vn){if(Vn&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&Vn.length&&(Vn=Vn?.reduce((ii,Bn)=>(Bn.advancedField||ii.push(Bn),ii),[])),this.store.dispatch((0,ye.uP)({payload:Vn}))}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(V.il))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-confirmation-message"]],standalone:!1,decls:21,vars:10,consts:[["emptyField",""],["hideAdvancedText",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],["mat-button","","color","primary","type","button","class","mr-1","tabindex","2",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["matInput","","required","",3,"ngModelChange","name","autoFocus","min","step","type","tabindex","ngModel"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),A.EFF(5),A.k0s()(),A.j41(6,"button",7),A.bIt("click",function(){return Bn.onClose(!1)}),A.EFF(7,"X"),A.k0s()(),A.j41(8,"mat-card-content",8)(9,"form",9),A.DNE(10,Z,4,2,"div",10)(11,Me,4,2,"div",11)(12,at,2,1,"p",12)(13,tn,2,1,"div",13)(14,xn,4,2,"div",14),A.j41(15,"div",15)(16,"button",16),A.bIt("click",function(){return Bn.onClose(!1)}),A.EFF(17),A.k0s(),A.DNE(18,Yi,4,2,"button",17)(19,Tt,2,1,"button",18)(20,At,2,1,"button",19),A.k0s()()()()()),2&ii&&(A.R7$(5),A.JRh(Bn.data.alertTitle||Bn.alertTypeEnum[Bn.data.type]),A.R7$(5),A.Y8G("ngIf",Bn.warningMessage&&""!==Bn.warningMessage),A.R7$(),A.Y8G("ngIf",Bn.informationMessage&&""!==Bn.informationMessage),A.R7$(),A.Y8G("ngIf",Bn.data.titleMessage&&!Bn.flgShowInput),A.R7$(),A.Y8G("ngIf",(null==Bn.messageObjs?null:Bn.messageObjs.length)>0),A.R7$(),A.Y8G("ngIf",Bn.flgShowInput),A.R7$(3),A.JRh(Bn.noBtnText),A.R7$(),A.Y8G("ngIf",Bn.hasAdvanced),A.R7$(),A.Y8G("ngIf",Bn.flgShowInput),A.R7$(),A.Y8G("ngIf",!Bn.flgShowInput))},dependencies:[ce.YU,ce.Sq,ce.bT,ce.ux,ce.e1,ce.fG,ke.qT,ke.me,ke.BC,ke.cb,ke.YS,ke.vS,ke.cV,be.aY,ne.$z,J.m2,J.MM,Se.fg,ge.rl,ge.nJ,ge.MV,ge.TL,Re.q,le.DJ,le.sA,le.UI,Xe.PW,Le.N,N.V,ce.GH,ce.QX,ce.vh],encapsulation:2}))}return rn(),In})();var ae=l(2462),Lt=l(6183),Ht=l(3029);const _n=rn=>({"display-none":rn});function fi(rn,In){if(1&rn&&(A.j41(0,"mat-option",23),A.EFF(1),A.k0s()),2&rn){const Mn=In.$implicit;A.Y8G("value",Mn),A.R7$(),A.SpI(" ",Mn.infoName," ")}}function bi(rn,In){if(1&rn){const Mn=A.RV6();A.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-label"),A.EFF(3,"Info Type"),A.k0s(),A.j41(4,"mat-select",21),A.mxI("valueChange",function(ii){W.eBV(Mn);const Bn=A.XpG();return A.DH7(Bn.selInfoType,ii)||(Bn.selInfoType=ii),W.Njj(ii)}),A.DNE(5,fi,2,2,"mat-option",22),A.k0s()()()}if(2&rn){const Mn=A.XpG();A.R7$(4),A.R50("value",Mn.selInfoType),A.R7$(),A.Y8G("ngForOf",Mn.infoTypes)}}let Qi=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia,ra){this.dialogRef=Vn,this.data=ii,this.logger=Bn,this.snackBar=ia,this.commonService=ra,this.faReceipt=Ae.Mf0,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=C.f7}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((Vn,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Vn){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Vn)}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(A.rXU(B.CP),A.rXU(B.Vh),A.rXU(G.gP),A.rXU(re.UG),A.rXU(xe.h))},this.\u0275cmp=A.VBU({type:In,selectors:[["rtl-show-pubkey"]],standalone:!1,decls:26,vars:20,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["errorCorrectionLevel","L",3,"value","size"],["fxFlex","100","fxFlex.gt-sm","70"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-button","","color","primary","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(ii,Bn){1&ii&&(A.j41(0,"div",0)(1,"div",1),A.nrm(2,"qr-code",2),A.k0s(),A.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),A.nrm(6,"fa-icon",6),A.j41(7,"span",7),A.EFF(8),A.k0s()(),A.j41(9,"button",8),A.bIt("click",function(){return Bn.onClose()}),A.EFF(10,"X"),A.k0s()(),A.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),A.nrm(14,"qr-code",2),A.k0s(),A.DNE(15,bi,6,2,"div",12),A.j41(16,"div",13)(17,"div",14)(18,"h4",15),A.EFF(19),A.k0s(),A.j41(20,"span",16),A.EFF(21),A.k0s()()(),A.nrm(22,"mat-divider",17),A.j41(23,"div",18)(24,"button",19),A.bIt("copied",function(ra){return Bn.onCopyPubkey(ra)}),A.EFF(25),A.k0s()()()()()()),2&ii&&(A.R7$(),A.Y8G("ngClass",A.eq3(16,_n,Bn.screenSize===Bn.screenSizeEnum.XS||Bn.screenSize===Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("value",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]))("size",Bn.qrWidth),A.R7$(4),A.Y8G("icon",Bn.faReceipt),A.R7$(2),A.JRh(Bn.selInfoType.infoName),A.R7$(5),A.Y8G("ngClass",A.eq3(18,_n,Bn.screenSize!==Bn.screenSizeEnum.XS&&Bn.screenSize!==Bn.screenSizeEnum.SM)),A.R7$(),A.Y8G("value",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]))("size",Bn.qrWidth),A.R7$(),A.Y8G("ngIf",Bn.information.uris&&Bn.information.uris.length>0),A.R7$(4),A.JRh(Bn.selInfoType.infoName),A.R7$(2),A.JRh(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1]),A.R7$(3),A.Y8G("payload",A.mNQ(0===Bn.selInfoType.infoID?Bn.information.identity_pubkey:Bn.information.uris[Bn.selInfoType.infoID-1])),A.R7$(),A.SpI("Copy ",Bn.selInfoType.infoKey))},dependencies:[ce.YU,ce.Sq,ce.bT,be.aY,ne.$z,J.m2,J.MM,ge.rl,ge.nJ,Re.q,le.DJ,le.sA,le.UI,Xe.PW,Lt.VO,Ht.wT,he.Um,lt.U,Le.N],encapsulation:2}))}return rn(),In})();var zi=l(190),It=l(8430),an=l(5428),Yt=l(9330),Un=l(7879),zn=l(3202),Fn=l(1534);let ci=(()=>{var rn;class In{constructor(Vn,ii,Bn,ia,ra,fa,ha,qt,En,Wn,ri){this.actions=Vn,this.httpClient=ii,this.store=Bn,this.logger=ia,this.wsService=ra,this.sessionService=fa,this.commonService=ha,this.dataService=qt,this.dialog=En,this.snackBar=Wn,this.router=ri,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new v.B,new v.B],this.closeAllDialogs=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_ALL_DIALOGS),(0,w.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_SNACK_BAR),(0,w.T)(Rn=>{"string"==typeof Rn.payload?this.snackBar.open(Rn.payload):this.snackBar.open(Rn.payload.message,"","ERROR"===Rn.payload.type?{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Rn.payload.type?{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Rn.payload.duration?Rn.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_SPINNER),(0,w.T)(Rn=>{Rn.payload!==C.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(Ce,{panelClass:"spinner-dialog-panel",data:{titleMessage:Rn.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_SPINNER),(0,w.T)(Rn=>{if(Rn.payload!==C.MZ.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Rn.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Hn=>{Hn.componentInstance&&Hn.componentInstance.data&&Hn.componentInstance.data.titleMessage&&Hn.componentInstance.data.titleMessage===Rn.payload&&Hn.close()})}catch(Hn){this.logger.error(Hn)}})),{dispatch:!1}),this.openAlert=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_ALERT),(0,w.T)(Rn=>{const Hn=JSON.parse(JSON.stringify(Rn.payload));Hn.width||(Hn.width=this.alertWidth),this.dialogRef=this.dialog.open(Rn.payload.data.component?Rn.payload.data.component:ee,Hn)})),{dispatch:!1}),this.closeAlert=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_ALERT),(0,w.T)(Rn=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Rn.payload),Rn.payload))),{dispatch:!1}),this.openConfirm=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.OPEN_CONFIRMATION),(0,w.T)(Rn=>{const Hn=JSON.parse(JSON.stringify(Rn.payload));Hn.width||(Hn.width=this.confirmWidth),this.dialogRef=this.dialog.open(we,Hn)})),{dispatch:!1}),this.closeConfirm=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.CLOSE_CONFIRMATION),(0,e.s)(1),(0,w.T)(Rn=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Rn.payload),Rn.payload))),{dispatch:!1}),this.showNodePubkey=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_PUBKEY),(0,O.E)(this.store.select(j.N)),(0,f.Z)(([Rn,Hn])=>(this.sessionService.getItem("token")&&Hn.identity_pubkey?this.store.dispatch((0,ye.xO)({payload:{data:{information:Hn,component:Qi}}})):this.snackBar.open("Node Pubkey does not exist."),(0,T.of)({type:C.aU.VOID}))))),this.appConfigFetch=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_APPLICATION_SETTINGS),(0,f.Z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===C.f7.XS||this.screenSize===C.f7.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===C.f7.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,ye.mt)({payload:C.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchRTLConfig",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API))),(0,w.T)(Rn=>{this.logger.info(Rn),this.store.dispatch((0,ye.y0)({payload:C.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchRTLConfig",status:C.wn.COMPLETED}}));let Hn=null;return Rn.nodes.forEach(Pi=>{Pi.settings.currencyUnits=[...C.A0,Pi.settings?.currencyUnit?Pi.settings?.currencyUnit:""],+(Pi.index||-1)===Rn.selectedNodeIndex&&(Hn=Pi)}),Hn?(this.store.dispatch((0,ye.Qi)({payload:{uiMessage:C.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Hn,isInitialSetup:!0}})),{type:C.aU.SET_APPLICATION_SETTINGS,payload:Rn}):{type:C.aU.VOID}}),(0,u.W)(Rn=>(this.handleErrorWithAlert("FetchRTLConfig",C.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",C.rl.CONF_API,Rn),(0,T.of)({type:C.aU.VOID}))))),this.updateNodeSettings=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.UPDATE_NODE_SETTINGS),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,ye.Gd)({payload:{action:"updateNodeSettings",status:C.wn.INITIATED}})),Rn.payload.settings.fiatConversion||delete Rn.payload.settings.currencyUnit,delete Rn.payload.settings.currencyUnits,this.httpClient.post(C.rl.CONF_API+"/node",Rn.payload).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"updateNodeSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.UPDATE_NODE_SETTINGS})),Hn.settings.currencyUnits=[...C.A0,Hn.settings?.currencyUnit?Hn.settings?.currencyUnit:""],this.store.dispatch((0,ye.Np)({payload:Hn})),{type:C.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,u.W)(Hn=>(this.handleErrorWithAlert("updateNodeSettings",C.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",C.rl.CONF_API+"/node",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.updateApplicationSettings=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.UPDATE_APPLICATION_SETTINGS),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,ye.Gd)({payload:{action:"updateApplicationSettings",status:C.wn.INITIATED}})),Rn.payload.config.nodes.forEach(Hn=>{delete Hn.settings.currencyUnits}),this.httpClient.post(C.rl.CONF_API+"/application",Rn.payload.config).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"updateApplicationSettings",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.UPDATE_APPLICATION_SETTINGS})),Rn.payload.showSnackBar&&this.store.dispatch((0,ye.UI)({payload:Rn.payload.message})),{type:C.aU.SET_APPLICATION_SETTINGS,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("updateApplicationSettings",C.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",C.rl.CONF_API+"/application",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.configFetch=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_CONFIG),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,ye.Gd)({payload:{action:"fetchConfig",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API+"/config/"+Rn.payload).pipe((0,w.T)(Hn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"fetchConfig",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.OPEN_CONFIG_FILE})),{type:C.aU.SHOW_CONFIG,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("fetchConfig",C.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",C.rl.CONF_API+"/config/"+Rn.payload,Hn),(0,T.of)({type:C.aU.VOID})))))))),this.showLnConfig=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_CONFIG),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1}),this.isAuthorized=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.IS_AUTHORIZED),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"IsAuthorized",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API,{authenticateWith:Rn.payload&&""!==Rn.payload.trim()?C.U1.PASSWORD:C.U1.JWT,authenticationValue:Rn.payload&&""!==Rn.payload.trim()?Rn.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"IsAuthorized",status:C.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:C.aU.IS_AUTHORIZED_RES,payload:Hn})),(0,u.W)(Hn=>(this.handleErrorWithAlert("IsAuthorized",C.MZ.NO_SPINNER,"Authorization Failed",C.rl.AUTHENTICATE_API,Hn),(0,T.of)({type:C.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.IS_AUTHORIZED_RES),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1}),this.authLogin=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.LOGIN),(0,O.E)(this.store.select(j.qv)),(0,f.Z)(([Rn,Hn])=>(this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,It.gf)()),this.store.dispatch((0,an.Hh)()),this.store.dispatch((0,ye.Gd)({payload:{action:"Login",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API,{authenticateWith:"disabledAuth"===Rn.payload.password?C.U1.NOAUTH:Rn.payload.password?C.U1.PASSWORD:C.U1.JWT,authenticationValue:Rn.payload.password?Rn.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Rn.payload.twoFAToken?Rn.payload.twoFAToken:""}).pipe((0,w.T)(Pi=>{this.logger.info(Pi),this.store.dispatch((0,ye.Gd)({payload:{action:"Login",status:C.wn.COMPLETED}})),this.setLoggedInDetails(Rn.payload.defaultPassword,Pi)}),(0,u.W)(Pi=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",C.MZ.NO_SPINNER,Pi),+Hn.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Pi.error&&Pi.error.error?Pi.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:Pi.error&&Pi.error.error?Pi.error.error:"Single Sign On Failed!"}}),(0,T.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.VERIFY_TWO_FA),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:C.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ye.Gd)({payload:{action:"VerifyToken",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API+"/token",{authentication2FA:Rn.payload.token}).pipe((0,w.T)(Hn=>{this.logger.info(Hn),this.store.dispatch((0,ye.y0)({payload:C.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ye.Gd)({payload:{action:"VerifyToken",status:C.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Rn.payload.authResponse)}),(0,u.W)(Hn=>(this.handleErrorWithAlert("VerifyToken",C.MZ.VERIFY_TOKEN,"Authorization Failed!",C.rl.AUTHENTICATE_API+"/token",Hn),(0,T.of)({type:C.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.LOGOUT),(0,O.E)(this.store.select(j.qv)),(0,f.Z)(([Rn,Hn])=>{this.store.dispatch((0,ye.mt)({payload:C.MZ.LOG_OUT})),Hn.SSO&&+Hn.SSO.rtlSSO&&(window.location.href=Hn.SSO.logoutRedirectLink),this.sessionService.clearAll(),this.store.dispatch((0,ye.Fl)({payload:{}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),this.logger.info("Logged out from browser");const Pi=()=>{Hn.SSO&&+Hn.SSO.rtlSSO||(Rn.payload&&this.sessionService.setItem("logoutReason",Rn.payload),window.location.href=document.baseURI+"login")};return this.httpClient.get(C.rl.AUTHENTICATE_API+"/logout").pipe((0,w.T)(da=>{this.logger.info(da),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),this.logger.info("Logged out from server"),Pi()}),(0,u.W)(da=>(this.logger.error(da),this.store.dispatch((0,ye.y0)({payload:C.MZ.LOG_OUT})),Pi(),(0,T.of)({type:C.aU.VOID}))))})),{dispatch:!1}),this.resetPassword=(0,d.EH)(()=>this.actions.pipe((0,L.Q)(this.unSubs[1]),(0,d.gp)(C.aU.RESET_PASSWORD),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.Gd)({payload:{action:"ResetPassword",status:C.wn.INITIATED}})),this.httpClient.post(C.rl.AUTHENTICATE_API+"/reset",{currPassword:Rn.payload.currPassword,newPassword:Rn.payload.newPassword}).pipe((0,L.Q)(this.unSubs[0]),(0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"ResetPassword",status:C.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,ye.UI)({payload:"Password Reset Successful!"})),this.SetToken(Hn.token),{type:C.aU.RESET_PASSWORD_RES,payload:Hn.token})),(0,u.W)(Hn=>(this.handleErrorWithAlert("ResetPassword",C.MZ.NO_SPINNER,"Password Reset Failed!",C.rl.AUTHENTICATE_API+"/reset",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.setSelectedNode=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SET_SELECTED_NODE),(0,f.Z)(Rn=>(this.store.dispatch((0,ye.mt)({payload:Rn.payload.uiMessage})),this.store.dispatch((0,ye.Gd)({payload:{action:"UpdateSelNode",status:C.wn.INITIATED}})),this.httpClient.get(C.rl.CONF_API+"/updateSelNode/"+Rn.payload.currentLnNode?.index+"/"+Rn.payload.prevLnNodeIndex).pipe((0,w.T)(Hn=>(this.logger.info(Hn),this.store.dispatch((0,ye.Gd)({payload:{action:"UpdateSelNode",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:Rn.payload.uiMessage})),this.initializeNode(Hn,Rn.payload.isInitialSetup),{type:C.aU.VOID})),(0,u.W)(Hn=>(this.handleErrorWithAlert("UpdateSelNode",Rn.payload.uiMessage,"Update Selected Node Failed!",C.rl.CONF_API+"/updateSelNode",Hn),(0,T.of)({type:C.aU.VOID})))))))),this.fetchFile=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.FETCH_FILE),(0,f.Z)(Rn=>{this.store.dispatch((0,ye.mt)({payload:C.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,ye.Gd)({payload:{action:"FetchFile",status:C.wn.INITIATED}}));const Hn="?channel="+Rn.payload.channelPoint+(Rn.payload.path?"&path="+Rn.payload.path:"");return this.httpClient.get(C.rl.CONF_API+"/file"+Hn).pipe((0,w.T)(Pi=>(this.store.dispatch((0,ye.Gd)({payload:{action:"FetchFile",status:C.wn.COMPLETED}})),this.store.dispatch((0,ye.y0)({payload:C.MZ.DOWNLOAD_BACKUP_FILE})),{type:C.aU.SHOW_FILE,payload:Pi})),(0,u.W)(Pi=>(this.handleErrorWithAlert("fetchFile",C.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",C.rl.CONF_API+"/file"+Hn,{status:this.commonService.extractErrorNumber(Pi),error:{error:this.commonService.extractErrorCode(Pi)}}),(0,T.of)({type:C.aU.VOID}))))}))),this.showFile=(0,d.EH)(()=>this.actions.pipe((0,d.gp)(C.aU.SHOW_FILE),(0,w.T)(Rn=>Rn.payload)),{dispatch:!1})}initializeNode(Vn,ii){this.logger.info("Initializing node from RTL Effects.");const Bn=ii?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),Vn.settings.currencyUnits=[...C.A0,Vn.settings?.currencyUnit?Vn.settings?.currencyUnit:""],this.store.dispatch((0,ye.Tn)({payload:Vn})),this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,It.gf)()),this.store.dispatch((0,an.Hh)()),this.sessionService.getItem("token")){const ia=Vn.lnImplementation?Vn.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(ia);const ra=!(0,i.naY)()&&window.location.origin?window.location.origin+"/rtl/api":C.H$;switch(this.wsService.connectWebSocket(ra?.replace(/^http/,"ws")+C.rl.Web_SOCKET_API,Vn.index?Vn.index.toString():"-1"),ia){case"CLN":this.store.dispatch((0,It.lg)()),this.store.dispatch((0,It.Aw)({payload:{loadPage:Bn}}));break;case"ECL":this.store.dispatch((0,an.lg)()),this.store.dispatch((0,an.zR)({payload:{loadPage:Bn}}));break;default:this.store.dispatch((0,zi.lg)()),this.store.dispatch((0,zi.Br)({payload:{loadPage:Bn}}))}}}SetToken(Vn){Vn?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Vn)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Vn,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",Vn),Vn?(this.store.dispatch((0,ye.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,ye.NU)())}handleErrorWithoutAlert(Vn,ii,Bn){this.logger.error("ERROR IN: "+Vn+"\n"+JSON.stringify(Bn)),401===Bn.status&&"Login"!==Vn?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ye.Jh)()),this.store.dispatch((0,ye.ri)({payload:"Authentication Failed: "+JSON.stringify(Bn.error)}))):(this.store.dispatch((0,ye.y0)({payload:ii})),this.store.dispatch((0,ye.Gd)({payload:{action:Vn,status:C.wn.ERROR,statusCode:Bn.status?Bn.status.toString():"",message:this.commonService.extractErrorMessage(Bn)}})))}handleErrorWithAlert(Vn,ii,Bn,ia,ra){if(this.logger.error(ra),0===ra.status&&ra.statusText&&"Unknown Error"===ra.statusText&&(ra={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===ra.status&&"Login"!==Vn)this.logger.info("Redirecting to Login"),this.store.dispatch((0,ye.Jh)()),this.store.dispatch((0,ye.ri)({payload:"Authentication Failed: "+JSON.stringify(ra.error)}));else{this.store.dispatch((0,ye.y0)({payload:ii}));const fa=this.commonService.extractErrorMessage(ra);this.store.dispatch((0,ye.xO)({payload:{data:{type:"ERROR",alertTitle:Bn,message:{code:ra.status?ra.status:"Unknown Error",message:fa,URL:ia},component:ae.f}}})),this.store.dispatch((0,ye.Gd)({payload:{action:Vn,status:C.wn.ERROR,statusCode:ra.status?ra.status.toString():"",message:fa,URL:ia}}))}}ngOnDestroy(){this.unSubs.forEach(Vn=>{Vn.next(null),Vn.complete()})}static#e=rn=()=>(this.\u0275fac=function(ii){return new(ii||In)(W.KVO(d.En),W.KVO(Yt.Qq),W.KVO(V.il),W.KVO(G.gP),W.KVO(Un.I),W.KVO(zn.Q),W.KVO(xe.h),W.KVO(Fn.u),W.KVO(B.bZ),W.KVO(re.UG),W.KVO(Ee.Ix))},this.\u0275prov=W.jDH({token:In,factory:In.\u0275fac}))}return rn(),In})()},9647(Zt,pe,l){"use strict";l.d(pe,{Az:()=>u,E2:()=>f,Kq:()=>O,N:()=>e,_c:()=>T,qv:()=>w});var i=l(9640);const d=(0,i.UX)("root"),T=((0,i.Mz)(d,L=>L.apiURL),(0,i.Mz)(d,L=>L.selNode)),w=(0,i.Mz)(d,L=>L.appConfig),e=(0,i.Mz)(d,L=>L.nodeData),O=(0,i.Mz)(d,L=>L.apisCallStatus.Login),f=(0,i.Mz)(d,L=>L.apisCallStatus.IsAuthorized),u=(0,i.Mz)(d,L=>({nodeDate:L.nodeData,selNode:L.selNode}))},599(Zt,pe,l){"use strict";var i=l(7303),d=l(2512),v=l(2615),T=l(177),w=l(2200),e=l(3664),O=l(7705),f=l(3393);class C extends i.qj{supportsDOMEvents=!0;static makeCurrent(){(0,i.ig)(new C)}onAndCancel(_,m,E,D){return _.addEventListener(m,E,D),()=>{_.removeEventListener(m,E,D)}}dispatchEvent(_,m){_.dispatchEvent(m)}remove(_){_.remove()}createElement(_,m){return(m=m||this.getDefaultDocument()).createElement(_)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(_){return _.nodeType===Node.ELEMENT_NODE}isShadowRoot(_){return _ instanceof DocumentFragment}getGlobalEventTarget(_,m){return"window"===m?window:"document"===m?_:"body"===m?_.body:null}getBaseHref(_){const m=function A(){return B=B||document.head.querySelector("base"),B?B.getAttribute("href"):null}();return null==m?null:function Pe(b){return new URL(b,document.baseURI).pathname}(m)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(_){return(0,d.b)(document.cookie,_)}}let B=null,Ce=(()=>{class b{build(){return new XMLHttpRequest}static \u0275fac=function(E){return new(E||b)};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();const Ae=["alt","control","meta","shift"],j={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},W={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let G=(()=>{class b extends f.Hl{constructor(m){super(m)}supports(m){return null!=b.parseEventName(m)}addEventListener(m,E,D,I){const Oe=b.parseEventName(E),Ct=b.eventCallback(Oe.fullKey,D,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.rb)().onAndCancel(m,Oe.domEventName,Ct,I))}static parseEventName(m){const E=m.toLowerCase().split("."),D=E.shift();if(0===E.length||"keydown"!==D&&"keyup"!==D)return null;const I=b._normalizeKey(E.pop());let Oe="",Ct=E.indexOf("code");if(Ct>-1&&(E.splice(Ct,1),Oe="code."),Ae.forEach(yn=>{const Yn=E.indexOf(yn);Yn>-1&&(E.splice(Yn,1),Oe+=yn+".")}),Oe+=I,0!=E.length||0===I.length)return null;const Bt={};return Bt.domEventName=D,Bt.fullKey=Oe,Bt}static matchEventFullKeyCode(m,E){let D=j[m.key]||m.key,I="";return E.indexOf("code.")>-1&&(D=m.code,I="code."),!(null==D||!D)&&(D=D.toLowerCase()," "===D?D="space":"."===D&&(D="dot"),Ae.forEach(Oe=>{Oe!==D&&(0,W[Oe])(m)&&(I+=Oe+".")}),I+=D,I===E)}static eventCallback(m,E,D){return I=>{b.matchEventFullKeyCode(I,m)&&D.runGuarded(()=>E(I))}}static _normalizeKey(m){return"esc"===m?"escape":m}static \u0275fac=function(E){return new(E||b)(v.KVO(v.qQL))};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();const De=(0,O.oH4)(O.fpN,"browser",[{provide:e.Agw,useValue:T.AJ},{provide:e.PLl,useValue:function ce(){C.makeCurrent()},multi:!0},{provide:v.qQL,useFactory:function ne(){return(0,e._9u)(document),document}}]),Xe=[{provide:e.$Ln,useClass:class le{addToWindow(_){v.laP.getAngularTestability=(E,D=!0)=>{const I=_.findTestabilityInTree(E,D);if(null==I)throw new v.buA(5103,!1);return I},v.laP.getAllAngularTestabilities=()=>_.getAllTestabilities(),v.laP.getAllAngularRootElements=()=>_.getAllRootElements(),v.laP.frameworkStabilizers||(v.laP.frameworkStabilizers=[]),v.laP.frameworkStabilizers.push(E=>{const D=v.laP.getAllAngularTestabilities();let I=D.length;const Oe=function(){I--,0==I&&E()};D.forEach(Ct=>{Ct.whenStable(Oe)})})}findTestabilityInTree(_,m,E){return null==m?null:_.getTestability(m)??(E?(0,i.rb)().isShadowRoot(m)?this.findTestabilityInTree(_,m.host,!0):this.findTestabilityInTree(_,m.parentElement,!0):null)}}},{provide:e.dOL,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]},{provide:e.NYb,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]}],_e=[{provide:v.GBX,useValue:"root"},{provide:v.zcH,useFactory:function be(){return new v.zcH}},{provide:f.Q5,useClass:f.jd,multi:!0,deps:[v.qQL]},{provide:f.Q5,useClass:G,multi:!0,deps:[v.qQL]},f.mE,f.CI,f.EU,{provide:e._9s,useExisting:f.mE},{provide:d.N,useClass:Ce},[]];let he=(()=>{class b{constructor(){}static \u0275fac=function(E){return new(E||b)};static \u0275mod=e.$C({type:b});static \u0275inj=v.G2t({providers:[..._e,...Xe],imports:[w.MD,O.Hbi]})}return b})();var Dt=l(345),lt=l(1514);function ie(b){return new v.buA(3e3,!1)}function nt(b){return new v.buA(3002,!1)}function vt(b){switch(b.length){case 0:return new lt.sf;case 1:return b[0];default:return new lt.PZ(b)}}function ee(b,_,m=new Map,E=new Map){const D=[],I=[];let Oe=-1,Ct=null;if(_.forEach(Bt=>{const yn=Bt.get("offset"),Yn=yn==Oe,jn=Yn&&Ct||new Map;Bt.forEach((Fi,Zi)=>{let Mi=Zi,Ai=Fi;if("offset"!==Zi)switch(Mi=b.normalizePropertyName(Mi,D),Ai){case lt.FX:Ai=m.get(Zi);break;case lt.kp:Ai=E.get(Zi);break;default:Ai=b.normalizeStyleValue(Zi,Mi,Ai,D)}jn.set(Mi,Ai)}),Yn||I.push(jn),Ct=jn,Oe=yn}),D.length)throw function h(){return new v.buA(3502,!1)}();return I}function ye(b,_,m,E){switch(_){case"start":b.onStart(()=>E(m&&ke(m,"start",b)));break;case"done":b.onDone(()=>E(m&&ke(m,"done",b)));break;case"destroy":b.onDestroy(()=>E(m&&ke(m,"destroy",b)))}}function ke(b,_,m){const I=Se(b.element,b.triggerName,b.fromState,b.toState,_||b.phaseName,m.totalTime??b.totalTime,!!m.disabled),Oe=b._data;return null!=Oe&&(I._data=Oe),I}function Se(b,_,m,E,D="",I=0,Oe){return{element:b,triggerName:_,fromState:m,toState:E,phaseName:D,totalTime:I,disabled:!!Oe}}function ge(b,_,m){let E=b.get(_);return E||b.set(_,E=m),E}function N(b){const _=b.indexOf(":");return[b.substring(1,_),b.slice(_+1)]}const Z=typeof document>"u"?null:document.documentElement;function Me(b){const _=b.parentNode||b.host||null;return _===Z?null:_}let qe=null,pn=!1;function Ge(b,_){for(;_;){if(_===b)return!0;_=Me(_)}return!1}function Ot(b,_,m){if(m)return Array.from(b.querySelectorAll(_));const E=b.querySelector(_);return E?[E]:[]}const tn="ng-enter",on="ng-leave",un="ng-trigger",Nt=".ng-trigger",dn="ng-animating",xn=".ng-animating";function Jn(b){if("number"==typeof b)return b;const _=b.match(/^(-?[\.\d]+)(m?s)/);return!_||_.length<2?0:xi(parseFloat(_[1]),_[2])}function xi(b,_){return"s"===_?1e3*b:b}function Yi(b,_,m){return b.hasOwnProperty("duration")?b:function At(b,_,m){let E,D=0,I="";if("string"==typeof b){const Oe=b.match(Tt);if(null===Oe)return _.push(ie()),{duration:0,delay:0,easing:""};E=xi(parseFloat(Oe[1]),Oe[2]);const Ct=Oe[3];null!=Ct&&(D=xi(parseFloat(Ct),Oe[4]));const Bt=Oe[5];Bt&&(I=Bt)}else E=b;if(!m){let Oe=!1,Ct=_.length;E<0&&(_.push(function P(){return new v.buA(3100,!1)}()),Oe=!0),D<0&&(_.push(function F(){return new v.buA(3101,!1)}()),Oe=!0),Oe&&_.splice(Ct,0,ie())}return{duration:E,delay:D,easing:I}}(b,_,m)}const Tt=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Lt(b,_,m){_.forEach((E,D)=>{const I=an(D);m&&!m.has(D)&&m.set(D,b.style[I]),b.style[I]=E})}function Ht(b,_){_.forEach((m,E)=>{const D=an(E);b.style[D]=""})}function _n(b){return Array.isArray(b)?1==b.length?b[0]:(0,lt.K2)(b):b}const bi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Qi(b){let _=[];if("string"==typeof b){let m;for(;m=bi.exec(b);)_.push(m[1]);bi.lastIndex=0}return _}function zi(b,_,m){const E=`${b}`,D=E.replace(bi,(I,Oe)=>{let Ct=_[Oe];return null==Ct&&(m.push(function H(){return new v.buA(3003,!1)}()),Ct=""),Ct.toString()});return D==E?b:D}const It=/-+([a-z0-9])/g;function an(b){return b.replace(It,(..._)=>_[1].toUpperCase())}function Fn(b,_,m){switch(_.type){case lt.If.Trigger:return b.visitTrigger(_,m);case lt.If.State:return b.visitState(_,m);case lt.If.Transition:return b.visitTransition(_,m);case lt.If.Sequence:return b.visitSequence(_,m);case lt.If.Group:return b.visitGroup(_,m);case lt.If.Animate:return b.visitAnimate(_,m);case lt.If.Keyframes:return b.visitKeyframes(_,m);case lt.If.Style:return b.visitStyle(_,m);case lt.If.Reference:return b.visitReference(_,m);case lt.If.AnimateChild:return b.visitAnimateChild(_,m);case lt.If.AnimateRef:return b.visitAnimateRef(_,m);case lt.If.Query:return b.visitQuery(_,m);case lt.If.Stagger:return b.visitStagger(_,m);default:throw function $(){return new v.buA(3004,!1)}()}}function ci(b,_){return window.getComputedStyle(b)[_]}let Bn=(()=>{class b{validateStyleProperty(m){return function Je(b){qe||(qe=function ut(){return typeof document<"u"?document.body:null}()||{},pn=!!qe.style&&"WebkitAppearance"in qe.style);let _=!0;return qe.style&&!function at(b){return"ebkit"==b.substring(1,6)}(b)&&(_=b in qe.style,!_&&pn&&(_="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in qe.style)),_}(m)}containsElement(m,E){return Ge(m,E)}getParentElement(m){return Me(m)}query(m,E,D){return Ot(m,E,D)}computeStyle(m,E,D){return D||""}animate(m,E,D,I,Oe,Ct=[],Bt){return new lt.sf(D,I)}static \u0275fac=function(E){return new(E||b)};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})();class ia{static NOOP=new Bn}class ra{}const ha=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class qt extends ra{normalizePropertyName(_,m){return an(_)}normalizeStyleValue(_,m,E,D){let I="";const Oe=E.toString().trim();if(ha.has(m)&&0!==E&&"0"!==E)if("number"==typeof E)I="px";else{const Ct=E.match(/^[+-]?[\d\.]+([a-z]*)$/);Ct&&0==Ct[1].length&&D.push(function Ke(){return new v.buA(3005,!1)}())}return Oe+I}}const vn=new Set(["true","1"]),oi=new Set(["false","0"]);function bn(b,_){const m=vn.has(b)||oi.has(b),E=vn.has(_)||oi.has(_);return(D,I)=>{let Oe="*"==b||b==D,Ct="*"==_||_==I;return!Oe&&m&&"boolean"==typeof D&&(Oe=D?vn.has(b):oi.has(b)),!Ct&&E&&"boolean"==typeof I&&(Ct=I?vn.has(_):oi.has(_)),Oe&&Ct}}const yi=new RegExp("s*:selfs*,?","g");function Wi(b,_,m,E){return new Fe(b).build(_,m,E)}class Fe{_driver;constructor(_){this._driver=_}build(_,m,E){const D=new Et(m);return this._resetContextStyleTimingState(D),Fn(this,_n(_),D)}_resetContextStyleTimingState(_){_.currentQuerySelector="",_.collectedStyles=new Map,_.collectedStyles.set("",new Map),_.currentTime=0}visitTrigger(_,m){let E=m.queryCount=0,D=m.depCount=0;const I=[],Oe=[];return"@"==_.name.charAt(0)&&m.errors.push(function Vt(){return new v.buA(3006,!1)}()),_.definitions.forEach(Ct=>{if(this._resetContextStyleTimingState(m),Ct.type==lt.If.State){const Bt=Ct,yn=Bt.name;yn.toString().split(/\s*,\s*/).forEach(Yn=>{Bt.name=Yn,I.push(this.visitState(Bt,m))}),Bt.name=yn}else if(Ct.type==lt.If.Transition){const Bt=this.visitTransition(Ct,m);E+=Bt.queryCount,D+=Bt.depCount,Oe.push(Bt)}else m.errors.push(function St(){return new v.buA(3007,!1)}())}),{type:lt.If.Trigger,name:_.name,states:I,transitions:Oe,queryCount:E,depCount:D,options:null}}visitState(_,m){const E=this.visitStyle(_.styles,m),D=_.options&&_.options.params||null;if(E.containsDynamicStyles){const I=new Set,Oe=D||{};E.styles.forEach(Ct=>{Ct instanceof Map&&Ct.forEach(Bt=>{Qi(Bt).forEach(yn=>{Oe.hasOwnProperty(yn)||I.add(yn)})})}),I.size&&m.errors.push(function ot(){return new v.buA(3008,!1)}(0,I.values()))}return{type:lt.If.State,name:_.name,style:E,options:D?{params:D}:null}}visitTransition(_,m){m.queryCount=0,m.depCount=0;const E=Fn(this,_n(_.animation),m),D=function da(b,_){const m=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(E=>function Ta(b,_,m){if(":"==b[0]){const Bt=function en(b,_){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,E)=>parseFloat(E)>parseFloat(m);case":decrement":return(m,E)=>parseFloat(E) *"}}(b,m);if("function"==typeof Bt)return void _.push(Bt);b=Bt}const E=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return m.push(function rt(){return new v.buA(3015,!1)}()),_;const D=E[1],I=E[2],Oe=E[3];_.push(bn(D,Oe)),"<"==I[0]&&("*"!=D||"*"!=Oe)&&_.push(bn(Oe,D))}(E,m,_)):m.push(b),m}(_.expr,m.errors);return{type:lt.If.Transition,matchers:D,animation:E,queryCount:m.queryCount,depCount:m.depCount,options:di(_.options)}}visitSequence(_,m){return{type:lt.If.Sequence,steps:_.steps.map(E=>Fn(this,E,m)),options:di(_.options)}}visitGroup(_,m){const E=m.currentTime;let D=0;const I=_.steps.map(Oe=>{m.currentTime=E;const Ct=Fn(this,Oe,m);return D=Math.max(D,m.currentTime),Ct});return m.currentTime=D,{type:lt.If.Group,steps:I,options:di(_.options)}}visitAnimate(_,m){const E=function ti(b,_){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Ii(Yi(b,_).duration,0,"");const m=b;if(m.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Ii(0,0,"");return I.dynamic=!0,I.strValue=m,I}const D=Yi(m,_);return Ii(D.duration,D.delay,D.easing)}(_.timings,m.errors);m.currentAnimateTimings=E;let D,I=_.styles?_.styles:(0,lt.iF)({});if(I.type==lt.If.Keyframes)D=this.visitKeyframes(I,m);else{let Oe=_.styles,Ct=!1;if(!Oe){Ct=!0;const yn={};E.easing&&(yn.easing=E.easing),Oe=(0,lt.iF)(yn)}m.currentTime+=E.duration+E.delay;const Bt=this.visitStyle(Oe,m);Bt.isEmptyStep=Ct,D=Bt}return m.currentAnimateTimings=null,{type:lt.If.Animate,timings:E,style:D,options:null}}visitStyle(_,m){const E=this._makeStyleAst(_,m);return this._validateStyleAst(E,m),E}_makeStyleAst(_,m){const E=[],D=Array.isArray(_.styles)?_.styles:[_.styles];for(let Ct of D)"string"==typeof Ct?Ct===lt.kp?E.push(Ct):m.errors.push(nt()):E.push(new Map(Object.entries(Ct)));let I=!1,Oe=null;return E.forEach(Ct=>{if(Ct instanceof Map&&(Ct.has("easing")&&(Oe=Ct.get("easing"),Ct.delete("easing")),!I))for(let Bt of Ct.values())if(Bt.toString().indexOf("{{")>=0){I=!0;break}}),{type:lt.If.Style,styles:E,easing:Oe,offset:_.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(_,m){const E=m.currentAnimateTimings;let D=m.currentTime,I=m.currentTime;E&&I>0&&(I-=E.duration+E.delay),_.styles.forEach(Oe=>{"string"!=typeof Oe&&Oe.forEach((Ct,Bt)=>{const yn=m.collectedStyles.get(m.currentQuerySelector),Yn=yn.get(Bt);let jn=!0;Yn&&(I!=D&&I>=Yn.startTime&&D<=Yn.endTime&&(m.errors.push(function ht(){return new v.buA(3010,!1)}()),jn=!1),I=Yn.startTime),jn&&yn.set(Bt,{startTime:I,endTime:D}),m.options&&function fi(b,_,m){const E=_.params||{},D=Qi(b);D.length&&D.forEach(I=>{E.hasOwnProperty(I)||m.push(function ve(){return new v.buA(3001,!1)}())})}(Ct,m.options,m.errors)})})}visitKeyframes(_,m){const E={type:lt.If.Keyframes,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push(function oe(){return new v.buA(3011,!1)}()),E;let I=0;const Oe=[];let Ct=!1,Bt=!1,yn=0;const Yn=_.steps.map(Ia=>{const fs=this._makeStyleAst(Ia,m);let $s=null!=fs.offset?fs.offset:function Jt(b){if("string"==typeof b)return null;let _=null;if(Array.isArray(b))b.forEach(m=>{if(m instanceof Map&&m.has("offset")){const E=m;_=parseFloat(E.get("offset")),E.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const m=b;_=parseFloat(m.get("offset")),m.delete("offset")}return _}(fs.styles),Ea=0;return null!=$s&&(I++,Ea=fs.offset=$s),Bt=Bt||Ea<0||Ea>1,Ct=Ct||Ea0&&I{const $s=Fi>0?fs==Zi?1:Fi*fs:Oe[fs],Ea=$s*Sa;m.currentTime=Mi+Ai.delay+Ea,Ai.duration=Ea,this._validateStyleAst(Ia,m),Ia.offset=$s,E.styles.push(Ia)}),E}visitReference(_,m){return{type:lt.If.Reference,animation:Fn(this,_n(_.animation),m),options:di(_.options)}}visitAnimateChild(_,m){return m.depCount++,{type:lt.If.AnimateChild,options:di(_.options)}}visitAnimateRef(_,m){return{type:lt.If.AnimateRef,animation:this.visitReference(_.animation,m),options:di(_.options)}}visitQuery(_,m){const E=m.currentQuerySelector,D=_.options||{};m.queryCount++,m.currentQuery=_;const[I,Oe]=function Wt(b){const _=!!b.split(/\s*,\s*/).find(m=>":self"==m);return _&&(b=b.replace(yi,"")),b=b.replace(/@\*/g,Nt).replace(/@\w+/g,m=>Nt+"-"+m.slice(1)).replace(/:animating/g,xn),[b,_]}(_.selector);m.currentQuerySelector=E.length?E+" "+I:I,ge(m.collectedStyles,m.currentQuerySelector,new Map);const Ct=Fn(this,_n(_.animation),m);return m.currentQuery=null,m.currentQuerySelector=E,{type:lt.If.Query,selector:I,limit:D.limit||0,optional:!!D.optional,includeSelf:Oe,animation:Ct,originalSelector:_.selector,options:di(_.options)}}visitStagger(_,m){m.currentQuery||m.errors.push(function gt(){return new v.buA(3013,!1)}());const E="full"===_.timings?{duration:0,delay:0,easing:"full"}:Yi(_.timings,m.errors,!0);return{type:lt.If.Stagger,animation:Fn(this,_n(_.animation),m),timings:E,options:null}}}class Et{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(_){this.errors=_}}function di(b){return b?(b={...b}).params&&(b.params=function Ve(b){return b?{...b}:null}(b.params)):b={},b}function Ii(b,_,m){return{duration:b,delay:_,easing:m}}function ca(b,_,m,E,D,I,Oe=null,Ct=!1){return{type:1,element:b,keyframes:_,preStyleProps:m,postStyleProps:E,duration:D,delay:I,totalTime:D+I,easing:Oe,subTimeline:Ct}}class nn{_map=new Map;get(_){return this._map.get(_)||[]}append(_,m){let E=this._map.get(_);E||this._map.set(_,E=[]),E.push(...m)}has(_){return this._map.has(_)}clear(){this._map.clear()}}const tt=new RegExp(":enter","g"),Xt=new RegExp(":leave","g");function Nn(b,_,m,E,D,I=new Map,Oe=new Map,Ct,Bt,yn=[]){return(new Ki).buildKeyframes(b,_,m,E,D,I,Oe,Ct,Bt,yn)}class Ki{buildKeyframes(_,m,E,D,I,Oe,Ct,Bt,yn,Yn=[]){yn=yn||new nn;const jn=new Ua(_,m,yn,D,I,Yn,[]);jn.options=Bt;const Fi=Bt.delay?Jn(Bt.delay):0;jn.currentTimeline.delayNextStep(Fi),jn.currentTimeline.setStyles([Oe],null,jn.errors,Bt),Fn(this,E,jn);const Zi=jn.timelines.filter(Mi=>Mi.containsAnimation());if(Zi.length&&Ct.size){let Mi;for(let Ai=Zi.length-1;Ai>=0;Ai--){const Sa=Zi[Ai];if(Sa.element===m){Mi=Sa;break}}Mi&&!Mi.allowOnlyTimelineStyles()&&Mi.setStyles([Ct],null,jn.errors,Bt)}return Zi.length?Zi.map(Mi=>Mi.buildKeyframes()):[ca(m,[],[],[],0,Fi,"",!1)]}visitTrigger(_,m){}visitState(_,m){}visitTransition(_,m){}visitAnimateChild(_,m){const E=m.subInstructions.get(m.element);if(E){const D=m.createSubContext(_.options),I=m.currentTimeline.currentTime,Oe=this._visitSubInstructions(E,D,D.options);I!=Oe&&m.transformIntoNewTimeline(Oe)}m.previousNode=_}visitAnimateRef(_,m){const E=m.createSubContext(_.options);E.transformIntoNewTimeline(),this._applyAnimationRefDelays([_.options,_.animation.options],m,E),this.visitReference(_.animation,E),m.transformIntoNewTimeline(E.currentTimeline.currentTime),m.previousNode=_}_applyAnimationRefDelays(_,m,E){for(const D of _){const I=D?.delay;if(I){const Oe="number"==typeof I?I:Jn(zi(I,D?.params??{},m.errors));E.delayNextStep(Oe)}}}_visitSubInstructions(_,m,E){let I=m.currentTimeline.currentTime;const Oe=null!=E.duration?Jn(E.duration):null,Ct=null!=E.delay?Jn(E.delay):null;return 0!==Oe&&_.forEach(Bt=>{const yn=m.appendInstructionToTimeline(Bt,Oe,Ct);I=Math.max(I,yn.duration+yn.delay)}),I}visitReference(_,m){m.updateOptions(_.options,!0),Fn(this,_.animation,m),m.previousNode=_}visitSequence(_,m){const E=m.subContextCount;let D=m;const I=_.options;if(I&&(I.params||I.delay)&&(D=m.createSubContext(I),D.transformIntoNewTimeline(),null!=I.delay)){D.previousNode.type==lt.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=_a);const Oe=Jn(I.delay);D.delayNextStep(Oe)}_.steps.length&&(_.steps.forEach(Oe=>Fn(this,Oe,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>E&&D.transformIntoNewTimeline()),m.previousNode=_}visitGroup(_,m){const E=[];let D=m.currentTimeline.currentTime;const I=_.options&&_.options.delay?Jn(_.options.delay):0;_.steps.forEach(Oe=>{const Ct=m.createSubContext(_.options);I&&Ct.delayNextStep(I),Fn(this,Oe,Ct),D=Math.max(D,Ct.currentTimeline.currentTime),E.push(Ct.currentTimeline)}),E.forEach(Oe=>m.currentTimeline.mergeTimelineCollectedStyles(Oe)),m.transformIntoNewTimeline(D),m.previousNode=_}_visitTiming(_,m){if(_.dynamic){const E=_.strValue;return Yi(m.params?zi(E,m.params,m.errors):E,m.errors)}return{duration:_.duration,delay:_.delay,easing:_.easing}}visitAnimate(_,m){const E=m.currentAnimateTimings=this._visitTiming(_.timings,m),D=m.currentTimeline;E.delay&&(m.incrementTime(E.delay),D.snapshotCurrentStyles());const I=_.style;I.type==lt.If.Keyframes?this.visitKeyframes(I,m):(m.incrementTime(E.duration),this.visitStyle(I,m),D.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=_}visitStyle(_,m){const E=m.currentTimeline,D=m.currentAnimateTimings;!D&&E.hasCurrentStyleProperties()&&E.forwardFrame();const I=D&&D.easing||_.easing;_.isEmptyStep?E.applyEmptyStep(I):E.setStyles(_.styles,I,m.errors,m.options),m.previousNode=_}visitKeyframes(_,m){const E=m.currentAnimateTimings,D=m.currentTimeline.duration,I=E.duration,Ct=m.createSubContext().currentTimeline;Ct.easing=E.easing,_.styles.forEach(Bt=>{Ct.forwardTime((Bt.offset||0)*I),Ct.setStyles(Bt.styles,Bt.easing,m.errors,m.options),Ct.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(Ct),m.transformIntoNewTimeline(D+I),m.previousNode=_}visitQuery(_,m){const E=m.currentTimeline.currentTime,D=_.options||{},I=D.delay?Jn(D.delay):0;I&&(m.previousNode.type===lt.If.Style||0==E&&m.currentTimeline.hasCurrentStyleProperties())&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=_a);let Oe=E;const Ct=m.invokeQuery(_.selector,_.originalSelector,_.limit,_.includeSelf,!!D.optional,m.errors);m.currentQueryTotal=Ct.length;let Bt=null;Ct.forEach((yn,Yn)=>{m.currentQueryIndex=Yn;const jn=m.createSubContext(_.options,yn);I&&jn.delayNextStep(I),yn===m.element&&(Bt=jn.currentTimeline),Fn(this,_.animation,jn),jn.currentTimeline.applyStylesToKeyframe(),Oe=Math.max(Oe,jn.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(Oe),Bt&&(m.currentTimeline.mergeTimelineCollectedStyles(Bt),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=_}visitStagger(_,m){const E=m.parentContext,D=m.currentTimeline,I=_.timings,Oe=Math.abs(I.duration),Ct=Oe*(m.currentQueryTotal-1);let Bt=Oe*m.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":Bt=Ct-Bt;break;case"full":Bt=E.currentStaggerTime}const Yn=m.currentTimeline;Bt&&Yn.delayNextStep(Bt);const jn=Yn.currentTime;Fn(this,_.animation,m),m.previousNode=_,E.currentStaggerTime=D.currentTime-jn+(D.startTime-E.currentTimeline.startTime)}}const _a={};class Ua{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=_a;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(_,m,E,D,I,Oe,Ct,Bt){this._driver=_,this.element=m,this.subInstructions=E,this._enterClassName=D,this._leaveClassName=I,this.errors=Oe,this.timelines=Ct,this.currentTimeline=Bt||new $a(this._driver,m,0),Ct.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(_,m){if(!_)return;const E=_;let D=this.options;null!=E.duration&&(D.duration=Jn(E.duration)),null!=E.delay&&(D.delay=Jn(E.delay));const I=E.params;if(I){let Oe=D.params;Oe||(Oe=this.options.params={}),Object.keys(I).forEach(Ct=>{(!m||!Oe.hasOwnProperty(Ct))&&(Oe[Ct]=zi(I[Ct],Oe,this.errors))})}}_copyOptions(){const _={};if(this.options){const m=this.options.params;if(m){const E=_.params={};Object.keys(m).forEach(D=>{E[D]=m[D]})}}return _}createSubContext(_=null,m,E){const D=m||this.element,I=new Ua(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,E||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(_),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(_){return this.previousNode=_a,this.currentTimeline=this.currentTimeline.fork(this.element,_),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(_,m,E){const D={duration:m??_.duration,delay:this.currentTimeline.currentTime+(E??0)+_.delay,easing:""},I=new ns(this._driver,_.element,_.keyframes,_.preStyleProps,_.postStyleProps,D,_.stretchStartingKeyframe);return this.timelines.push(I),D}incrementTime(_){this.currentTimeline.forwardTime(this.currentTimeline.duration+_)}delayNextStep(_){_>0&&this.currentTimeline.delayNextStep(_)}invokeQuery(_,m,E,D,I,Oe){let Ct=[];if(D&&Ct.push(this.element),_.length>0){_=(_=_.replace(tt,"."+this._enterClassName)).replace(Xt,"."+this._leaveClassName);let yn=this._driver.query(this.element,_,1!=E);0!==E&&(yn=E<0?yn.slice(yn.length+E,yn.length):yn.slice(0,E)),Ct.push(...yn)}return!I&&0==Ct.length&&Oe.push(function Gt(){return new v.buA(3014,!1)}()),Ct}}class $a{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(_,m,E,D){this._driver=_,this.element=m,this.startTime=E,this._elementTimelineStylesLookup=D,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(_){const m=1===this._keyframes.size&&this._pendingStyles.size;this.duration||m?(this.forwardTime(this.currentTime+_),m&&this.snapshotCurrentStyles()):this.startTime+=_}fork(_,m){return this.applyStylesToKeyframe(),new $a(this._driver,_,m||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(_){this.applyStylesToKeyframe(),this.duration=_,this._loadKeyframe()}_updateStyle(_,m){this._localTimelineStyles.set(_,m),this._globalTimelineStyles.set(_,m),this._styleSummary.set(_,{time:this.currentTime,value:m})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(_){_&&this._previousKeyframe.set("easing",_);for(let[m,E]of this._globalTimelineStyles)this._backFill.set(m,E||lt.kp),this._currentKeyframe.set(m,lt.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(_,m,E,D){m&&this._previousKeyframe.set("easing",m);const I=D&&D.params||{},Oe=function As(b,_){const m=new Map;let E;return b.forEach(D=>{if("*"===D){E??=_.keys();for(let I of E)m.set(I,lt.kp)}else for(let[I,Oe]of D)m.set(I,Oe)}),m}(_,this._globalTimelineStyles);for(let[Ct,Bt]of Oe){const yn=zi(Bt,I,E);this._pendingStyles.set(Ct,yn),this._localTimelineStyles.has(Ct)||this._backFill.set(Ct,this._globalTimelineStyles.get(Ct)??lt.kp),this._updateStyle(Ct,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((_,m)=>{this._currentKeyframe.set(m,_)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((_,m)=>{this._currentKeyframe.has(m)||this._currentKeyframe.set(m,_)}))}snapshotCurrentStyles(){for(let[_,m]of this._localTimelineStyles)this._pendingStyles.set(_,m),this._updateStyle(_,m)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const _=[];for(let m in this._currentKeyframe)_.push(m);return _}mergeTimelineCollectedStyles(_){_._styleSummary.forEach((m,E)=>{const D=this._styleSummary.get(E);(!D||m.time>D.time)&&this._updateStyle(E,m.value)})}buildKeyframes(){this.applyStylesToKeyframe();const _=new Set,m=new Set,E=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((Ct,Bt)=>{const yn=new Map([...this._backFill,...Ct]);yn.forEach((Yn,jn)=>{Yn===lt.FX?_.add(jn):Yn===lt.kp&&m.add(jn)}),E||yn.set("offset",Bt/this.duration),D.push(yn)});const I=[..._.values()],Oe=[...m.values()];if(E){const Ct=D[0],Bt=new Map(Ct);Ct.set("offset",0),Bt.set("offset",1),D=[Ct,Bt]}return ca(this.element,D,I,Oe,this.duration,this.startTime,this.easing,!1)}}class ns extends $a{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(_,m,E,D,I,Oe,Ct=!1){super(_,m,Oe.delay),this.keyframes=E,this.preStyleProps=D,this.postStyleProps=I,this._stretchStartingKeyframe=Ct,this.timings={duration:Oe.duration,delay:Oe.delay,easing:Oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let _=this.keyframes,{delay:m,duration:E,easing:D}=this.timings;if(this._stretchStartingKeyframe&&m){const I=[],Oe=E+m,Ct=m/Oe,Bt=new Map(_[0]);Bt.set("offset",0),I.push(Bt);const yn=new Map(_[0]);yn.set("offset",Ga(Ct)),I.push(yn);const Yn=_.length-1;for(let jn=1;jn<=Yn;jn++){let Fi=new Map(_[jn]);const Zi=Fi.get("offset");Fi.set("offset",Ga((m+Zi*E)/Oe)),I.push(Fi)}E=Oe,m=0,D="",_=I}return ca(this.element,_,this.preStyleProps,this.postStyleProps,E,m,D,!0)}}function Ga(b,_=3){const m=Math.pow(10,_-1);return Math.round(b*m)/m}function hr(b,_,m,E,D,I,Oe,Ct,Bt,yn,Yn,jn,Fi){return{type:0,element:b,triggerName:_,isRemovalTransition:D,fromState:m,fromStyles:I,toState:E,toStyles:Oe,timelines:Ct,queriedElements:Bt,preStyleProps:yn,postStyleProps:Yn,totalTime:jn,errors:Fi}}const mr={};class fr{_triggerName;ast;_stateStyles;constructor(_,m,E){this._triggerName=_,this.ast=m,this._stateStyles=E}match(_,m,E,D){return function pr(b,_,m,E,D){return b.some(I=>I(_,m,E,D))}(this.ast.matchers,_,m,E,D)}buildStyles(_,m,E){let D=this._stateStyles.get("*");return void 0!==_&&(D=this._stateStyles.get(_?.toString())||D),D?D.buildStyles(m,E):new Map}build(_,m,E,D,I,Oe,Ct,Bt,yn,Yn){const jn=[],Fi=this.ast.options&&this.ast.options.params||mr,Mi=this.buildStyles(E,Ct&&Ct.params||mr,jn),Ai=Bt&&Bt.params||mr,Sa=this.buildStyles(D,Ai,jn),Ia=new Set,fs=new Map,$s=new Map,Ea="void"===D,ws={params:gr(Ai,Fi),delay:this.ast.options?.delay},Fa=Yn?[]:Nn(_,m,this.ast.animation,I,Oe,Mi,Sa,ws,yn,jn);let Vs=0;return Fa.forEach(ps=>{Vs=Math.max(ps.duration+ps.delay,Vs)}),jn.length?hr(m,this._triggerName,E,D,Ea,Mi,Sa,[],[],fs,$s,Vs,jn):(Fa.forEach(ps=>{const xl=ps.element,W1=ge(fs,xl,new Set);ps.preStyleProps.forEach(h1=>W1.add(h1));const K3=ge($s,xl,new Set);ps.postStyleProps.forEach(h1=>K3.add(h1)),xl!==m&&Ia.add(xl)}),hr(m,this._triggerName,E,D,Ea,Mi,Sa,Fa,[...Ia.values()],fs,$s,Vs))}}function gr(b,_){const m={..._};return Object.entries(b).forEach(([E,D])=>{null!=D&&(m[E]=D)}),m}class bo{styles;defaultParams;normalizer;constructor(_,m,E){this.styles=_,this.defaultParams=m,this.normalizer=E}buildStyles(_,m){const E=new Map,D=gr(_,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((Oe,Ct)=>{Oe&&(Oe=zi(Oe,D,m));const Bt=this.normalizer.normalizePropertyName(Ct,m);Oe=this.normalizer.normalizeStyleValue(Ct,Bt,Oe,m),E.set(Ct,Oe)})}),E}}class jr{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(_,m,E){this.name=_,this.ast=m,this._normalizer=E,m.states.forEach(D=>{this.states.set(D.name,new bo(D.style,D.options&&D.options.params||{},E))}),Ka(this.states,"true","1"),Ka(this.states,"false","0"),m.transitions.forEach(D=>{this.transitionFactories.push(new fr(_,D,this.states))}),this.fallbackTransition=function Er(b,_){return new fr(b,{type:lt.If.Transition,animation:{type:lt.If.Sequence,steps:[],options:null},matchers:[(Oe,Ct)=>!0],options:null,queryCount:0,depCount:0},_)}(_,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(_,m,E,D){return this.transitionFactories.find(Oe=>Oe.match(_,m,E,D))||null}matchStyles(_,m,E){return this.fallbackTransition.buildStyles(_,m,E)}}function Ka(b,_,m){b.has(_)?b.has(m)||b.set(m,b.get(_)):b.has(m)&&b.set(_,b.get(m))}const Ps=new nn;class kr{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(_,m,E){this.bodyNode=_,this._driver=m,this._normalizer=E}register(_,m){const E=[],I=Wi(this._driver,m,E,[]);if(E.length)throw function jt(){return new v.buA(3503,!1)}();this._animations.set(_,I)}_buildPlayer(_,m,E){const D=_.element,I=ee(this._normalizer,_.keyframes,m,E);return this._driver.animate(D,I,_.duration,_.delay,_.easing,[],!0)}create(_,m,E={}){const D=[],I=this._animations.get(_);let Oe;const Ct=new Map;if(I?(Oe=Nn(this._driver,m,I,tn,on,new Map,new Map,E,Ps,D),Oe.forEach(Yn=>{const jn=ge(Ct,Yn.element,new Map);Yn.postStyleProps.forEach(Fi=>jn.set(Fi,null))})):(D.push(function Ue(){return new v.buA(3300,!1)}()),Oe=[]),D.length)throw function wt(){return new v.buA(3504,!1)}();Ct.forEach((Yn,jn)=>{Yn.forEach((Fi,Zi)=>{Yn.set(Zi,this._driver.computeStyle(jn,Zi,lt.kp))})});const yn=vt(Oe.map(Yn=>{const jn=Ct.get(Yn.element);return this._buildPlayer(Yn,new Map,jn)}));return this._playersById.set(_,yn),yn.onDestroy(()=>this.destroy(_)),this.players.push(yn),yn}destroy(_){const m=this._getPlayer(_);m.destroy(),this._playersById.delete(_);const E=this.players.indexOf(m);E>=0&&this.players.splice(E,1)}_getPlayer(_){const m=this._playersById.get(_);if(!m)throw function pt(){return new v.buA(3301,!1)}();return m}listen(_,m,E,D){const I=Se(m,"","","");return ye(this._getPlayer(_),E,I,D),()=>{}}command(_,m,E,D){if("register"==E)return void this.register(_,D[0]);if("create"==E)return void this.create(_,m,D[0]||{});const I=this._getPlayer(_);switch(E){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(_)}}}const js="ng-animate-queued",Zr="ng-animate-disabled",Js=[],_r={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ls="__ng_removed";class is{namespaceId;value;options;get params(){return this.options.params}constructor(_,m=""){this.namespaceId=m;const E=_&&_.hasOwnProperty("value");if(this.value=function qs(b){return b??null}(E?_.value:_),E){const{value:I,...Oe}=_;this.options=Oe}else this.options={};this.options.params||(this.options.params={})}absorbOptions(_){const m=_.params;if(m){const E=this.options.params;Object.keys(m).forEach(D=>{null==E[D]&&(E[D]=m[D])})}}}const Hs="void",Ws=new is(Hs);class Mr{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(_,m,E){this.id=_,this.hostElement=m,this._engine=E,this._hostClassName="ng-tns-"+_,ja(m,this._hostClassName)}listen(_,m,E,D){if(!this._triggers.has(m))throw function Pt(){return new v.buA(3302,!1)}();if(null==E||0==E.length)throw function gn(){return new v.buA(3303,!1)}();if(!function yr(b){return"start"==b||"done"==b}(E))throw function ei(){return new v.buA(3400,!1)}();const I=ge(this._elementListeners,_,[]),Oe={name:m,phase:E,callback:D};I.push(Oe);const Ct=ge(this._engine.statesByElement,_,new Map);return Ct.has(m)||(ja(_,un),ja(_,un+"-"+m),Ct.set(m,Ws)),()=>{this._engine.afterFlush(()=>{const Bt=I.indexOf(Oe);Bt>=0&&I.splice(Bt,1),this._triggers.has(m)||Ct.delete(m)})}}register(_,m){return!this._triggers.has(_)&&(this._triggers.set(_,m),!0)}_getTrigger(_){const m=this._triggers.get(_);if(!m)throw function vi(){return new v.buA(3401,!1)}();return m}trigger(_,m,E,D=!0){const I=this._getTrigger(m),Oe=new xs(this.id,m,_);let Ct=this._engine.statesByElement.get(_);Ct||(ja(_,un),ja(_,un+"-"+m),this._engine.statesByElement.set(_,Ct=new Map));let Bt=Ct.get(m);const yn=new is(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&Bt&&yn.absorbOptions(Bt.options),Ct.set(m,yn),Bt||(Bt=Ws),yn.value!==Hs&&Bt.value===yn.value){if(!function Hr(b,_){const m=Object.keys(b),E=Object.keys(_);if(m.length!=E.length)return!1;for(let D=0;D{Ht(_,Sa),Lt(_,Ia)})}return}const Fi=ge(this._engine.playersByElement,_,[]);Fi.forEach(Ai=>{Ai.namespaceId==this.id&&Ai.triggerName==m&&Ai.queued&&Ai.destroy()});let Zi=I.matchTransition(Bt.value,yn.value,_,yn.params),Mi=!1;if(!Zi){if(!D)return;Zi=I.fallbackTransition,Mi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:m,transition:Zi,fromState:Bt,toState:yn,player:Oe,isFallbackTransition:Mi}),Mi||(ja(_,js),Oe.onStart(()=>{Za(_,js)})),Oe.onDone(()=>{let Ai=this.players.indexOf(Oe);Ai>=0&&this.players.splice(Ai,1);const Sa=this._engine.playersByElement.get(_);if(Sa){let Ia=Sa.indexOf(Oe);Ia>=0&&Sa.splice(Ia,1)}}),this.players.push(Oe),Fi.push(Oe),Oe}deregister(_){this._triggers.delete(_),this._engine.statesByElement.forEach(m=>m.delete(_)),this._elementListeners.forEach((m,E)=>{this._elementListeners.set(E,m.filter(D=>D.name!=_))})}clearElementCache(_){this._engine.statesByElement.delete(_),this._elementListeners.delete(_);const m=this._engine.playersByElement.get(_);m&&(m.forEach(E=>E.destroy()),this._engine.playersByElement.delete(_))}_signalRemovalForInnerTriggers(_,m){const E=this._engine.driver.query(_,Nt,!0);E.forEach(D=>{if(D[ls])return;const I=this._engine.fetchNamespacesByElement(D);I.size?I.forEach(Oe=>Oe.triggerLeaveAnimation(D,m,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(_,m,E,D){const I=this._engine.statesByElement.get(_),Oe=new Map;if(I){const Ct=[];if(I.forEach((Bt,yn)=>{if(Oe.set(yn,Bt.value),this._triggers.has(yn)){const Yn=this.trigger(_,yn,Hs,D);Yn&&Ct.push(Yn)}}),Ct.length)return this._engine.markElementAsRemoved(this.id,_,!0,m,Oe),E&&vt(Ct).onDone(()=>this._engine.processLeaveNode(_)),!0}return!1}prepareLeaveAnimationListeners(_){const m=this._elementListeners.get(_),E=this._engine.statesByElement.get(_);if(m&&E){const D=new Set;m.forEach(I=>{const Oe=I.name;if(D.has(Oe))return;D.add(Oe);const Bt=this._triggers.get(Oe).fallbackTransition,yn=E.get(Oe)||Ws,Yn=new is(Hs),jn=new xs(this.id,Oe,_);this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:Oe,transition:Bt,fromState:yn,toState:Yn,player:jn,isFallbackTransition:!0})})}}removeNode(_,m){const E=this._engine;if(_.childElementCount&&this._signalRemovalForInnerTriggers(_,m),this.triggerLeaveAnimation(_,m,!0))return;let D=!1;if(E.totalAnimations){const I=E.players.length?E.playersByQueriedElement.get(_):[];if(I&&I.length)D=!0;else{let Oe=_;for(;Oe=Oe.parentNode;)if(E.statesByElement.get(Oe)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(_),D)E.markElementAsRemoved(this.id,_,!1,m);else{const I=_[ls];(!I||I===_r)&&(E.afterFlush(()=>this.clearElementCache(_)),E.destroyInnerAnimations(_),E._onRemovalComplete(_,m))}}insertNode(_,m){ja(_,this._hostClassName)}drainQueuedTransitions(_){const m=[];return this._queue.forEach(E=>{const D=E.player;if(D.destroyed)return;const I=E.element,Oe=this._elementListeners.get(I);Oe&&Oe.forEach(Ct=>{if(Ct.name==E.triggerName){const Bt=Se(I,E.triggerName,E.fromState.value,E.toState.value);Bt._data=_,ye(E.player,Ct.phase,Bt,Ct.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):m.push(E)}),this._queue=[],m.sort((E,D)=>{const I=E.transition.ast.depCount,Oe=D.transition.ast.depCount;return 0==I||0==Oe?I-Oe:this._engine.driver.containsElement(E.element,D.element)?1:-1})}destroy(_){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,_)}}class Ui{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(_,m)=>{};_onRemovalComplete(_,m){this.onRemovalComplete(_,m)}constructor(_,m,E){this.bodyNode=_,this.driver=m,this._normalizer=E}get queuedPlayers(){const _=[];return this._namespaceList.forEach(m=>{m.players.forEach(E=>{E.queued&&_.push(E)})}),_}createNamespace(_,m){const E=new Mr(_,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(E,m):(this.newHostElements.set(m,E),this.collectEnterElement(m)),this._namespaceLookup[_]=E}_balanceNamespaceList(_,m){const E=this._namespaceList,D=this.namespacesByHostElement;if(E.length-1>=0){let Oe=!1,Ct=this.driver.getParentElement(m);for(;Ct;){const Bt=D.get(Ct);if(Bt){const yn=E.indexOf(Bt);E.splice(yn+1,0,_),Oe=!0;break}Ct=this.driver.getParentElement(Ct)}Oe||E.unshift(_)}else E.push(_);return D.set(m,_),_}register(_,m){let E=this._namespaceLookup[_];return E||(E=this.createNamespace(_,m)),E}registerTrigger(_,m,E){let D=this._namespaceLookup[_];D&&D.register(m,E)&&this.totalAnimations++}destroy(_,m){_&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const E=this._fetchNamespace(_);this.namespacesByHostElement.delete(E.hostElement);const D=this._namespaceList.indexOf(E);D>=0&&this._namespaceList.splice(D,1),E.destroy(m),delete this._namespaceLookup[_]}))}_fetchNamespace(_){return this._namespaceLookup[_]}fetchNamespacesByElement(_){const m=new Set,E=this.statesByElement.get(_);if(E)for(let D of E.values())if(D.namespaceId){const I=this._fetchNamespace(D.namespaceId);I&&m.add(I)}return m}trigger(_,m,E,D){if(Pa(m)){const I=this._fetchNamespace(_);if(I)return I.trigger(m,E,D),!0}return!1}insertNode(_,m,E,D){if(!Pa(m))return;const I=m[ls];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const Oe=this.collectedLeaveElements.indexOf(m);Oe>=0&&this.collectedLeaveElements.splice(Oe,1)}if(_){const Oe=this._fetchNamespace(_);Oe&&Oe.insertNode(m,E)}D&&this.collectEnterElement(m)}collectEnterElement(_){this.collectedEnterElements.push(_)}markElementAsDisabled(_,m){m?this.disabledNodes.has(_)||(this.disabledNodes.add(_),ja(_,Zr)):this.disabledNodes.has(_)&&(this.disabledNodes.delete(_),Za(_,Zr))}removeNode(_,m,E){if(Pa(m)){const D=_?this._fetchNamespace(_):null;D?D.removeNode(m,E):this.markElementAsRemoved(_,m,!1,E);const I=this.namespacesByHostElement.get(m);I&&I.id!==_&&I.removeNode(m,E)}else this._onRemovalComplete(m,E)}markElementAsRemoved(_,m,E,D,I){this.collectedLeaveElements.push(m),m[ls]={namespaceId:_,setForRemoval:D,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:I}}listen(_,m,E,D,I){return Pa(m)?this._fetchNamespace(_).listen(m,E,D,I):()=>{}}_buildInstruction(_,m,E,D,I){return _.transition.build(this.driver,_.element,_.fromState.value,_.toState.value,E,D,_.fromState.options,_.toState.options,m,I)}destroyInnerAnimations(_){let m=this.driver.query(_,Nt,!0);m.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(_,xn,!0),m.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(_){const m=this.playersByElement.get(_);m&&m.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(_){const m=this.playersByQueriedElement.get(_);m&&m.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(_=>{if(this.players.length)return vt(this.players).onDone(()=>_());_()})}processLeaveNode(_){const m=_[ls];if(m&&m.setForRemoval){if(_[ls]=_r,m.namespaceId){this.destroyInnerAnimations(_);const E=this._fetchNamespace(m.namespaceId);E&&E.clearElementCache(_)}this._onRemovalComplete(_,m.setForRemoval)}_.classList?.contains(Zr)&&this.markElementAsDisabled(_,!1),this.driver.query(_,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(_=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,D)=>this._balanceNamespaceList(E,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;EE()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],m.length?vt(m).onDone(()=>{E.forEach(D=>D())}):E.forEach(D=>D())}}reportError(_){throw function Ni(){return new v.buA(3402,!1)}()}_flushAnimations(_,m){const E=new nn,D=[],I=new Map,Oe=[],Ct=new Map,Bt=new Map,yn=new Map,Yn=new Set;this.disabledNodes.forEach(aa=>{Yn.add(aa);const la=this.driver.query(aa,".ng-animate-queued",!0);for(let ya=0;ya{const ya=tn+Ai++;Mi.set(la,ya),aa.forEach(Ya=>ja(Ya,ya))});const Sa=[],Ia=new Set,fs=new Set;for(let aa=0;aaIa.add(Ya)):fs.add(la))}const $s=new Map,Ea=wa(Fi,Array.from(Ia));Ea.forEach((aa,la)=>{const ya=on+Ai++;$s.set(la,ya),aa.forEach(Ya=>ja(Ya,ya))}),_.push(()=>{Zi.forEach((aa,la)=>{const ya=Mi.get(la);aa.forEach(Ya=>Za(Ya,ya))}),Ea.forEach((aa,la)=>{const ya=$s.get(la);aa.forEach(Ya=>Za(Ya,ya))}),Sa.forEach(aa=>{this.processLeaveNode(aa)})});const ws=[],Fa=[];for(let aa=this._namespaceList.length-1;aa>=0;aa--)this._namespaceList[aa].drainQueuedTransitions(m).forEach(ya=>{const Ya=ya.player,uo=ya.element;if(ws.push(Ya),this.collectedEnterElements.length){const ho=uo[ls];if(ho&&ho.setForMove){if(ho.previousTriggersValues&&ho.previousTriggersValues.has(ya.triggerName)){const Vc=ho.previousTriggersValues.get(ya.triggerName),Nl=this.statesByElement.get(ya.element);if(Nl&&Nl.has(ya.triggerName)){const jd=Nl.get(ya.triggerName);jd.value=Vc,Nl.set(ya.triggerName,jd)}}return void Ya.destroy()}}const _o=!jn||!this.driver.containsElement(jn,uo),vo=$s.get(uo),dc=Mi.get(uo),ys=this._buildInstruction(ya,E,dc,vo,_o);if(ys.errors&&ys.errors.length)return void Fa.push(ys);if(_o)return Ya.onStart(()=>Ht(uo,ys.fromStyles)),Ya.onDestroy(()=>Lt(uo,ys.toStyles)),void D.push(Ya);if(ya.isFallbackTransition)return Ya.onStart(()=>Ht(uo,ys.fromStyles)),Ya.onDestroy(()=>Lt(uo,ys.toStyles)),void D.push(Ya);const Y1=[];ys.timelines.forEach(ho=>{ho.stretchStartingKeyframe=!0,this.disabledNodes.has(ho.element)||Y1.push(ho)}),ys.timelines=Y1,E.append(uo,ys.timelines),Oe.push({instruction:ys,player:Ya,element:uo}),ys.queriedElements.forEach(ho=>ge(Ct,ho,[]).push(Ya)),ys.preStyleProps.forEach((ho,Vc)=>{if(ho.size){let Nl=Bt.get(Vc);Nl||Bt.set(Vc,Nl=new Set),ho.forEach((jd,s0)=>Nl.add(s0))}}),ys.postStyleProps.forEach((ho,Vc)=>{let Nl=yn.get(Vc);Nl||yn.set(Vc,Nl=new Set),ho.forEach((jd,s0)=>Nl.add(s0))})});if(Fa.length){const aa=[];Fa.forEach(la=>{aa.push(function kn(){return new v.buA(3505,!1)}())}),ws.forEach(la=>la.destroy()),this.reportError(aa)}const Vs=new Map,ps=new Map;Oe.forEach(aa=>{const la=aa.element;E.has(la)&&(ps.set(la,la),this._beforeAnimationBuild(aa.player.namespaceId,aa.instruction,Vs))}),D.forEach(aa=>{const la=aa.element;this._getPreviousPlayers(la,!1,aa.namespaceId,aa.triggerName,null).forEach(Ya=>{ge(Vs,la,[]).push(Ya),Ya.destroy()})});const xl=Sa.filter(aa=>Ks(aa,Bt,yn)),W1=new Map;Xs(W1,this.driver,fs,yn,lt.kp).forEach(aa=>{Ks(aa,Bt,yn)&&xl.push(aa)});const h1=new Map;Zi.forEach((aa,la)=>{Xs(h1,this.driver,new Set(aa),Bt,lt.FX)}),xl.forEach(aa=>{const la=W1.get(aa),ya=h1.get(aa);W1.set(aa,new Map([...la?.entries()??[],...ya?.entries()??[]]))});const X1=[],zc=[],K1={};Oe.forEach(aa=>{const{element:la,player:ya,instruction:Ya}=aa;if(E.has(la)){if(Yn.has(la))return ya.onDestroy(()=>Lt(la,Ya.toStyles)),ya.disabled=!0,ya.overrideTotalTime(Ya.totalTime),void D.push(ya);let uo=K1;if(ps.size>1){let vo=la;const dc=[];for(;vo=vo.parentNode;){const ys=ps.get(vo);if(ys){uo=ys;break}dc.push(vo)}dc.forEach(ys=>ps.set(ys,uo))}const _o=this._buildAnimation(ya.namespaceId,Ya,Vs,I,h1,W1);if(ya.setRealPlayer(_o),uo===K1)X1.push(ya);else{const vo=this.playersByElement.get(uo);vo&&vo.length&&(ya.parentPlayer=vt(vo)),D.push(ya)}}else Ht(la,Ya.fromStyles),ya.onDestroy(()=>Lt(la,Ya.toStyles)),zc.push(ya),Yn.has(la)&&D.push(ya)}),zc.forEach(aa=>{const la=I.get(aa.element);if(la&&la.length){const ya=vt(la);aa.setRealPlayer(ya)}}),D.forEach(aa=>{aa.parentPlayer?aa.syncPlayerEvents(aa.parentPlayer):aa.destroy()});for(let aa=0;aa!_o.destroyed);uo.length?Or(this,la,uo):this.processLeaveNode(la)}return Sa.length=0,X1.forEach(aa=>{this.players.push(aa),aa.onDone(()=>{aa.destroy();const la=this.players.indexOf(aa);this.players.splice(la,1)}),aa.play()}),X1}afterFlush(_){this._flushFns.push(_)}afterFlushAnimationsDone(_){this._whenQuietFns.push(_)}_getPreviousPlayers(_,m,E,D,I){let Oe=[];if(m){const Ct=this.playersByQueriedElement.get(_);Ct&&(Oe=Ct)}else{const Ct=this.playersByElement.get(_);if(Ct){const Bt=!I||I==Hs;Ct.forEach(yn=>{yn.queued||!Bt&&yn.triggerName!=D||Oe.push(yn)})}}return(E||D)&&(Oe=Oe.filter(Ct=>!(E&&E!=Ct.namespaceId||D&&D!=Ct.triggerName))),Oe}_beforeAnimationBuild(_,m,E){const I=m.element,Oe=m.isRemovalTransition?void 0:_,Ct=m.isRemovalTransition?void 0:m.triggerName;for(const Bt of m.timelines){const yn=Bt.element,Yn=yn!==I,jn=ge(E,yn,[]);this._getPreviousPlayers(yn,Yn,Oe,Ct,m.toState).forEach(Zi=>{const Mi=Zi.getRealPlayer();Mi.beforeDestroy&&Mi.beforeDestroy(),Zi.destroy(),jn.push(Zi)})}Ht(I,m.fromStyles)}_buildAnimation(_,m,E,D,I,Oe){const Ct=m.triggerName,Bt=m.element,yn=[],Yn=new Set,jn=new Set,Fi=m.timelines.map(Mi=>{const Ai=Mi.element;Yn.add(Ai);const Sa=Ai[ls];if(Sa&&Sa.removedBeforeQueried)return new lt.sf(Mi.duration,Mi.delay);const Ia=Ai!==Bt,fs=function Rr(b){const _=[];return Fs(b,_),_}((E.get(Ai)||Js).map(Vs=>Vs.getRealPlayer())).filter(Vs=>!!Vs.element&&Vs.element===Ai),$s=I.get(Ai),Ea=Oe.get(Ai),ws=ee(this._normalizer,Mi.keyframes,$s,Ea),Fa=this._buildPlayer(Mi,ws,fs);if(Mi.subTimeline&&D&&jn.add(Ai),Ia){const Vs=new xs(_,Ct,Ai);Vs.setRealPlayer(Fa),yn.push(Vs)}return Fa});yn.forEach(Mi=>{ge(this.playersByQueriedElement,Mi.element,[]).push(Mi),Mi.onDone(()=>function vr(b,_,m){let E=b.get(_);if(E){if(E.length){const D=E.indexOf(m);E.splice(D,1)}0==E.length&&b.delete(_)}return E}(this.playersByQueriedElement,Mi.element,Mi))}),Yn.forEach(Mi=>ja(Mi,dn));const Zi=vt(Fi);return Zi.onDestroy(()=>{Yn.forEach(Mi=>Za(Mi,dn)),Lt(Bt,m.toStyles)}),jn.forEach(Mi=>{ge(D,Mi,[]).push(Zi)}),Zi}_buildPlayer(_,m,E){return m.length>0?this.driver.animate(_.element,m,_.duration,_.delay,_.easing,E):new lt.sf(_.duration,_.delay)}}class xs{namespaceId;triggerName;element;_player=new lt.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(_,m,E){this.namespaceId=_,this.triggerName=m,this.element=E}setRealPlayer(_){this._containsRealPlayer||(this._player=_,this._queuedCallbacks.forEach((m,E)=>{m.forEach(D=>ye(_,E,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(_.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(_){this.totalTime=_}syncPlayerEvents(_){const m=this._player;m.triggerCallback&&_.onStart(()=>m.triggerCallback("start")),_.onDone(()=>this.finish()),_.onDestroy(()=>this.destroy())}_queueEvent(_,m){ge(this._queuedCallbacks,_,[]).push(m)}onDone(_){this.queued&&this._queueEvent("done",_),this._player.onDone(_)}onStart(_){this.queued&&this._queueEvent("start",_),this._player.onStart(_)}onDestroy(_){this.queued&&this._queueEvent("destroy",_),this._player.onDestroy(_)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(_){this.queued||this._player.setPosition(_)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(_){const m=this._player;m.triggerCallback&&m.triggerCallback(_)}}function Pa(b){return b&&1===b.nodeType}function er(b,_){const m=b.style.display;return b.style.display=_??"none",m}function Xs(b,_,m,E,D){const I=[];m.forEach(Bt=>I.push(er(Bt)));const Oe=[];E.forEach((Bt,yn)=>{const Yn=new Map;Bt.forEach(jn=>{const Fi=_.computeStyle(yn,jn,D);Yn.set(jn,Fi),(!Fi||0==Fi.length)&&(yn[ls]=rs,Oe.push(yn))}),b.set(yn,Yn)});let Ct=0;return m.forEach(Bt=>er(Bt,I[Ct++])),Oe}function wa(b,_){const m=new Map;if(b.forEach(Ct=>m.set(Ct,[])),0==_.length)return m;const D=new Set(_),I=new Map;function Oe(Ct){if(!Ct)return 1;let Bt=I.get(Ct);if(Bt)return Bt;const yn=Ct.parentNode;return Bt=m.has(yn)?yn:D.has(yn)?1:Oe(yn),I.set(Ct,Bt),Bt}return _.forEach(Ct=>{const Bt=Oe(Ct);1!==Bt&&m.get(Bt).push(Ct)}),m}function ja(b,_){b.classList?.add(_)}function Za(b,_){b.classList?.remove(_)}function Or(b,_,m){vt(m).onDone(()=>b.processLeaveNode(_))}function Fs(b,_){for(let m=0;mD.add(I)):_.set(b,E),m.delete(b),!0}class Sr{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(_,m)=>{};constructor(_,m,E){this._driver=m,this._normalizer=E,this._transitionEngine=new Ui(_.body,m,E),this._timelineEngine=new kr(_.body,m,E),this._transitionEngine.onRemovalComplete=(D,I)=>this.onRemovalComplete(D,I)}registerTrigger(_,m,E,D,I){const Oe=_+"-"+D;let Ct=this._triggerCache[Oe];if(!Ct){const Bt=[],Yn=Wi(this._driver,I,Bt,[]);if(Bt.length)throw function Qn(){return new v.buA(3404,!1)}();Ct=function Zs(b,_,m){return new jr(b,_,m)}(D,Yn,this._normalizer),this._triggerCache[Oe]=Ct}this._transitionEngine.registerTrigger(m,D,Ct)}register(_,m){this._transitionEngine.register(_,m)}destroy(_,m){this._transitionEngine.destroy(_,m)}onInsert(_,m,E,D){this._transitionEngine.insertNode(_,m,E,D)}onRemove(_,m,E){this._transitionEngine.removeNode(_,m,E)}disableAnimations(_,m){this._transitionEngine.markElementAsDisabled(_,m)}process(_,m,E,D){if("@"==E.charAt(0)){const[I,Oe]=N(E);this._timelineEngine.command(I,m,Oe,D)}else this._transitionEngine.trigger(_,m,E,D)}listen(_,m,E,D,I){if("@"==E.charAt(0)){const[Oe,Ct]=N(E);return this._timelineEngine.listen(Oe,m,Ct,I)}return this._transitionEngine.listen(_,m,E,D,I)}flush(_=-1){this._transitionEngine.flush(_)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(_){this._transitionEngine.afterFlushAnimationsDone(_)}}let He=(()=>{class b{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(m,E,D){this._element=m,this._startStyles=E,this._endStyles=D;let I=b.initialStylesByElement.get(m);I||b.initialStylesByElement.set(m,I=new Map),this._initialStyles=I}start(){this._state<1&&(this._startStyles&&Lt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Lt(this._element,this._initialStyles),this._endStyles&&(Lt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(Ht(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ht(this._element,this._endStyles),this._endStyles=null),Lt(this._element,this._initialStyles),this._state=3)}}return b})();function q(b){let _=null;return b.forEach((m,E)=>{(function mt(b){return"display"===b||"position"===b})(E)&&(_=_||new Map,_.set(E,m))}),_}class ln{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(_,m,E,D){this.element=_,this.keyframes=m,this.options=E,this._specialStyles=D,this._duration=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_=>_()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const _=this.keyframes,m=this._triggerWebAnimation(this.element,_,this.options);if(!m)return this._onFinish(),null;this.domPlayer=m,this._finalKeyframe=_.length?_[_.length-1]:new Map;const E=()=>this._onFinish();return m.addEventListener("finish",E),this.onDestroy(()=>{m.removeEventListener("finish",E)}),m}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(_){const m=[];return _.forEach(E=>{m.push(Object.fromEntries(E))}),m}_triggerWebAnimation(_,m,E){const D=this._convertKeyframesToObject(m);try{return _.animate(D,E)}catch{return null}}onStart(_){this._originalOnStartFns.push(_),this._onStartFns.push(_)}onDone(_){this._originalOnDoneFns.push(_),this._onDoneFns.push(_)}onDestroy(_){this._onDestroyFns.push(_)}play(){const _=this._buildPlayer();_&&(this.hasStarted()||(this._onStartFns.forEach(m=>m()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),_.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(_=>_()),this._onDestroyFns=[])}setPosition(_){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=_*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const _=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,D)=>{"offset"!==D&&_.set(D,this._finished?E:ci(this.element,D))}),this.currentSnapshot=_}triggerCallback(_){const m="start"===_?this._onStartFns:this._onDoneFns;m.forEach(E=>E()),m.length=0}}class Oi{validateStyleProperty(_){return!0}validateAnimatableStyleProperty(_){return!0}containsElement(_,m){return Ge(_,m)}getParentElement(_){return Me(_)}query(_,m,E){return Ot(_,m,E)}computeStyle(_,m,E){return ci(_,m)}animate(_,m,E,D,I,Oe=[]){const Bt={duration:E,delay:D,fill:0==D?"both":"forwards"};I&&(Bt.easing=I);const yn=new Map,Yn=Oe.filter(Zi=>Zi instanceof ln);(function Un(b,_){return 0===b||0===_})(E,D)&&Yn.forEach(Zi=>{Zi.currentSnapshot.forEach((Mi,Ai)=>yn.set(Ai,Mi))});let jn=function we(b){return b.length?b[0]instanceof Map?b:b.map(_=>new Map(Object.entries(_))):[]}(m).map(Zi=>new Map(Zi));jn=function zn(b,_,m){if(m.size&&_.length){let E=_[0],D=[];if(m.forEach((I,Oe)=>{E.has(Oe)||D.push(Oe),E.set(Oe,I)}),D.length)for(let I=1;I<_.length;I++){let Oe=_[I];D.forEach(Ct=>Oe.set(Ct,ci(b,Ct)))}}return _}(_,jn,yn);const Fi=function Ne(b,_){let m=null,E=null;return Array.isArray(_)&&_.length?(m=q(_[0]),_.length>1&&(E=q(_[_.length-1]))):_ instanceof Map&&(m=q(_)),m||E?new He(b,m,E):null}(_,jn);return new ln(_,jn,Bt,Fi)}}const On="@.disabled";class $e{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(_,m,E,D){this.namespaceId=_,this.delegate=m,this.engine=E,this._onDestroy=D}get data(){return this.delegate.data}destroyNode(_){this.delegate.destroyNode?.(_)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(_,m){return this.delegate.createElement(_,m)}createComment(_){return this.delegate.createComment(_)}createText(_){return this.delegate.createText(_)}appendChild(_,m){this.delegate.appendChild(_,m),this.engine.onInsert(this.namespaceId,m,_,!1)}insertBefore(_,m,E,D=!0){this.delegate.insertBefore(_,m,E),this.engine.onInsert(this.namespaceId,m,_,D)}removeChild(_,m,E,D){D?this.delegate.removeChild(_,m,E,D):this.parentNode(m)&&this.engine.onRemove(this.namespaceId,m,this.delegate)}selectRootElement(_,m){return this.delegate.selectRootElement(_,m)}parentNode(_){return this.delegate.parentNode(_)}nextSibling(_){return this.delegate.nextSibling(_)}setAttribute(_,m,E,D){this.delegate.setAttribute(_,m,E,D)}removeAttribute(_,m,E){this.delegate.removeAttribute(_,m,E)}addClass(_,m){this.delegate.addClass(_,m)}removeClass(_,m){this.delegate.removeClass(_,m)}setStyle(_,m,E,D){this.delegate.setStyle(_,m,E,D)}removeStyle(_,m,E){this.delegate.removeStyle(_,m,E)}setProperty(_,m,E){"@"==m.charAt(0)&&m==On?this.disableAnimations(_,!!E):this.delegate.setProperty(_,m,E)}setValue(_,m){this.delegate.setValue(_,m)}listen(_,m,E,D){return this.delegate.listen(_,m,E,D)}disableAnimations(_,m){this.engine.disableAnimations(_,m)}}class mn extends $e{factory;constructor(_,m,E,D,I){super(m,E,D,I),this.factory=_,this.namespaceId=m}setProperty(_,m,E){"@"==m.charAt(0)?"."==m.charAt(1)&&m==On?this.disableAnimations(_,E=void 0===E||!!E):this.engine.process(this.namespaceId,_,m.slice(1),E):this.delegate.setProperty(_,m,E)}listen(_,m,E,D){if("@"==m.charAt(0)){const I=function Ln(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(_);let Oe=m.slice(1),Ct="";return"@"!=Oe.charAt(0)&&([Oe,Ct]=function Ei(b){const _=b.indexOf(".");return[b.substring(0,_),b.slice(_+1)]}(Oe)),this.engine.listen(this.namespaceId,I,Oe,Ct,Bt=>{this.factory.scheduleListenerCallback(Bt._data||-1,E,Bt)})}return this.delegate.listen(_,m,E,D)}}class xa{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(_,m,E){this.delegate=_,this.engine=m,this._zone=E,m.onRemovalComplete=(D,I)=>{I?.removeChild(null,D)}}createRenderer(_,m){const D=this.delegate.createRenderer(_,m);if(!_||!m?.data?.animation){const yn=this._rendererCache;let Yn=yn.get(D);return Yn||(Yn=new $e("",D,this.engine,()=>yn.delete(D)),yn.set(D,Yn)),Yn}const I=m.id,Oe=m.id+"-"+this._currentId;this._currentId++,this.engine.register(Oe,_);const Ct=yn=>{Array.isArray(yn)?yn.forEach(Ct):this.engine.registerTrigger(I,Oe,_,yn.name,yn)};return m.data.animation.forEach(Ct),new mn(this,Oe,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(_,m,E){if(_>=0&&_m(E));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(I=>{const[Oe,Ct]=I;Oe(Ct)}),this._animationCallbacksBuffer=[]})}),D.push([m,E])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(_){this.engine.flush(),this.delegate.componentReplaced?.(_)}}const Ss=[{provide:ra,useFactory:function el(){return new qt}},{provide:Sr,useClass:(()=>{class b extends Sr{constructor(m,E,D){super(m,E,D)}ngOnDestroy(){this.flush()}static \u0275fac=function(E){return new(E||b)(v.KVO(v.qQL),v.KVO(ia),v.KVO(ra))};static \u0275prov=v.jDH({token:b,factory:b.\u0275fac})}return b})()},{provide:e._9s,useFactory:function Ml(b,_,m){return new xa(b,_,m)},deps:[f.mE,Sr,e.SKi]}],tr=[{provide:ia,useClass:Bn},{provide:e.bc$,useValue:"NoopAnimations"},...Ss],Eo=[{provide:ia,useFactory:()=>new Oi},{provide:e.bc$,useFactory:()=>"BrowserAnimations"},...Ss];let Mo=(()=>{class b{static withConfig(m){return{ngModule:b,providers:m.disableAnimations?tr:Eo}}static \u0275fac=function(E){return new(E||b)};static \u0275mod=e.$C({type:b});static \u0275inj=v.G2t({providers:Eo,imports:[he]})}return b})();var ds=l(9327),nr=l(9330),mi=l(9640),Uo=l(1747),Go=l(983),gl=l(1985),Tr=l(7673),jo=l(7786),mo=l(7242),Tl=l(2771),Vl=l(7647),za=l(5964),us=l(6354),Dl=l(274),eo=l(3236),So=l(8211),fo=l(9974),To=l(8750),Ho=l(1853),_l=l(4360),to=l(5225);const wl=(0,Ho.L)(b=>function(m=null){b(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=m});function Al(b){throw new wl(b)}var io=l(152),Ys=l(9437),Dr=l(6697),li=l(6977),Wr=l(5558),ao=l(5245),Pr=l(941),so=l(3993),tl=l(1943),Ul=l(9079);const Do="PERFORM_ACTION",ir="ROLLBACK",nl="TOGGLE_ACTION",de="JUMP_TO_STATE",Q="JUMP_TO_ACTION",me="IMPORT_STATE",et="LOCK_CHANGES",Mt="PAUSE_RECORDING";class Kt{constructor(_,m){if(this.action=_,this.timestamp=m,this.type=Do,typeof _.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Tn{constructor(){this.type="REFRESH"}}class ai{constructor(_){this.timestamp=_,this.type="RESET"}}class Gi{constructor(_){this.timestamp=_,this.type=ir}}class La{constructor(_){this.timestamp=_,this.type="COMMIT"}}class as{constructor(){this.type="SWEEP"}}class Ns{constructor(_){this.id=_,this.type=nl}}class ar{constructor(_){this.index=_,this.type=de}}class ro{constructor(_){this.actionId=_,this.type=Q}}class oo{constructor(_){this.nextLiftedState=_,this.type=me}}class Il{constructor(_){this.status=_,this.type=et}}class mc{constructor(_){this.status=_,this.type=Mt}}const kl=new v.nKC("@ngrx/store-devtools Options"),Xc=new v.nKC("@ngrx/store-devtools Initial Config");function po(){return null}function pc(b){const _={maxAge:!1,monitor:po,actionSanitizer:void 0,stateSanitizer:void 0,name:"NgRx Store DevTools",serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},m="function"==typeof b?b():b,D=m.features||!!m.logOnly&&{pause:!0,export:!0,test:!0}||_.features;!0===D.import&&(D.import="custom");const I=Object.assign({},_,{features:D},m);if(I.maxAge&&I.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${I.maxAge}`);return I}function Fr(b,_){return b.filter(m=>_.indexOf(m)<0)}function wo(b){const{computedStates:_,currentStateIndex:m}=b;if(m>=_.length){const{state:D}=_[_.length-1];return D}const{state:E}=_[m];return E}function Ao(b){return new Kt(b,+Date.now())}function Lc(b,_){return Object.keys(_).reduce((m,E)=>{const D=Number(E);return m[D]=vl(b,_[D],D),m},{})}function vl(b,_,m){return{..._,action:b(_.action,m)}}function al(b,_){return _.map((m,E)=>({state:Lo(b,m.state,E),error:m.error}))}function Lo(b,_,m){return b(_,m)}function Ol(b){return b.predicate||b.actionsSafelist||b.actionsBlocklist}function jl(b,_,m,E,D){const I=m&&!m(b,_.action),Oe=E&&!_.action.type.match(E.map(Bt=>Hl(Bt)).join("|")),Ct=D&&_.action.type.match(D.map(Bt=>Hl(Bt)).join("|"));return I||Oe||Ct}function Hl(b){return b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Rl(b){return{ngZone:b?(0,v.WQX)(e.SKi):null,connectInZone:b}}let Io=(()=>{var b;class _ extends mi.SS{static#e=b=()=>(this.\u0275fac=(()=>{let E;return function(I){return(E||(E=e.xGo(_)))(I||_)}})(),this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const Wl=new v.nKC("@ngrx/store-devtools Redux Devtools Extension");let sr=(()=>{var b;class _{constructor(E,D,I){this.config=D,this.dispatcher=I,this.zoneConfig=Rl(this.config.connectInZone),this.devtoolsExtension=E,this.createActionStreams()}notify(E,D){if(this.devtoolsExtension)if(E.type===Do){if(D.isLocked||D.isPaused)return;const I=wo(D);if(Ol(this.config)&&jl(I,E,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Oe=this.config.stateSanitizer?Lo(this.config.stateSanitizer,I,D.currentStateIndex):I,Ct=this.config.actionSanitizer?vl(this.config.actionSanitizer,E,D.nextActionId):E;this.sendToReduxDevtools(()=>this.extensionConnection.send(Ct,Oe))}else{const I={...D,stagedActionIds:D.stagedActionIds,actionsById:this.config.actionSanitizer?Lc(this.config.actionSanitizer,D.actionsById):D.actionsById,computedStates:this.config.stateSanitizer?al(this.config.stateSanitizer,D.computedStates):D.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,I,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new gl.c(E=>{const D=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=D,D.init(),D.subscribe(I=>E.next(I)),D.unsubscribe}):Go.w}createActionStreams(){const E=this.createChangesObservable().pipe((0,Vl.u)()),D=E.pipe((0,za.p)(Yn=>"START"===Yn.type)),I=E.pipe((0,za.p)(Yn=>"STOP"===Yn.type)),Oe=E.pipe((0,za.p)(Yn=>"DISPATCH"===Yn.type),(0,us.T)(Yn=>this.unwrapAction(Yn.payload)),(0,Dl.H)(Yn=>Yn.type===me?this.dispatcher.pipe((0,za.p)(jn=>jn.type===mi.q6),function no(b,_){const{first:m,each:E,with:D=Al,scheduler:I=_??eo.E,meta:Oe=null}=(0,So.v)(b)?{first:b}:"number"==typeof b?{each:b}:b;if(null==m&&null==E)throw new TypeError("No timeout provided.");return(0,fo.N)((Ct,Bt)=>{let yn,Yn,jn=null,Fi=0;const Zi=Mi=>{Yn=(0,to.N)(Bt,I,()=>{try{yn.unsubscribe(),(0,To.Tg)(D({meta:Oe,lastValue:jn,seen:Fi})).subscribe(Bt)}catch(Ai){Bt.error(Ai)}},Mi)};yn=Ct.subscribe((0,_l._)(Bt,Mi=>{Yn?.unsubscribe(),Fi++,Bt.next(jn=Mi),E>0&&Zi(E)},void 0,void 0,()=>{Yn?.closed||Yn?.unsubscribe(),jn=null})),!Fi&&Zi(null!=m?"number"==typeof m?m:+m-I.now():E)})}(1e3),(0,io.B)(1e3),(0,us.T)(()=>Yn),(0,Ys.W)(()=>(0,Tr.of)(Yn)),(0,Dr.s)(1)):(0,Tr.of)(Yn))),Bt=E.pipe((0,za.p)(Yn=>"ACTION"===Yn.type),(0,us.T)(Yn=>this.unwrapAction(Yn.payload))).pipe((0,li.Q)(I)),yn=Oe.pipe((0,li.Q)(I));this.start$=D.pipe((0,li.Q)(I)),this.actions$=this.start$.pipe((0,Wr.n)(()=>Bt)),this.liftedActions$=this.start$.pipe((0,Wr.n)(()=>yn))}unwrapAction(E){return"string"==typeof E?(0,eval)(`(${E})`):E}getExtensionConfig(E){const D={name:E.name,features:E.features,serialize:E.serialize,autoPause:E.autoPause??!1,trace:E.trace??!1,traceLimit:E.traceLimit??75};return!1!==E.maxAge&&(D.maxAge=E.maxAge),D}sendToReduxDevtools(E){try{E()}catch(D){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",D)}}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(Wl),v.KVO(kl),v.KVO(Io))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const Ts={type:mi.Zz},je={type:"@ngrx/store-devtools/recompute"};function ct(b,_,m,E,D){if(E)return{state:m,error:"Interrupted by an error up the chain"};let Oe,I=m;try{I=b(m,_)}catch(Ct){Oe=Ct.toString(),D.handleError(Ct)}return{state:I,error:Oe}}function Qt(b,_,m,E,D,I,Oe,Ct,Bt){if(_>=b.length&&b.length===I.length)return b;const yn=b.slice(0,_),Yn=I.length-(Bt?1:0);for(let jn=_;jn-1?Mi:ct(m,Zi,Ai,Sa,Ct);yn.push(fs)}return Bt&&yn.push(b[b.length-1]),yn}let Ci=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn,Yn){const jn=function Pn(b,_){return{monitorState:_(void 0,{}),nextActionId:1,actionsById:{0:Ao(Ts)},stagedActionIds:[0],skippedActionIds:[],committedState:b,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(yn,Yn.monitor),Fi=function $n(b,_,m,E,D={}){return I=>(Oe,Ct)=>{let{monitorState:Bt,actionsById:yn,nextActionId:Yn,stagedActionIds:jn,skippedActionIds:Fi,committedState:Zi,currentStateIndex:Mi,computedStates:Ai,isLocked:Sa,isPaused:Ia}=Oe||_;function fs(ws){let Fa=ws,Vs=jn.slice(1,Fa+1);for(let ps=0;ps-1===Vs.indexOf(ps)),jn=[0,...jn.slice(Fa+1)],Zi=Ai[Fa].state,Ai=Ai.slice(Fa),Mi=Mi>Fa?Mi-Fa:0}function $s(){yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Zi=Ai[Mi].state,Mi=0,Ai=[]}Oe||(yn=Object.create(yn));let Ea=0;switch(Ct.type){case et:Sa=Ct.status,Ea=1/0;break;case Mt:Ia=Ct.status,Ia?(jn=[...jn,Yn],yn[Yn]=new Kt({type:"@ngrx/devtools/pause"},+Date.now()),Yn++,Ea=jn.length-1,Ai=Ai.concat(Ai[Ai.length-1]),Mi===jn.length-2&&Mi++,Ea=1/0):$s();break;case"RESET":yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Zi=b,Mi=0,Ai=[];break;case"COMMIT":$s();break;case ir:yn={0:Ao(Ts)},Yn=1,jn=[0],Fi=[],Mi=0,Ai=[];break;case nl:{const{id:ws}=Ct;Fi=-1===Fi.indexOf(ws)?[ws,...Fi]:Fi.filter(Vs=>Vs!==ws),Ea=jn.indexOf(ws);break}case"SET_ACTIONS_ACTIVE":{const{start:ws,end:Fa,active:Vs}=Ct,ps=[];for(let xl=ws;xlD.maxAge&&(Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),fs(jn.length-D.maxAge),Ea=1/0);break;case mi.q6:if(Ai.filter(Fa=>Fa.error).length>0)Ea=0,D.maxAge&&jn.length>D.maxAge&&(Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),fs(jn.length-D.maxAge),Ea=1/0);else{if(!Ia&&!Sa){Mi===jn.length-1&&Mi++;const Fa=Yn++;yn[Fa]=new Kt(Ct,+Date.now()),jn=[...jn,Fa],Ea=jn.length-1,Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia)}Ai=Ai.map(Fa=>({...Fa,state:I(Fa.state,je)})),Mi=jn.length-1,D.maxAge&&jn.length>D.maxAge&&fs(jn.length-D.maxAge),Ea=1/0}break;default:Ea=1/0}return Ai=Qt(Ai,Ea,I,Zi,yn,jn,Fi,m,Ia),Bt=E(Bt,Ct),{monitorState:Bt,actionsById:yn,nextActionId:Yn,stagedActionIds:jn,skippedActionIds:Fi,committedState:Zi,currentStateIndex:Mi,computedStates:Ai,isLocked:Sa,isPaused:Ia}}}(yn,jn,Bt,Yn.monitor,Yn),Zi=(0,jo.h)((0,jo.h)(D.asObservable().pipe((0,ao.i)(1)),Oe.actions$).pipe((0,us.T)(Ao)),E,Oe.liftedActions$).pipe((0,Pr.Q)(mo.T)),Mi=I.pipe((0,us.T)(Fi)),Ai=Rl(Yn.connectInZone),Sa=new Tl.m(1);this.liftedStateSubscription=Zi.pipe((0,so.E)(Mi),wi(Ai),(0,tl.S)(({state:$s},[Ea,ws])=>{let Fa=ws($s,Ea);return Ea.type!==Do&&Ol(Yn)&&(Fa=function Gl(b,_,m,E){const D=[],I={},Oe=[];return b.stagedActionIds.forEach((Ct,Bt)=>{const yn=b.actionsById[Ct];yn&&(Bt&&jl(b.computedStates[Bt],yn,_,m,E)||(I[Ct]=yn,D.push(Ct),Oe.push(b.computedStates[Bt])))}),{...b,stagedActionIds:D,actionsById:I,computedStates:Oe}}(Fa,Yn.predicate,Yn.actionsSafelist,Yn.actionsBlocklist)),Oe.notify(Ea,Fa),{state:Fa,action:Ea}},{state:jn,action:null})).subscribe(({state:$s,action:Ea})=>{Sa.next($s),Ea.type===Do&&Ct.next(Ea.action)}),this.extensionStartSubscription=Oe.start$.pipe(wi(Ai)).subscribe(()=>{this.refresh()});const Ia=Sa.asObservable(),fs=Ia.pipe((0,us.T)(wo));Object.defineProperty(fs,"state",{value:(0,Ul.ot)(fs,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=E,this.liftedState=Ia,this.state=fs}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(E){this.dispatcher.next(E)}next(E){this.dispatcher.next(E)}error(E){}complete(){}performAction(E){this.dispatch(new Kt(E,+Date.now()))}refresh(){this.dispatch(new Tn)}reset(){this.dispatch(new ai(+Date.now()))}rollback(){this.dispatch(new Gi(+Date.now()))}commit(){this.dispatch(new La(+Date.now()))}sweep(){this.dispatch(new as)}toggleAction(E){this.dispatch(new Ns(E))}jumpToAction(E){this.dispatch(new ro(E))}jumpToState(E){this.dispatch(new ar(E))}importState(E){this.dispatch(new oo(E))}lockChanges(E){this.dispatch(new Il(E))}pauseRecording(E){this.dispatch(new mc(E))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(Io),v.KVO(mi.SS),v.KVO(mi.QU),v.KVO(sr),v.KVO(mi.sA),v.KVO(v.zcH),v.KVO(mi.N_),v.KVO(kl))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();function wi({ngZone:b,connectInZone:_}){return m=>_?new gl.c(E=>m.subscribe({next:D=>b.run(()=>E.next(D)),error:D=>b.run(()=>E.error(D)),complete:()=>b.run(()=>E.complete())})):m}const $i=new v.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function sa(b,_){return!!b||_.monitor!==po}function va(){const b="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[b]<"u"?window[b]:null}function oa(b){return b.state}function hs(b={}){return(0,v.EmA)([sr,Io,Ci,{provide:Xc,useValue:b},{provide:$i,deps:[Wl,kl],useFactory:sa},{provide:Wl,useFactory:va},{provide:kl,deps:[Xc],useFactory:pc},{provide:mi.h1,deps:[Ci],useFactory:oa},{provide:mi.Bh,useExisting:Io}])}let Ls=(()=>{var b;class _{static instrument(E={}){return{ngModule:_,providers:[hs(E)]}}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275mod=e.$C({type:_}),this.\u0275inj=v.G2t({}))}return b(),_})();var gi=l(1413),Nr=l(3726),Br=l(2806),Xo=l(1807);function Oo(b=0,_=eo.E){return b<0&&(b=0),(0,Xo.O)(b,b,_)}var Pl=l(8359),yl=l(7908),Xr=l(9326),Xl=l(8141),Kc=l(980),_1=l(3294);class Yc{}function nc(b){return(0,v.EmA)([{provide:Yc,useValue:b}])}let v1=(()=>{class b{constructor(m,E){this._ngZone=E,this.timerStart$=new gi.B,this.idleDetected$=new gi.B,this.timeout$=new gi.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,m&&this.setConfig(m)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,jo.h)((0,Nr.R)(window,"mousemove"),(0,Nr.R)(window,"resize"),(0,Nr.R)(document,"keydown"))),this.idle$=(0,Br.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function tc(b,..._){var m,E;const D=null!==(m=(0,Xr.lI)(_))&&void 0!==m?m:eo.E,I=null!==(E=_[0])&&void 0!==E?E:null,Oe=_[1]||1/0;return(0,fo.N)((Ct,Bt)=>{let yn=[],Yn=!1;const jn=Mi=>{const{buffer:Ai,subs:Sa}=Mi;Sa.unsubscribe(),(0,yl.o)(yn,Mi),Bt.next(Ai),Yn&&Fi()},Fi=()=>{if(yn){const Mi=new Pl.yU;Bt.add(Mi);const Sa={buffer:[],subs:Mi};yn.push(Sa),(0,to.N)(Mi,D,()=>jn(Sa),b)}};null!==I&&I>=0?(0,to.N)(Bt,D,Fi,I,!0):Yn=!0,Fi();const Zi=(0,_l._)(Bt,Mi=>{const Ai=yn.slice();for(const Sa of Ai){const{buffer:Ia}=Sa;Ia.push(Mi),Oe<=Ia.length&&jn(Sa)}},()=>{for(;yn?.length;)Bt.next(yn.shift().buffer);Zi?.unsubscribe(),Bt.complete(),Bt.unsubscribe()},void 0,()=>yn=null);Ct.subscribe(Zi)})}(this.idleSensitivityMillisec),(0,za.p)(m=>!m.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Xl.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Wr.n)(()=>this._ngZone.runOutsideAngular(()=>Oo(1e3).pipe((0,li.Q)((0,jo.h)(this.activityEvents$,(0,Xo.O)(this.idleMillisec).pipe((0,Xl.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Kc.j)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe((0,_1.F)(),(0,Wr.n)(m=>m?this.timer$:(0,Tr.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,za.p)(m=>!!m),(0,Xl.M)(()=>this.isTimeout=!0),(0,us.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(m){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(m):console.error("Call stopWatching() before set config values")}setConfig(m){m.idle&&(this.idleMillisec=1e3*m.idle),m.ping&&(this.pingMillisec=1e3*m.ping),m.idleSensitivity&&(this.idleSensitivityMillisec=1e3*m.idleSensitivity),m.timeout&&(this.timeout=m.timeout)}setCustomActivityEvents(m){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=m:console.error("Call stopWatching() before set custom activity events")}setupTimer(m){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Tr.of)(()=>new Date).pipe((0,us.T)(E=>E()),(0,Wr.n)(E=>Oo(1e3).pipe((0,us.T)(()=>Math.round(((new Date).valueOf()-E.valueOf())/1e3)),(0,Xl.M)(D=>{D>=m&&this.timeout$.next(!0)}))))})}setupPing(m){this.ping$=Oo(m).pipe((0,za.p)(()=>!this.isTimeout))}}return b.\u0275fac=function(m){return new(m||b)(v.KVO(Yc,8),v.KVO(e.SKi))},b.\u0275prov=v.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();var lo=l(8132),Ha=l(3694),Ti=l(5383),Oa=l(9647),os=l(60),K=l(5596),Ie=l(2920),Ut=l(6850);const Gn=()=>({initial:!1});function ui(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[1].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[1].link))("active",m.activeLink===m.links[1].link)("state",e.lJ4(5,Gn)),e.R7$(),e.JRh(m.links[1].name)}}function ki(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[2].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link),e.R7$(),e.JRh(m.links[2].name)}}let Wa=(()=>{var b;class _{constructor(E,D){this.store=E,this.router=D,this.faUserCog=Ti.McB,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){const E=this.links.find(D=>this.router.url.includes(D.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeLink=I?I.link:this.links[0].link}}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{this.showBitcoind=!1,this.selNode=D,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-settings"]],standalone:!1,decls:16,vars:8,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active","state"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Settings"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[0].link)}),e.EFF(9),e.k0s(),e.DNE(10,ui,2,6,"div",8)(11,ki,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()}if(2&D){const Oe=e.sdS(13);e.R7$(),e.Y8G("icon",I.faUserCog),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[0].link))("active",I.activeLink===I.links[0].link),e.R7$(),e.JRh(I.links[0].name),e.R7$(),e.Y8G("ngIf",!+I.appConfig.SSO.rtlSSO),e.R7$(),e.Y8G("ngIf",I.showBitcoind)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();var Bi=l(1771),Aa=l(8570),hi=l(9417),es=l(8834),Ma=l(9588),sl=l(6183),ac=l(3029),go=l(497),Kl=l(9587);function t2(b,_){if(1&b&&(e.j41(0,"mat-option",15),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.index),e.R7$(),e.Lme(" ",m.lnNode," (",m.lnImplementation,") ")}}function S4(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",3,0)(2,"div",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5,"Default Node"),e.k0s()(),e.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-label"),e.EFF(10,"Default Node"),e.k0s(),e.j41(11,"mat-select",10),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.appConfig.defaultNodeIndex,D)||(I.appConfig.defaultNodeIndex=D),v.Njj(D)}),e.DNE(12,t2,2,3,"mat-option",11),e.k0s()()(),e.j41(13,"div",12)(14,"div",8)(15,"button",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onResetSettings())}),e.EFF(16,"Reset"),e.k0s(),e.j41(17,"button",14),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onUpdateApplicationSettings())}),e.EFF(18,"Update"),e.k0s()()()()()}if(2&b){const m=e.XpG();e.R7$(3),e.Y8G("icon",m.faWindowRestore),e.R7$(8),e.R50("ngModel",m.appConfig.defaultNodeIndex),e.R7$(),e.Y8G("ngForOf",m.appConfig.nodes)}}let Qc=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faWindowRestore=Ti.aFw,this.faPlus=Ti.QLR,this.previousDefaultNode=0,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(E)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateApplicationSettings(){this.appConfig.defaultNodeIndex=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1,this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-app-settings"]],standalone:!1,decls:2,vars:1,consts:[["form","ngForm"],["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","name","defaultNode",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary",1,"mr-1",3,"click"],["mat-flat-button","","color","primary",3,"click"],[3,"value"]],template:function(D,I){1&D&&(e.j41(0,"div",1),e.DNE(1,S4,19,3,"form",2),e.k0s()),2&D&&(e.R7$(),e.Y8G("ngIf",I.appConfig.nodes&&I.appConfig.nodes.length&&I.appConfig.nodes.length>0))},dependencies:[w.Sq,w.bT,hi.qT,hi.BC,hi.cb,hi.vS,hi.cV,os.aY,es.$z,Ma.rl,Ma.nJ,Ie.DJ,Ie.sA,Ie.UI,sl.VO,ac.wT,go.Ld,Kl.N],encapsulation:2}))}return b(),_})();var _c=l(2852),Ro=l(1585),Ko=l(7541),$c=l(5416),n2=l(467);let rl=(()=>{var b;class _{constructor(){this.base32Chars="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"}generateSecret(E=10){const D=new Uint8Array(E);return window.crypto.getRandomValues(D),this.base32Encode(D)}keyuri(E,D,I){return"otpauth://totp/"+encodeURIComponent(D)+":"+encodeURIComponent(E)+"?secret="+I+"&period=30&digits=6&algorithm=SHA1&issuer="+encodeURIComponent(D)}check(E,D,I){return/^\d+$/.test(E)?this.generate(D,I).then(Oe=>Oe===E).catch(()=>!1):Promise.resolve(!1)}generate(E,D){var I=this;return(0,n2.A)(function*(){const Oe=Math.floor((D??Date.now())/30/1e3),Ct=new Uint8Array(8);let Bt=Oe;for(let Mi=7;Mi>=0;Mi--)Ct[Mi]=255&Bt,Bt=Math.floor(Bt/256);const yn=I.createHmacKey(I.base32Decode(E)),Yn=yield window.crypto.subtle.importKey("raw",yn,{name:"HMAC",hash:"SHA-1"},!1,["sign"]),jn=new Uint8Array(yield window.crypto.subtle.sign("HMAC",Yn,Ct)),Fi=15&jn[jn.length-1];return String(((127&jn[Fi])<<24|(255&jn[Fi+1])<<16|(255&jn[Fi+2])<<8|255&jn[Fi+3])%10**6).padStart(6,"0")})()}createHmacKey(E){if(2*E.length>=20)return E;const D=new Uint8Array(20);for(let I=0;I=5;)Oe+=this.base32Chars[I>>>D-5&31],D-=5;return D>0&&(Oe+=this.base32Chars[I<<5-D&31]),Oe}base32Decode(E){const D=E.toUpperCase().replace(/[=]+$/,"");let I=0,Oe=0;const Ct=[];for(const Bt of D){const yn=this.base32Chars.indexOf(Bt);if(yn<0)throw new Error("Invalid base32 character in secret.");Oe=Oe<<5|yn,I+=5,I>=8&&(Ct.push(Oe>>>I-8&255),I-=8)}return Uint8Array.from(Ct)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}))}return b(),_})();var br=l(3746),Yo=l(6013),Yl=l(8288),i2=l(9157);const Fl=["stepper"];function y1(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG();e.JRh(m.passwordFormLabel)}}function ld(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function a2(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.secretFormLabel)}}function A0(b,_){if(1&b&&e.nrm(0,"qr-code",33),2&b){const m=e.XpG(2);e.Y8G("value",m.otpauth)("size",180)}}function Ic(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Secret Code is required."),e.k0s())}function T4(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-step",10)(1,"form",22),e.DNE(2,a2,1,1,"ng-template",23),e.j41(3,"div",24),e.DNE(4,A0,1,2,"qr-code",25),e.k0s(),e.j41(5,"div",26),e.nrm(6,"fa-icon",27),e.j41(7,"span"),e.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.k0s()(),e.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e.EFF(12,"Secret Code"),e.k0s(),e.nrm(13,"input",29),e.j41(14,"fa-icon",30),e.bIt("copied",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onCopySecret(D))}),e.k0s(),e.DNE(15,Ic,2,0,"mat-error",15),e.k0s()(),e.j41(16,"div",31)(17,"button",32),e.EFF(18,"Next"),e.k0s()()()()}if(2&b){const m=e.XpG();e.Y8G("stepControl",m.secretFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.secretFormGroup),e.R7$(3),e.Y8G("ngIf",m.otpauth),e.R7$(2),e.Y8G("icon",m.faInfoCircle),e.R7$(8),e.Y8G("icon",m.faCopy)("payload",null==m.secretFormGroup||null==m.secretFormGroup.controls||null==m.secretFormGroup.controls.secret?null:m.secretFormGroup.controls.secret.value),e.R7$(),e.Y8G("ngIf",null==m.secretFormGroup||null==m.secretFormGroup.controls||null==m.secretFormGroup.controls.secret||null==m.secretFormGroup.controls.secret.errors?null:m.secretFormGroup.controls.secret.errors.required)}}function L0(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.tokenFormLabel)}}function I0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}function Te(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is invalid."),e.k0s())}function dt(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e.EFF(4,"Token"),e.k0s(),e.nrm(5,"input",37),e.DNE(6,I0,2,0,"mat-error",15)(7,Te,2,0,"mat-error",15),e.k0s()(),e.j41(8,"div",31)(9,"button",38),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onVerifyToken())}),e.EFF(10),e.k0s()()()}if(2&b){const m=e.XpG(2);e.R7$(6),e.Y8G("ngIf",null==m.tokenFormGroup||null==m.tokenFormGroup.controls||null==m.tokenFormGroup.controls.token||null==m.tokenFormGroup.controls.token.errors?null:m.tokenFormGroup.controls.token.errors.required),e.R7$(),e.Y8G("ngIf",null==m.tokenFormGroup||null==m.tokenFormGroup.controls||null==m.tokenFormGroup.controls.token||null==m.tokenFormGroup.controls.token.errors?null:m.tokenFormGroup.controls.token.errors.notValid),e.R7$(3),e.JRh(null!=m.tokenFormGroup&&null!=m.tokenFormGroup.controls&&null!=m.tokenFormGroup.controls.token&&null!=m.tokenFormGroup.controls.token.errors&&m.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function st(b,_){1&b&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Success! You are all set."),e.k0s()())}function ft(b,_){if(1&b&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,L0,1,1,"ng-template",12)(3,dt,11,3,"div",36)(4,st,3,0,"div",15),e.k0s()()),2&b){const m=e.XpG();e.Y8G("stepControl",m.tokenFormGroup),e.R7$(),e.Y8G("formGroup",m.tokenFormGroup),e.R7$(2),e.Y8G("ngIf",!m.flgValidated||!m.isTokenValid),e.R7$(),e.Y8G("ngIf",m.flgValidated&&m.isTokenValid)}}function $t(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.disableFormLabel)}}function Cn(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",8)(1,"div",39),e.nrm(2,"fa-icon",27),e.j41(3,"span"),e.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.k0s()(),e.j41(5,"div",31)(6,"button",38),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onVerifyToken())}),e.EFF(7,"Disable"),e.k0s()()()}if(2&b){const m=e.XpG(2);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle)}}function Dn(b,_){1&b&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Two factor authentication removed from RTL."),e.k0s()())}function Zn(b,_){if(1&b&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,$t,1,1,"ng-template",12)(3,Cn,8,1,"div",36)(4,Dn,3,0,"div",15),e.k0s()()),2&b){const m=e.XpG();e.Y8G("stepControl",m.disableFormGroup),e.R7$(),e.Y8G("formGroup",m.disableFormGroup),e.R7$(2),e.Y8G("ngIf",!m.flgValidated||!m.isTokenValid),e.R7$(),e.Y8G("ngIf",m.flgValidated&&m.isTokenValid)}}let si=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn){this.dialogRef=E,this.data=D,this.store=I,this.formBuilder=Oe,this.rtlEffects=Ct,this.snackBar=Bt,this.totpService=yn,this.faExclamationTriangle=Ti.zpE,this.faCopy=Ti.jPR,this.faInfoCircle=Ti.iW_,this.flgValidated=!1,this.isTokenValid=!0,this.verifyingToken=!1,this.otpauth="",this.appConfig=null,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[hi.k0.required]],password:["",[hi.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},hi.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",hi.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},hi.k0.required]})}generateSecret(){const E=this.totpService.generateSecret();return this.otpauth=this.totpService.keyuri("","Ride The Lightning (RTL)",E),E}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Bi.oz)({payload:_c(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Dr.s)(1)).subscribe(E=>{"ERROR"!==E?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(E){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(!this.appConfig?.enable2FA)return!(this.tokenFormGroup.controls.token.value&&!this.verifyingToken)||(this.verifyingToken=!0,void this.totpService.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value).then(E=>{this.verifyingToken=!1,this.isTokenValid=E,E?(this.appConfig.enable2FA=!0,this.appConfig.secret2FA=this.secretFormGroup.controls.secret.value,this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue(""),this.flgValidated=!0):this.tokenFormGroup.controls.token.setErrors({notValid:!0})}));this.appConfig.enable2FA=!1,this.appConfig.secret2FA="",this.store.dispatch((0,Bi.rc)({payload:{showSnackBar:!1,message:"Two factor authentication disabled successfully.",config:this.appConfig}})),this.generateSecret(),this.isTokenValid=!0,this.flgValidated=!0}stepSelectionChanged(E){switch(E.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}E.selectedIndex{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(Ro.Vh),e.rXU(mi.il),e.rXU(hi.ze),e.rXU(Ko.H),e.rXU($c.UG),e.rXU(rl))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-two-factor-auth"]],viewQuery:function(D,I){if(1&D&&e.GBs(Fl,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.stepper=Oe.first)}},standalone:!1,decls:30,vars:11,consts:[["stepper",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100"],["autoFocus","","matInput","","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"copied","icon","payload"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","6","type","button","matStepperNext",""],["errorCorrectionLevel","L",3,"value","size"],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","type","text","tabindex","7","formControlName","token","required",""],["mat-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Setup Two Factor Authentication"),e.k0s()(),e.j41(6,"button",6),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),e.bIt("selectionChange",function(Bt){return v.eBV(Oe),v.Njj(I.stepSelectionChanged(Bt))}),e.j41(12,"mat-step",10)(13,"form",11),e.DNE(14,y1,1,1,"ng-template",12),e.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),e.EFF(18,"Password"),e.k0s(),e.nrm(19,"input",14),e.DNE(20,ld,2,0,"mat-error",15),e.k0s()(),e.j41(21,"div",16)(22,"button",17),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onAuthenticate())}),e.EFF(23,"Confirm"),e.k0s()()()(),e.DNE(24,T4,19,8,"mat-step",18)(25,ft,5,4,"mat-step",19)(26,Zn,5,4,"mat-step",19),e.k0s(),e.j41(27,"div",20)(28,"button",21),e.EFF(29),e.k0s()()()()()()}2&D&&(e.R7$(6),e.Y8G("mat-dialog-close",!1),e.R7$(4),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",I.passwordFormGroup)("editable",I.flgEditable),e.R7$(),e.Y8G("formGroup",I.passwordFormGroup),e.R7$(7),e.Y8G("ngIf",null==I.passwordFormGroup||null==I.passwordFormGroup.controls||null==I.passwordFormGroup.controls.password||null==I.passwordFormGroup.controls.password.errors?null:I.passwordFormGroup.controls.password.errors.required),e.R7$(4),e.Y8G("ngIf",!I.showDisableStepper),e.R7$(),e.Y8G("ngIf",!I.showDisableStepper),e.R7$(),e.Y8G("ngIf",I.showDisableStepper),e.R7$(2),e.Y8G("mat-dialog-close",!1),e.R7$(),e.JRh(I.flgValidated&&I.isTokenValid?"Close":"Cancel"))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.j4,hi.JD,os.aY,Ro.tx,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ma.yw,Ie.DJ,Ie.sA,Ie.UI,Yo.V5,Yo.Ti,Yo.M6,Yo.F7,Yl.Um,i2.U,Kl.N],encapsulation:2}))}return b(),_})();var _t=l(4416),ji=l(3202),Hi=l(1997);const Ja=["authForm"];function Ba(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Current password is required."),e.k0s())}function wr(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.errorMsg)}}function _s(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.errorConfirmMsg)}}function vs(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",12,0)(2,"div",13),e.nrm(3,"fa-icon",6),e.j41(4,"span",7),e.EFF(5,"Password"),e.k0s()(),e.j41(6,"mat-form-field")(7,"mat-label"),e.EFF(8,"Current Password"),e.k0s(),e.j41(9,"input",14),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.currPassword,D)||(I.currPassword=D),v.Njj(D)}),e.k0s(),e.DNE(10,Ba,2,0,"mat-error",15),e.k0s(),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"New Password"),e.k0s(),e.j41(14,"input",16),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.newPassword,D)||(I.newPassword=D),v.Njj(D)}),e.k0s(),e.DNE(15,wr,2,1,"mat-error",15),e.k0s(),e.j41(16,"mat-form-field")(17,"mat-label"),e.EFF(18,"Confirm New Password"),e.k0s(),e.j41(19,"input",17),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG();return e.DH7(I.confirmPassword,D)||(I.confirmPassword=D),v.Njj(D)}),e.k0s(),e.DNE(20,_s,2,1,"mat-error",15),e.k0s(),e.j41(21,"div",18)(22,"button",19),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onResetPassword())}),e.EFF(23,"Reset"),e.k0s(),e.j41(24,"button",20),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onChangePassword())}),e.EFF(25,"Change Password"),e.k0s()()()}if(2&b){const m=e.XpG();e.R7$(3),e.Y8G("icon",m.faLock),e.R7$(6),e.R50("ngModel",m.currPassword),e.R7$(),e.Y8G("ngIf",!m.currPassword),e.R7$(4),e.R50("ngModel",m.newPassword),e.R7$(),e.Y8G("ngIf",m.matchOldAndNewPasswords()),e.R7$(4),e.R50("ngModel",m.confirmPassword),e.R7$(),e.Y8G("ngIf",m.matchNewPasswords())}}let rr=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.store=D,this.actions=I,this.router=Oe,this.sessionService=Ct,this.faInfoCircle=Ti.iW_,this.faUserLock=Ti.aAJ,this.faUserClock=Ti.ld_,this.faLock=Ti.DW4,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.logger.info(this.appConfig)}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(E=>E.type===_t.aU.RESET_PASSWORD_RES)).subscribe(E=>{if(_t.Ah.includes(this.currPassword.toLowerCase()))switch(this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.router.navigate(["/cln/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form&&this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword||_t.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Bi.xw)({payload:{currPassword:_c(this.currPassword).toString(),newPassword:_c(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let E=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",E=!0):_t.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=_t.Ah?.reduce((D,I,Oe)=>Oe<_t.Ah.length-1?D+I+'" / "':D+I+'".','Password cannot be "'),E=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",E=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",E=!0)),E}matchNewPasswords(){let E=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",E=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",E=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",E=!0)),E}on2FAuth(){this.store.dispatch((0,Bi.xO)({payload:{data:{appConfig:this.appConfig,component:si}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(Ha.Ix),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-auth-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(Ja,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:15,vars:4,consts:[["authForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModelChange","ngModel"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModelChange","ngModel"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",1),e.DNE(1,vs,26,7,"form",2),e.nrm(2,"mat-divider",3),e.j41(3,"div",4)(4,"div",5),e.nrm(5,"fa-icon",6),e.j41(6,"span",7),e.EFF(7,"Two Factor Authentication"),e.k0s()(),e.j41(8,"div",8),e.nrm(9,"fa-icon",9),e.j41(10,"span"),e.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.k0s()(),e.j41(12,"div",10)(13,"button",11),e.bIt("click",function(){return I.on2FAuth()}),e.EFF(14),e.k0s()()()()),2&D&&(e.R7$(),e.Y8G("ngIf",null==I.appConfig?null:I.appConfig.allowPasswordUpdate),e.R7$(4),e.Y8G("icon",I.faUserClock),e.R7$(4),e.Y8G("icon",I.faInfoCircle),e.R7$(5),e.JRh(I.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.TL,Hi.q,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();var Bs=l(3902);function ol(b,_){1&b&&e.nrm(0,"mat-divider",7)}function Kr(b,_){if(1&b&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,ol,1,0,"mat-divider",6),e.k0s()),2&b){const m=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,m.configData)),e.R7$(2),e.Y8G("ngIf",""!==m.configData)}}function sc(b,_){if(1&b&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function ll(b,_){if(1&b&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function D4(b,_){1&b&&e.nrm(0,"mat-divider",15),2&b&&e.Y8G("inset",!0)}function vc(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,sc,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,ll,2,1,"h4",12),e.k0s(),e.DNE(5,D4,1,1,"mat-divider",13),e.k0s()),2&b){const m=_.$implicit;e.R7$(2),e.Y8G("ngIf",m.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",m.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",m.indexOf("[")<0)}}function s2(b,_){if(1&b&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,vc,6,3,"mat-list-item",9),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.Y8G("ngForOf",m.configData)}}let Pf=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.rtlEffects=D,this.router=I,this.configData="",this.fileFormat="INI",this.faCog=Ti.dB,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{const D=E.data;this.fileFormat=E.format,this.configData=""===D||!D||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==D&&D&&"JSON"===this.fileFormat?D:"":D.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-bitcoin-config"]],standalone:!1,decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,Kr,5,4,"div",2)(3,s2,3,1,"div",3),e.k0s()()),2&D&&(e.R7$(2),e.Y8G("ngIf",""!==I.configData&&"JSON"===I.fileFormat),e.R7$(),e.Y8G("ngIf",""!==I.configData&&("INI"===I.fileFormat||"HOCON"===I.fileFormat)))},dependencies:[w.Sq,w.bT,K.Lc,Bs.jt,Bs.YE,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();function Hh(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}let r2=(()=>{var b;class _{constructor(E,D,I){this.dialogRef=E,this.store=D,this.rtlEffects=I,this.password="",this.isAuthenticated=!1,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Dr.s)(1)).subscribe(E=>{"ERROR"!==E?(this.isAuthenticated=!0,this.store.dispatch((0,Bi.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Bi.oz)({payload:_c(this.password)}))}onClose(){this.store.dispatch((0,Bi.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(mi.il),e.rXU(Ko.H))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-is-authorized"]],standalone:!1,decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e.EFF(5,"Authenticate with your RTL Password"),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return I.onClose()}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e.EFF(12,"Password"),e.k0s(),e.j41(13,"input",8),e.mxI("ngModelChange",function(Ct){return e.DH7(I.password,Ct)||(I.password=Ct),Ct}),e.k0s(),e.DNE(14,Hh,2,0,"mat-error",9),e.k0s(),e.j41(15,"div",10)(16,"button",11),e.bIt("click",function(){return I.onAuthenticate()}),e.EFF(17,"Confirm"),e.k0s()()()()()()),2&D&&(e.R7$(13),e.R50("ngModel",I.password),e.R7$(),e.Y8G("ngIf",!I.password))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();const o2=()=>({initial:!1});function cd(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[2].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link)("state",e.lJ4(5,o2)),e.R7$(),e.JRh(m.links[2].name)}}function b1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",14),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.activeLink=D.links[3].link)}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[3].link))("active",m.activeLink===m.links[3].link),e.R7$(),e.JRh(m.links[3].name)}}function w4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",15),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.showLnConfigClicked())}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("active",m.activeLink===m.links[4].link),e.R7$(),e.JRh(m.links[4].name)}}let k0=(()=>{var b;class _{constructor(E,D,I,Oe){this.store=E,this.router=D,this.rtlEffects=I,this.activatedRoute=Oe,this.faTools=Ti.nsx,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){const E=this.links.find(D=>this.router.url.includes(D.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeLink=I?I.link:this.links[0].link}}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{switch(this.showLnConfig=!1,this.selNode=D,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.SSO.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,Bi.xO)({payload:{maxWidth:"50rem",data:{component:r2}}})),this.rtlEffects.closeAlert.pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{E&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix),e.rXU(Ko.H),e.rXU(Ha.nX))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-node-config"]],standalone:!1,decls:19,vars:13,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active","state"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Node Config"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[0].link)}),e.EFF(9),e.k0s(),e.j41(10,"div",8),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.activeLink=I.links[1].link)}),e.EFF(11),e.k0s(),e.DNE(12,cd,2,6,"div",9)(13,b1,2,4,"div",10)(14,w4,2,2,"div",11),e.k0s(),e.nrm(15,"mat-tab-nav-panel",null,0),e.j41(17,"div",12),e.nrm(18,"router-outlet"),e.k0s()()()()}if(2&D){const Oe=e.sdS(16);e.R7$(),e.Y8G("icon",I.faTools),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[0].link))("active",I.activeLink===I.links[0].link),e.R7$(),e.JRh(I.links[0].name),e.R7$(),e.Y8G("routerLink",e.mNQ(I.links[1].link))("active",I.activeLink===I.links[1].link),e.R7$(),e.JRh(I.links[1].name),e.R7$(),e.Y8G("ngIf","ECL"!==(null==I.selNode||null==I.selNode.lnImplementation?null:I.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf","CLN"===(null==I.selNode||null==I.selNode.lnImplementation?null:I.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf",I.showLnConfig)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();function zr(b,_){1&b&&e.nrm(0,"mat-divider",7)}function O0(b,_){if(1&b&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,zr,1,0,"mat-divider",6),e.k0s()),2&b){const m=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,m.configData)),e.R7$(2),e.Y8G("ngIf",""!==m.configData)}}function A4(b,_){if(1&b&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function Xa(b,_){if(1&b&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m)}}function R0(b,_){1&b&&e.nrm(0,"mat-divider",15),2&b&&e.Y8G("inset",!0)}function yc(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,A4,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,Xa,2,1,"h4",12),e.k0s(),e.DNE(5,R0,1,1,"mat-divider",13),e.k0s()),2&b){const m=_.$implicit;e.R7$(2),e.Y8G("ngIf",m.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",m.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",m.indexOf("[")<0)}}function Zc(b,_){if(1&b&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,yc,6,3,"mat-list-item",9),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.Y8G("ngForOf",m.configData)}}let l2=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.rtlEffects=D,this.router=I,this.configData="",this.fileFormat="INI",this.faCog=Ti.dB,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{const D=E.data;this.fileFormat=E.format,this.configData=""===D||!D||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==D&&D&&"JSON"===this.fileFormat?D:"":D.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-lnp-config"]],standalone:!1,decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,O0,5,4,"div",2)(3,Zc,3,1,"div",3),e.k0s()()),2&D&&(e.R7$(2),e.Y8G("ngIf",""!==I.configData&&"JSON"===I.fileFormat),e.R7$(),e.Y8G("ngIf",""!==I.configData&&("INI"===I.fileFormat||"HOCON"===I.fileFormat)))},dependencies:[w.Sq,w.bT,K.Lc,Bs.jt,Bs.YE,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();var Qo=l(2571),or=l(9454),dd=l(5951),cl=l(6038),bc=l(450);const ud=b=>({skin:!0,"selected-color":b});function P0(b,_){if(1&b&&(e.j41(0,"span",41),e.nrm(1,"fa-icon",42),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("icon",m.symbol)}}function c2(b,_){if(1&b&&(e.j41(0,"span",41),e.nrm(1,"span",43),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("innerHTML",m.symbol,e.npT)}}function hd(b,_){if(1&b&&(e.j41(0,"mat-option",39),e.DNE(1,P0,2,1,"span",40)(2,c2,2,1,"span",40),e.EFF(3),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.id),e.R7$(),e.Y8G("ngIf",m&&"FA"===m.iconType),e.R7$(),e.Y8G("ngIf",m&&"SVG"===m.iconType),e.R7$(),e.Lme(" ",m.name," (",m.id,") ")}}function Cc(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Currency unit is required."),e.k0s())}function F0(b,_){if(1&b&&(e.j41(0,"mat-radio-button",44),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m)("checked",E.selNode.settings.userPersona===m),e.R7$(),e.SpI(" ",e.bMT(2,3,m)," ")}}function d2(b,_){if(1&b&&(e.j41(0,"mat-radio-button",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI("",m.name," ")}}function C1(b,_){if(1&b){const m=e.RV6();e.j41(0,"span",46)(1,"div",47),e.nI1(2,"lowercase"),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.changeThemeColor(D.id))}),e.k0s(),e.EFF(3),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.HbH(e.bMT(2,4,m.id)),e.Y8G("ngClass",e.eq3(6,ud,E.selectedThemeColor===m.id)),e.R7$(2),e.SpI(" ",m.name," ")}}let N0=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.commonService=D,this.store=I,this.sanitizer=Oe,this.faBarsStaggered=Ti.o97,this.faExclamationTriangle=Ti.zpE,this.faMoneyBillAlt=Ti.iy8,this.faPaintBrush=Ti._eQ,this.faInfoCircle=Ti.iW_,this.faEyeSlash=Ti.k6j,this.userPersonas=[_t.HW.OPERATOR,_t.HW.MERCHANT],this.currencyUnits=_t.Zi,this.themeModes=_t.Bv.modes,this.themeColors=_t.Bv.themes,this.selectedThemeMode=_t.Bv.modes[0],this.selectedThemeColor=_t.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(E=>("SVG"===E.iconType&&"string"==typeof E.symbol&&(E.symbol=E.symbol.replace('{this.selNode=JSON.parse(JSON.stringify(E)),this.selectedThemeMode=this.themeModes.find(D=>this.selNode.settings.themeMode===D.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.settings.themeColor,this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(E)})}toggleSettings(E,D){this.selNode.settings[E]=!this.selNode.settings[E]}changeThemeColor(E){this.selectedThemeColor=E,this.selNode.settings.themeColor=E}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(E){this.selNode.settings.fiatConversion||delete this.selNode.settings.currencyUnit}onUpdateNodeSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.selNode.settings.blockExplorerUrl=this.selNode.settings.blockExplorerUrl.replace(/\/$/,""),this.logger.info(this.selNode.settings),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onResetSettings(){const E=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(D=>D.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.NO_SPINNER,prevLnNodeIndex:+E,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Dt.up))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-node-settings"]],standalone:!1,decls:100,vars:21,consts:[["form","ngForm"],["currencyUnit","ngModel"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["href","https://mempool.space/","target","blank"],["fxLayout","row wrap","fxLayoutAlign","start center"],["fxLayout","column","fxFlex","100"],["matInput","","name","blockExplorerUrl",3,"ngModelChange","ngModel"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModelChange","change","ngModel"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModelChange","change","ngModel"],["fxFlex","25"],["autoFocus","","tabindex","3","name","currencyUnit",3,"ngModelChange","disabled","required","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModelChange","ngModel"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModelChange","change","ngModel"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],["class","mr-1",4,"ngIf"],[1,"mr-1"],[3,"icon"],["fxLayoutAlign","center center",3,"innerHTML"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"click","ngClass"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"mat-accordion",4)(4,"mat-expansion-panel",5)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),e.nrm(7,"fa-icon",6),e.j41(8,"span",7),e.EFF(9,"Block Explorer"),e.k0s()()(),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"fa-icon",10),e.j41(13,"span"),e.EFF(14,"Configure your own blockchain explorer url or "),e.j41(15,"strong")(16,"a",11),e.EFF(17,"mempool.space"),e.k0s()(),e.EFF(18," will be used."),e.k0s()(),e.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),e.EFF(22,"Block Explorer URL"),e.k0s(),e.j41(23,"input",14),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.blockExplorerUrl,Bt)||(I.selNode.settings.blockExplorerUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(24,"mat-hint"),e.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),e.k0s()()()()(),e.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),e.nrm(29,"fa-icon",6),e.j41(30,"span",7),e.EFF(31,"Open Unannounced Channels"),e.k0s()()(),e.j41(32,"div",8)(33,"div",15),e.nrm(34,"fa-icon",10),e.j41(35,"span"),e.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.k0s()(),e.j41(37,"div",12)(38,"mat-slide-toggle",16),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.unannouncedChannels,Bt)||(I.selNode.settings.unannouncedChannels=Bt),v.Njj(Bt)}),e.bIt("change",function(){return v.eBV(Oe),v.Njj(!I.selNode.settings.unannouncedChannels)}),e.EFF(39,"Open Unannounced Channels"),e.k0s()()()(),e.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),e.nrm(43,"fa-icon",6),e.j41(44,"span",7),e.EFF(45,"Balance Display"),e.k0s()()(),e.j41(46,"div",8)(47,"div",9),e.nrm(48,"fa-icon",10),e.j41(49,"span"),e.EFF(50,"Fiat conversion calls "),e.j41(51,"strong")(52,"a",17),e.EFF(53,"Blockchain.com"),e.k0s()(),e.EFF(54," API to get conversion rates."),e.k0s()(),e.j41(55,"div",12)(56,"mat-slide-toggle",18),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.fiatConversion,Bt)||(I.selNode.settings.fiatConversion=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onFiatConversionChange(Bt))}),e.EFF(57,"Enable Fiat Conversion"),e.k0s(),e.j41(58,"mat-form-field",19)(59,"mat-label"),e.EFF(60,"Fiat Currency"),e.k0s(),e.j41(61,"mat-select",20,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.currencyUnit,Bt)||(I.selNode.settings.currencyUnit=Bt),v.Njj(Bt)}),e.DNE(63,hd,4,5,"mat-option",21),e.k0s(),e.DNE(64,Cc,2,0,"mat-error",22),e.k0s()()()(),e.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),e.nrm(68,"fa-icon",6),e.j41(69,"span",7),e.EFF(70,"Customization"),e.k0s()()(),e.j41(71,"div",8)(72,"div",23),e.nrm(73,"fa-icon",10),e.j41(74,"span"),e.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.k0s()(),e.j41(76,"div",24)(77,"h4"),e.EFF(78,"Dashboard Layout"),e.k0s(),e.j41(79,"mat-radio-group",25),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.userPersona,Bt)||(I.selNode.settings.userPersona=Bt),v.Njj(Bt)}),e.DNE(80,F0,3,5,"mat-radio-button",26),e.k0s()(),e.nrm(81,"mat-divider",27),e.j41(82,"div",28)(83,"h4"),e.EFF(84,"Mode"),e.k0s(),e.j41(85,"mat-radio-group",29),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selectedThemeMode,Bt)||(I.selectedThemeMode=Bt),v.Njj(Bt)}),e.bIt("change",function(){return v.eBV(Oe),v.Njj(I.chooseThemeMode())}),e.DNE(86,d2,2,2,"mat-radio-button",30),e.k0s()(),e.nrm(87,"mat-divider",27),e.j41(88,"div",31)(89,"div",32)(90,"h4"),e.EFF(91,"Themes"),e.k0s(),e.j41(92,"div",33),e.DNE(93,C1,4,8,"span",34),e.k0s()()()()()()(),e.j41(94,"div",35)(95,"div",36)(96,"button",37),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetSettings())}),e.EFF(97,"Reset"),e.k0s(),e.j41(98,"button",38),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateNodeSettings())}),e.EFF(99,"Update"),e.k0s()()()()}2&D&&(e.R7$(7),e.Y8G("icon",I.faBarsStaggered),e.R7$(5),e.Y8G("icon",I.faExclamationTriangle),e.R7$(11),e.R50("ngModel",I.selNode.settings.blockExplorerUrl),e.R7$(6),e.Y8G("icon",I.faEyeSlash),e.R7$(5),e.Y8G("icon",I.faInfoCircle),e.R7$(4),e.R50("ngModel",I.selNode.settings.unannouncedChannels),e.R7$(5),e.Y8G("icon",I.faMoneyBillAlt),e.R7$(5),e.Y8G("icon",I.faExclamationTriangle),e.R7$(8),e.R50("ngModel",I.selNode.settings.fiatConversion),e.R7$(5),e.Y8G("disabled",!I.selNode.settings.fiatConversion)("required",I.selNode.settings.fiatConversion),e.R50("ngModel",I.selNode.settings.currencyUnit),e.R7$(2),e.Y8G("ngForOf",I.currencyUnits),e.R7$(),e.Y8G("ngIf",I.selNode.settings.fiatConversion&&!I.selNode.settings.currencyUnit),e.R7$(4),e.Y8G("icon",I.faPaintBrush),e.R7$(5),e.Y8G("icon",I.faInfoCircle),e.R7$(6),e.R50("ngModel",I.selNode.settings.userPersona),e.R7$(),e.Y8G("ngForOf",I.userPersonas),e.R7$(5),e.R50("ngModel",I.selectedThemeMode),e.R7$(),e.Y8G("ngForOf",I.themeModes),e.R7$(7),e.Y8G("ngForOf",I.themeColors))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,or.BS,or.GK,or.Z2,or.WN,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Hi.q,dd.VT,dd._g,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,bc.sG,go.Ld,Kl.N,w.GH,w.PV],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width:37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]}))}return b(),_})();var B0=l(9584),md=l(3536),zs=l(8430),Qs=l(190),lr=l(2730),Ds=l(5428),Jc=l(2598),qc=l(2629),fd=l(455),dl=l(2929);const pd=b=>({error:b}),u2=b=>({"error-border":b}),z0=b=>({"ml-minus-1":b}),h2=b=>({"error-border p-2":b});function m2(b,_){if(1&b&&e.eu8(0,14),2&b){const m=e.XpG(),E=e.sdS(18);e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.eq3(2,pd,m.errorMessage))}}function L4(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ",m," ")}}function V0(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG(3);e.Y8G("value",m),e.R7$(),e.SpI(" ","ECL"===E.selNode.lnImplementation?e.bMT(2,2,m):e.i5U(3,4,m,"_")," ")}}function I4(b,_){if(1&b&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ","desc"===m?"Descending":"Ascending"," ")}}function U0(b,_){if(1&b&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG(2).$implicit,D=e.XpG(2);e.Y8G("value",m.column)("disabled",E.columnSelection.length<=2&&E.columnSelection.includes(m.column)),e.R7$(),e.SpI(" ",m.label?m.label:"ECL"===D.selNode.lnImplementation?e.bMT(2,3,m.column):e.i5U(3,5,m.column,"_")," ")}}function G0(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-form-field",32)(1,"mat-label"),e.EFF(2,"Column selection (Desktop Resolution)"),e.k0s(),e.j41(3,"mat-select",33),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG().$implicit;return e.DH7(I.columnSelection,D)||(I.columnSelection=D),v.Njj(D)}),e.bIt("selectionChange",function(){v.eBV(m);const D=e.XpG().$implicit,I=e.XpG(2);return v.Njj(I.oncolumnSelectionChange(D))}),e.DNE(4,U0,4,8,"mat-option",28),e.k0s()()}if(2&b){const m=e.XpG().$implicit,E=e.XpG().$implicit,D=e.XpG();e.R7$(3),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-columns-selection")),e.R50("ngModel",m.columnSelection),e.R7$(),e.Y8G("ngForOf",D.nodePageDefs[E.pageId][m.tableId].allowedColumns)}}function Wh(b,_){if(1&b&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&b){const m=_.$implicit,E=e.XpG().$implicit,D=e.XpG(2);e.Y8G("value",m.column)("disabled",E.columnSelectionSM.length<=1&&E.columnSelectionSM.includes(m.column)||E.columnSelectionSM.length>=3&&!E.columnSelectionSM.includes(m.column)),e.R7$(),e.SpI(" ",m.label?m.label:"ECL"===D.selNode.lnImplementation?e.bMT(2,3,m.column):e.i5U(3,5,m.column,"_")," ")}}function x1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",17)(1,"div",18)(2,"span",19),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s(),e.j41(5,"mat-form-field",20)(6,"mat-label"),e.EFF(7,"Records/Page"),e.k0s(),e.j41(8,"mat-select",21),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.recordsPerPage,D)||(I.recordsPerPage=D),v.Njj(D)}),e.DNE(9,L4,2,2,"mat-option",22),e.k0s()(),e.j41(10,"mat-form-field",20)(11,"mat-label"),e.EFF(12,"Sort By"),e.k0s(),e.j41(13,"mat-select",23),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.sortBy,D)||(I.sortBy=D),v.Njj(D)}),e.DNE(14,V0,4,7,"mat-option",22),e.k0s()(),e.j41(15,"mat-form-field",20)(16,"mat-label"),e.EFF(17,"Sort Order"),e.k0s(),e.j41(18,"mat-select",24),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.sortOrder,D)||(I.sortOrder=D),v.Njj(D)}),e.DNE(19,I4,2,2,"mat-option",22),e.k0s()(),e.DNE(20,G0,5,5,"mat-form-field",25),e.j41(21,"mat-form-field",26)(22,"mat-label"),e.EFF(23,"Column Selection (Mobile Resolution)"),e.k0s(),e.j41(24,"mat-select",27),e.mxI("ngModelChange",function(D){const I=v.eBV(m).$implicit;return e.DH7(I.columnSelectionSM,D)||(I.columnSelectionSM=D),v.Njj(D)}),e.DNE(25,Wh,4,8,"mat-option",28),e.k0s()(),e.j41(26,"button",29),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG().$implicit,Oe=e.XpG();return v.Njj(Oe.onTableReset(I.pageId,D))}),e.j41(27,"mat-icon",30),e.EFF(28,"restore"),e.k0s()()()()}if(2&b){const m=_.$implicit,E=e.XpG().$implicit,D=e.XpG();e.R7$(3),e.SpI("",e.i5U(4,24,m.tableId,"_"),":"),e.R7$(5),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-page-size-options"))("disabled",D.nodePageDefs[E.pageId][m.tableId].disablePageSize),e.R50("ngModel",m.recordsPerPage),e.R7$(),e.Y8G("ngForOf",D.pageSizeOptions),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-sort-by")),e.R50("ngModel",m.sortBy),e.R7$(),e.Y8G("ngForOf",m.columnSelection),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-sort-order")),e.R50("ngModel",m.sortOrder),e.R7$(),e.Y8G("ngForOf",D.sortOrders),e.R7$(),e.Y8G("ngIf",D.screenSize!==D.screenSizeEnum.XS),e.R7$(4),e.Y8G("name",e.ai1("",E.pageId,"",m.tableId,"-columns-selection-sm")),e.R50("ngModel",m.columnSelectionSM),e.R7$(),e.Y8G("ngForOf",D.nodePageDefs[E.pageId][m.tableId].allowedColumns),e.R7$(2),e.Y8G("ngClass",e.eq3(27,z0,D.screenSize===D.screenSizeEnum.XS||D.screenSize===D.screenSizeEnum.SM))}}function j0(b,_){if(1&b&&e.eu8(0,14),2&b){const m=e.XpG(2),E=e.sdS(18);e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.eq3(2,pd,m.errorMessage))}}function gd(b,_){if(1&b&&(e.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s()(),e.DNE(5,x1,29,29,"div",16)(6,j0,1,4,"ng-container",7),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("ngClass",e.eq3(7,u2,(null==E.errorMessage?null:E.errorMessage.page)===m.pageId)),e.R7$(3),e.JRh(e.i5U(4,4,m.pageId,"_")),e.R7$(2),e.Y8G("ngForOf",m.tables),e.R7$(),e.Y8G("ngIf",E.errorMessage&&(null==E.errorMessage?null:E.errorMessage.page)===m.pageId)}}function H0(b,_){if(1&b&&(e.j41(0,"mat-panel-title"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=e.XpG().error;e.R7$(),e.SpI("Page ",e.bMT(2,1,m.page))}}function f2(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&b){const m=e.XpG().error;e.R7$(4),e.JRh(m.message)}}function k4(b,_){if(1&b&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"titlecase"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(4),e.Lme("Table ",e.bMT(5,2,m.table)," ",m.message)}}function W0(b,_){if(1&b&&(e.j41(0,"div",35),e.DNE(1,H0,3,3,"mat-panel-title",36),e.j41(2,"mat-list",37),e.DNE(3,f2,5,1,"mat-list-item",36)(4,k4,6,4,"mat-list-item",38),e.k0s()()),2&b){const m=_.error,E=e.XpG();e.Y8G("ngClass",e.eq3(4,h2,"unknown"===E.errorMessage.page)),e.R7$(),e.Y8G("ngIf","unknown"===E.errorMessage.page),e.R7$(2),e.Y8G("ngIf",m.message),e.R7$(),e.Y8G("ngForOf",m.tables)}}let Xh=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.commonService=D,this.store=I,this.actions=Oe,this.faPenRuler=Ti.$$g,this.faExclamationTriangle=Ti.zpE,this.screenSize="",this.screenSizeEnum=_t.f7,this.pageSizeOptions=_t.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=_t.jG,this.apiCallStatus=null,this.apiCallStatusEnum=_t.wn,this.errorMessage=null,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{switch(this.selNode=E,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],_t.mu),this.defaultSettings=Object.assign([],_t.mu),this.nodePageDefs=_t.Jd,this.store.select(B0.av).pipe((0,li.Q)(this.unSubs[1]),(0,so.E)(this.store.select(Oa._c))).subscribe(([D,I])=>{const Oe=JSON.parse(JSON.stringify(D.pageSettings));if(this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!I?.settings.enableOffers){const Ct=Oe.find(Yn=>"transactions"===Yn.pageId),Bt=Ct?.tables.findIndex(Yn=>"offers"===Yn.tableId),yn=Ct?.tables.findIndex(Yn=>"offer_bookmarks"===Yn.tableId);Bt>-1&&Ct?.tables.splice(Bt,1),yn>-1&&Ct?.tables.splice(yn,1)}if(!I?.settings.enablePeerswap){const Ct=Oe.findIndex(Bt=>"peerswap"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.TC.UPDATE_API_CALL_STATUS_CLN||D.type===_t.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(D=>{D.type===_t.TC.UPDATE_API_CALL_STATUS_CLN&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],_t.X8),this.defaultSettings=Object.assign([],_t.X8),this.nodePageDefs=_t.WW,this.store.select(lr.jZ).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{const I=JSON.parse(JSON.stringify(D.pageSettings));this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=I,this.initialPageSettings=I):(this.pageSettings=I,this.initialPageSettings=I),this.logger.info(I)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.Uu.UPDATE_API_CALL_STATUS_ECL||D.type===_t.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(D=>{D.type===_t.Uu.UPDATE_API_CALL_STATUS_ECL&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))});break;default:this.initialPageSettings=Object.assign([],_t.ZC),this.defaultSettings=Object.assign([],_t.ZC),this.nodePageDefs=_t._1,this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[1]),(0,so.E)(this.store.select(Oa._c))).subscribe(([D,I])=>{const Oe=JSON.parse(JSON.stringify(D.pageSettings));if(this.errorMessage=null,this.apiCallStatus=D.apiCallStatus,this.apiCallStatus.status===_t.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!I?.settings.swapServerUrl||""===I.settings.swapServerUrl.trim()){const Ct=Oe.findIndex(Bt=>"loop"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}if(!I?.settings.boltzServerUrl||""===I.settings.boltzServerUrl.trim()){const Ct=Oe.findIndex(Bt=>"boltz"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}if(!I?.settings.enablePeerswap){const Ct=Oe.findIndex(Bt=>"peerswap"===Bt.pageId);Ct>-1&&Oe.splice(Ct,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(D=>D.type===_t.QP.UPDATE_API_CALL_STATUS_LND||D.type===_t.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(D=>{D.type===_t.QP.UPDATE_API_CALL_STATUS_LND&&D.payload.status===_t.wn.ERROR&&"SavePageSettings"===D.payload.action&&(this.errorMessage=JSON.parse(D.payload.message))})}})}oncolumnSelectionChange(E){E.columnSelection&&(!E.sortBy||!E.columnSelection.includes(E.sortBy))&&(E.sortBy=E.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((E,D)=>E||D.tables.reduce((I,Oe)=>!(Oe.recordsPerPage&&Oe.sortBy&&Oe.sortOrder&&Oe.columnSelection&&Oe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,zs.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ds.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Qs.Sn)({payload:this.pageSettings}))}}onTableReset(E,D){const I=this.pageSettings.findIndex(Bt=>Bt.pageId===E),Oe=this.pageSettings[I].tables.findIndex(Bt=>Bt.tableId===D.tableId),Ct=this.defaultSettings.find(Bt=>Bt.pageId===E)?.tables.find(Bt=>Bt.tableId===D.tableId)||this.pageSettings.find(Bt=>Bt.pageId===E)?.tables.find(Bt=>Bt.tableId===D.tableId);this.pageSettings[I].tables.splice(Oe,1,Ct)}onResetPageSettings(E){"current"===E?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Uo.En))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-page-settings"]],standalone:!1,decls:19,vars:3,consts:[["form","ngForm"],["errorObjectBlock",""],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"ngModelChange","name","disabled","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"ngModelChange","name","ngModel"],["tabindex","4","required","",3,"ngModelChange","name","ngModel"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"ngModelChange","name","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"ngModelChange","selectionChange","name","ngModel"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"div",4),e.nrm(4,"fa-icon",5),e.j41(5,"span",6),e.EFF(6,"Grid Settings"),e.k0s()(),e.DNE(7,m2,1,4,"ng-container",7),e.j41(8,"mat-accordion",8),e.DNE(9,gd,7,9,"mat-expansion-panel",9),e.k0s()(),e.j41(10,"div",10)(11,"button",11),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetPageSettings("current"))}),e.EFF(12,"Reset"),e.k0s(),e.j41(13,"button",12),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onResetPageSettings("default"))}),e.EFF(14,"Reset to Default"),e.k0s(),e.j41(15,"button",13),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdatePageSettings())}),e.EFF(16,"Save"),e.k0s()()(),e.DNE(17,W0,5,6,"ng-template",null,1,e.C5r)}2&D&&(e.R7$(4),e.Y8G("icon",I.faPenRuler),e.R7$(3),e.Y8G("ngIf",I.errorMessage&&"unknown"===I.errorMessage.page),e.R7$(2),e.Y8G("ngForOf",I.pageSettings))},dependencies:[w.YU,w.Sq,w.bT,w.T3,hi.qT,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,Jc.iY,or.BS,or.GK,or.Z2,or.WN,qc.An,Ma.rl,Ma.nJ,Bs.jt,Bs.YE,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,fd.oV,go.Ld,w.PV,dl.VD,dl.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]}))}return b(),_})();function O4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[0].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[0].link))("active",m.activeLink===m.links[0].link),e.R7$(),e.JRh(m.links[0].name)}}function R4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[1].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[1].link))("active",m.activeLink===m.links[1].link),e.R7$(),e.JRh(m.links[1].name)}}function P4(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.setActiveLink(D.links[2].link))}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG();e.Y8G("routerLink",e.mNQ(m.links[2].link))("active",m.activeLink===m.links[2].link),e.R7$(),e.JRh(m.links[2].name)}}let X0=(()=>{var b;class _{constructor(E,D,I){this.store=E,this.router=D,this.activatedRoute=I,this.faLayerGroup=Ti.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.setActiveLink(),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(E){if(E&&""!==E)this.activeLink=E;else{const D=this.links.find(I=>this.router.url.includes(I.link));this.activeLink=D?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:D.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(Ha.Ix),e.rXU(Ha.nX))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-services-settings"]],standalone:!1,decls:16,vars:5,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(D,I){if(1&D&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4,"Services"),e.k0s()()(),e.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),e.DNE(9,O4,2,4,"div",7)(10,R4,2,4,"div",8)(11,P4,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()),2&D){const Oe=e.sdS(13);e.R7$(2),e.Y8G("icon",I.faLayerGroup),e.R7$(6),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngIf","LND"===I.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"!==I.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"===I.selNode.lnImplementation)}},dependencies:[w.bT,os.aY,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,Ha.n3,lo.Wk],encapsulation:2}))}return b(),_})();const F4=["form"];function K0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Loop server URL is required."),e.k0s())}function N4(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the loop server url with 'https://'."),e.k0s())}function _d(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Loop macaroon path is required."),e.k0s())}let e1=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faInfoCircle=Ti.iW_,this.enableLoop=!1,this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableLoop=!(!E.settings.swapServerUrl||""===E.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(E)})}onEnableServiceChanged(E){this.enableLoop=E.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.enableLoop||(delete this.selNode.settings.swapServerUrl,delete this.selNode.authentication.swapMacaroonPath),this.logger.info(this.selNode),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-loop-service-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(F4,7),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"loopd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.enableLoop,Bt)||(I.enableLoop=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onEnableServiceChanged(Bt))}),e.EFF(16,"Enable Loop Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Loop Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.settings.swapServerUrl,Bt)||(I.selNode.settings.swapServerUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.k0s(),e.DNE(24,K0,2,0,"mat-error",11)(25,N4,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Loop Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selNode.authentication.swapMacaroonPath,Bt)||(I.selNode.authentication.swapMacaroonPath=Bt),v.Njj(Bt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.k0s(),e.DNE(32,_d,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&D){const Oe=e.sdS(21);e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(13),e.R50("ngModel",I.enableLoop),e.R7$(5),e.Y8G("required",I.enableLoop)("disabled",!I.enableLoop),e.R50("ngModel",I.selNode.settings.swapServerUrl),e.R7$(4),e.Y8G("ngIf",!I.selNode.settings.swapServerUrl&&I.enableLoop),e.R7$(),e.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&I.enableLoop),e.R7$(4),e.Y8G("required",I.enableLoop)("disabled",!I.enableLoop),e.R50("ngModel",I.selNode.authentication.swapMacaroonPath),e.R7$(3),e.Y8G("ngIf",!I.selNode.authentication.swapMacaroonPath&&I.enableLoop)}},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,bc.sG,go.Ld,Kl.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})();const Ql=["form"];function Y0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz server URL is required."),e.k0s())}function B4(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the boltz server url with 'https://'."),e.k0s())}function Q0(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz macaroon path is required."),e.k0s())}let Kh=(()=>{var b;class _{constructor(E,D){this.logger=E,this.store=D,this.faInfoCircle=Ti.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableBoltz=!(!E.settings.boltzServerUrl||""===E.settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(E)})}onEnableServiceChanged(E){this.enableBoltz=E.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.enableBoltz?(this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath):(delete this.selNode.settings.boltzServerUrl,delete this.selNode.authentication.boltzMacaroonPath),this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(D,I){if(1&D&&e.GBs(Ql,7),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.form=Oe.first)}},standalone:!1,decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://docs.boltz.exchange/v/boltz-client/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"boltzd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.enableBoltz,Bt)||(I.enableBoltz=Bt),v.Njj(Bt)}),e.bIt("change",function(Bt){return v.eBV(Oe),v.Njj(I.onEnableServiceChanged(Bt))}),e.EFF(16,"Enable Boltz Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Boltz Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.serverUrl,Bt)||(I.serverUrl=Bt),v.Njj(Bt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.k0s(),e.DNE(24,Y0,2,0,"mat-error",11)(25,B4,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Boltz Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.macaroonPath,Bt)||(I.macaroonPath=Bt),v.Njj(Bt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.k0s(),e.DNE(32,Q0,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&D){const Oe=e.sdS(21);e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(13),e.R50("ngModel",I.enableBoltz),e.R7$(5),e.Y8G("required",I.enableBoltz)("disabled",!I.enableBoltz),e.R50("ngModel",I.serverUrl),e.R7$(4),e.Y8G("ngIf",(!I.serverUrl||""===I.serverUrl.trim())&&I.enableBoltz),e.R7$(),e.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&I.enableBoltz),e.R7$(4),e.Y8G("required",I.enableBoltz)("disabled",!I.enableBoltz),e.R50("ngModel",I.macaroonPath),e.R7$(3),e.Y8G("ngIf",!I.macaroonPath&&I.enableBoltz)}},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,bc.sG,go.Ld,Kl.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})(),Yh=(()=>{var b;class _{constructor(){}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-ln-services"]],standalone:!1,decls:1,vars:0,template:function(D,I){1&D&&e.nrm(0,"router-outlet")},dependencies:[Ha.n3],encapsulation:2}))}return b(),_})();var p2=l(1092),E1=l(4104),kc=l(6695),Oc=l(2042),Ra=l(1676),vd=l(7575);const g2=()=>["all"],z4=b=>({"overflow-auto error-border":b,"overflow-auto":!0}),$0=()=>["no_swap"],ul=b=>({width:b}),Z0=b=>({"display-none":b});function V4(b,_){if(1&b&&(e.j41(0,"mat-option",37),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m),e.R7$(),e.JRh(E.getLabel(m))}}function _2(b,_){1&b&&e.nrm(0,"mat-progress-bar",38)}function U4(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"State"),e.k0s())}function Qh(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.JRh(E.LoopStateEnum[null==m?null:m.state])}}function J0(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"Initiation Time"),e.k0s())}function v2(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==m?null:m.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function G4(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"Last Update Time"),e.k0s())}function j4(b,_){if(1&b&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==m?null:m.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function H4(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Amount (Sats)"),e.k0s())}function qa(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.amt))}}function xc(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Server (Sats)"),e.k0s())}function y2(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.cost_server))}}function q0(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Offchain (Sats)"),e.k0s())}function M1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.cost_offchain))}}function W4(b,_){1&b&&(e.j41(0,"th",41),e.EFF(1,"Cost Onchain (Sats)"),e.k0s())}function S1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,1,null==m?null:m.cost_onchain)," ")}}function T1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"HTLC Address"),e.k0s())}function yd(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.htlc_address)}}function t1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"ID"),e.k0s())}function X4(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.id)}}function D1(b,_){1&b&&(e.j41(0,"th",39),e.EFF(1,"ID (Bytes)"),e.k0s())}function w1(b,_){if(1&b&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,ul,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.id_bytes)}}function A1(b,_){if(1&b){const m=e.RV6();e.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",48),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function bd(b,_){if(1&b){const m=e.RV6();e.j41(0,"td",49)(1,"button",50),e.bIt("click",function(D){const I=v.eBV(m).$implicit,Oe=e.XpG();return v.Njj(Oe.onSwapClick(I,D))}),e.EFF(2,"View Info"),e.k0s()()}}function b2(b,_){if(1&b&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.emptyTableMessage)}}function K4(b,_){if(1&b&&(e.j41(0,"td",51),e.DNE(1,b2,2,1,"p",52),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=m.listSwaps&&m.listSwaps.data)||(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)<1)}}function Rc(b,_){if(1&b&&e.nrm(0,"tr",53),2&b){const m=e.XpG();e.Y8G("ngClass",e.eq3(1,Z0,(null==m.listSwaps?null:m.listSwaps.data)&&(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)>0))}}function Ec(b,_){1&b&&e.nrm(0,"tr",54)}function eu(b,_){1&b&&e.nrm(0,"tr",55)}let Cd=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.logger=E,this.commonService=D,this.store=I,this.loopService=Oe,this.datePipe=Ct,this.camelCaseWithReplace=Bt,this.selectedSwapType=_t.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=_t._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:_t.md,sortBy:"initiation_time",sortOrder:_t.oi.DESCENDING},this.LoopStateEnum=_t.Hx,this.faHistory=Ti.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Ra.I6([]),this.selFilter="",this.pageSize=_t.md,this.pageSizeOptions=_t.xp,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(E){this.swapCaption=this.selectedSwapType===_t.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.tableSetting=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSetting.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:_t.md,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(E){const D=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(I=>I.column===E);return D?D.label?D.label:this.camelCaseWithReplace.transform(D.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,D)=>{let I="";switch(this.selFilterBy){case"all":I=JSON.stringify(E).toLowerCase();break;case"state":I=E?.state?this.LoopStateEnum[E?.state]:"";break;case"initiation_time":case"last_update_time":I=this.datePipe.transform(new Date((E[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:I=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===I.indexOf(D):I.includes(D)}}onSwapClick(E,D){this.loopService.getSwap(E.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,li.Q)(this.unSubs[1])).subscribe(I=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:_t.Hx[I.state||""],title:"Status",width:50,type:_t.UN.STRING},{key:"amt",value:I.amt,title:"Amount (Sats)",width:50,type:_t.UN.NUMBER}],[{key:"initiation_time",value:(I.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:_t.UN.DATE_TIME},{key:"last_update_time",value:(I.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:_t.UN.DATE_TIME}],[{key:"cost_server",value:I.cost_server,title:"Server Cost (Sats)",width:33,type:_t.UN.NUMBER},{key:"cost_offchain",value:I.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:_t.UN.NUMBER},{key:"cost_onchain",value:I.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:_t.UN.NUMBER}],[{key:"id_bytes",value:I.id_bytes,title:"ID",width:100,type:_t.UN.STRING}],[{key:"htlc_address",value:I.htlc_address,title:"HTLC Address",width:100,type:_t.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=new Ra.I6([...E]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(D,I)=>D[I]&&isNaN(D[I])?D[I].toLocaleLowerCase():D[I]?+D[I]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===_t.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(E1.Q),e.rXU(w.vh),e.rXU(dl.VD))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-swaps"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Oc.B4,5),e.GBs(kc.iy,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sort=Oe.first),e.mGM(Oe=e.lsd())&&(I.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:sl.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:kc.xX,useValue:(0,_t.on)("Swaps")}]),e.OA$],decls:61,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilterBy,Bt)||(I.selFilterBy=Bt),v.Njj(Bt)}),e.bIt("selectionChange",function(){return v.eBV(Oe),I.selFilter="",v.Njj(I.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,V4,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilter,Bt)||(I.selFilter=Bt),v.Njj(Bt)}),e.bIt("input",function(){return v.eBV(Oe),v.Njj(I.applyFilter())})("keyup",function(){return v.eBV(Oe),v.Njj(I.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,_2,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,U4,2,0,"th",16)(24,Qh,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,J0,2,0,"th",16)(27,v2,3,4,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,G4,2,0,"th",16)(30,j4,3,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,H4,2,0,"th",21)(33,qa,4,3,"td",17),e.bVm(),e.qex(34,22),e.DNE(35,xc,2,0,"th",21)(36,y2,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,q0,2,0,"th",21)(39,M1,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,W4,2,0,"th",21)(42,S1,4,3,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,T1,2,0,"th",16)(45,yd,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,t1,2,0,"th",16)(48,X4,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,D1,2,0,"th",16)(51,w1,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,A1,6,0,"th",29)(54,bd,3,0,"td",30),e.bVm(),e.qex(55,31),e.DNE(56,K4,2,1,"td",32),e.bVm(),e.DNE(57,Rc,1,3,"tr",33)(58,Ec,1,0,"tr",34)(59,eu,1,0,"tr",35),e.k0s(),e.nrm(60,"mat-paginator",36),e.k0s()()()}2&D&&(e.R7$(3),e.Y8G("icon",I.faHistory),e.R7$(2),e.SpI("",I.swapCaption," History"),e.R7$(5),e.R50("ngModel",I.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,g2).concat(I.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",I.selFilter),e.R7$(3),e.Y8G("ngIf",!0===I.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",I.tableSetting.sortBy)("matSortDirection",I.tableSetting.sortOrder)("dataSource",I.listSwaps)("ngClass",e.eq3(17,z4,"error"===I.flgLoading[0])),e.R7$(37),e.Y8G("matFooterRowDef",e.lJ4(19,$0)),e.R7$(),e.Y8G("matHeaderRowDef",I.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",I.displayedColumns),e.R7$(),e.Y8G("pageSize",I.pageSize)("pageSizeOptions",I.pageSizeOptions)("showFirstLastButtons",I.screenSize!==I.screenSizeEnum.XS))},dependencies:[w.YU,w.Sq,w.bT,w.B3,hi.me,hi.BC,hi.vS,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,vd.HM,Ie.DJ,Ie.sA,Ie.UI,cl.PW,cl.eI,sl.VO,sl.$2,ac.wT,Oc.B4,Oc.aE,Ra.Zl,Ra.tL,Ra.ji,Ra.cC,Ra.YV,Ra.iL,Ra.Zq,Ra.xW,Ra.KS,Ra.$R,Ra.Qo,Ra.YZ,Ra.NB,Ra.iF,kc.iy,go.ZF,go.Ld,w.QX,w.vh],encapsulation:2}))}return b(),_})();const Mc=b=>["../",b];function tu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onSelectedIndexChange(D))}),e.EFF(1),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.Y8G("active",E.activeTab.link===m.link)("routerLink",e.eq3(3,Mc,m.link)),e.R7$(),e.JRh(m.name)}}let nu=(()=>{var b;class _{constructor(E,D,I){this.router=E,this.loopService=D,this.store=I,this.faInfinity=Ti.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=_t.C7,this.selectedSwapType=_t.C7.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,li.Q)(this.unSubs[4])).subscribe({next:D=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_LOOP_INFO})),this.loopInfo=D,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:D=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const E=this.links.find(D=>this.router.url.includes(D.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"loopin"===E.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeTab=I||this.links[0],this.selectedSwapType=I&&"loopin"===I.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,li.Q)(this.unSubs[1])).subscribe({next:D=>{this.flgLoading[0]=!1,this.storedSwaps=D,this.filteredSwaps=this.storedSwaps?.filter(I=>I.type===this.selectedSwapType)},error:D=>{this.flgLoading[0]="error",this.emptyTableMessage=D.message?D.message:"No loop "+(this.selectedSwapType===_t.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){this.selectedSwapType="loopin"===E.link?_t.C7.LOOP_IN:_t.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(D=>D.type===this.selectedSwapType)}onLoop(E){E===_t.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,li.Q)(this.unSubs[2])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{minQuote:D[0],maxQuote:D[1],direction:E,component:p2.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,li.Q)(this.unSubs[3])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{minQuote:D[0],maxQuote:D[1],direction:E,component:p2.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.Ix),e.rXU(E1.Q),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-loop"]],standalone:!1,decls:15,vars:9,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),e.DNE(8,tu,2,5,"div",7),e.k0s(),e.nrm(9,"mat-tab-nav-panel",null,0),e.j41(11,"div",8)(12,"button",9),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onLoop(I.selectedSwapType))}),e.EFF(13),e.k0s()(),e.nrm(14,"rtl-swaps",10),e.k0s()()()}if(2&D){const Oe=e.sdS(10);e.R7$(),e.Y8G("icon",I.faInfinity),e.R7$(2),e.SpI("Loop (v",(null==I.loopInfo?null:I.loopInfo.version)||" Unknown",")"),e.R7$(4),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngForOf",I.links),e.R7$(5),e.SpI("Start ",I.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",I.selectedSwapType)("swapsData",I.filteredSwaps)("flgLoading",I.flgLoading)("emptyTableMessage",I.emptyTableMessage)}},dependencies:[w.Sq,os.aY,es.$z,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,lo.Wk,Cd],encapsulation:2}))}return b(),_})();var iu=l(1001),au=l(4412),bl=l(8810),L1=l(2462);let rc=(()=>{var b;class _{constructor(E,D,I,Oe){this.httpClient=E,this.logger=D,this.store=I,this.commonService=Oe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new au.t(null),this.swapsChanged=new au.t({}),this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_BOLTZ_SWAPS})),this.swaps=E,this.swapsChanged.next(this.swaps)},error:E=>this.swapsChanged.error(this.handleErrorWithAlert(_t.MZ.GET_BOLTZ_SWAPS,this.swapUrl,E))})}swapInfo(E){return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/swapInfo/"+E,this.httpClient.get(this.swapUrl).pipe((0,Ys.W)(D=>(0,Tr.of)(this.handleErrorWithAlert(_t.MZ.NO_SPINNER,this.swapUrl,D))))}getBoltzInfo(){this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_BOLTZ_INFO})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[1])).subscribe({next:E=>{this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_BOLTZ_INFO})),this.boltzInfo=E,this.boltzInfoChanged.next(this.boltzInfo)},error:E=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,Tr.of)(this.handleErrorWithoutAlert(_t.MZ.GET_BOLTZ_INFO,this.swapUrl,E)))})}serviceInfo(){return this.store.dispatch((0,Bi.mt)({payload:_t.MZ.GET_SERVICE_INFO})),this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,li.Q)(this.unSubs[2]),(0,us.T)(E=>(this.store.dispatch((0,Bi.y0)({payload:_t.MZ.GET_SERVICE_INFO})),E)),(0,Ys.W)(E=>(0,Tr.of)(this.handleErrorWithAlert(_t.MZ.GET_SERVICE_INFO,this.swapUrl,E))))}swapOut(E,D,I){const Oe={amount:E,address:D,acceptZeroConf:I};return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,Ys.W)(Ct=>this.handleErrorWithoutAlert("Swap Out for Address: "+D,_t.MZ.NO_SPINNER,Ct)))}swapIn(E,D,I){const Oe={amount:E,sendFromInternal:D,refundAddress:I};return this.swapUrl=_t.H$+_t.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,Ys.W)(Ct=>this.handleErrorWithoutAlert("Swap In for Amount: "+E,_t.MZ.NO_SPINNER,Ct)))}handleErrorWithoutAlert(E,D,I){let Oe="";return this.logger.error("ERROR IN: "+E+"\n"+JSON.stringify(I)),this.store.dispatch((0,Bi.y0)({payload:D})),401===I.status?(Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:Oe}))):503===I.status?(Oe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Bi.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:I.status,message:"Unable to Connect to Boltz Server",URL:E},component:L1.f}}}))):Oe=this.commonService.extractErrorMessage(I),(0,bl.$)(()=>new Error(Oe))}handleErrorWithAlert(E,D,I){let Oe="";if(401===I.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:"Authentication Failed: "+JSON.stringify(I.error)}))),this.logger.error(I),this.store.dispatch((0,Bi.y0)({payload:E})),401===I.status)Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bi.ri)({payload:Oe}));else if(503===I.status)Oe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:I.status,message:"Unable to Connect to Boltz Server",URL:D},component:L1.f}}}))},100);else{Oe=this.commonService.extractErrorMessage(I);const Ct=I.error&&I.error.error&&I.error.error.code?I.error.error.code:I.error&&I.error.code?I.error.code:I.code?I.code:I.status;setTimeout(()=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.ERROR,alertTitle:"ERROR",message:{code:Ct,message:Oe,URL:D},component:L1.f}}}))},100)}return{message:Oe}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(nr.Qq),v.KVO(Aa.gP),v.KVO(mi.il),v.KVO(Qo.h))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();const I1=b=>({"display-none":b});function Yr(b,_){1&b&&e.eu8(0)}function n1(b,_){if(1&b&&(e.j41(0,"div",4)(1,"span",5),e.EFF(2),e.k0s()()),2&b){const m=e.XpG();e.R7$(2),e.JRh(null!=m.swapStatus&&m.swapStatus.error?null==m.swapStatus?null:m.swapStatus.error:"Unknown Error.")}}function su(b,_){if(1&b&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Routing Fee (mSats)"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.nI1(5,"number"),e.k0s()()),2&b){const m=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,1,null==m.swapStatus?null:m.swapStatus.routingFeeMilliSat))}}function oc(b,_){if(1&b&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Claim Transaction ID"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.k0s()()),2&b){const m=e.XpG(2);e.R7$(4),e.JRh(null==m.swapStatus?null:m.swapStatus.claimTransactionId)}}function k1(b,_){if(1&b&&(e.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e.EFF(4,"ID"),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s()(),e.DNE(7,su,6,3,"div",9)(8,oc,5,1,"div",9),e.k0s(),e.nrm(9,"mat-divider",10),e.j41(10,"div",6)(11,"div",11)(12,"h4",8),e.EFF(13,"Lockup Address"),e.k0s(),e.j41(14,"span",5),e.EFF(15),e.k0s()()()()),2&b){const m=e.XpG();e.R7$(6),e.JRh(null==m.swapStatus?null:m.swapStatus.id),e.R7$(),e.Y8G("ngIf",m.acceptZeroConf),e.R7$(),e.Y8G("ngIf",m.acceptZeroConf),e.R7$(7),e.JRh(null==m.swapStatus?null:m.swapStatus.lockupAddress)}}function C2(b,_){1&b&&(e.j41(0,"span",22),e.EFF(1,"N/A"),e.k0s())}function Y4(b,_){1&b&&(e.j41(0,"span",23),e.EFF(1,"QR Code Not Applicable"),e.k0s())}function x2(b,_){1&b&&e.nrm(0,"mat-divider",24),2&b&&e.Y8G("inset",!0)}function xd(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Transaction ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.txId)}}function Q4(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",25)(2,"h4",8),e.EFF(3,"ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",25)(7,"h4",8),e.EFF(8,"Expected Amount (Sats)"),e.k0s(),e.j41(9,"span",5),e.EFF(10),e.nI1(11,"number"),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.id),e.R7$(5),e.JRh(e.bMT(11,2,null==m.swapStatus?null:m.swapStatus.expectedAmount))}}function ms(b,_){1&b&&e.nrm(0,"mat-divider",10)}function $4(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Address"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.address)}}function lc(b,_){1&b&&e.nrm(0,"mat-divider",10)}function ru(b,_){if(1&b&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"BIP 21"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&b){const m=e.XpG(2);e.R7$(5),e.JRh(null==m.swapStatus?null:m.swapStatus.bip21)}}function ou(b,_){if(1&b&&(e.j41(0,"div",12)(1,"div",13),e.nrm(2,"qr-code",14),e.DNE(3,C2,2,0,"span",15),e.k0s(),e.j41(4,"div",16)(5,"div",4)(6,"div",17),e.nrm(7,"qr-code",14),e.DNE(8,Y4,2,0,"span",18),e.k0s(),e.DNE(9,x2,1,1,"mat-divider",19)(10,xd,6,1,"div",20)(11,Q4,12,4,"div",20)(12,ms,1,0,"mat-divider",21)(13,$4,6,1,"div",20)(14,lc,1,0,"mat-divider",21)(15,ru,6,1,"div",20),e.k0s()()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("fxLayoutAlign",""!==((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(17,I1,m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))("size",m.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))),e.R7$(3),e.Y8G("fxLayoutAlign",""!==((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(19,I1,m.screenSize!==m.screenSizeEnum.XS&&m.screenSize!==m.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))("size",m.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==m.swapStatus?null:m.swapStatus.txId)||(null==m.swapStatus?null:m.swapStatus.address))),e.R7$(),e.Y8G("ngIf",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM),e.R7$(),e.Y8G("ngIf",m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal),e.R7$(),e.Y8G("ngIf",!m.sendFromInternal)}}let lu=(()=>{var b;class _{constructor(E){this.commonService=E,this.swapStatus=null,this.direction=_t.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=_t.f7,this.swapTypeEnum=_t.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===_t.f7.XS&&(this.qrWidth=180)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},standalone:!1,decls:7,vars:1,consts:[["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","33"],["fxLayoutAlign","start",1,"font-bold-500"],["fxFlex","33",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],["errorCorrectionLevel","L",3,"value","size"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row",4,"ngIf"],["class","w-100 my-1",4,"ngIf"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["fxFlex","50"]],template:function(D,I){if(1&D&&e.DNE(0,Yr,1,0,"ng-container",3)(1,n1,3,1,"ng-template",null,0,e.C5r)(3,k1,16,4,"ng-template",null,1,e.C5r)(5,ou,16,21,"ng-template",null,2,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6);e.Y8G("ngTemplateOutlet",null!=I.swapStatus&&I.swapStatus.error?Oe:I.direction===I.swapTypeEnum.SWAP_OUT?Ct:Bt)}},dependencies:[w.YU,w.bT,w.T3,Hi.q,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Yl.Um,w.QX],encapsulation:2}))}return b(),_})(),O1=(()=>{var b;class _{constructor(){this.serviceInfo={},this.direction=_t.Bd.SWAP_OUT,this.swapTypeEnum=_t.Bd}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},standalone:!1,decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(D,I){1&D&&(e.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e.EFF(4,"Service Information"),e.k0s()()(),e.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e.EFF(9,"Minimum Amount (Sats)"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"number"),e.k0s()(),e.j41(13,"div",4)(14,"h4",5),e.EFF(15,"Maximum Amount (Sats)"),e.k0s(),e.j41(16,"span",6),e.EFF(17),e.nI1(18,"number"),e.k0s()()(),e.nrm(19,"mat-divider",7),e.j41(20,"div",3)(21,"div",4)(22,"h4",5),e.EFF(23,"Fee Percentage"),e.k0s(),e.j41(24,"span",6),e.EFF(25),e.nI1(26,"number"),e.k0s()(),e.j41(27,"div",4)(28,"h4",5),e.EFF(29,"Miner Fee (Sats)"),e.k0s(),e.j41(30,"span",6),e.EFF(31),e.nI1(32,"number"),e.k0s()()()()()),2&D&&(e.Y8G("expanded",!0),e.R7$(11),e.JRh(e.bMT(12,5,null==I.serviceInfo||null==I.serviceInfo.limits?null:I.serviceInfo.limits.minimal)),e.R7$(6),e.JRh(e.bMT(18,7,null==I.serviceInfo||null==I.serviceInfo.limits?null:I.serviceInfo.limits.maximal)),e.R7$(8),e.JRh(e.bMT(26,9,null==I.serviceInfo||null==I.serviceInfo.fees?null:I.serviceInfo.fees.percentage)),e.R7$(6),e.JRh(e.bMT(32,11,I.direction===I.swapTypeEnum.SWAP_OUT?null==I.serviceInfo||null==I.serviceInfo.fees||null==I.serviceInfo.fees.miner?null:I.serviceInfo.fees.miner.reverse:null==I.serviceInfo||null==I.serviceInfo.fees||null==I.serviceInfo.fees.miner?null:I.serviceInfo.fees.miner.normal)))},dependencies:[or.GK,or.Z2,or.WN,Hi.q,Ie.DJ,Ie.sA,Ie.UI,w.QX],encapsulation:2}))}return b(),_})();var Ed=l(6949);const Sc=(b,_)=>({"small-svg":b,"large-svg":_});function cu(b,_){1&b&&e.eu8(0)}function E2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),v.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Submarine Swaps explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Md(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",21),e.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),v.joV(),e.j41(9,"div",18)(10,"mat-card-title"),e.EFF(11,"Step 1: Deciding to Submarine Swap"),e.k0s()(),e.j41(12,"div",19)(13,"mat-card-subtitle",20),e.EFF(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Pc(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",29),e.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.j41(9,"defs")(10,"pattern",37),e.nrm(11,"use",38),e.k0s(),e.nrm(12,"image",39),e.k0s()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Sending the on-chain funds"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function Sd(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",40)(2,"g",41),e.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.k0s(),e.j41(8,"defs")(9,"clipPath",47),e.nrm(10,"rect",48),e.k0s()()(),v.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on Lightning"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function M2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",49),e.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.k0s(),v.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Sc,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}let S2=(()=>{var b;class _{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=_t.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(D,I){if(1&D&&e.DNE(0,cu,1,0,"ng-container",5)(1,E2,18,5,"ng-template",null,0,e.C5r)(3,Md,15,5,"ng-template",null,1,e.C5r)(5,Pc,19,5,"ng-template",null,2,e.C5r)(7,Sd,17,5,"ng-template",null,3,e.C5r)(9,M2,13,5,"ng-template",null,4,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6),yn=e.sdS(8),Yn=e.sdS(10);e.Y8G("ngTemplateOutlet",1===I.stepNumber?Oe:2===I.stepNumber?Ct:3===I.stepNumber?Bt:4===I.stepNumber?yn:Yn)}},dependencies:[w.YU,w.T3,K.Lc,K.dh,Ie.DJ,Ie.sA,Ie.UI,cl.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ed.k]}}))}return b(),_})();const i1=(b,_)=>({"small-svg":b,"large-svg":_});function du(b,_){1&b&&e.eu8(0)}function T2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),v.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Reverse Submarine Swap explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function uu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",21)(2,"g",22),e.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),e.nrm(9,"path",29),e.j41(10,"defs")(11,"clipPath",30),e.nrm(12,"rect",31),e.k0s()()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function hu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",32),e.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.j41(9,"defs")(10,"pattern",40),e.nrm(11,"use",41),e.k0s(),e.nrm(12,"image",42),e.k0s()(),v.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Paying the Lightning Invoice"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function mu(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",43)(2,"g",22),e.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.k0s(),e.j41(8,"defs")(9,"clipPath",30),e.nrm(10,"rect",49),e.k0s()()(),v.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on-chain"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}function R1(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onSwipe(D))}),v.qSk(),e.j41(1,"svg",50),e.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.k0s(),v.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@sliderAnimation",m.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,i1,m.screenSize===m.screenSizeEnum.XS,m.screenSize!==m.screenSizeEnum.XS))}}let fu=(()=>{var b;class _{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=_t.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(D,I){if(1&D&&e.DNE(0,du,1,0,"ng-container",5)(1,T2,18,5,"ng-template",null,0,e.C5r)(3,uu,19,5,"ng-template",null,1,e.C5r)(5,hu,19,5,"ng-template",null,2,e.C5r)(7,mu,17,5,"ng-template",null,3,e.C5r)(9,R1,13,5,"ng-template",null,4,e.C5r),2&D){const Oe=e.sdS(2),Ct=e.sdS(4),Bt=e.sdS(6),yn=e.sdS(8),Yn=e.sdS(10);e.Y8G("ngTemplateOutlet",1===I.stepNumber?Oe:2===I.stepNumber?Ct:3===I.stepNumber?Bt:4===I.stepNumber?yn:Yn)}},dependencies:[w.YU,w.T3,K.Lc,K.dh,Ie.DJ,Ie.sA,Ie.UI,cl.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ed.k]}}))}return b(),_})();const $h=["stepper"],Z4=()=>[1,2,3,4,5],D2=(b,_)=>({"dot-primary":b,"dot-primary-lighter":_});function P1(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.JRh(m.inputFormLabel)}}function S(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Amount is required."),e.k0s())}function F1(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.SpI("Amount must be greater than or equal to ",e.bMT(2,1,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.minimal),".")}}function J4(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.SpI("Amount must be less than or equal to ",e.bMT(2,1,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.maximal),".")}}function Zh(b,_){1&b&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",46),e.EFF(3,"Accept Zero Conf"),e.k0s(),e.j41(4,"mat-icon",47),e.EFF(5,"info_outline"),e.k0s()()())}function q4(b,_){1&b&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",48),e.EFF(3,"Send from Internal Wallet"),e.k0s(),e.j41(4,"mat-icon",49),e.EFF(5,"info_outline"),e.k0s()()())}function Jh(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1," Refund address is required when not using internal wallet. "),e.k0s())}function w2(b,_){1&b&&(e.j41(0,"button",50),e.EFF(1,"Next"),e.k0s())}function Td(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",51),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onSwap())}),e.EFF(1),e.k0s()}if(2&b){const m=e.XpG(2);e.R7$(),e.SpI("Initiate ",m.swapDirectionCaption)}}function A2(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(3);e.JRh(m.addressFormLabel)}}function pu(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Address is required."),e.k0s())}function qh(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-step",15)(1,"form",16),e.DNE(2,A2,1,1,"ng-template",17),e.j41(3,"div",52)(4,"mat-radio-group",53),e.bIt("change",function(D){v.eBV(m);const I=e.XpG(2);return v.Njj(I.onAddressTypeChange(D))}),e.j41(5,"mat-radio-button",54),e.EFF(6,"Node Local Address"),e.k0s(),e.j41(7,"mat-radio-button",55),e.EFF(8,"External Address"),e.k0s()(),e.j41(9,"mat-form-field",56)(10,"mat-label"),e.EFF(11,"Address"),e.k0s(),e.nrm(12,"input",57),e.DNE(13,pu,2,0,"mat-error",24),e.k0s()(),e.j41(14,"div",29)(15,"button",58),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onSwap())}),e.EFF(16),e.k0s()()()()}if(2&b){const m=e.XpG(2);e.Y8G("stepControl",m.addressFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.addressFormGroup),e.R7$(11),e.Y8G("required","external"===m.addressFormGroup.controls.addressType.value),e.R7$(),e.Y8G("ngIf",null==m.addressFormGroup.controls.address.errors?null:m.addressFormGroup.controls.address.errors.required),e.R7$(3),e.SpI("Initiate ",m.swapDirectionCaption)}}function e3(b,_){if(1&b&&e.EFF(0),2&b){const m=e.XpG(2);e.SpI("",m.swapDirectionCaption," Status")}}function L2(b,_){if(1&b&&(e.j41(0,"mat-icon",59),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.swapStatus&&null!=m.swapStatus&&m.swapStatus.id?"check":"close")}}function I2(b,_){1&b&&e.nrm(0,"div")}function gu(b,_){1&b&&e.nrm(0,"mat-progress-bar",60)}function t3(b,_){if(1&b&&(e.j41(0,"h4",61),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.swapStatus&&m.swapStatus.error?m.swapDirectionCaption+" failed.":m.swapStatus&&m.swapStatus.id?m.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":m.swapDirectionCaption+" request placed successfully.")}}function n3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",62),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onRestart())}),e.EFF(1,"Start Again"),e.k0s()}}function _u(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),e.EFF(5),e.k0s()(),e.j41(6,"div",9)(7,"button",10),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.showInfo())}),e.EFF(8,"?"),e.k0s(),e.j41(9,"button",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onClose())}),e.EFF(10,"X"),e.k0s()()(),e.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),e.bIt("selectionChange",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.stepSelectionChanged(D))}),e.j41(15,"mat-step",15)(16,"form",16),e.DNE(17,P1,1,1,"ng-template",17),e.j41(18,"div",18),e.nrm(19,"rtl-boltz-service-info",19),e.k0s(),e.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e.EFF(23,"Amount"),e.k0s(),e.nrm(24,"input",22),e.j41(25,"mat-hint"),e.EFF(26),e.nI1(27,"number"),e.nI1(28,"number"),e.k0s(),e.j41(29,"span",23),e.EFF(30,"Sats"),e.k0s(),e.DNE(31,S,2,0,"mat-error",24)(32,F1,3,3,"mat-error",24)(33,J4,3,3,"mat-error",24),e.k0s(),e.DNE(34,Zh,6,0,"div",25)(35,q4,6,0,"div",25),e.j41(36,"div",26)(37,"mat-form-field",27)(38,"mat-label"),e.EFF(39,"Refund Address"),e.k0s(),e.nrm(40,"input",28),e.j41(41,"mat-hint"),e.EFF(42,"The address where funds will be returned in case of a failed swap"),e.k0s(),e.DNE(43,Jh,2,0,"mat-error",24),e.k0s()()(),e.j41(44,"div",29),e.DNE(45,w2,2,0,"button",30)(46,Td,2,1,"button",31),e.k0s()()(),e.DNE(47,qh,17,6,"mat-step",32),e.j41(48,"mat-step",33)(49,"form",16),e.DNE(50,e3,1,1,"ng-template",17),e.j41(51,"div",34)(52,"mat-expansion-panel",35)(53,"mat-expansion-panel-header")(54,"mat-panel-title")(55,"span",36),e.EFF(56),e.DNE(57,L2,2,1,"mat-icon",37),e.k0s()()(),e.DNE(58,I2,1,0,"div",38),e.k0s(),e.DNE(59,gu,1,0,"mat-progress-bar",39),e.k0s(),e.DNE(60,t3,2,1,"h4",40),e.j41(61,"div",29),e.DNE(62,n3,2,0,"button",41),e.k0s()()()(),e.j41(63,"div",42)(64,"button",43),e.EFF(65,"Close"),e.k0s()()()()()()}if(2&b){const m=e.XpG(),E=e.sdS(2);e.Y8G("@opacityAnimation",void 0),e.R7$(3),e.Y8G("ngClass",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM?"flex-83":"flex-91"),e.R7$(2),e.JRh(m.swapDirectionCaption),e.R7$(),e.Y8G("ngClass",m.screenSize===m.screenSizeEnum.XS||m.screenSize===m.screenSizeEnum.SM?"flex-17":"flex-9"),e.R7$(7),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",m.inputFormGroup)("editable",m.flgEditable),e.R7$(),e.Y8G("formGroup",m.inputFormGroup),e.R7$(3),e.Y8G("serviceInfo",m.serviceInfo)("direction",m.direction),e.R7$(5),e.Y8G("step",1e3),e.R7$(2),e.Lme("Range: ",e.bMT(27,34,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.minimal),"-",e.bMT(28,36,null==m.serviceInfo||null==m.serviceInfo.limits?null:m.serviceInfo.limits.maximal)),e.R7$(5),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.required),e.R7$(),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.min),e.R7$(),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.amount||null==m.inputFormGroup.controls.amount.errors?null:m.inputFormGroup.controls.amount.errors.max),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN&&m.isSendFromInternalCompatible),e.R7$(5),e.Y8G("required",!(null!=m.inputFormGroup&&null!=m.inputFormGroup.controls&&m.inputFormGroup.controls.sendFromInternal.value)),e.R7$(3),e.Y8G("ngIf",null==m.inputFormGroup||null==m.inputFormGroup.controls||null==m.inputFormGroup.controls.refundAddress||null==m.inputFormGroup.controls.refundAddress.errors?null:m.inputFormGroup.controls.refundAddress.errors.required),e.R7$(2),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("stepControl",m.statusFormGroup),e.R7$(),e.Y8G("formGroup",m.statusFormGroup),e.R7$(3),e.Y8G("expanded",!!m.swapStatus),e.R7$(4),e.JRh(m.swapStatus?m.swapStatus.id?m.swapDirectionCaption+" request details":m.swapDirectionCaption+" error details":"Waiting for "+m.swapDirectionCaption+" request..."),e.R7$(),e.Y8G("ngIf",m.swapStatus),e.R7$(),e.Y8G("ngIf",!m.swapStatus)("ngIfElse",E),e.R7$(),e.Y8G("ngIf",!m.swapStatus),e.R7$(),e.Y8G("ngIf",m.swapStatus),e.R7$(2),e.Y8G("ngIf",m.swapStatus&&(m.swapStatus.error||!m.swapStatus.id)),e.R7$(2),e.Y8G("mat-dialog-close",!1)}}function vu(b,_){if(1&b&&e.nrm(0,"rtl-boltz-swap-status",63),2&b){const m=e.XpG();e.Y8G("swapStatus",m.swapStatus)("direction",m.direction)("acceptZeroConf",null==m.inputFormGroup||null==m.inputFormGroup.controls?null:m.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==m.inputFormGroup||null==m.inputFormGroup.controls?null:m.inputFormGroup.controls.sendFromInternal.value)}}function i3(b,_){if(1&b){const m=e.RV6();e.j41(0,"rtl-boltz-swapout-info-graphics",79),e.mxI("stepNumberChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.stepNumber,D)||(I.stepNumber=D),v.Njj(D)}),e.k0s()}if(2&b){const m=e.XpG(2);e.Y8G("animationDirection",m.animationDirection),e.R50("stepNumber",m.stepNumber)}}function yu(b,_){if(1&b){const m=e.RV6();e.j41(0,"rtl-boltz-swapin-info-graphics",79),e.mxI("stepNumberChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.stepNumber,D)||(I.stepNumber=D),v.Njj(D)}),e.k0s()}if(2&b){const m=e.XpG(2);e.Y8G("animationDirection",m.animationDirection),e.R50("stepNumber",m.stepNumber)}}function Fc(b,_){if(1&b){const m=e.RV6();e.j41(0,"span",80),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onStepChanged(D))}),e.nrm(1,"p",81),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.l_i(1,D2,E.stepNumber===m,E.stepNumber!==m))}}function a3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onReadMore())}),e.EFF(1,"Read More"),e.k0s()}}function Dd(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",83),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(4))}),e.EFF(1,"Back"),e.k0s()}}function bu(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",84),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function k2(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",85),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function em(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(D.stepNumber-1))}),e.EFF(1,"Back"),e.k0s()}}function s3(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",87),e.bIt("click",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onStepChanged(D.stepNumber+1))}),e.EFF(1,"Next"),e.k0s()}}function O2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",64)(1,"div",18)(2,"mat-card-header",65)(3,"div",66),e.nrm(4,"span",8),e.k0s(),e.j41(5,"div",67)(6,"button",11),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return D.flgShowInfo=!1,v.Njj(D.stepNumber=1)}),e.EFF(7,"X"),e.k0s()()(),e.j41(8,"mat-card-content",68),e.DNE(9,i3,1,2,"rtl-boltz-swapout-info-graphics",69)(10,yu,1,2,"rtl-boltz-swapin-info-graphics",69),e.k0s(),e.j41(11,"div",70),e.DNE(12,Fc,2,4,"span",71),e.k0s(),e.j41(13,"div",72),e.DNE(14,a3,2,0,"button",73)(15,Dd,2,0,"button",74)(16,bu,2,0,"button",75)(17,k2,2,0,"button",76)(18,em,2,0,"button",77)(19,s3,2,0,"button",78),e.k0s()()()}if(2&b){const m=e.XpG();e.Y8G("@opacityAnimation",void 0),e.R7$(9),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",m.direction===m.swapTypeEnum.SWAP_IN),e.R7$(2),e.Y8G("ngForOf",e.lJ4(10,Z4)),e.R7$(2),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",5===m.stepNumber),e.R7$(),e.Y8G("ngIf",m.stepNumber<5),e.R7$(),e.Y8G("ngIf",m.stepNumber>1&&m.stepNumber<5),e.R7$(),e.Y8G("ngIf",m.stepNumber<5)}}let r3=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn){this.dialogRef=E,this.data=D,this.boltzService=I,this.formBuilder=Oe,this.decimalPipe=Ct,this.logger=Bt,this.commonService=yn,this.faInfoCircle=Ti.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=_t.Bd,this.direction=_t.Bd.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=_t.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||_t.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===_t.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[hi.k0.required,hi.k0.min(this.serviceInfo.limits?.minimal||0),hi.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0],refundAddress:[{value:"",disabled:!0}]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[hi.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.boltzInfo=E,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:E=>{this.boltzInfo={version:"2.0.0"},this.logger.error(E)}})}ngAfterViewInit(){this.direction===_t.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===_t.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.addressFormGroup.setErrors({Invalid:!0})}),this.direction===_t.Bd.SWAP_IN&&this.inputFormGroup.controls.sendFromInternal.valueChanges.pipe((0,li.Q)(this.unSubs[4])).subscribe(()=>{this.onSendFromInternalChange()})}onSendFromInternalChange(){this.inputFormGroup.controls.sendFromInternal.value?(this.inputFormGroup.controls.refundAddress.disable(),this.inputFormGroup.controls.refundAddress.clearValidators(),this.inputFormGroup.controls.refundAddress.updateValueAndValidity()):(this.inputFormGroup.controls.refundAddress.enable(),this.inputFormGroup.controls.refundAddress.setValidators([hi.k0.required]),this.inputFormGroup.controls.refundAddress.updateValueAndValidity())}onAddressTypeChange(E){"external"===E.value?(this.addressFormGroup.controls.address.setValidators([hi.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onSwap(){if(!this.inputFormGroup.controls.amount.value||this.serviceInfo.limits?.minimal&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.serviceInfo.limits?.maximal&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===_t.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===_t.Bd.SWAP_IN){const E=this.inputFormGroup.controls.sendFromInternal.value?null:this.inputFormGroup.controls.refundAddress.value,D=this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null;if(!D&&!E)return this.stepper.selected?.stepControl.setErrors({Invalid:!0}),void(this.flgEditable=!0);this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,D,E).pipe((0,li.Q)(this.unSubs[2])).subscribe({next:I=>{this.swapStatus=I,this.boltzService.listSwaps(),this.flgEditable=!0},error:I=>{this.swapStatus={error:I},this.flgEditable=!0,this.logger.error(I)}})}else this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,li.Q)(this.unSubs[3])).subscribe({next:D=>{this.swapStatus=D,this.boltzService.listSwaps(),this.flgEditable=!0},error:D=>{this.swapStatus={error:D},this.flgEditable=!0,this.logger.error(D)}})}stepSelectionChanged(E){switch(E.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:if(this.inputFormGroup.controls.amount.value)if(this.direction===_t.Bd.SWAP_IN){let D=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No");!this.inputFormGroup.controls.sendFromInternal.value&&this.inputFormGroup.controls.refundAddress.value&&(D+=" | Refund Address: "+this.inputFormGroup.controls.refundAddress.value),this.inputFormLabel=D}else this.inputFormLabel=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No");else this.inputFormLabel="Amount to "+this.swapDirectionCaption;this.addressFormLabel="Withdrawal Address"}E.selectedIndex{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(Ro.Vh),e.rXU(rc),e.rXU(hi.ze),e.rXU(w.QX),e.rXU(Aa.gP),e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(D,I){if(1&D&&e.GBs($h,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.stepper=Oe.first)}},standalone:!1,decls:4,vars:2,consts:[["swapStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"ngClass"],[1,"page-title"],["fxLayoutAlign","end end",3,"ngClass"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch",4,"ngIf"],["disabled","direction === swapTypeEnum.SWAP_IN && isSendFromInternalCompatible && !inputFormGroup?.controls?.sendFromInternal.value","fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"mt-1"],["fxLayout","column","fxFlex","100"],["matInput","","type","text","tabindex","3","formControlName","refundAddress",3,"required"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(D,I){1&D&&e.DNE(0,_u,66,38,"div",2)(1,vu,1,4,"ng-template",null,0,e.C5r)(3,O2,20,11,"div",3),2&D&&(e.Y8G("ngIf",!I.flgShowInfo),e.R7$(3),e.Y8G("ngIf",I.flgShowInfo))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.Q0,hi.BC,hi.cb,hi.YS,hi.j4,hi.JD,Ro.tx,es.$z,K.m2,K.MM,or.GK,or.Z2,or.WN,qc.An,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Ma.yw,vd.HM,dd.VT,dd._g,Ie.DJ,Ie.sA,Ie.UI,cl.PW,bc.sG,fd.oV,Yo.V5,Yo.Ti,Yo.M6,Yo.F7,Kl.N,lu,O1,S2,fu,w.QX],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[iu.C]}}))}return b(),_})();const o3=()=>["all"],R2=b=>({"overflow-auto error-border":b,"overflow-auto":!0}),N1=()=>["no_swap"],a1=b=>({width:b}),Cu=b=>({"display-none":b});function xu(b,_){if(1&b&&(e.j41(0,"mat-option",42),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.Y8G("value",m),e.R7$(),e.JRh(E.getLabel(m))}}function Eu(b,_){1&b&&e.nrm(0,"mat-progress-bar",43)}function tm(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Status"),e.k0s())}function Mu(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.JRh(E.swapStateEnum[null==m?null:m.status])}}function P2(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Swap ID"),e.k0s())}function F2(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.id)}}function N2(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Claim Address"),e.k0s())}function B2(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.claimAddress)}}function l3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Lockup Address"),e.k0s())}function c3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.lockupAddress)}}function d3(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Onchain Amount (Sats)"),e.k0s())}function Su(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.onchainAmount))}}function z2(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Expected Amount (Sats)"),e.k0s())}function u3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.expectedAmount))}}function wd(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Error"),e.k0s())}function h3(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.error)}}function Ad(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Private Key"),e.k0s())}function Ld(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.privateKey)}}function nm(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Preimage"),e.k0s())}function Tu(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.preimage)}}function B1(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Redeem Script"),e.k0s())}function Id(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.redeemScript)}}function m3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Invoice"),e.k0s())}function V2(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,a1,E.screenSize===E.screenSizeEnum.XS?"6rem":E.colWidth)),e.R7$(2),e.JRh(null==m?null:m.invoice)}}function f3(b,_){1&b&&(e.j41(0,"th",48),e.EFF(1,"Timeout Block Height"),e.k0s())}function kd(b,_){if(1&b&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&b){const m=_.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==m?null:m.timeoutBlockHeight))}}function p3(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Lockup Tx ID"),e.k0s())}function cc(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.lockupTransactionId)}}function Nc(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Claim Tx ID"),e.k0s())}function im(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.claimTransactionId)}}function am(b,_){1&b&&(e.j41(0,"th",44),e.EFF(1,"Refund Tx ID"),e.k0s())}function z1(b,_){if(1&b&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.R7$(),e.JRh(null==m?null:m.refundTransactionId)}}function g3(b,_){if(1&b){const m=e.RV6();e.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",53),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function Du(b,_){if(1&b){const m=e.RV6();e.j41(0,"td",54)(1,"button",55),e.bIt("click",function(D){const I=v.eBV(m).$implicit,Oe=e.XpG();return v.Njj(Oe.onSwapClick(I,D))}),e.EFF(2,"View Info"),e.k0s()()}}function wu(b,_){if(1&b&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(2);e.R7$(),e.JRh(m.emptyTableMessage)}}function Au(b,_){if(1&b&&(e.j41(0,"td",56),e.DNE(1,wu,2,1,"p",57),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=m.listSwaps&&m.listSwaps.data)||(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)<1)}}function _3(b,_){if(1&b&&e.nrm(0,"tr",58),2&b){const m=e.XpG();e.Y8G("ngClass",e.eq3(1,Cu,(null==m.listSwaps?null:m.listSwaps.data)&&(null==m.listSwaps||null==m.listSwaps.data?null:m.listSwaps.data.length)>0))}}function Lu(b,_){1&b&&e.nrm(0,"tr",59)}function v3(b,_){1&b&&e.nrm(0,"tr",60)}let Iu=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.commonService=D,this.store=I,this.boltzService=Oe,this.camelCaseWithReplace=Ct,this.selectedSwapType=_t.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=_t._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:_t.md,sortBy:"status",sortOrder:_t.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:_t.md,sortBy:"status",sortOrder:_t.oi.DESCENDING},this.swapStateEnum=_t.q9,this.swapTypeEnum=_t.Bd,this.faHistory=Ti.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Ra.I6([]),this.selFilter="",this.pageSize=_t.md,this.pageSizeOptions=_t.xp,this.screenSize="",this.screenSizeEnum=_t.f7,this.unSubs=[new gi.B,new gi.B,new gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(E){E.selectedSwapType&&!E.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===_t.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(md.$G).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.tableSettingSwapOut=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapOut.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=E.pageSettings.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapIn.tableId)||_t.ZC.find(D=>D.pageId===this.PAGE_ID)?.tables.find(D=>D.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===_t.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:_t.md):(this.displayedColumns=this.screenSize===_t.f7.XS||this.screenSize===_t.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:_t.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(E){const I=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===_t.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Oe=>Oe.column===E);return I?I.label?I.label:this.camelCaseWithReplace.transform(I.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,D)=>{let I="";switch(this.selFilterBy){case"all":I=JSON.stringify(E).toLowerCase();break;case"status":I=E?.status?this.swapStateEnum[E?.status]:"";break;default:I=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===I.indexOf(D):I.includes(D)}}onSwapClick(E,D){this.boltzService.swapInfo(E.id||"").pipe((0,li.Q)(this.unSubs[1])).subscribe(I=>{this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:_t.q9[(I=this.selectedSwapType===_t.Bd.SWAP_IN?I.swap:I.reverseSwap).status],title:"Status",width:50,type:_t.UN.STRING},{key:"id",value:I.id,title:"ID",width:50,type:_t.UN.STRING}],[{key:"amount",value:I.onchainAmount?I.onchainAmount:I.expectedAmount?I.expectedAmount:0,title:I.onchainAmount?"Onchain Amount (Sats)":I.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:_t.UN.NUMBER},{key:"timeoutBlockHeight",value:I.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:_t.UN.NUMBER}],[{key:"address",value:I.claimAddress?I.claimAddress:I.lockupAddress?I.lockupAddress:"",title:I.claimAddress?"Claim Address":I.lockupAddress?"Lockup Address":"Address",width:100,type:_t.UN.STRING}],[{key:"invoice",value:I.invoice,title:"Invoice",width:100,type:_t.UN.STRING}],[{key:"privateKey",value:I.privateKey,title:"Private Key",width:100,type:_t.UN.STRING}],[{key:"preimage",value:I.preimage,title:"Preimage",width:100,type:_t.UN.STRING}],[{key:"redeemScript",value:I.redeemScript,title:"Redeem Script",width:100,type:_t.UN.STRING}],[{key:"lockupTransactionId",value:I.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:_t.UN.STRING},{key:"transactionId",value:I.claimTransactionId?I.claimTransactionId:I.refundTransactionId?I.refundTransactionId:"",title:I.claimTransactionId?"Claim Transaction ID":I.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:_t.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=new Ra.I6(E?[...E]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(D,I)=>D[I]&&isNaN(D[I])?D[I].toLocaleLowerCase():D[I]?+D[I]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===_t.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(rc),e.rXU(dl.VD))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-swaps"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Oc.B4,5),e.GBs(kc.iy,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sort=Oe.first),e.mGM(Oe=e.lsd())&&(I.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:sl.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:kc.xX,useValue:(0,_t.on)("Swaps")}]),e.OA$],decls:76,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilterBy,Bt)||(I.selFilterBy=Bt),v.Njj(Bt)}),e.bIt("selectionChange",function(){return v.eBV(Oe),I.selFilter="",v.Njj(I.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,xu,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.selFilter,Bt)||(I.selFilter=Bt),v.Njj(Bt)}),e.bIt("input",function(){return v.eBV(Oe),v.Njj(I.applyFilter())})("keyup",function(){return v.eBV(Oe),v.Njj(I.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,Eu,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,tm,2,0,"th",16)(24,Mu,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,P2,2,0,"th",16)(27,F2,2,1,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,N2,2,0,"th",16)(30,B2,4,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,l3,2,0,"th",16)(33,c3,4,4,"td",17),e.bVm(),e.qex(34,21),e.DNE(35,d3,2,0,"th",22)(36,Su,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,z2,2,0,"th",22)(39,u3,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,wd,2,0,"th",16)(42,h3,4,4,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,Ad,2,0,"th",16)(45,Ld,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,nm,2,0,"th",16)(48,Tu,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,B1,2,0,"th",16)(51,Id,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,m3,2,0,"th",16)(54,V2,4,4,"td",17),e.bVm(),e.qex(55,29),e.DNE(56,f3,2,0,"th",22)(57,kd,4,3,"td",17),e.bVm(),e.qex(58,30),e.DNE(59,p3,2,0,"th",16)(60,cc,2,1,"td",17),e.bVm(),e.qex(61,31),e.DNE(62,Nc,2,0,"th",16)(63,im,2,1,"td",17),e.bVm(),e.qex(64,32),e.DNE(65,am,2,0,"th",16)(66,z1,2,1,"td",17),e.bVm(),e.qex(67,33),e.DNE(68,g3,6,0,"th",34)(69,Du,3,0,"td",35),e.bVm(),e.qex(70,36),e.DNE(71,Au,2,1,"td",37),e.bVm(),e.DNE(72,_3,1,3,"tr",38)(73,Lu,1,0,"tr",39)(74,v3,1,0,"tr",40),e.k0s(),e.nrm(75,"mat-paginator",41),e.k0s()()()}2&D&&(e.R7$(3),e.Y8G("icon",I.faHistory),e.R7$(2),e.SpI("",I.swapCaption," History"),e.R7$(5),e.R50("ngModel",I.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,o3).concat(I.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",I.selFilter),e.R7$(3),e.Y8G("ngIf",!0===I.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",I.selectedSwapType===I.swapTypeEnum.SWAP_IN?I.tableSettingSwapIn.sortBy:I.tableSettingSwapOut.sortBy)("matSortDirection",I.selectedSwapType===I.swapTypeEnum.SWAP_IN?I.tableSettingSwapIn.sortOrder:I.tableSettingSwapOut.sortOrder)("dataSource",I.listSwaps)("ngClass",e.eq3(17,R2,"error"===I.flgLoading[0])),e.R7$(52),e.Y8G("matFooterRowDef",e.lJ4(19,N1)),e.R7$(),e.Y8G("matHeaderRowDef",I.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",I.displayedColumns),e.R7$(),e.Y8G("pageSize",I.pageSize)("pageSizeOptions",I.pageSizeOptions)("showFirstLastButtons",I.screenSize!==I.screenSizeEnum.XS))},dependencies:[w.YU,w.Sq,w.bT,w.B3,hi.me,hi.BC,hi.vS,os.aY,es.$z,br.fg,Ma.rl,Ma.nJ,vd.HM,Ie.DJ,Ie.sA,Ie.UI,cl.PW,cl.eI,sl.VO,sl.$2,ac.wT,Oc.B4,Oc.aE,Ra.Zl,Ra.tL,Ra.ji,Ra.cC,Ra.YV,Ra.iL,Ra.Zq,Ra.xW,Ra.KS,Ra.$R,Ra.Qo,Ra.YZ,Ra.NB,Ra.iF,kc.iy,go.ZF,go.Ld,w.QX],encapsulation:2}))}return b(),_})();const y3=b=>["../",b];function U2(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",16),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onSelectedIndexChange(D))}),e.EFF(1),e.k0s()}if(2&b){const m=_.$implicit,E=e.XpG();e.Y8G("active",E.activeTab.link===m.link)("routerLink",e.eq3(3,y3,m.link)),e.R7$(),e.JRh(m.name)}}let sm=(()=>{var b;class _{constructor(E,D,I){this.router=E,this.store=D,this.boltzService=I,this.swapTypeEnum=_t.Bd,this.selectedSwapType=_t.Bd.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const E=this.links.find(D=>this.router.url.includes(D.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"swapin"===E.link?_t.Bd.SWAP_IN:_t.Bd.SWAP_OUT,this.router.events.pipe((0,li.Q)(this.unSubs[0]),(0,za.p)(D=>D instanceof Ha.gx)).subscribe({next:D=>{const I=this.links.find(Oe=>D.urlAfterRedirects.includes(Oe.link));this.activeTab=I||this.links[0],this.selectedSwapType=I&&"swapin"===I.link?_t.Bd.SWAP_IN:_t.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,li.Q)(this.unSubs[1])).subscribe({next:D=>{this.swaps=D,this.swapsData=this.selectedSwapType===_t.Bd.SWAP_IN&&D.swaps?D.swaps:this.selectedSwapType===_t.Bd.SWAP_OUT&&D.reverseSwaps?D.reverseSwaps:[],this.flgLoading[0]=!1},error:D=>{this.flgLoading[0]="error",this.emptyTableMessage=D.message?D.message:"No swap "+(this.selectedSwapType===_t.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){"swapin"===E.link?(this.selectedSwapType=_t.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=_t.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(E){this.boltzService.serviceInfo().pipe((0,li.Q)(this.unSubs[2])).subscribe({next:D=>{this.store.dispatch((0,Bi.xO)({payload:{data:{serviceInfo:D,direction:E,component:r3}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.Ix),e.rXU(mi.il),e.rXU(rc))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-boltz-root"]],standalone:!1,decls:20,vars:7,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1),v.qSk(),e.j41(1,"svg",2)(2,"g",3)(3,"g",4),e.nrm(4,"circle",5)(5,"path",6)(6,"path",7),e.k0s()()(),v.joV(),e.j41(7,"span",8),e.EFF(8,"Boltz"),e.k0s()(),e.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),e.DNE(13,U2,2,5,"div",12),e.k0s(),e.nrm(14,"mat-tab-nav-panel",null,0),e.j41(16,"div",13)(17,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onSwap(I.selectedSwapType))}),e.EFF(18),e.k0s()(),e.nrm(19,"rtl-boltz-swaps",15),e.k0s()()()}if(2&D){const Oe=e.sdS(15);e.R7$(12),e.Y8G("tabPanel",Oe),e.R7$(),e.Y8G("ngForOf",I.links),e.R7$(5),e.SpI("Start ",I.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",I.selectedSwapType)("swapsData",I.swapsData)("flgLoading",I.flgLoading)("emptyTableMessage",I.emptyTableMessage)}},dependencies:[w.Sq,es.$z,K.RN,K.m2,Ie.DJ,Ie.sA,Ie.UI,Ut.Bu,Ut.hQ,Ut.Ql,lo.Wk,Iu],encapsulation:2}))}return b(),_})();class Vr{constructor(_){this.help=_}}function Ou(b,_){if(1&b&&(e.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.k0s()(),e.j41(4,"mat-panel-description",9),e.nrm(5,"span",10),e.j41(6,"a",11),e.EFF(7),e.k0s()()()),2&b){const m=e.XpG().$implicit,E=e.XpG();e.R7$(3),e.JRh(m.help.question),e.R7$(2),e.Y8G("innerHTML",m.help.answer,e.npT),e.R7$(),e.Y8G("routerLink",E.flgLoggedIn?m.help.link:"/login"),e.R7$(),e.JRh(E.flgLoggedIn?m.help.linkCaption:"Login to go to the page")}}function b3(b,_){if(1&b&&(e.j41(0,"div",6),e.DNE(1,Ou,8,4,"mat-expansion-panel",7),e.k0s()),2&b){const m=_.$implicit,E=e.XpG();e.R7$(),e.Y8G("ngIf","ALL"===m.help.lnImplementation||m.help.lnImplementation===E.selNode.lnImplementation)}}let s1=(()=>{var b;class _{constructor(E,D){this.store=E,this.sessionService=D,this.helpTopics=[],this.faQuestion=Ti.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.flgLoggedIn=!!E.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Vr({question:"Getting started",answer:'Funding your node is the first step to get started.\nGo to the "On-chain" page of the app:\n1. Generate a new address on the "Recieve" tab.\n2. Send funds to the address.\n3. Wait for the balance to be confirmed on-chain before proceeding further.\n3. Connecting with network peers and opening channels is next.\n',link:this.LNPLink+"onchain/receive/utxos",linkCaption:"On-Chain",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Connect with peers",answer:'Connect with network peers to open channels with them.\nGo to "Peer/Channels" page under the "Lightning" menu :\n1. Get the peer pubkey and host address in the pubkey@ip:port format.\n2. On the "Peers" enter the peer address and connect.\n3. Once the peer is connected, you can open channel with the peer.\n4. A variety of actions can be performed on the connected peers page for each peer:\n a. View Info - View the peer details.\n b. Open Channel - Open channel with the peer.\n c. Disconnect - Disconnect from the peer.\n',link:this.LNPLink+"connections/peers",linkCaption:"Peers",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Opening Channels",answer:'Open channels with a connected peer.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. On the "Channels" section, click on "Open Channel"\n2. On the "Open Channel" modal, select the alias of the connected peer from the drop-down\n2. Specify the amount to commit to the channel and click on "Open Channel".\n3. There are a variety of options available while opening a channel. \n a. Private Channel - When this option is selected, a private channel is opened with the peer. \n b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/vByte. \n c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n4. Track the pending open channels under the "Pending" tab. \n5. Wait for the channel to be confirmed. Only a confimed channel can be used for payments or routing. \n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Channel Management",answer:'Channel maintenance and balance score.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. A variety of actions can be perfomed on the open channels under the "Open" tab, with the "Actions" button:\n a. View Info - View the channel details.\n b. View Remote Fee - View the fee policy on the channel of the remote peer.\n c. Update Fee Policy - Modify the fee policy on the channel.\n d. Circular Rebalance - Off-chain rebalance channels by making a payment to yourself across a circular path of chained payment channels.\n e. Close Channel - Close the channel.\n2. Balance Score is a "balancedness" metric score for the channel. \n a. It helps measure how balanced the remote and local balances are, on a channel.\n b. A perfectly balanced channel has a score of one, where as a completely lopsided one has a score of zero.\n c. The formula for calculating the score is "1 - abs((local bal - remote bal)/total bal)".\n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Buying Liquidity",answer:'Buying liquidity for your node.\nGo to "Liquidity Ads" page under the "Lightning" menu:\n 1. Filter ads by liquidity amount and channel opening fee rate.\n 2. Research additionally on liquidity provider nodes before selecting.\n 3. Select the best liquidity node peer for your need and click on "Open Channel" from "Actions" drop-down.\n 4. Confirm amount, rates and total cost on the modal and click on "Execute" to buy liquidity.\n',link:this.LNPLink+"liquidityads",linkCaption:"Liquidity Ads",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Payments",answer:'Sending Payments from your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayments tab is for making payments via your node\n 1. Input a non-expired lightning invoice (Bolt11 format) in the "Payment Request" field and click on "Send Payment" to send.\n 2. Advanced option # 1 (LND only) - Specify a limit on the routing fee which you are willing to pay, for the payment.\n 3. Advanced option # 2 (LND only) - Specify the outgoing channel which you want the payment to go through.\n',link:this.LNPLink+"transactions/payments",linkCaption:"Payments",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Invoices",answer:'Receiving Payments on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nInvoices tab is for receiving payments on your node.\n 1. Memo - Description you want to provide on the invoice.\n 2. Expiry - The time period, after which the invoice will be invalid.\n 3. Private Routing Hints - Generate an invoice with routing hints for private channels.\n',link:this.LNPLink+"transactions/invoices",linkCaption:"Invoices",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Channel Backups",answer:'Channel Backups are important to ensure that you have means to recover funds in case of node failures.\nBackup folder location can be customized in the RTL config file with the channelBackupPath field.\nRTL automatically creates all channel backup on server startup, as well as everytime a channel is opened or closed\nYou can verify the all channel backup file by clicking on "Verify All" Button on the backup page.\nYou can also backup each channel individually and verify them.\n** Keep taking backups of your channels regularly and store them in redundant locations **.\n',link:this.LNPLink+"channelbackup/bckup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Channel Restore",answer:'Channel Restore is used to recover funds from the channel backup files in case of node failures.\nFollow the below steps to perform fund restoration.\n\nPrerequisite:\n1. The node has been restored with the LND recovery seed.\n2. RTL generated channel backup file/s is available (all channel backup file is channel-all.bak).\n\nRecovery:\n1. Create a restore folder in your folder backup location, as specified in the RTL config file.\n2. Place the channel backup file in the restore folder.\n3. Go to the "Restore" tab under the "Backup" page of RTL.\n4. RTL will list the options to restore funds from the all channel file or individual channel backup file.\n5. Click on the Restore icon on the grid to restore the funds.\n6. Once the restore function is executed successfully, RTL will rename the backup file and it will not be accessible from the UI.\n7. Restore function will force close the channels and recover the funds from them.\n8. The pending close channels can be viewed under the "Pending" tab on the "Peer/Channels" page.\n9. Once the channel is closed, the corresponding pending on-chain transactions can be viewed on the "On-Chain" page.\n10. Once the transactions are confirmed, the channels funds will be restored to your LND Wallet.\n',link:this.LNPLink+"channelbackup/restore",linkCaption:"Channel Restore",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Forwarding History",answer:'Transactions routed by the node.\nGo to "Routing" page under the "Lightning" menu :\nTransactions routed by the node are listed on this page along with channels and the fee earned by transaction.\n',link:this.LNPLink+"routing/forwardinghistory",linkCaption:"Forwarding History",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Lightning Reports",answer:'Routing and transactions data reports.\nGo to "Reports" page under the "Lightning" menu :\nReport can be generated on monthly/yearly basis by selecting the reporting period, month, and year.\n',link:this.LNPLink+"reports/routingreport",linkCaption:"Reports",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Graph Lookup",answer:'Querying your node graph for network node and channel information.\nGo to "Graph Lookup" page under the "Lightning" menu :\nEach node maintains a network graph for the information on all the nodes and channels on the network.\nYou can lookup information on nodes and channels from your graph:\n 1. Node Lookup - Enter the pubkey to perform the lookup.\n 2. Channel Lookup - Enter the short channel ID to perform the lookup.\n',link:this.LNPLink+"graph/lookups",linkCaption:"Graph Lookup",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Query Route",answer:'Querying Payment Routes.\nGo to the "Graph Lookup" page under the "Lightning" menu :\nQuery Routes tab is for querying a potential path to a node and a routing fee estimate for a payment amount.\n 1. Destination Pubkey - Pubkey of the node, you want to send the payment to.\n 2. Amount - Amount in Sats, which you want to send to the node.\n',link:this.LNPLink+"graph/queryroutes",linkCaption:"Query Routes",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"LND"})),this.helpTopics.push(new Vr({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"CLN"})),this.helpTopics.push(new Vr({question:"Node Settings",answer:'RTL offers certain customizations on the UI to personalize your experience on the app\nGo to "Node Config" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Other customizations include day and night mode and a choice of color themes to select from.\nServices Options\n Loop (LND only), Boltz (LND only) & Peerswap (CLN only) services can be configured.\nExperimental Options (CLN only)\n Offers and Liquidity Ads can be enabled/disabled.\nShow LN Config (if configured)\n Shows lightning config file.\n',link:"../config/nodesettings",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new Vr({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(mi.il),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-help"]],standalone:!1,decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Help"),e.k0s()(),e.j41(5,"div",4)(6,"div",0),e.DNE(7,b3,2,1,"div",5),e.k0s()()()),2&D&&(e.R7$(2),e.Y8G("icon",I.faQuestion),e.R7$(5),e.Y8G("ngForOf",I.helpTopics))},dependencies:[w.Sq,w.bT,os.aY,or.GK,or.Z2,or.WN,or.Q6,Ie.DJ,Ie.sA,Ie.UI,lo.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}))}return b(),_})();var Ru=l(4572);function H2(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}let Pu=(()=>{var b;class _{constructor(E,D){this.dialogRef=E,this.store=D,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Bi.R$)({payload:{twoFAToken:this.token}}))}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ro.CP),e.rXU(mi.il))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-login-token"]],standalone:!1,decls:19,vars:2,consts:[["tokenForm","ngForm"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Two Factor Token"),e.k0s()(),e.j41(6,"button",6),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onClose())}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"form",8,0),e.bIt("ngSubmit",function(){return v.eBV(Oe),v.Njj(I.onVerifyToken())}),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"Token"),e.k0s(),e.j41(14,"input",9),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.token,Bt)||(I.token=Bt),v.Njj(Bt)}),e.k0s(),e.DNE(15,H2,2,0,"mat-error",10),e.k0s(),e.j41(16,"div",11)(17,"button",12),e.EFF(18,"Verify Token"),e.k0s()()()()()()}2&D&&(e.R7$(14),e.R50("ngModel",I.token),e.R7$(),e.Y8G("ngIf",!I.token))},dependencies:[w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,K.m2,K.MM,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ie.DJ,Ie.sA,Ie.UI,Kl.N],encapsulation:2}))}return b(),_})();const C3=b=>({"padding-gap-large":b}),r1=(b,_)=>({"font-size-200":b,"font-size-300":_});function Fu(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function Nu(b,_){if(1&b&&(e.j41(0,"p",21)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&b){const m=e.XpG();e.R7$(3),e.SpI(" ",m.loginErrorMessage," ")}}function Bc(b,_){if(1&b&&(e.j41(0,"p",23)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&b){const m=e.XpG();e.R7$(3),e.SpI(" ",m.logoutReason," ")}}let W2=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.actions=E,this.logger=D,this.store=I,this.rtlEffects=Oe,this.commonService=Ct,this.sessionService=Bt,this.faUnlockAlt=Ti.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=_t.f7,this.loginErrorMessage="",this.apiCallStatusEnum=_t.wn,this.unSubs=[new gi.B,new gi.B,new gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,Ru.z)([this.store.select(Oa.Kq),this.store.select(Oa.E2)]).pipe((0,li.Q)(this.unSubs[0])).subscribe(([D,I])=>{this.loginErrorMessage="",D.status===_t.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof D.message?JSON.stringify(D.message):D.message),this.logger.error(D.message)),I.status===_t.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof I.message?JSON.stringify(I.message):I.message),this.logger.error(I.message))}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{this.appConfig=D,this.logger.info(D)}),this.actions.pipe((0,za.p)(D=>D.type===_t.aU.LOGOUT),(0,Dr.s)(1)).subscribe(D=>{this.logoutReason=D.payload});const E=this.sessionService.getItem("logoutReason");E&&(this.logoutReason=E,this.sessionService.removeItem("logoutReason"))}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Bi.xO)({payload:{maxWidth:"35rem",data:{component:Pu}}})),this.rtlEffects.closeAlert.pipe((0,Dr.s)(1)).subscribe(E=>{E&&this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.password),defaultPassword:_t.Ah.includes(this.password.toLowerCase()),twoFAToken:E.twoFAToken}}))})):this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.password),defaultPassword:_t.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Uo.En),e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Qo.h),e.rXU(ji.Q))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-login"]],standalone:!1,decls:29,vars:14,consts:[["loginForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["class","color-warn pre-wrap","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","color-warn pre-wrap","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"],["fxLayoutAlign","center center",1,"mr-3px","icon-small"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),e.nrm(5,"img",6),e.k0s(),e.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),e.EFF(10,"Welcome"),e.k0s()()(),e.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),e.EFF(16,"Password"),e.k0s(),e.j41(17,"input",13),e.mxI("ngModelChange",function(Bt){return v.eBV(Oe),e.DH7(I.password,Bt)||(I.password=Bt),v.Njj(Bt)}),e.k0s(),e.j41(18,"button",14),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.flgShow=!I.flgShow)}),e.j41(19,"mat-icon"),e.EFF(20),e.k0s()(),e.DNE(21,Fu,2,0,"mat-error",15),e.k0s(),e.DNE(22,Nu,4,1,"p",16)(23,Bc,4,1,"p",17),e.j41(24,"div",18)(25,"button",19),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.resetData())}),e.EFF(26,"Clear"),e.k0s(),e.j41(27,"button",20),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onLogin())}),e.EFF(28,"Login"),e.k0s()()()()()()()()()}2&D&&(e.R7$(6),e.Y8G("ngClass",e.eq3(9,C3,I.screenSize===I.screenSizeEnum.XS)),e.R7$(2),e.Y8G("ngClass",e.l_i(11,r1,I.screenSize===I.screenSizeEnum.XS,I.screenSize!==I.screenSizeEnum.XS)),e.R7$(9),e.Y8G("type",I.flgShow?"text":"password"),e.R50("ngModel",I.password),e.R7$(),e.BMQ("aria-label","Hide password"),e.R7$(2),e.JRh(I.flgShow?"visibility_off":"visibility"),e.R7$(),e.Y8G("ngIf",!I.password),e.R7$(),e.Y8G("ngIf",""!==I.loginErrorMessage),e.R7$(),e.Y8G("ngIf",""!==I.logoutReason))},dependencies:[w.YU,w.bT,hi.qT,hi.me,hi.BC,hi.cb,hi.YS,hi.vS,hi.cV,es.$z,Jc.iY,K.RN,K.m2,K.MM,K.dh,qc.An,br.fg,Ma.rl,Ma.nJ,Ma.TL,Ma.yw,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Kl.N],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width:37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]}))}return b(),_})();var V1=l(13);let x3=(()=>{var b;class _{constructor(E,D){this.activatedRoute=E,this.router=D,this.error={errorCode:"",errorMessage:""},this.faTimes=Ti.GRI,this.unsubs=[new gi.B,new gi.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,li.Q)(this.unsubs[0])).subscribe(E=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Ha.nX),e.rXU(Ha.Ix))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-error"]],standalone:!1,decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e.nrm(4,"fa-icon",4),e.j41(5,"span",5),e.EFF(6),e.k0s()()(),e.j41(7,"mat-card-content",6)(8,"div",7),e.EFF(9),e.k0s(),e.j41(10,"span",8)(11,"button",9),e.bIt("click",function(){return I.goToHelp()}),e.EFF(12,"Go To Help"),e.k0s()()()()()),2&D&&(e.R7$(4),e.Y8G("icon",I.faTimes),e.R7$(2),e.SpI("Error ",I.error.errorCode),e.R7$(3),e.JRh(I.error.errorMessage))},dependencies:[os.aY,es.$z,K.RN,K.m2,K.MM,K.dh,Ie.DJ,Ie.sA,Ie.UI],encapsulation:2}))}return b(),_})();var co=l(7186),o1=l(1534),om=l(92),lm=l(6114);const U1=(b,_)=>({"alert-danger":b,"alert-info":_});function E3(b,_){1&b&&e.nrm(0,"span",17)}function Od(b,_){1&b&&e.nrm(0,"span",18)}function X2(b,_){if(1&b){const m=e.RV6();e.j41(0,"form",19,0)(2,"div",20),e.nrm(3,"fa-icon",4),e.j41(4,"span"),e.EFF(5,"Please ensure that "),e.j41(6,"strong"),e.EFF(7,"experimental-offers"),e.k0s(),e.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(9,"strong")(10,"a",21),e.EFF(11,"here"),e.k0s()(),e.EFF(12," to learn more about Core Lightning offers."),e.k0s()(),e.j41(13,"h4",22),e.EFF(14,"Description"),e.k0s(),e.j41(15,"span"),e.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.k0s(),e.j41(17,"h4",22),e.EFF(18,"Links"),e.k0s(),e.j41(19,"span")(20,"a",23),e.EFF(21,"Core lightning Bolt12"),e.k0s()(),e.nrm(22,"mat-divider",24),e.j41(23,"div",25),e.nrm(24,"fa-icon",4),e.j41(25,"span"),e.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.k0s()(),e.j41(27,"mat-slide-toggle",26),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(2);return e.DH7(I.enableOffers,D)||(I.enableOffers=D),v.Njj(D)}),e.bIt("change",function(){v.eBV(m);const D=e.XpG(2);return v.Njj(D.onUpdateFeature())}),e.EFF(28),e.k0s()()}if(2&b){const m=e.XpG(2);e.R7$(3),e.Y8G("icon",m.faInfoCircle),e.R7$(19),e.Y8G("inset",!0),e.R7$(2),e.Y8G("icon",m.faExclamationTriangle),e.R7$(3),e.R50("ngModel",m.enableOffers),e.R7$(),e.SpI("Enable Offers ",m.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"")}}function M3(b,_){if(1&b&&(e.j41(0,"div")(1,"div",29),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"experimental-dual-fund"),e.k0s(),e.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(8,"strong")(9,"a",30),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about Core Lightning Liquidity Ads."),e.k0s()()()),2&b){const m=e.XpG(3);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle)}}function S3(b,_){if(1&b&&(e.j41(0,"mat-option",47),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m),e.R7$(),e.SpI(" ",e.bMT(2,2,m.id)," ")}}function cm(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.SpI("",m.selPolicyType.placeholder," is required.")}}function T3(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.Lme("",m.selPolicyType.placeholder," must be greater than or equal to ",m.selPolicyType.min,".")}}function D3(b,_){if(1&b&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&b){const m=e.XpG(4);e.R7$(),e.Lme("",m.selPolicyType.placeholder," must be less than or equal to ",m.selPolicyType.max,".")}}function dm(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base fee is required."),e.k0s())}function Nf(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base basis is required."),e.k0s())}function w3(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing base fee is required."),e.k0s())}function A3(b,_){1&b&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing fee rate is required."),e.k0s())}function l1(b,_){if(1&b&&(e.j41(0,"h4",48)(1,"span",49),e.EFF(2),e.k0s()()),2&b){const m=e.XpG(4);e.R7$(),e.Y8G("ngClass",e.l_i(2,U1,!!m.updateMsg.error,!!m.updateMsg.data)),e.R7$(),e.SpI(" ",m.updateMsg.error&&""!==m.updateMsg.error?`Error: ${m.updateMsg.error||"Unknown Error"}`:m.updateMsg.data&&""!==m.updateMsg.data?m.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function um(b,_){if(1&b){const m=e.RV6();e.j41(0,"div",31)(1,"div",32),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),e.k0s()(),e.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),e.EFF(8,"Policy"),e.k0s(),e.j41(9,"mat-select",35),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.selPolicyType,D)||(I.selPolicyType=D),v.Njj(D)}),e.bIt("selectionChange",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.policyMod=null)}),e.DNE(10,S3,3,4,"mat-option",36),e.k0s()(),e.j41(11,"mat-form-field",37)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"input",38,1),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.policyMod,D)||(I.policyMod=D),v.Njj(D)}),e.k0s(),e.j41(16,"mat-hint"),e.EFF(17),e.k0s(),e.DNE(18,cm,2,1,"mat-error",27)(19,T3,2,2,"mat-error",27)(20,D3,2,2,"mat-error",27),e.k0s()(),e.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),e.EFF(24,"Lease Base Fee (Sats)"),e.k0s(),e.j41(25,"input",39),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.lease_fee_base_sat,D)||(I.lease_fee_base_sat=D),v.Njj(D)}),e.k0s(),e.DNE(26,dm,2,0,"mat-error",27),e.k0s(),e.j41(27,"mat-form-field",37)(28,"mat-label"),e.EFF(29,"Lease Base Basis (bps)"),e.k0s(),e.j41(30,"input",40),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.lease_fee_basis,D)||(I.lease_fee_basis=D),v.Njj(D)}),e.k0s(),e.DNE(31,Nf,2,0,"mat-error",27),e.k0s()(),e.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),e.EFF(35,"Max Channel Routing Base Fee (Sats)"),e.k0s(),e.j41(36,"input",41),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.channelFeeMaxBaseSat,D)||(I.channelFeeMaxBaseSat=D),v.Njj(D)}),e.k0s(),e.DNE(37,w3,2,0,"mat-error",27),e.k0s(),e.j41(38,"mat-form-field",37)(39,"mat-label"),e.EFF(40,"Max Channel Routing Fee Rate (ppm)"),e.k0s(),e.j41(41,"input",42),e.mxI("ngModelChange",function(D){v.eBV(m);const I=e.XpG(3);return e.DH7(I.channelFeeMaxProportional,D)||(I.channelFeeMaxProportional=D),v.Njj(D)}),e.k0s(),e.DNE(42,A3,2,0,"mat-error",27),e.k0s()(),e.DNE(43,l1,3,5,"h4",43),e.j41(44,"div",44)(45,"button",45),e.bIt("click",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.onResetPolicy())}),e.EFF(46,"Reset"),e.k0s(),e.j41(47,"button",46),e.bIt("click",function(){v.eBV(m);const D=e.XpG(3);return v.Njj(D.onUpdateFundingPolicy())}),e.EFF(48,"Update"),e.k0s()()()}if(2&b){const m=e.XpG(3);e.R7$(2),e.Y8G("icon",m.faExclamationTriangle),e.R7$(7),e.R50("ngModel",m.selPolicyType),e.R7$(),e.Y8G("ngForOf",m.policyTypes),e.R7$(3),e.JRh(m.selPolicyType.placeholder),e.R7$(),e.Y8G("step","fixed"===m.selPolicyType.id?1e3:10)("min",m.selPolicyType.min)("max",m.selPolicyType.max),e.R50("ngModel",m.policyMod),e.R7$(3),e.E5c("",m.selPolicyType.placeholder," should be between ",m.selPolicyType.min," and ",m.selPolicyType.max),e.R7$(),e.Y8G("ngIf",!m.policyMod),e.R7$(),e.Y8G("ngIf",m.policyModm.selPolicyType.max),e.R7$(5),e.R50("ngModel",m.lease_fee_base_sat),e.R7$(),e.Y8G("ngIf",!m.lease_fee_base_sat),e.R7$(4),e.R50("ngModel",m.lease_fee_basis),e.R7$(),e.Y8G("ngIf",!m.lease_fee_basis),e.R7$(5),e.R50("ngModel",m.channelFeeMaxBaseSat),e.R7$(),e.Y8G("ngIf",!m.channelFeeMaxBaseSat),e.R7$(4),e.R50("ngModel",m.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",!m.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",m.flgUpdateCalled)}}function K2(b,_){if(1&b&&(e.j41(0,"form",19,0),e.DNE(2,M3,12,1,"div",27)(3,um,49,23,"div",28),e.k0s()),2&b){const m=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!m.features[1].enabled),e.R7$(),e.Y8G("ngIf",m.features[1].enabled)}}function Rd(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-expansion-panel",10),e.bIt("opened",function(){const D=v.eBV(m).index,I=e.XpG();return v.Njj(I.onPanelExpanded(D))}),e.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),e.EFF(4),e.k0s(),e.j41(5,"h4",12),e.DNE(6,E3,1,0,"span",13)(7,Od,1,0,"span",14),e.EFF(8),e.k0s()()(),e.j41(9,"div",15),e.DNE(10,X2,29,5,"form",16)(11,K2,4,2,"form",16),e.k0s()()}if(2&b){const m=_.$implicit,E=_.index;e.Y8G("expanded",!1),e.R7$(4),e.JRh(m.name),e.R7$(2),e.Y8G("ngIf",m.enabled),e.R7$(),e.Y8G("ngIf",!m.enabled),e.R7$(),e.SpI(" ",m.enabled?"Enabled":"Disabled"," "),e.R7$(2),e.Y8G("ngIf",0===E),e.R7$(),e.Y8G("ngIf",1===E)}}let Y2=(()=>{var b;class _{constructor(E,D,I,Oe){this.logger=E,this.store=D,this.dataService=I,this.commonService=Oe,this.faInfoCircle=Ti.iW_,this.faExclamationTriangle=Ti.zpE,this.faCode=Ti.jTw,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=_t.ul,this.selPolicyType=_t.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,li.Q)(this.unSubs[0])).subscribe({next:E=>{this.logger.info("Received List Configs: "+JSON.stringify(E)),this.features[1].enabled=!!E.configs["experimental-dual-fund"].set},error:E=>{this.logger.error("List Configs Error: "+JSON.stringify(E)),this.features[1].enabled=!1}}),this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.selNode=E,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(B0.Al).pipe((0,li.Q)(this.unSubs[2])).subscribe(E=>{this.policyTypes[2].max=E.balance.totalBalance||1e3})}onPanelExpanded(E){1===E&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,li.Q)(this.unSubs[3])).subscribe(D=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(D)),this.fundingPolicy=D,this.fundingPolicy.policy&&(this.selPolicyType=_t.ul.find(I=>I.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,Bi.T$)({payload:this.selNode}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,li.Q)(this.unSubs[4])).subscribe({next:E=>{this.logger.info(E),this.fundingPolicy=E,this.updateMsg={data:"Compact Lease: "+E.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:E=>{this.logger.error(E),this.updateMsg={error:this.commonService.extractErrorMessage(E,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?_t.ul.find(E=>E.id===this.fundingPolicy.policy)||this.policyTypes[0]:_t.ul[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(mi.il),e.rXU(o1.u),e.rXU(Qo.h))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-experimental-settings"]],standalone:!1,decls:13,vars:3,consts:[["form","ngForm"],["plcMod","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"opened","expanded"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModelChange","change","ngModel"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"ngModelChange","step","min","max","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModelChange","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModelChange","ngModel"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(D,I){1&D&&(e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),e.k0s()(),e.j41(5,"form",5,0)(7,"div",6),e.nrm(8,"fa-icon",7),e.j41(9,"span",8),e.EFF(10,"Features"),e.k0s()(),e.j41(11,"mat-accordion"),e.DNE(12,Rd,12,7,"mat-expansion-panel",9),e.k0s()()()),2&D&&(e.R7$(2),e.Y8G("icon",I.faInfoCircle),e.R7$(6),e.Y8G("icon",I.faCode),e.R7$(4),e.Y8G("ngForOf",I.features))},dependencies:[w.YU,w.Sq,w.bT,hi.qT,hi.me,hi.Q0,hi.BC,hi.cb,hi.YS,hi.VZ,hi.zX,hi.vS,hi.cV,os.aY,es.$z,or.BS,or.GK,or.Z2,or.WN,br.fg,Ma.rl,Ma.nJ,Ma.MV,Ma.TL,Hi.q,Ie.DJ,Ie.sA,Ie.UI,cl.PW,sl.VO,ac.wT,bc.sG,go.Ld,Kl.N,om.z,lm.V,w.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return b(),_})(),Q2=(()=>{var b;class _{constructor(){}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-no-service-found"]],standalone:!1,decls:6,vars:0,consts:[["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"]],template:function(D,I){1&D&&(e.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),e.EFF(5,"No Service Found!"),e.k0s()()()()())},dependencies:[K.RN,K.m2,Ie.DJ,Ie.sA],encapsulation:2}))}return b(),_})();const $2=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([l.e(193),l.e(190)]).then(l.bind(l,9190)).then(b=>b.LNDModule),canActivate:[(0,co.q_)()]},{path:"cln",loadChildren:()=>Promise.all([l.e(193),l.e(853)]).then(l.bind(l,4853)).then(b=>b.CLNModule),canActivate:[(0,co.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([l.e(193),l.e(17)]).then(l.bind(l,9017)).then(b=>b.ECLModule),canActivate:[(0,co.q_)()]},{path:"settings",component:Wa,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Qc,canActivate:[(0,co.q_)()]},{path:"auth",component:rr,canActivate:[(0,co.q_)()]},{path:"bconfig",component:Pf,canActivate:[(0,co.q_)()]}]},{path:"config",component:k0,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:N0,canActivate:[(0,co.q_)()]},{path:"pglayout",component:Xh,canActivate:[(0,co.q_)()]},{path:"services",component:X0,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:e1,canActivate:[(0,co.q_)()]},{path:"boltz",component:Kh,canActivate:[(0,co.q_)()]},{path:"noservice",component:Q2}]},{path:"experimental",component:Y2,canActivate:[(0,co.q_)()]},{path:"lnconfig",component:l2,canActivate:[(0,co.q_)()]}]},{path:"services",component:Yh,canActivate:[(0,co.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:nu},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:sm}]},{path:"help",component:s1},{path:"login",component:W2},{path:"error",component:x3},{path:"**",component:V1.X}],Pd=lo.iI.forRoot($2,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var Bu=l(9029),hm=l(9881),Fd=l(4330),zu=l(9183),Nd=l(882),Tc=l(5911),Bd=l(2279),Cl=l(7358);const Dc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/lnd/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/lnd/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/lnd/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/lnd/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/lnd/transactions",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/lnd/routing",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/lnd/reports",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/lnd/graph",userPersona:_t.HW.ALL,children:[]},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ti.pCJ,link:"/lnd/messages",userPersona:_t.HW.ALL,children:[]},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Ti.cbP,link:"/lnd/channelbackup",userPersona:_t.HW.ALL,children:[]},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Ti.qFF,link:"/lnd/network",userPersona:_t.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Ti.D6w,link:"/lnd/network",userPersona:_t.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Ti.qIE,link:"/services/loop",userPersona:_t.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Ti.C8j,link:"/services/loop",userPersona:_t.HW.ALL,children:[]},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:_t.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/cln/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/cln/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/cln/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/cln/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Ti.e4L,link:"/cln/liquidityads",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/cln/transactions",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/cln/routing",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/cln/reports",userPersona:_t.HW.ALL,children:[]},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/cln/graph",userPersona:_t.HW.ALL,children:[]},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Ti.pCJ,link:"/cln/messages",userPersona:_t.HW.ALL,children:[]},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Ti.WKo,link:"/cln/rates",userPersona:_t.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Ti.D6w,link:"/cln/rates",userPersona:_t.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Ti.qIE,link:"/services/loop",userPersona:_t.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:_t.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Ti.xiI,link:"/ecl/home",userPersona:_t.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Ti.CQO,link:"/ecl/onchain",userPersona:_t.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Ti.zm_,link:"/ecl/connections",userPersona:_t.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Ti.gdJ,link:"/ecl/connections",userPersona:_t.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Ti._qq,link:"/ecl/transactions",userPersona:_t.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Ti.knH,link:"/ecl/routing",userPersona:_t.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Ti.$Fj,link:"/ecl/reports",userPersona:_t.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Ti.MjD,link:"/ecl/graph",userPersona:_t.HW.ALL,children:[]}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Ti.nsx,link:"/config",userPersona:_t.HW.ALL,children:[]},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Ti.EvL,link:"/help",userPersona:_t.HW.ALL,children:[]}]};function L3(b,_){if(1&b&&(e.j41(0,"mat-option",12),e.EFF(1),e.k0s()),2&b){const m=_.$implicit;e.Y8G("value",m.index),e.R7$(),e.Lme(" ",m.lnNode," (",m.lnImplementation,") ")}}function I3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-select",10),e.bIt("selectionChange",function(D){v.eBV(m);const I=e.XpG();return v.Njj(I.onNodeSelectionChange(D.value))}),e.j41(1,"perfect-scrollbar"),e.DNE(2,L3,2,3,"mat-option",11),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("value",m.selConfigNodeIndex),e.R7$(2),e.Y8G("ngForOf",m.appConfig.nodes)}}function k3(b,_){if(1&b&&(e.j41(0,"span",21),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.XpG(2);const E=e.sdS(11);e.R7$(),e.Y8G("ngTemplateOutlet","boltzIconBlock"===m.icon?E:null)}}function zd(b,_){if(1&b&&e.nrm(0,"fa-icon",23),2&b){const m=e.XpG().$implicit;e.Y8G("icon",m.icon)}}function O3(b,_){if(1&b&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m.icon)}}function R3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",15)(1,"div",16),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onChildNavClicked(D))}),e.j41(2,"div",17),e.DNE(3,k3,2,1,"span",18)(4,zd,1,1,"fa-icon",19)(5,O3,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()()()()}if(2&b){const m=_.$implicit;e.Y8G("routerLink",e.mNQ(m.link)),e.R7$(3),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name)}}function P3(b,_){if(1&b&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function Z2(b,_){if(1&b&&e.nrm(0,"fa-icon",23),2&b){const m=e.XpG().$implicit;e.Y8G("icon",m.icon)}}function Vu(b,_){if(1&b&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.JRh(m.icon)}}function Uu(b,_){if(1&b&&(e.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.DNE(3,P3,2,1,"span",28)(4,Z2,1,1,"fa-icon",19)(5,Vu,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()(),e.j41(8,"button",29)(9,"mat-icon"),e.EFF(10),e.k0s()()(),e.j41(11,"div",30),e.eu8(12,31),e.k0s()()),2&b){const m=_.$implicit,E=e.XpG(2);e.R7$(3),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name),e.R7$(),e.BMQ("aria-label","toggle "+m.name),e.R7$(2),e.JRh(E.treeControlNested.isExpanded(m)?"arrow_drop_up":"arrow_drop_down"),e.R7$(),e.AVh("tree-children-invisible",!E.treeControlNested.isExpanded(m))}}function F3(b,_){if(1&b&&(e.j41(0,"mat-tree",7,1),e.DNE(2,R3,8,6,"mat-tree-node",13)(3,Uu,13,8,"mat-nested-tree-node",14),e.k0s()),2&b){const m=e.XpG();e.Y8G("dataSource",m.navMenus)("treeControl",m.treeControlNested),e.R7$(3),e.Y8G("matTreeNodeDefWhen",m.hasChild)}}function N3(b,_){if(1&b&&(e.j41(0,"span",37),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function B3(b,_){if(1&b&&e.nrm(0,"fa-icon",38),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name))("icon",m.icon)}}function J2(b,_){if(1&b&&(e.j41(0,"mat-icon",39),e.EFF(1),e.k0s()),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name)),e.R7$(),e.JRh(m.icon)}}function Vd(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG();return v.Njj(I.onShowData(D))}),e.DNE(1,N3,2,1,"span",34)(2,B3,1,3,"fa-icon",35)(3,J2,2,3,"mat-icon",36),e.j41(4,"span"),e.EFF(5),e.k0s()()}if(2&b){const m=_.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(),e.Y8G("ngIf",!m.iconType),e.R7$(2),e.JRh(m.name)}}function z3(b,_){if(1&b&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&b){const m=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",m.icon)}}function fm(b,_){if(1&b&&e.nrm(0,"fa-icon",38),2&b){const m=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(m.name))("icon",m.icon)}}function V3(b,_){if(1&b){const m=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const D=v.eBV(m).$implicit,I=e.XpG(2);return v.Njj(I.onClick(D))}),e.DNE(1,z3,2,1,"span",28)(2,fm,1,3,"fa-icon",35),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&b){const m=_.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===m.iconType),e.R7$(),e.Y8G("ngIf","FA"===m.iconType),e.R7$(2),e.JRh(m.name)}}function q2(b,_){if(1&b&&(e.j41(0,"mat-tree",7),e.DNE(1,V3,5,3,"mat-tree-node",8),e.k0s()),2&b){const m=e.XpG();e.Y8G("dataSource",m.navMenusLogout)("treeControl",m.treeControlLogout)}}function pm(b,_){1&b&&(v.qSk(),e.j41(0,"svg",40)(1,"g",41)(2,"g",42),e.nrm(3,"circle",43)(4,"path",44)(5,"path",45),e.k0s()()())}let gm=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt){this.logger=E,this.commonService=D,this.sessionService=I,this.store=Oe,this.actions=Ct,this.rtlEffects=Bt,this.ChildNavClicked=new e.bkB,this.faEject=Ti.njF,this.faEye=Ti.pS3,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Ti.njF,children:[]}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Ti.pS3,children:[]}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=_t.HW,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B],this.treeControlNested=new Bd.XO(yn=>yn.children),this.treeControlLogout=new Bd.XO(yn=>yn.children),this.treeControlShowData=new Bd.XO(yn=>yn.children),this.navMenus=new Cl.Zh,this.navMenusLogout=new Cl.Zh,this.navMenusShowData=new Cl.Zh,this.hasChild=(yn,Yn)=>!!Yn.children&&Yn.children.length>0,this.version=_t.xv,Dc.LNDChildren&&200===Dc.LNDChildren[Dc.LNDChildren.length-1].id&&Dc.LNDChildren.pop(),this.navMenus.data=Dc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const E=this.sessionService.getItem("token");this.showLogout=!!E,this.flgLoading=!!E,this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[0])).subscribe(D=>{this.appConfig=D}),this.store.select(Oa.Az).pipe((0,li.Q)(this.unSubs[1])).subscribe(D=>{if(this.information=D.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const I=this.information.chains[0];this.informationChain.chain=I.chain,this.informationChain.network=I.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=D.selNode,this.selConfigNodeIndex=+(D.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(D)}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[2])).subscribe(D=>{this.showLogout=!!D.token,this.flgLoading=!!D.token}),this.actions.pipe((0,li.Q)(this.unSubs[3]),(0,za.p)(D=>D.type===_t.aU.LOGOUT)).subscribe(D=>{this.showLogout=!1})}onClick(E){"Logout"===E.name&&(this.store.dispatch((0,Bi.I1)({payload:{data:{type:_t.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,li.Q)(this.unSubs[4])).subscribe(D=>{D&&(this.showLogout=!1,this.store.dispatch((0,Bi.ri)({payload:""})))})),this.ChildNavClicked.emit(E)}onChildNavClicked(E){this.ChildNavClicked.emit(E)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){const E=JSON.parse(JSON.stringify(Dc.LNDChildren));this.navMenus.data=E?.filter(D=>D.children&&D.children.length?(D.children=D.children?.filter(I=>(I.userPersona===_t.HW.ALL||I.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==I.link&&"/services/boltz"!==I.link||"/services/loop"===I.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===I.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),D.children.length>0):D.userPersona===_t.HW.ALL||D.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){const E=JSON.parse(JSON.stringify(Dc.CLNChildren));this.navMenus.data=E?.filter(D=>D.children&&D.children.length?(D.children=D.children?.filter(I=>(I.userPersona===_t.HW.ALL||I.userPersona===this.selNode.settings.userPersona)&&(!I.link.includes("/services")||"/services/peerswap"===I.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===I.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim())),D.children.length>0):D.userPersona===_t.HW.ALL||D.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Dc.ECLChildren))}onShowData(E){this.store.dispatch((0,Bi.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(E){const D=this.selConfigNodeIndex;this.selConfigNodeIndex=E;const I=this.appConfig.nodes.find(Oe=>+Oe.index===E);this.store.dispatch((0,Bi.Qi)({payload:{uiMessage:_t.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+D,currentLnNode:I||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(ji.Q),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(Ko.H))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-side-navigation"]],viewQuery:function(D,I){if(1&D&&e.GBs(Cl.lQ,5),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.tree=Oe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},standalone:!1,decls:12,vars:5,consts:[["boltzIconBlock",""],["tree",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],[1,"m-2","multi-node-select",3,"selectionChange","value"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["routerLinkActive","active-link","matTreeNodeToggle","",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["routerLinkActive","active-link","matTreeNodeToggle","",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"matTooltip","icon",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],[1,"fa-icon-small","mr-2"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"matTooltip","icon"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(D,I){1&D&&(e.j41(0,"div",2)(1,"div",3),e.DNE(2,I3,3,2,"mat-select",4),e.nrm(3,"mat-divider",5),e.DNE(4,F3,4,3,"mat-tree",6),e.nrm(5,"mat-divider",5),e.j41(6,"mat-tree",7),e.DNE(7,Vd,6,4,"mat-tree-node",8),e.k0s()(),e.j41(8,"div",9),e.DNE(9,q2,2,2,"mat-tree",6),e.k0s()(),e.DNE(10,pm,6,0,"ng-template",null,0,e.C5r)),2&D&&(e.R7$(2),e.Y8G("ngIf",I.appConfig.nodes.length>1),e.R7$(2),e.Y8G("ngIf",null==I.selNode.settings?null:I.selNode.settings.lnServerUrl),e.R7$(2),e.Y8G("dataSource",I.navMenusShowData)("treeControl",I.treeControlShowData),e.R7$(3),e.Y8G("ngIf",I.showLogout))},dependencies:[w.Sq,w.bT,w.T3,os.aY,Jc.iY,qc.An,Hi.q,Cl.q1,Cl.yI,Cl.pO,Cl.lQ,Cl.d6,Cl.wx,Ie.DJ,Ie.sA,Ie.UI,sl.VO,ac.wT,fd.oV,lo.Wk,lo.wQ,go.ZF,go.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}))}return b(),_})();var G1=l(9115);function _m(b,_){if(1&b&&(e.j41(0,"p",14),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faCode),e.R7$(2),e.SpI("API Version: ",null==m.information?null:m.information.api_version)}}function j1(b,_){if(1&b&&(e.j41(0,"p",15),e.nrm(1,"fa-icon",3),e.j41(2,"span",16),e.EFF(3,"Settings"),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faUserCog)}}function U3(b,_){if(1&b&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",3),e.j41(2,"span",18),e.EFF(3,"Help"),e.k0s()()),2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faQuestion)}}function vm(b,_){if(1&b){const m=e.RV6();e.j41(0,"p",19),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.onClick())}),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3,"Logout"),e.k0s()()}if(2&b){const m=e.XpG();e.R7$(),e.Y8G("icon",m.faEject)}}let Ud=(()=>{var b;class _{constructor(E,D,I,Oe,Ct){this.logger=E,this.sessionService=D,this.store=I,this.rtlEffects=Oe,this.actions=Ct,this.faUserCog=Ti.McB,this.faCodeBranch=Ti.Xbc,this.faCode=Ti.jTw,this.faCog=Ti.dB,this.faQuestion=Ti.EvL,this.faEject=Ti.njF,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B],this.version=_t.xv}ngOnInit(){this.store.select(Oa.N).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{if(this.information=E,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const D=this.information.chains[0];this.informationChain.chain=D.chain,this.informationChain.network=D.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(E)}),this.sessionService.watchSession().pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.showLogout=!!E.token,this.flgLoading=!!E.token}),this.actions.pipe((0,li.Q)(this.unSubs[2]),(0,za.p)(E=>E.type===_t.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Bi.I1)({payload:{data:{type:_t.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{E&&(this.showLogout=!1,this.store.dispatch((0,Bi.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(ji.Q),e.rXU(mi.il),e.rXU(Ko.H),e.rXU(Uo.En))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-top-menu"]],standalone:!1,decls:20,vars:8,consts:[["topMenu","matMenu"],[1,"top-menu",3,"overlapTrigger"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"mat-menu",1,0)(2,"p",2),e.nrm(3,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,_m,4,2,"p",4)(7,j1,4,1,"p",5)(8,U3,4,1,"p",6),e.j41(9,"p",7),e.bIt("click",function(){return v.eBV(Oe),v.Njj(I.onDonate())}),v.qSk(),e.j41(10,"svg",8)(11,"g"),e.nrm(12,"path",9),e.k0s()(),v.joV(),e.j41(13,"span"),e.EFF(14,"Donate"),e.k0s()(),e.DNE(15,vm,4,1,"p",10),e.k0s(),e.j41(16,"button",11),e.nrm(17,"img",12),e.j41(18,"mat-icon",13),e.EFF(19,"arrow_drop_down"),e.k0s()()}if(2&D){const Oe=e.sdS(1);e.Y8G("overlapTrigger",!1),e.R7$(3),e.Y8G("icon",I.faCodeBranch),e.R7$(2),e.SpI("Version: ",I.version),e.R7$(),e.Y8G("ngIf",null==I.information?null:I.information.api_version),e.R7$(),e.Y8G("ngIf",I.showLogout),e.R7$(),e.Y8G("ngIf",I.showLogout),e.R7$(7),e.Y8G("ngIf",I.showLogout),e.R7$(),e.Y8G("matMenuTriggerFor",Oe)}},dependencies:[w.bT,os.aY,Jc.iY,qc.An,G1.kk,G1.fb,G1.Cp,Ie.sA,lo.Wk],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2}))}return b(),_})();const Gd=["sideNavigation"],zf=["sideNavContent"],G3=(b,_)=>[b,_];function Gu(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.sideNavToggle())}),e.j41(1,"mat-icon",16),e.EFF(2,"menu"),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("matTooltip",m.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",m.smallScreen)}}function e0(b,_){1&b&&(v.qSk(),e.nrm(0,"path",21))}function t0(b,_){1&b&&(v.qSk(),e.nrm(0,"path",22))}function ju(b,_){if(1&b){const m=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){v.eBV(m);const D=e.XpG();return v.Njj(D.flgSidenavPinned=!D.flgSidenavPinned)}),v.qSk(),e.j41(1,"svg",18),e.DNE(2,e0,1,0,"path",19)(3,t0,1,0,"path",20),e.k0s()()}if(2&b){const m=e.XpG();e.Y8G("matTooltip",m.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.R7$(2),e.Y8G("ngIf",!m.flgSidenavPinned),e.R7$(),e.Y8G("ngIf",m.flgSidenavPinned)}}function ym(b,_){if(1&b&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.JRh(m.information.alias?"RTL - "+m.information.alias:"RTL")}}function bm(b,_){if(1&b&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&b){const m=e.XpG();e.R7$(),e.JRh(m.information.alias?"Ride The Lightning - "+m.information.alias:"Ride The Lightning")}}function Hu(b,_){1&b&&(e.j41(0,"div",25),e.nrm(1,"mat-spinner",26),e.j41(2,"h4"),e.EFF(3,"Loading RTL..."),e.k0s()())}let Wu=(()=>{var b;class _{constructor(E,D,I,Oe,Ct,Bt,yn,Yn,jn){this.logger=E,this.commonService=D,this.store=I,this.actions=Oe,this.userIdle=Ct,this.router=Bt,this.sessionService=yn,this.breakpointObserver=Yn,this.renderer=jn,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B,new gi.B]}ngOnInit(){this.router.events.subscribe(E=>{E instanceof Ha.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([ds.Rp.XSmall,ds.Rp.TabletPortrait,ds.Rp.Small,ds.Rp.Medium,ds.Rp.Large,ds.Rp.XLarge]).pipe((0,li.Q)(this.unSubs[0])).subscribe(E=>{E.breakpoints[ds.Rp.XSmall]?(this.commonService.setScreenSize(_t.f7.XS),this.smallScreen=!0):E.breakpoints[ds.Rp.TabletPortrait]?(this.commonService.setScreenSize(_t.f7.SM),this.smallScreen=!0):E.breakpoints[ds.Rp.Small]||E.breakpoints[ds.Rp.Medium]?(this.commonService.setScreenSize(_t.f7.MD),this.smallScreen=!1):E.breakpoints[ds.Rp.Large]?(this.commonService.setScreenSize(_t.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(_t.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Bi.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(Oa._c).pipe((0,li.Q)(this.unSubs[1])).subscribe(E=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=E}),this.store.select(Oa.qv).pipe((0,li.Q)(this.unSubs[2])).subscribe(E=>{this.appConfig=E}),this.store.select(Oa.N).pipe((0,li.Q)(this.unSubs[3])).subscribe(E=>{this.information=E,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,li.Q)(this.unSubs[4]),(0,za.p)(E=>E.type===_t.aU.SET_APPLICATION_SETTINGS||E.type===_t.aU.LOGIN||E.type===_t.aU.LOGOUT)).subscribe(E=>{E.type===_t.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(E.payload.disableAuth?this.store.dispatch((0,Bi.iD)({payload:{password:"disabledAuth",defaultPassword:!1}})):+E.payload.SSO.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,Bi.iD)({payload:{password:_c(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),E.type===_t.aU.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),E.type===_t.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,li.Q)(this.unSubs[5])).subscribe(E=>{this.logger.info("Counting Down: "+(11-E))}),this.userIdle.onTimeout().pipe((0,li.Q)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,Bi.Jh)()),this.store.dispatch((0,Bi.xO)({payload:{data:{type:_t.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Bi.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const E=window.location.href;return E.includes("access-key=")?E.substring(E.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(E){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(E){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+E)}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(e.rXU(Aa.gP),e.rXU(Qo.h),e.rXU(mi.il),e.rXU(Uo.En),e.rXU(v1),e.rXU(Ha.Ix),e.rXU(ji.Q),e.rXU(Fd.Q),e.rXU(e.sFG))},this.\u0275cmp=e.VBU({type:_,selectors:[["rtl-app"]],viewQuery:function(D,I){if(1&D&&(e.GBs(Gd,5),e.GBs(zf,5)),2&D){let Oe;e.mGM(Oe=e.lsd())&&(I.sideNavigation=Oe.first),e.mGM(Oe=e.lsd())&&(I.sideNavContent=Oe.first)}},standalone:!1,decls:22,vars:15,consts:[["sideNavigation",""],["sideNavContent",""],["outlet","outlet"],["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"bg-primary","rtl-top-toolbar"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["class","font-weight-500",4,"ngIf"],["class","font-size-120 font-weight-500",4,"ngIf"],[3,"backdropClick"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip","matTooltipDisabled"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip"],["width","20","height","20","viewBox","0 0 24 24",1,"icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"font-weight-500"],[1,"font-size-120","font-weight-500"],[1,"rtl-spinner"],["color","accent"]],template:function(D,I){if(1&D){const Oe=e.RV6();e.j41(0,"div",3),e.nI1(1,"lowercase"),e.nI1(2,"lowercase"),e.j41(3,"mat-toolbar",4)(4,"div"),e.DNE(5,Gu,3,2,"button",5)(6,ju,4,3,"button",6),e.k0s(),e.j41(7,"div"),e.DNE(8,ym,2,1,"span",7)(9,bm,2,1,"span",8),e.k0s(),e.j41(10,"div"),e.nrm(11,"rtl-top-menu"),e.k0s()(),e.j41(12,"mat-sidenav-container",9),e.bIt("backdropClick",function(){return v.eBV(Oe),v.Njj(I.backdropClicked())}),e.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),e.bIt("ChildNavClicked",function(Bt){return v.eBV(Oe),v.Njj(I.onNavigationClicked(Bt))}),e.k0s()(),e.j41(16,"mat-sidenav-content",12,1)(18,"div",13),e.nrm(19,"router-outlet",null,2),e.k0s()()(),e.DNE(21,Hu,4,0,"div",14),e.k0s()}2&D&&(e.Y8G("ngClass",e.l_i(12,G3,e.bMT(1,8,I.selNode.settings.themeColor),e.bMT(2,10,I.selNode.settings.themeMode))),e.R7$(5),e.Y8G("ngIf",I.flgLoggedIn),e.R7$(),e.Y8G("ngIf",!I.smallScreen&&I.flgLoggedIn),e.R7$(2),e.Y8G("ngIf",I.smallScreen),e.R7$(),e.Y8G("ngIf",!I.smallScreen),e.R7$(4),e.Y8G("opened",I.flgSideNavOpened&&I.flgLoggedIn)("mode",I.flgSidenavPinned&&!I.smallScreen?"side":"over"),e.R7$(8),e.Y8G("ngIf",!I.selNode.settings.themeColor))},dependencies:[w.YU,w.bT,Jc.iY,qc.An,zu.LG,Ie.DJ,Ie.sA,Ie.UI,cl.PW,Nd.LG,Nd.US,Nd.El,Tc.KQ,fd.oV,go.Ld,gm,Ud,Ha.n3,w.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[hm.E]}}))}return b(),_})(),Xu=(()=>{var b;class _{constructor(E){this.sessionService=E}intercept(E,D){if(this.sessionService.getItem("token")){const I=E.clone({headers:E.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return D.handle(I)}return D.handle(E)}static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)(v.KVO(ji.Q))},this.\u0275prov=v.jDH({token:_,factory:_.\u0275fac}))}return b(),_})();var Cm=l(7879),Ku=l(9579),j3=l(283),xm=l(3017);const H3={userPersona:_t.HW.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD",blockExplorerUrl:"https://mempool.space"},Yu={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},n0={apiURL:"",apisCallStatus:{Login:{status:_t.wn.UN_INITIATED},IsAuthorized:{status:_t.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:H3,authentication:Yu,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",disableAuth:!1,allowPasswordUpdate:!0,nodes:[{settings:H3,authentication:Yu}]},nodeData:{}},Vf=(0,mi.vy)(n0,(0,mi.on)(Bi.Gd,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Bi.Tn,(b,{payload:_})=>({...n0,apisCallStatus:b.apisCallStatus,appConfig:b.appConfig,selNode:_})),(0,mi.on)(Bi.Np,(b,{payload:_})=>({...b,selNode:_})),(0,mi.on)(Bi.Fl,(b,{payload:_})=>({...b,nodeData:_})),(0,mi.on)(Bi.IK,(b,{payload:_})=>({...b,appConfig:_}))),i0={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchFees:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchClosedChannels:{status:_t.wn.UN_INITIATED},FetchPendingChannels:{status:_t.wn.UN_INITIATED},FetchAllChannels:{status:_t.wn.UN_INITIATED},FetchBalanceBlockchain:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchForwardingHistory:{status:_t.wn.UN_INITIATED},FetchUTXOs:{status:_t.wn.UN_INITIATED},FetchTransactions:{status:_t.wn.UN_INITIATED},FetchLightningTransactions:{status:_t.wn.UN_INITIATED},FetchNetwork:{status:_t.wn.UN_INITIATED}},pageSettings:_t.ZC,information:{},peers:[],fees:{channel_fees:[],day_fee_sum:0,week_fee_sum:0,month_fee_sum:0,daily_tx_count:0,weekly_tx_count:0,monthly_tx_count:0,forwarding_events_history:{}},networkInfo:{},blockchainBalance:{total_balance:-1},lightningBalance:{local:-1,remote:-1},channels:[],channelsSummary:{active:{num_channels:0,capacity:0},inactive:{num_channels:0,capacity:0}},closedChannels:[],pendingChannels:{},pendingChannelsSummary:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},transactions:[],utxos:[],listPayments:{payments:[]},listInvoices:{invoices:[]},allLightningTransactions:{listPaymentsAll:{payments:[],first_index_offset:"",last_index_offset:""},listInvoicesAll:{invoices:[],total_invoices:0,last_index_offset:"",first_index_offset:""}},forwardingHistory:{last_offset_index:0,total_fee_msat:0,forwarding_events:[]}};let Qu=!1,W3=!1;const $u=(0,mi.vy)(i0,(0,mi.on)(Qs.e8,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Qs.p1,b=>({...i0})),(0,mi.on)(Qs.x1,(b,{payload:_})=>({...b,information:_})),(0,mi.on)(Qs.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(Qs.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.pub_key===_.pubkey);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(Qs.Jx,(b,{payload:_})=>{const m=b.listInvoices;return m.invoices?.unshift(_),{...b,listInvoices:m}}),(0,mi.on)(Qs.Dq,(b,{payload:_})=>{const m=b.listInvoices;return m.invoices=m.invoices?.map(E=>E.payment_request===_.payment_request?_:E),{...b,listInvoices:m}}),(0,mi.on)(Qs._$,(b,{payload:_})=>{const m=b.listPayments;return m.payments=m.payments?.map(E=>E.payment_hash===_.payment_hash?_:E),{...b,listPayments:m}}),(0,mi.on)(Qs.Uo,(b,{payload:_})=>({...b,fees:_})),(0,mi.on)(Qs.z2,(b,{payload:_})=>({...b,closedChannels:_})),(0,mi.on)(Qs.cU,(b,{payload:_})=>({...b,pendingChannels:_.pendingChannels,pendingChannelsSummary:_.pendingChannelsSummary})),(0,mi.on)(Qs.dv,(b,{payload:_})=>{let m=0,E=0,D=0,I=0,Oe=0,Ct=0;return _&&_.forEach(Bt=>{Bt.local_balance||(Bt.local_balance=0),!0===Bt.active?(Oe+=+Bt.local_balance,D+=1,Bt.local_balance?m=+m+ +Bt.local_balance:Bt.local_balance=0,Bt.remote_balance?E=+E+ +Bt.remote_balance:Bt.remote_balance=0):(Ct+=+Bt.local_balance,I+=1)}),{...b,channels:_,channelsSummary:{active:{num_channels:D,capacity:Oe},inactive:{num_channels:I,capacity:Ct}},lightningBalance:{local:m,remote:E}}}),(0,mi.on)(Qs.cR,(b,{payload:_})=>{const m=[...b.channels],E=b.channels.findIndex(D=>D.channel_point===_.channelPoint);return E>-1&&m.splice(E,1),{...b,channels:m}}),(0,mi.on)(Qs.DI,(b,{payload:_})=>({...b,blockchainBalance:_})),(0,mi.on)(Qs.J9,(b,{payload:_})=>({...b,networkInfo:_})),(0,mi.on)(Qs.$6,(b,{payload:_})=>(_.total_invoices||(_.total_invoices=b.listInvoices.total_invoices),{...b,listInvoices:_})),(0,mi.on)(Qs.As,(b,{payload:_})=>{if(Qu=!0,_.length&&W3){const m=[...b.utxos];return m.forEach(E=>{const D=_.find(I=>I.tx_hash===E.outpoint?.txid_str);E.label=D&&D.label?D.label:""}),{...b,utxos:m,transactions:_}}return{...b,transactions:_}}),(0,mi.on)(Qs.O8,(b,{payload:_})=>{if(W3=!0,_.length&&Qu){const m=[...b.transactions];_.forEach(E=>{const D=m.find(I=>I.tx_hash===E.outpoint?.txid_str);E.label=D&&D.label?D.label:""})}return{...b,utxos:_}}),(0,mi.on)(Qs.Uj,(b,{payload:_})=>{const m={listInvoicesAll:b.allLightningTransactions.listInvoicesAll,listPaymentsAll:_};return{...b,listPayments:_,allLightningTransactions:m}}),(0,mi.on)(Qs.b1,(b,{payload:_})=>{const m={listInvoicesAll:_.listInvoicesAll,listPaymentsAll:b.listPayments};return{...b,allLightningTransactions:m}}),(0,mi.on)(Qs.kv,(b,{payload:_})=>{const m=[...b.channels,...b.closedChannels];let E=_.forwarding_events?JSON.parse(JSON.stringify(_)):{};return E.forwarding_events&&(E=c1(E,m)),{...b,forwardingHistory:E}}),(0,mi.on)(Qs.NS,(b,{payload:_})=>{const m=[];return _t.ZC.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),c1=(b,_)=>(b.forwarding_events.forEach(m=>{if(_&&_.length>0)for(let E=0;E<_.length;E++){if(_[E].chan_id?.toString()===m.chan_id_in&&(m.alias_in=_[E].remote_alias?_[E].remote_alias:m.chan_id_in,m.alias_out)||_[E].chan_id?.toString()===m.chan_id_out&&(m.alias_out=_[E].remote_alias?_[E].remote_alias:m.chan_id_out,m.alias_in))return;E===_.length-1&&(m.alias_in||(m.alias_in=m.chan_id_in),m.alias_out||(m.alias_out=m.chan_id_out))}else m.alias_in=m.chan_id_in,m.alias_out=m.chan_id_out}),b),d1={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchChannels:{status:_t.wn.UN_INITIATED},FetchUTXOBalances:{status:_t.wn.UN_INITIATED},FetchFeeRatesperkb:{status:_t.wn.UN_INITIATED},FetchFeeRatesperkw:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryS:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryF:{status:_t.wn.UN_INITIATED},FetchForwardingHistoryL:{status:_t.wn.UN_INITIATED},FetchOffers:{status:_t.wn.UN_INITIATED},FetchOfferBookmarks:{status:_t.wn.UN_INITIATED}},pageSettings:_t.mu,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Zu=(0,mi.vy)(d1,(0,mi.on)(zs.no,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(zs.gf,b=>({...d1})),(0,mi.on)(zs.x1,(b,{payload:_})=>({...b,information:_,fees:{feeCollected:_.fees_collected_msat}})),(0,mi.on)(zs.C2,(b,{payload:_})=>_.perkb?{...b,feeRatesPerKB:_}:_.perkw?{...b,feeRatesPerKW:_}:{...b}),(0,mi.on)(zs.EM,(b,{payload:_})=>({...b,utxos:_.utxos||[],balance:_.balance,localRemoteBalance:_.localRemoteBalance})),(0,mi.on)(zs.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(zs.We,(b,{payload:_})=>({...b,peers:[...b.peers,_]})),(0,mi.on)(zs.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.id===_.id);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(zs.dv,(b,{payload:_})=>({...b,activeChannels:_.activeChannels,pendingChannels:_.pendingChannels,inactiveChannels:_.inactiveChannels})),(0,mi.on)(zs.cR,(b,{payload:_})=>{const m=[...b.peers];return m.forEach(E=>{E.id===_.id&&(E.connected=!1,delete E.netaddr)}),{...b,peers:m}}),(0,mi.on)(zs.Uj,(b,{payload:_})=>({...b,payments:_})),(0,mi.on)(zs.kv,(b,{payload:_})=>{const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels],E=a0(_.listForwards,m);switch(_.listForwards=E,_.status){case _t.xk.SETTLED:const D=b.fees;return D.totalTxCount=_.totalForwards||0,{...b,fees:D,forwardingHistory:_};case _t.xk.FAILED:return{...b,failedForwardingHistory:_};case _t.xk.LOCAL_FAILED:return{...b,localFailedForwardingHistory:_};default:return{...b}}}),(0,mi.on)(zs.Jx,(b,{payload:_})=>{const m=b.invoices;return m.invoices?.unshift(_),{...b,invoices:m}}),(0,mi.on)(zs.$6,(b,{payload:_})=>({...b,invoices:_})),(0,mi.on)(zs.Dq,(b,{payload:_})=>{const m=b.invoices;return m.invoices=m.invoices?.map(E=>(E.label===_.label&&(E.amount_received_msat=_.msat,E.payment_preimage=_.preimage,E.status="paid"),E)),{...b,invoices:m}}),(0,mi.on)(zs.qw,(b,{payload:_})=>({...b,offers:_})),(0,mi.on)(zs.kQ,(b,{payload:_})=>{const m=b.offers;return m?.unshift(_),{...b,offers:m}}),(0,mi.on)(zs.Gz,(b,{payload:_})=>{const m=[...b.offers],E=b.offers.findIndex(D=>D.offer_id===_.offer.offer_id);return E>-1&&m.splice(E,1,_.offer),{...b,offers:m}}),(0,mi.on)(zs.Qv,(b,{payload:_})=>({...b,offersBookmarks:_})),(0,mi.on)(zs.Db,(b,{payload:_})=>{const m=[...b.offersBookmarks],E=m.findIndex(D=>D.bolt12===_.bolt12);if(E<0)m?.unshift(_);else{const D={...m[E]};D.title=_.title,D.amountMSat=_.amountMSat,D.lastUpdatedAt=_.lastUpdatedAt,D.description=_.description,D.issuer=_.issuer,m.splice(E,1,D)}return{...b,offersBookmarks:m}}),(0,mi.on)(zs.NU,(b,{payload:_})=>{const m=[...b.offersBookmarks],E=b.offersBookmarks.findIndex(D=>D.bolt12===_.bolt12);return E>-1&&m.splice(E,1),{...b,offersBookmarks:m}}),(0,mi.on)(zs.NS,(b,{payload:_})=>{const m=[];return _t.mu.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),a0=(b,_)=>(b&&b.length>0?b.forEach((m,E)=>{if(_&&_.length>0)for(let D=0;D<_.length;D++){if(_[D].short_channel_id&&_[D].short_channel_id===m.in_channel&&(m.in_channel_alias=_[D].alias?_[D].alias:m.in_channel,m.out_channel_alias)||_[D].short_channel_id&&_[D].short_channel_id?.toString()===m.out_channel&&(m.out_channel_alias=_[D].alias?_[D].alias:m.out_channel,m.in_channel_alias))return;D===_.length-1&&(m.in_channel_alias||(m.in_channel_alias=m.in_channel?m.in_channel:"-"),m.out_channel_alias||(m.out_channel_alias=m.out_channel?m.out_channel:"-"))}else m.in_channel_alias=m.in_channel?m.in_channel:"-",m.out_channel_alias=m.out_channel?m.out_channel:"-"}):b=[],b),Ju={apisCallStatus:{FetchPageSettings:{status:_t.wn.UN_INITIATED},FetchInfo:{status:_t.wn.UN_INITIATED},FetchFees:{status:_t.wn.UN_INITIATED},FetchChannels:{status:_t.wn.UN_INITIATED},FetchOnchainBalance:{status:_t.wn.UN_INITIATED},FetchPeers:{status:_t.wn.UN_INITIATED},FetchPayments:{status:_t.wn.UN_INITIATED},FetchInvoices:{status:_t.wn.UN_INITIATED},FetchTransactions:{status:_t.wn.UN_INITIATED}},pageSettings:_t.X8,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},u1=(0,mi.vy)(Ju,(0,mi.on)(Ds.uL,(b,{payload:_})=>{const m=JSON.parse(JSON.stringify(b.apisCallStatus));return _.action&&(m[_.action]={status:_.status,statusCode:_.statusCode,message:_.message,URL:_.URL,filePath:_.filePath}),{...b,apisCallStatus:m}}),(0,mi.on)(Ds.Hh,b=>({...Ju})),(0,mi.on)(Ds.x1,(b,{payload:_})=>({...b,information:_})),(0,mi.on)(Ds.Uo,(b,{payload:_})=>({...b,fees:_})),(0,mi.on)(Ds.Tp,(b,{payload:_})=>({...b,activeChannels:_})),(0,mi.on)(Ds.cU,(b,{payload:_})=>({...b,pendingChannels:_})),(0,mi.on)(Ds.I6,(b,{payload:_})=>({...b,inactiveChannels:_})),(0,mi.on)(Ds.ZE,(b,{payload:_})=>({...b,channelsStatus:_})),(0,mi.on)(Ds.Xx,(b,{payload:_})=>({...b,onchainBalance:_})),(0,mi.on)(Ds.N8,(b,{payload:_})=>({...b,lightningBalance:_})),(0,mi.on)(Ds.Qj,(b,{payload:_})=>({...b,peers:_})),(0,mi.on)(Ds.Zi,(b,{payload:_})=>{const m=[...b.peers],E=b.peers.findIndex(D=>D.nodeId===_.nodeId);return E>-1&&m.splice(E,1),{...b,peers:m}}),(0,mi.on)(Ds.cR,(b,{payload:_})=>{const m=[...b.activeChannels],E=b.activeChannels.findIndex(D=>D.channelId===_.channelId);return E>-1&&m.splice(E,1),{...b,activeChannels:m}}),(0,mi.on)(Ds.Uj,(b,{payload:_})=>{if(_&&_.sent){const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels];_.sent?.map(E=>{const D=b.peers.find(I=>I.nodeId===E.recipientNodeId);return E.recipientNodeAlias=D?D.alias:E.recipientNodeId,E.parts&&E.parts?.map(I=>{const Oe=m.find(Ct=>Ct.channelId===I.toChannelId);return I.toChannelAlias=Oe?Oe.alias:I.toChannelId,E.parts}),_.sent})}if(_&&_.relayed){const m=[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels];_.relayed.forEach(E=>{E=H1(E,m)})}return{...b,payments:_}}),(0,mi.on)(Ds.As,(b,{payload:_})=>({...b,transactions:_})),(0,mi.on)(Ds.Jx,(b,{payload:_})=>{const m=b.invoices;return m?.unshift(_),{...b,invoices:m}}),(0,mi.on)(Ds.$6,(b,{payload:_})=>({...b,invoices:_})),(0,mi.on)(Ds.Dq,(b,{payload:_})=>{let m=b.invoices;return m=m?.map(E=>{if(E.paymentHash===_.paymentHash){if(_.hasOwnProperty("type")){const D=JSON.parse(JSON.stringify(E));return D.amountSettled=_.parts&&_.parts.length&&_.parts.length>0&&_.parts[0].amount?(_.parts[0].amount||0)/1e3:0,D.receivedAt=_.parts&&_.parts.length&&_.parts.length>0&&_.parts[0].timestamp?Math.round((_.parts[0].timestamp||0)/1e3):0,D.status="received",D}return _}return E}),{...b,invoices:m}}),(0,mi.on)(Ds.gZ,(b,{payload:_})=>{let m=b.pendingChannels;return m=m?.map(E=>(E.channelId===_.channelId&&E.nodeId===_.remoteNodeId&&(_.currentState=_.currentState?.replace(/_/g," "),E.state=_.currentState),E)),{...b,pendingChannels:m}}),(0,mi.on)(Ds.yn,(b,{payload:_})=>{const m=b.payments,E=H1(_,[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels]);m.relayed?.unshift(E);const D=(_.amountIn||0)-(_.amountOut||0),I={localBalance:b.lightningBalance.localBalance+D,remoteBalance:b.lightningBalance.remoteBalance-D},Oe=b.channelsStatus;Oe.active&&(Oe.active.capacity=(b.channelsStatus?.active?.capacity||0)+D);const Ct={daily_fee:(b.fees.daily_fee||0)+D,daily_txs:(b.fees.daily_txs||0)+1,weekly_fee:(b.fees.weekly_fee||0)+D,weekly_txs:(b.fees.weekly_txs||0)+1,monthly_fee:(b.fees.monthly_fee||0)+D,monthly_txs:(b.fees.monthly_txs||0)+1},Bt=b.activeChannels;let yn=!1,Yn=!1;for(const jn of Bt){if(jn.channelId===_.fromChannelId){yn=!0;const Fi=(jn.toLocal||0)+(jn.toRemote||0);jn.toLocal=(jn.toLocal||0)+E.amountIn,jn.toRemote=(jn.toRemote||0)-E.amountIn,jn.balancedness=0===Fi?1:+(1-Math.abs((jn.toLocal-jn.toRemote)/Fi)).toFixed(3)}if(jn.channelId===_.toChannelId){Yn=!0;const Fi=(jn.toLocal||0)+(jn.toRemote||0);jn.toLocal=(jn.toLocal||0)-E.amountOut,jn.toRemote=(jn.toRemote||0)+E.amountOut,jn.balancedness=0===Fi?1:+(1-Math.abs((jn.toLocal-jn.toRemote)/Fi)).toFixed(3)}if(Yn&&yn)break}return{...b,payments:m,lightningBalance:I,channelStatus:Oe,fees:Ct,activeChannels:Bt}}),(0,mi.on)(Ds.NS,(b,{payload:_})=>{const m=[];return _t.X8.forEach(E=>{const D=_&&_.length&&_.length>0?_.find(I=>I.pageId===E.pageId):null;if(D){const I=JSON.parse(JSON.stringify(D.tables));D.tables=[],E.tables.forEach(Oe=>{const Ct=I.find(Bt=>Bt.tableId===Oe.tableId)||null;D.tables.push(Ct||JSON.parse(JSON.stringify(Oe)))}),m.push(D)}else m.push(JSON.parse(JSON.stringify(E)))}),{...b,pageSettings:m}})),H1=(b,_)=>{if("payment-relayed"===b.type)if(_&&_.length>0)for(let m=0;m<_.length;m++){if(_[m].channelId?.toString()===b.fromChannelId&&(b.fromChannelAlias=_[m].alias?_[m].alias:b.fromChannelId,b.fromShortChannelId=_[m].shortChannelId?_[m].shortChannelId:"",b.toChannelAlias)||_[m].channelId?.toString()===b.toChannelId&&(b.toChannelAlias=_[m].alias?_[m].alias:b.toChannelId,b.toShortChannelId=_[m].shortChannelId?_[m].shortChannelId:"",b.fromChannelAlias))return b;m===_.length-1&&(b.fromChannelAlias||(b.fromChannelAlias=b.fromChannelId?.substring(0,17)+"...",b.fromShortChannelId=""),b.toChannelAlias||(b.toChannelAlias=b.toChannelId?.substring(0,17)+"...",b.toShortChannelId=""))}else b.fromChannelAlias=b.fromChannelId?.substring(0,17)+"...",b.fromShortChannelId="",b.toChannelAlias=b.toChannelId?.substring(0,17)+"...",b.toShortChannelId="";else if(b.type="trampoline-payment-relayed"){if(_&&_.length>0)for(let D=0;D<_.length;D++)b.incoming?.forEach(I=>{_[D].channelId?.toString()===I.channelId&&(I.channelAlias=_[D].alias?_[D].alias:I.channelId,I.shortChannelId=_[D].shortChannelId?_[D].shortChannelId:"")}),b.outgoing?.forEach(I=>{_[D].channelId?.toString()===I.channelId&&(I.channelAlias=_[D].alias?_[D].alias:I.channelId,I.shortChannelId=_[D].shortChannelId?_[D].shortChannelId:"")}),D===_.length-1&&(b.incoming&&b.incoming.length&&b.incoming.length>0&&!b.incoming[0].channelAlias&&b.incoming?.forEach(I=>{I.channelAlias=I.channelId?.substring(0,17)+"...",I.shortChannelId=""}),b.outgoing&&b.outgoing.length&&b.outgoing.length>0&&!b.outgoing[0].channelAlias&&b.outgoing?.forEach(I=>{I.channelAlias=I.channelId?.substring(0,17)+"...",I.shortChannelId=""}));else b.incoming?.forEach(D=>{D.channelAlias=D.channelId?.substring(0,17)+"...",D.shortChannelId=""}),b.outgoing?.forEach(D=>{D.channelAlias=D.channelId?.substring(0,17)+"...",D.shortChannelId=""});const m=b.incoming?.reduce((D,I)=>D+I.amount,0)||0;b.amountIn=Math.round(m/1e3),b.fromChannelId=b.incoming&&b.incoming.length?b.incoming[0].channelId:"",b.fromChannelAlias=b.incoming&&b.incoming.length?b.incoming[0].channelAlias:"",b.fromShortChannelId=b.incoming&&b.incoming.length?b.incoming[0].shortChannelId:"";const E=b.outgoing?.reduce((D,I)=>D+I.amount,0)||0;b.amountOut=Math.round(E/1e3),b.toChannelId=b.outgoing&&b.outgoing.length?b.outgoing[0].channelId:"",b.toChannelAlias=b.outgoing&&b.outgoing.length?b.outgoing[0].channelAlias:"",b.toShortChannelId=b.outgoing&&b.outgoing.length?b.outgoing[0].shortChannelId:""}return b};let X3=!1;(0,O.naY)()&&(X3=!0);let Uf=(()=>{var b;class _{static#e=b=()=>(this.\u0275fac=function(D){return new(D||_)},this.\u0275mod=e.$C({type:_,bootstrap:[Wu]}),this.\u0275inj=v.G2t({providers:[(0,nr.$R)((0,nr.ZZ)(),(0,nr.Sx)()),nc({idle:_t.bz-10,timeout:10,ping:12e3}),{provide:nr.a7,useClass:Xu,multi:!0},ji.Q,o1.u,Cm.I,E1.Q,Qo.h,rc],imports:[Mo,Bu.G,Pd,ds.RH,Dt.fM,mi.md.forRoot({root:Vf,lnd:$u,cln:Zu,ecl:u1},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Uo.Vm.forRoot([Ko.H,Ku.L,j3.i,xm.B]),X3?Ls.instrument({connectInZone:!0}):[]]}))}return b(),_})();De().bootstrapModule(Uf).catch(b=>console.error(b))},4740(Zt){!function(pe){"use strict";var l={bytesToHex:function(v){return function i(v){return v.map(function(T){return function d(v,T){return v.length>T?v:Array(T-v.length+1).join("0")+v}(T.toString(16),2)}).join("")}(v)},hexToBytes:function(v){if(v.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===v.indexOf("0x")&&(v=v.slice(2)),v.match(/../g).map(function(T){return parseInt(T,16)})}};Zt.exports?Zt.exports=l:pe.convertHex=l}(this)},820(Zt){!function(pe){"use strict";var l={bytesToString:function(i){return i.map(function(d){return String.fromCharCode(d)}).join("")},stringToBytes:function(i){return i.split("").map(function(d){return d.charCodeAt(0)})}};l.UTF8={bytesToString:function(i){return decodeURIComponent(escape(l.bytesToString(i)))},stringToBytes:function(i){return l.stringToBytes(unescape(encodeURIComponent(i)))}},Zt.exports?Zt.exports=l:pe.convertString=l}(this)},243(Zt){"use strict";var pe={single_source_shortest_paths:function(l,i,d){var v={},T={};T[i]=0;var e,O,f,u,L,B,w=pe.PriorityQueue.make();for(w.push(i,0);!w.empty();)for(f in u=(e=w.pop()).cost,L=l[O=e.value]||{})L.hasOwnProperty(f)&&(B=u+L[f],(typeof T[f]>"u"||T[f]>B)&&(T[f]=B,w.push(f,B),v[f]=O));if(typeof d<"u"&&typeof T[d]>"u"){var le=["Could not find a path from ",i," to ",d,"."].join("");throw new Error(le)}return v},extract_shortest_path_from_predecessor_list:function(l,i){for(var d=[],v=i;v;)d.push(v),v=l[v];return d.reverse(),d},find_path:function(l,i,d){var v=pe.single_source_shortest_paths(l,i,d);return pe.extract_shortest_path_from_predecessor_list(v,d)},PriorityQueue:{make:function(l){var v,i=pe.PriorityQueue,d={};for(v in l=l||{},i)i.hasOwnProperty(v)&&(d[v]=i[v]);return d.queue=[],d.sorter=l.sorter||i.default_sorter,d},default_sorter:function(l,i){return l.cost-i.cost},push:function(l,i){this.queue.push({value:l,cost:i}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Zt.exports=pe},8314(Zt,pe,l){const i=l(2836),d=l(9460),v=l(7030),T=l(6511);function w(e,O,f,u,L){const C=[].slice.call(arguments,1),B=C.length,A="function"==typeof C[B-1];if(!A&&!i())throw new Error("Callback required as last argument");if(!A){if(B<1)throw new Error("Too few arguments provided");return 1===B?(f=O,O=u=void 0):2===B&&!O.getContext&&(u=f,f=O,O=void 0),new Promise(function(Pe,le){try{const Ce=d.create(f,u);Pe(e(Ce,O,u))}catch(Ce){le(Ce)}})}if(B<2)throw new Error("Too few arguments provided");2===B?(L=f,f=O,O=u=void 0):3===B&&(O.getContext&&typeof L>"u"?(L=u,u=void 0):(L=u,u=f,f=O,O=void 0));try{const Pe=d.create(f,u);L(null,e(Pe,O,u))}catch(Pe){L(Pe)}}pe.create=d.create,pe.toCanvas=w.bind(null,v.render),pe.toDataURL=w.bind(null,v.renderToDataURL),pe.toString=w.bind(null,function(e,O,f){return T.render(e,f)})},2836(Zt){Zt.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214(Zt,pe,l){const i=l(9089).getSymbolSize;pe.getRowColCoords=function(v){if(1===v)return[];const T=Math.floor(v/7)+2,w=i(v),e=145===w?26:2*Math.ceil((w-13)/(2*T-2)),O=[w-7];for(let f=1;f>>7-l%8&1)},put:function(l,i){for(let d=0;d>>i-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(l){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),l&&(this.buffer[i]|=128>>>this.length%8),this.length++}},Zt.exports=pe},5941(Zt){function pe(l){if(!l||l<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=l,this.data=new Uint8Array(l*l),this.reservedBit=new Uint8Array(l*l)}pe.prototype.set=function(l,i,d,v){const T=l*this.size+i;this.data[T]=d,v&&(this.reservedBit[T]=!0)},pe.prototype.get=function(l,i){return this.data[l*this.size+i]},pe.prototype.xor=function(l,i,d){this.data[l*this.size+i]^=d},pe.prototype.isReserved=function(l,i){return this.reservedBit[l*this.size+i]},Zt.exports=pe},4969(Zt,pe,l){const i=l(1677);function d(v){this.mode=i.BYTE,this.data="string"==typeof v?(new TextEncoder).encode(v):new Uint8Array(v)}d.getBitsLength=function(T){return 8*T},d.prototype.getLength=function(){return this.data.length},d.prototype.getBitsLength=function(){return d.getBitsLength(this.data.length)},d.prototype.write=function(v){for(let T=0,w=this.data.length;T=0&&d.bit<4},pe.from=function(d,v){if(pe.isValid(d))return d;try{return function l(i){if("string"!=typeof i)throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return pe.L;case"m":case"medium":return pe.M;case"q":case"quartile":return pe.Q;case"h":case"high":return pe.H;default:throw new Error("Unknown EC Level: "+i)}}(d)}catch{return v}}},6269(Zt,pe,l){const i=l(9089).getSymbolSize;pe.getPositions=function(T){const w=i(T);return[[0,0],[w-7,0],[0,w-7]]}},6254(Zt,pe,l){const i=l(9089),T=i.getBCHDigit(1335);pe.getEncodedBits=function(e,O){const f=e.bit<<3|O;let u=f<<10;for(;i.getBCHDigit(u)-T>=0;)u^=1335<=33088&&e<=40956)e-=33088;else{if(!(e>=57408&&e<=60351))throw new Error("Invalid SJIS character: "+this.data[w]+"\nMake sure your charset is UTF-8");e-=49472}e=192*(e>>>8&255)+(255&e),T.put(e,13)}},Zt.exports=v},3361(Zt,pe){pe.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function i(d,v,T){switch(d){case pe.Patterns.PATTERN000:return(v+T)%2==0;case pe.Patterns.PATTERN001:return v%2==0;case pe.Patterns.PATTERN010:return T%3==0;case pe.Patterns.PATTERN011:return(v+T)%3==0;case pe.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(T/3))%2==0;case pe.Patterns.PATTERN101:return v*T%2+v*T%3==0;case pe.Patterns.PATTERN110:return(v*T%2+v*T%3)%2==0;case pe.Patterns.PATTERN111:return(v*T%3+(v+T)%2)%2==0;default:throw new Error("bad maskPattern:"+d)}}pe.isValid=function(v){return null!=v&&""!==v&&!isNaN(v)&&v>=0&&v<=7},pe.from=function(v){return pe.isValid(v)?parseInt(v,10):void 0},pe.getPenaltyN1=function(v){const T=v.size;let w=0,e=0,O=0,f=null,u=null;for(let L=0;L=5&&(w+=e-5+3),f=B,e=1),B=v.get(C,L),B===u?O++:(O>=5&&(w+=O-5+3),u=B,O=1)}e>=5&&(w+=e-5+3),O>=5&&(w+=O-5+3)}return w},pe.getPenaltyN2=function(v){const T=v.size;let w=0;for(let e=0;e=10&&(1488===e||93===e)&&w++,O=O<<1&2047|v.get(u,f),u>=10&&(1488===O||93===O)&&w++}return 40*w},pe.getPenaltyN4=function(v){let T=0;const w=v.data.length;for(let O=0;O=1&&e<10?w.ccBits[0]:e<27?w.ccBits[1]:w.ccBits[2]},pe.getBestModeForData=function(w){return d.testNumeric(w)?pe.NUMERIC:d.testAlphanumeric(w)?pe.ALPHANUMERIC:d.testKanji(w)?pe.KANJI:pe.BYTE},pe.toString=function(w){if(w&&w.id)return w.id;throw new Error("Invalid mode")},pe.isValid=function(w){return w&&w.bit&&w.ccBits},pe.from=function(w,e){if(pe.isValid(w))return w;try{return function v(T){if("string"!=typeof T)throw new Error("Param is not a string");switch(T.toLowerCase()){case"numeric":return pe.NUMERIC;case"alphanumeric":return pe.ALPHANUMERIC;case"kanji":return pe.KANJI;case"byte":return pe.BYTE;default:throw new Error("Unknown mode: "+T)}}(w)}catch{return e}}},6628(Zt,pe,l){const i=l(1677);function d(v){this.mode=i.NUMERIC,this.data=v.toString()}d.getBitsLength=function(T){return 10*Math.floor(T/3)+(T%3?T%3*3+1:0)},d.prototype.getLength=function(){return this.data.length},d.prototype.getBitsLength=function(){return d.getBitsLength(this.data.length)},d.prototype.write=function(T){let w,e,O;for(w=0;w+3<=this.data.length;w+=3)e=this.data.substr(w,3),O=parseInt(e,10),T.put(O,10);const f=this.data.length-w;f>0&&(e=this.data.substr(w),O=parseInt(e,10),T.put(O,3*f+1))},Zt.exports=d},1744(Zt,pe,l){const i=l(6686);pe.mul=function(v,T){const w=new Uint8Array(v.length+T.length-1);for(let e=0;e=0;){const e=w[0];for(let f=0;f>J&1),Ee.set(J<6?J:J<8?J+1:be-15+J,8,De,!0),Ee.set(8,J<8?be-J-1:J<9?15-J-1+1:15-J-1,De,!0);Ee.set(be-8,8,1,!0)}function xe(Ee,V,ce,be){let ne;if(Array.isArray(Ee))ne=A.fromArray(Ee);else{if("string"!=typeof Ee)throw new Error("Invalid data");{let _e=V;if(!_e){const he=A.rawSplit(Ee);_e=L.getBestVersionForData(he,ce)}ne=A.fromString(Ee,_e||40)}}const J=L.getBestVersionForData(ne,ce);if(!J)throw new Error("The amount of data is too big to be stored in a QR Code");if(V){if(V=0&&Re<=6&&(0===Xe||6===Xe)||Xe>=0&&Xe<=6&&(0===Re||6===Re)||Re>=2&&Re<=4&&Xe>=2&&Xe<=4,!0)}}(Xe,V),function le(Ee){const V=Ee.size;for(let ce=8;ce=7&&function Ae(Ee,V){const ce=Ee.size,be=L.getEncodedBits(V);let ne,J,De;for(let Re=0;Re<18;Re++)ne=Math.floor(Re/3),J=Re%3+ce-8-3,De=1==(be>>Re&1),Ee.set(ne,J,De,!0),Ee.set(J,ne,De,!0)}(Xe,V),function W(Ee,V){const ce=Ee.size;let be=-1,ne=ce-1,J=7,De=0;for(let Re=ce-1;Re>0;Re-=2)for(6===Re&&Re--;;){for(let Xe=0;Xe<2;Xe++)if(!Ee.isReserved(ne,Re-Xe)){let _e=!1;De>>J&1)),Ee.set(ne,Re-Xe,_e),J--,-1===J&&(De++,J=7)}if(ne+=be,ne<0||ce<=ne){ne-=be,be=-be;break}}}(Xe,De),isNaN(be)&&(be=O.getBestMask(Xe,j.bind(null,Xe,ce))),O.applyMask(be,Xe),j(Xe,ce,be),{modules:Xe,version:V,errorCorrectionLevel:ce,maskPattern:be,segments:ne}}pe.create=function(V,ce){if(typeof V>"u"||""===V)throw new Error("No input text");let ne,J,be=d.M;return typeof ce<"u"&&(be=d.from(ce.errorCorrectionLevel,d.M),ne=L.from(ce.version),J=O.from(ce.maskPattern),ce.toSJISFunc&&i.setToSJISFunction(ce.toSJISFunc)),xe(V,ne,be,J)}},6289(Zt,pe,l){const i=l(1744);function d(v){this.genPoly=void 0,this.degree=v,this.degree&&this.initialize(this.degree)}d.prototype.initialize=function(T){this.degree=T,this.genPoly=i.generateECPolynomial(this.degree)},d.prototype.encode=function(T){if(!this.genPoly)throw new Error("Encoder not initialized");const w=new Uint8Array(T.length+this.degree);w.set(T);const e=i.mod(w,this.genPoly),O=this.degree-e.length;if(O>0){const f=new Uint8Array(this.degree);return f.set(e,O),f}return e},Zt.exports=d},9359(Zt,pe){const l="[0-9]+";let d="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";d=d.replace(/u/g,"\\u");const v="(?:(?![A-Z0-9 $%*+\\-./:]|"+d+")(?:.|[\r\n]))+";pe.KANJI=new RegExp(d,"g"),pe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),pe.BYTE=new RegExp(v,"g"),pe.NUMERIC=new RegExp(l,"g"),pe.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const T=new RegExp("^"+d+"$"),w=new RegExp("^"+l+"$"),e=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");pe.testKanji=function(f){return T.test(f)},pe.testNumeric=function(f){return w.test(f)},pe.testAlphanumeric=function(f){return e.test(f)}},2868(Zt,pe,l){const i=l(1677),d=l(6628),v=l(1018),T=l(4969),w=l(3264),e=l(9359),O=l(9089),f=l(243);function u(Ae){return unescape(encodeURIComponent(Ae)).length}function L(Ae,j,W){const G=[];let re;for(;null!==(re=Ae.exec(W));)G.push({data:re[0],index:re.index,mode:j,length:re[0].length});return G}function C(Ae){const j=L(e.NUMERIC,i.NUMERIC,Ae),W=L(e.ALPHANUMERIC,i.ALPHANUMERIC,Ae);let G,re;return O.isKanjiModeEnabled()?(G=L(e.BYTE,i.BYTE,Ae),re=L(e.KANJI,i.KANJI,Ae)):(G=L(e.BYTE_KANJI,i.BYTE,Ae),re=[]),j.concat(W,G,re).sort(function(Ee,V){return Ee.index-V.index}).map(function(Ee){return{data:Ee.data,mode:Ee.mode,length:Ee.length}})}function B(Ae,j){switch(j){case i.NUMERIC:return d.getBitsLength(Ae);case i.ALPHANUMERIC:return v.getBitsLength(Ae);case i.KANJI:return w.getBitsLength(Ae);case i.BYTE:return T.getBitsLength(Ae)}}function Ce(Ae,j){let W;const G=i.getBestModeForData(Ae);if(W=i.from(j,G),W!==i.BYTE&&W.bit=0?j[j.length-1]:null;return G&&G.mode===W.mode?(j[j.length-1].data+=W.data,j):(j.push(W),j)},[])}(V))},pe.rawSplit=function(j){return pe.fromArray(C(j,O.isKanjiModeEnabled()))}},9089(Zt,pe){let l;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];pe.getSymbolSize=function(v){if(!v)throw new Error('"version" cannot be null or undefined');if(v<1||v>40)throw new Error('"version" should be in range from 1 to 40');return 4*v+17},pe.getSymbolTotalCodewords=function(v){return i[v]},pe.getBCHDigit=function(d){let v=0;for(;0!==d;)v++,d>>>=1;return v},pe.setToSJISFunction=function(v){if("function"!=typeof v)throw new Error('"toSJISFunc" is not a valid function.');l=v},pe.isKanjiModeEnabled=function(){return typeof l<"u"},pe.toSJIS=function(v){return l(v)}},377(Zt,pe){pe.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}},1252(Zt,pe,l){const i=l(9089),d=l(3677),v=l(7424),T=l(1677),w=l(377),O=i.getBCHDigit(7973);function u(B,A){return T.getCharCountIndicator(B,A)+4}function L(B,A){let Pe=0;return B.forEach(function(le){const Ce=u(le.mode,A);Pe+=Ce+le.getBitsLength()}),Pe}pe.from=function(A,Pe){return w.isValid(A)?parseInt(A,10):Pe},pe.getCapacity=function(A,Pe,le){if(!w.isValid(A))throw new Error("Invalid QR Code version");typeof le>"u"&&(le=T.BYTE);const j=8*(i.getSymbolTotalCodewords(A)-d.getTotalCodewordsCount(A,Pe));if(le===T.MIXED)return j;const W=j-u(le,A);switch(le){case T.NUMERIC:return Math.floor(W/10*3);case T.ALPHANUMERIC:return Math.floor(W/11*2);case T.KANJI:return Math.floor(W/13);default:return Math.floor(W/8)}},pe.getBestVersionForData=function(A,Pe){let le;const Ce=v.from(Pe,v.M);if(Array.isArray(A)){if(A.length>1)return function C(B,A){for(let Pe=1;Pe<=40;Pe++)if(L(B,Pe)<=pe.getCapacity(Pe,A,T.MIXED))return Pe}(A,Ce);if(0===A.length)return 1;le=A[0]}else le=A;return function f(B,A,Pe){for(let le=1;le<=40;le++)if(A<=pe.getCapacity(le,Pe,B))return le}(le.mode,le.getLength(),Ce)},pe.getEncodedBits=function(A){if(!w.isValid(A)||A<7)throw new Error("Invalid QR Code version");let Pe=A<<12;for(;i.getBCHDigit(Pe)-O>=0;)Pe^=7973<"u"&&(!e||!e.getContext)&&(f=e,e=void 0),e||(u=function v(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),f=i.getOptions(f);const L=i.getImageWidth(w.modules.size,f),C=u.getContext("2d"),B=C.createImageData(L,L);return i.qrToImageData(B.data,w,f),function d(T,w,e){T.clearRect(0,0,w.width,w.height),w.style||(w.style={}),w.height=e,w.width=e,w.style.height=e+"px",w.style.width=e+"px"}(C,u,L),C.putImageData(B,0,0),u},pe.renderToDataURL=function(w,e,O){let f=O;return typeof f>"u"&&(!e||!e.getContext)&&(f=e,e=void 0),f||(f={}),pe.render(w,e,f).toDataURL(f.type||"image/png",(f.rendererOpts||{}).quality)}},6511(Zt,pe,l){const i=l(7077);function d(w,e){const O=w.a/255,f=e+'="'+w.hex+'"';return O<1?f+" "+e+'-opacity="'+O.toFixed(2).slice(1)+'"':f}function v(w,e,O){let f=w+e;return typeof O<"u"&&(f+=" "+O),f}pe.render=function(e,O,f){const u=i.getOptions(O),L=e.modules.size,C=e.modules.data,B=L+2*u.margin,A=u.color.light.a?"':"",Pe="0&&A>0&&w[B-1]||(f+=L?v("M",A+O,.5+Pe+O):v("m",u,0),u=0,L=!1),A+1',Ae=''+A+Pe+"\n";return"function"==typeof f&&f(null,Ae),Ae}},7077(Zt,pe){function l(i){if("number"==typeof i&&(i=i.toString()),"string"!=typeof i)throw new Error("Color should be defined as hex string");let d=i.slice().replace("#","").split("");if(d.length<3||5===d.length||d.length>8)throw new Error("Invalid hex color: "+i);(3===d.length||4===d.length)&&(d=Array.prototype.concat.apply([],d.map(function(T){return[T,T]}))),6===d.length&&d.push("F","F");const v=parseInt(d.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:255&v,hex:"#"+d.slice(0,6).join("")}}pe.getOptions=function(d){d||(d={}),d.color||(d.color={});const T=d.width&&d.width>=21?d.width:void 0;return{width:T,scale:T?4:d.scale||4,margin:typeof d.margin>"u"||null===d.margin||d.margin<0?4:d.margin,color:{dark:l(d.color.dark||"#000000ff"),light:l(d.color.light||"#ffffffff")},type:d.type,rendererOpts:d.rendererOpts||{}}},pe.getScale=function(d,v){return v.width&&v.width>=d+2*v.margin?v.width/(d+2*v.margin):v.scale},pe.getImageWidth=function(d,v){const T=pe.getScale(d,v);return Math.floor((d+2*v.margin)*T)},pe.qrToImageData=function(d,v,T){const w=v.modules.size,e=v.modules.data,O=pe.getScale(w,T),f=Math.floor((w+2*T.margin)*O),u=T.margin*O,L=[T.color.light,T.color.dark];for(let C=0;C=u&&B>=u&&Cd});var i=l(1413);class d extends i.B{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const w=super._subscribe(T);return!w.closed&&T.next(this._value),w}getValue(){const{hasError:T,thrownError:w,_value:e}=this;if(T)throw w;return this._throwIfClosed(),e}next(T){super.next(this._value=T)}}},1985(Zt,pe,l){"use strict";l.d(pe,{c:()=>f});var i=l(7707),d=l(8359),v=l(3494),T=l(1203),w=l(1026),e=l(8071),O=l(9786);let f=(()=>{class B{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const le=new B;return le.source=this,le.operator=Pe,le}subscribe(Pe,le,Ce){const Ae=function C(B){return B&&B instanceof i.vU||function L(B){return B&&(0,e.T)(B.next)&&(0,e.T)(B.error)&&(0,e.T)(B.complete)}(B)&&(0,d.Uv)(B)}(Pe)?Pe:new i.Ms(Pe,le,Ce);return(0,O.Y)(()=>{const{operator:j,source:W}=this;Ae.add(j?j.call(Ae,W):W?this._subscribe(Ae):this._trySubscribe(Ae))}),Ae}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(le){Pe.error(le)}}forEach(Pe,le){return new(le=u(le))((Ce,Ae)=>{const j=new i.Ms({next:W=>{try{Pe(W)}catch(G){Ae(G),j.unsubscribe()}},error:Ae,complete:Ce});this.subscribe(j)})}_subscribe(Pe){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(Pe)}[v.s](){return this}pipe(...Pe){return(0,T.m)(Pe)(this)}toPromise(Pe){return new(Pe=u(Pe))((le,Ce)=>{let Ae;this.subscribe(j=>Ae=j,j=>Ce(j),()=>le(Ae))})}}return B.create=A=>new B(A),B})();function u(B){var A;return null!==(A=B??w.$.Promise)&&void 0!==A?A:Promise}},2771(Zt,pe,l){"use strict";l.d(pe,{m:()=>v});var i=l(1413),d=l(6129);class v extends i.B{constructor(w=1/0,e=1/0,O=d.U){super(),this._bufferSize=w,this._windowTime=e,this._timestampProvider=O,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,w),this._windowTime=Math.max(1,e)}next(w){const{isStopped:e,_buffer:O,_infiniteTimeWindow:f,_timestampProvider:u,_windowTime:L}=this;e||(O.push(w),!f&&O.push(u.now()+L)),this._trimBuffer(),super.next(w)}_subscribe(w){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(w),{_infiniteTimeWindow:O,_buffer:f}=this,u=f.slice();for(let L=0;Lf,B:()=>O});var i=l(1985),d=l(8359);const T=(0,l(1853).L)(u=>function(){u(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var w=l(7908),e=l(9786);let O=(()=>{class u extends i.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(C){const B=new f(this,this);return B.operator=C,B}_throwIfClosed(){if(this.closed)throw new T}next(C){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const B of this.currentObservers)B.next(C)}})}error(C){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=C;const{observers:B}=this;for(;B.length;)B.shift().error(C)}})}complete(){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:C}=this;for(;C.length;)C.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0}_trySubscribe(C){return this._throwIfClosed(),super._trySubscribe(C)}_subscribe(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)}_innerSubscribe(C){const{hasError:B,isStopped:A,observers:Pe}=this;return B||A?d.Kn:(this.currentObservers=null,Pe.push(C),new d.yU(()=>{this.currentObservers=null,(0,w.o)(Pe,C)}))}_checkFinalizedStatuses(C){const{hasError:B,thrownError:A,isStopped:Pe}=this;B?C.error(A):Pe&&C.complete()}asObservable(){const C=new i.c;return C.source=this,C}}return u.create=(L,C)=>new f(L,C),u})();class f extends O{constructor(L,C){super(),this.destination=L,this.source=C}next(L){var C,B;null===(B=null===(C=this.destination)||void 0===C?void 0:C.next)||void 0===B||B.call(C,L)}error(L){var C,B;null===(B=null===(C=this.destination)||void 0===C?void 0:C.error)||void 0===B||B.call(C,L)}complete(){var L,C;null===(C=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===C||C.call(L)}_subscribe(L){var C,B;return null!==(B=null===(C=this.source)||void 0===C?void 0:C.subscribe(L))&&void 0!==B?B:d.Kn}}},7707(Zt,pe,l){"use strict";l.d(pe,{Ms:()=>Ce,vU:()=>B});var i=l(8071),d=l(8359),v=l(1026),T=l(5334),w=l(5343);const e=u("C",void 0,void 0);function u(re,xe,Ee){return{kind:re,value:xe,error:Ee}}var L=l(9270),C=l(9786);class B extends d.yU{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,d.Uv)(xe)&&xe.add(this)):this.destination=G}static create(xe,Ee,V){return new Ce(xe,Ee,V)}next(xe){this.isStopped?W(function f(re){return u("N",re,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?W(function O(re){return u("E",void 0,re)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?W(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function Pe(re,xe){return A.call(re,xe)}class le{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:Ee}=this;if(Ee.next)try{Ee.next(xe)}catch(V){Ae(V)}}error(xe){const{partialObserver:Ee}=this;if(Ee.error)try{Ee.error(xe)}catch(V){Ae(V)}else Ae(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(Ee){Ae(Ee)}}}class Ce extends B{constructor(xe,Ee,V){let ce;if(super(),(0,i.T)(xe)||!xe)ce={next:xe??void 0,error:Ee??void 0,complete:V??void 0};else{let be;this&&v.$.useDeprecatedNextContext?(be=Object.create(xe),be.unsubscribe=()=>this.unsubscribe(),ce={next:xe.next&&Pe(xe.next,be),error:xe.error&&Pe(xe.error,be),complete:xe.complete&&Pe(xe.complete,be)}):ce=xe}this.destination=new le(ce)}}function Ae(re){v.$.useDeprecatedSynchronousErrorHandling?(0,C.l)(re):(0,T.m)(re)}function W(re,xe){const{onStoppedNotification:Ee}=v.$;Ee&&L.f.setTimeout(()=>Ee(re,xe))}const G={closed:!0,next:w.l,error:function j(re){throw re},complete:w.l}},8359(Zt,pe,l){"use strict";l.d(pe,{Kn:()=>e,yU:()=>w,Uv:()=>O});var i=l(8071);const v=(0,l(1853).L)(u=>function(C){u(this),this.message=C?`${C.length} errors occurred during unsubscription:\n${C.map((B,A)=>`${A+1}) ${B.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=C});var T=l(7908);class w{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:C}=this;if(C)if(this._parentage=null,Array.isArray(C))for(const Pe of C)Pe.remove(this);else C.remove(this);const{initialTeardown:B}=this;if((0,i.T)(B))try{B()}catch(Pe){L=Pe instanceof v?Pe.errors:[Pe]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const Pe of A)try{f(Pe)}catch(le){L=L??[],le instanceof v?L=[...L,...le.errors]:L.push(le)}}if(L)throw new v(L)}}add(L){var C;if(L&&L!==this)if(this.closed)f(L);else{if(L instanceof w){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(C=this._finalizers)&&void 0!==C?C:[]).push(L)}}_hasParent(L){const{_parentage:C}=this;return C===L||Array.isArray(C)&&C.includes(L)}_addParent(L){const{_parentage:C}=this;this._parentage=Array.isArray(C)?(C.push(L),C):C?[C,L]:L}_removeParent(L){const{_parentage:C}=this;C===L?this._parentage=null:Array.isArray(C)&&(0,T.o)(C,L)}remove(L){const{_finalizers:C}=this;C&&(0,T.o)(C,L),L instanceof w&&L._removeParent(this)}}w.EMPTY=(()=>{const u=new w;return u.closed=!0,u})();const e=w.EMPTY;function O(u){return u instanceof w||u&&"closed"in u&&(0,i.T)(u.remove)&&(0,i.T)(u.add)&&(0,i.T)(u.unsubscribe)}function f(u){(0,i.T)(u)?u():u.unsubscribe()}},1026(Zt,pe,l){"use strict";l.d(pe,{$:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17(Zt,pe,l){"use strict";l.d(pe,{G:()=>e});var i=l(1985),d=l(8359),v=l(9898),T=l(4360),w=l(9974);class e extends i.c{constructor(f,u){super(),this.source=f,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,w.S)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new d.yU;const u=this.getSubject();f.add(this.source.subscribe((0,T._)(u,void 0,()=>{this._teardown(),u.complete()},L=>{this._teardown(),u.error(L)},()=>this._teardown()))),f.closed&&(this._connection=null,f=d.yU.EMPTY)}return f}refCount(){return(0,v.B)()(this)}}},4572(Zt,pe,l){"use strict";l.d(pe,{z:()=>L});var i=l(1985),d=l(3073),v=l(2806),T=l(3669),w=l(6450),e=l(9326),O=l(8496),f=l(4360),u=l(5225);function L(...A){const Pe=(0,e.lI)(A),le=(0,e.ms)(A),{args:Ce,keys:Ae}=(0,d.D)(A);if(0===Ce.length)return(0,v.H)([],Pe);const j=new i.c(function C(A,Pe,le=T.D){return Ce=>{B(Pe,()=>{const{length:Ae}=A,j=new Array(Ae);let W=Ae,G=Ae;for(let re=0;re{const xe=(0,v.H)(A[re],Pe);let Ee=!1;xe.subscribe((0,f._)(Ce,V=>{j[re]=V,Ee||(Ee=!0,G--),G||Ce.next(le(j.slice()))},()=>{--W||Ce.complete()}))},Ce)},Ce)}}(Ce,Pe,Ae?W=>(0,O.e)(Ae,W):T.D));return le?j.pipe((0,w.I)(le)):j}function B(A,Pe,le){A?(0,u.N)(le,A,Pe):Pe()}},8793(Zt,pe,l){"use strict";l.d(pe,{x:()=>w});var i=l(6365),v=l(9326),T=l(2806);function w(...e){return function d(){return(0,i.U)(1)}()((0,T.H)(e,(0,v.lI)(e)))}},9030(Zt,pe,l){"use strict";l.d(pe,{v:()=>v});var i=l(1985),d=l(8750);function v(T){return new i.c(w=>{(0,d.Tg)(T()).subscribe(w)})}},983(Zt,pe,l){"use strict";l.d(pe,{w:()=>v});const v=new(l(1985).c)(e=>e.complete())},7468(Zt,pe,l){"use strict";l.d(pe,{p:()=>f});var i=l(1985),d=l(3073),v=l(8750),T=l(9326),w=l(4360),e=l(6450),O=l(8496);function f(...u){const L=(0,T.ms)(u),{args:C,keys:B}=(0,d.D)(u),A=new i.c(Pe=>{const{length:le}=C;if(!le)return void Pe.complete();const Ce=new Array(le);let Ae=le,j=le;for(let W=0;W{G||(G=!0,j--),Ce[W]=re},()=>Ae--,void 0,()=>{(!Ae||!G)&&(j||Pe.next(B?(0,O.e)(B,Ce):Ce),Pe.complete())}))}});return L?A.pipe((0,e.I)(L)):A}},2806(Zt,pe,l){"use strict";l.d(pe,{H:()=>Ee});var i=l(8750),d=l(941),v=l(9974);function T(V,ce=0){return(0,v.N)((be,ne)=>{ne.add(V.schedule(()=>be.subscribe(ne),ce))})}var O=l(1985),u=l(4761),L=l(8071),C=l(5225);function A(V,ce){if(!V)throw new Error("Iterable cannot be null");return new O.c(be=>{(0,C.N)(be,ce,()=>{const ne=V[Symbol.asyncIterator]();(0,C.N)(be,ce,()=>{ne.next().then(J=>{J.done?be.complete():be.next(J.value)})},0,!0)})})}var Pe=l(5055),le=l(9858),Ce=l(7441),Ae=l(5397),j=l(7953),W=l(591),G=l(5196);function Ee(V,ce){return ce?function xe(V,ce){if(null!=V){if((0,Pe.l)(V))return function w(V,ce){return(0,i.Tg)(V).pipe(T(ce),(0,d.Q)(ce))}(V,ce);if((0,Ce.X)(V))return function f(V,ce){return new O.c(be=>{let ne=0;return ce.schedule(function(){ne===V.length?be.complete():(be.next(V[ne++]),be.closed||this.schedule())})})}(V,ce);if((0,le.y)(V))return function e(V,ce){return(0,i.Tg)(V).pipe(T(ce),(0,d.Q)(ce))}(V,ce);if((0,j.T)(V))return A(V,ce);if((0,Ae.x)(V))return function B(V,ce){return new O.c(be=>{let ne;return(0,C.N)(be,ce,()=>{ne=V[u.l](),(0,C.N)(be,ce,()=>{let J,De;try{({value:J,done:De}=ne.next())}catch(Re){return void be.error(Re)}De?be.complete():be.next(J)},0,!0)}),()=>(0,L.T)(ne?.return)&&ne.return()})}(V,ce);if((0,G.U)(V))return function re(V,ce){return A((0,G.C)(V),ce)}(V,ce)}throw(0,W.L)(V)}(V,ce):(0,i.Tg)(V)}},3726(Zt,pe,l){"use strict";l.d(pe,{R:()=>L});var i=l(8750),d=l(1985),v=l(1397),T=l(7441),w=l(8071),e=l(6450);const O=["addListener","removeListener"],f=["addEventListener","removeEventListener"],u=["on","off"];function L(le,Ce,Ae,j){if((0,w.T)(Ae)&&(j=Ae,Ae=void 0),j)return L(le,Ce,Ae).pipe((0,e.I)(j));const[W,G]=function Pe(le){return(0,w.T)(le.addEventListener)&&(0,w.T)(le.removeEventListener)}(le)?f.map(re=>xe=>le[re](Ce,xe,Ae)):function B(le){return(0,w.T)(le.addListener)&&(0,w.T)(le.removeListener)}(le)?O.map(C(le,Ce)):function A(le){return(0,w.T)(le.on)&&(0,w.T)(le.off)}(le)?u.map(C(le,Ce)):[];if(!W&&(0,T.X)(le))return(0,v.Z)(re=>L(re,Ce,Ae))((0,i.Tg)(le));if(!W)throw new TypeError("Invalid event target");return new d.c(re=>{const xe=(...Ee)=>re.next(1G(xe)})}function C(le,Ce){return Ae=>j=>le[Ae](Ce,j)}},8750(Zt,pe,l){"use strict";l.d(pe,{Tg:()=>A});var i=l(1635),d=l(7441),v=l(9858),T=l(1985),w=l(5055),e=l(7953),O=l(591),f=l(5397),u=l(5196),L=l(8071),C=l(5334),B=l(3494);function A(re){if(re instanceof T.c)return re;if(null!=re){if((0,w.l)(re))return function Pe(re){return new T.c(xe=>{const Ee=re[B.s]();if((0,L.T)(Ee.subscribe))return Ee.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(re);if((0,d.X)(re))return function le(re){return new T.c(xe=>{for(let Ee=0;Ee{re.then(Ee=>{xe.closed||(xe.next(Ee),xe.complete())},Ee=>xe.error(Ee)).then(null,C.m)})}(re);if((0,e.T)(re))return j(re);if((0,f.x)(re))return function Ae(re){return new T.c(xe=>{for(const Ee of re)if(xe.next(Ee),xe.closed)return;xe.complete()})}(re);if((0,u.U)(re))return function W(re){return j((0,u.C)(re))}(re)}throw(0,O.L)(re)}function j(re){return new T.c(xe=>{(function G(re,xe){var Ee,V,ce,be;return(0,i.sH)(this,void 0,void 0,function*(){try{for(Ee=(0,i.xN)(re);!(V=yield Ee.next()).done;)if(xe.next(V.value),xe.closed)return}catch(ne){ce={error:ne}}finally{try{V&&!V.done&&(be=Ee.return)&&(yield be.call(Ee))}finally{if(ce)throw ce.error}}xe.complete()})})(re,xe).catch(Ee=>xe.error(Ee))})}},7786(Zt,pe,l){"use strict";l.d(pe,{h:()=>e});var i=l(6365),d=l(8750),v=l(983),T=l(9326),w=l(2806);function e(...O){const f=(0,T.lI)(O),u=(0,T.R0)(O,1/0),L=O;return L.length?1===L.length?(0,d.Tg)(L[0]):(0,i.U)(u)((0,w.H)(L,f)):v.w}},7673(Zt,pe,l){"use strict";l.d(pe,{of:()=>v});var i=l(9326),d=l(2806);function v(...T){const w=(0,i.lI)(T);return(0,d.H)(T,w)}},8810(Zt,pe,l){"use strict";l.d(pe,{$:()=>v});var i=l(1985),d=l(8071);function v(T,w){const e=(0,d.T)(T)?T:()=>T,O=f=>f.error(e());return new i.c(w?f=>w.schedule(O,0,f):O)}},1807(Zt,pe,l){"use strict";l.d(pe,{O:()=>w});var i=l(1985),d=l(3236),v=l(9470),T=l(8211);function w(e=0,O,f=d.b){let u=-1;return null!=O&&((0,v.m)(O)?f=O:u=O),new i.c(L=>{let C=(0,T.v)(e)?+e-f.now():e;C<0&&(C=0);let B=0;return f.schedule(function(){L.closed||(L.next(B++),0<=u?this.schedule(void 0,u):L.complete())},C)})}},4360(Zt,pe,l){"use strict";l.d(pe,{H:()=>v,_:()=>d});var i=l(7707);function d(T,w,e,O,f){return new v(T,w,e,O,f)}class v extends i.vU{constructor(w,e,O,f,u,L){super(w),this.onFinalize=u,this.shouldUnsubscribe=L,this._next=e?function(C){try{e(C)}catch(B){w.error(B)}}:super._next,this._error=f?function(C){try{f(C)}catch(B){w.error(B)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(C){w.error(C)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var w;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(w=this.onFinalize)||void 0===w||w.call(this))}}}},3798(Zt,pe,l){"use strict";l.d(pe,{Z:()=>O});var i=l(3236),d=l(9974),v=l(8750),T=l(4360),e=l(1807);function O(f,u=i.E){return function w(f){return(0,d.N)((u,L)=>{let C=!1,B=null,A=null,Pe=!1;const le=()=>{if(A?.unsubscribe(),A=null,C){C=!1;const Ae=B;B=null,L.next(Ae)}Pe&&L.complete()},Ce=()=>{A=null,Pe&&L.complete()};u.subscribe((0,T._)(L,Ae=>{C=!0,B=Ae,A||(0,v.Tg)(f(Ae)).subscribe(A=(0,T._)(L,le,Ce))},()=>{Pe=!0,(!C||!A||A.closed)&&L.complete()}))})}(()=>(0,e.O)(f,u))}},9437(Zt,pe,l){"use strict";l.d(pe,{W:()=>T});var i=l(8750),d=l(4360),v=l(9974);function T(w){return(0,v.N)((e,O)=>{let L,f=null,u=!1;f=e.subscribe((0,d._)(O,void 0,void 0,C=>{L=(0,i.Tg)(w(C,T(w)(e))),f?(f.unsubscribe(),f=null,L.subscribe(O)):u=!0})),u&&(f.unsubscribe(),f=null,L.subscribe(O))})}},274(Zt,pe,l){"use strict";l.d(pe,{H:()=>v});var i=l(1397),d=l(8071);function v(T,w){return(0,d.T)(w)?(0,i.Z)(T,w,1):(0,i.Z)(T,1)}},152(Zt,pe,l){"use strict";l.d(pe,{B:()=>T});var i=l(3236),d=l(9974),v=l(4360);function T(w,e=i.E){return(0,d.N)((O,f)=>{let u=null,L=null,C=null;const B=()=>{if(u){u.unsubscribe(),u=null;const Pe=L;L=null,f.next(Pe)}};function A(){const Pe=C+w,le=e.now();if(le{L=Pe,C=e.now(),u||(u=e.schedule(A,w),f.add(u))},()=>{B(),f.complete()},void 0,()=>{L=u=null}))})}},9901(Zt,pe,l){"use strict";l.d(pe,{U:()=>v});var i=l(9974),d=l(4360);function v(T){return(0,i.N)((w,e)=>{let O=!1;w.subscribe((0,d._)(e,f=>{O=!0,e.next(f)},()=>{O||e.next(T),e.complete()}))})}},3294(Zt,pe,l){"use strict";l.d(pe,{F:()=>T});var i=l(3669),d=l(9974),v=l(4360);function T(e,O=i.D){return e=e??w,(0,d.N)((f,u)=>{let L,C=!0;f.subscribe((0,v._)(u,B=>{const A=O(B);(C||!e(L,A))&&(C=!1,L=A,u.next(B))}))})}function w(e,O){return e===O}},5964(Zt,pe,l){"use strict";l.d(pe,{p:()=>v});var i=l(9974),d=l(4360);function v(T,w){return(0,i.N)((e,O)=>{let f=0;e.subscribe((0,d._)(O,u=>T.call(w,u,f++)&&O.next(u)))})}},980(Zt,pe,l){"use strict";l.d(pe,{j:()=>d});var i=l(9974);function d(v){return(0,i.N)((T,w)=>{try{T.subscribe(w)}finally{w.add(v)}})}},1594(Zt,pe,l){"use strict";l.d(pe,{$:()=>O});var i=l(9350),d=l(5964),v=l(6697),T=l(9901),w=l(3774),e=l(3669);function O(f,u){const L=arguments.length>=2;return C=>C.pipe(f?(0,d.p)((B,A)=>f(B,A,C)):e.D,(0,v.s)(1),L?(0,T.U)(u):(0,w.v)(()=>new i.G))}},3557(Zt,pe,l){"use strict";l.d(pe,{w:()=>T});var i=l(9974),d=l(4360),v=l(5343);function T(){return(0,i.N)((w,e)=>{w.subscribe((0,d._)(e,v.l))})}},6354(Zt,pe,l){"use strict";l.d(pe,{T:()=>v});var i=l(9974),d=l(4360);function v(T,w){return(0,i.N)((e,O)=>{let f=0;e.subscribe((0,d._)(O,u=>{O.next(T.call(w,u,f++))}))})}},3703(Zt,pe,l){"use strict";l.d(pe,{u:()=>d});var i=l(6354);function d(v){return(0,i.T)(()=>v)}},6365(Zt,pe,l){"use strict";l.d(pe,{U:()=>v});var i=l(1397),d=l(3669);function v(T=1/0){return(0,i.Z)(d.D,T)}},1397(Zt,pe,l){"use strict";l.d(pe,{Z:()=>f});var i=l(6354),d=l(8750),v=l(9974),T=l(5225),w=l(4360),O=l(8071);function f(u,L,C=1/0){return(0,O.T)(L)?f((B,A)=>(0,i.T)((Pe,le)=>L(B,Pe,A,le))((0,d.Tg)(u(B,A))),C):("number"==typeof L&&(C=L),(0,v.N)((B,A)=>function e(u,L,C,B,A,Pe,le,Ce){const Ae=[];let j=0,W=0,G=!1;const re=()=>{G&&!Ae.length&&!j&&L.complete()},xe=V=>j{Pe&&L.next(V),j++;let ce=!1;(0,d.Tg)(C(V,W++)).subscribe((0,w._)(L,be=>{A?.(be),Pe?xe(be):L.next(be)},()=>{ce=!0},void 0,()=>{if(ce)try{for(j--;Ae.length&&jEe(be)):Ee(be)}re()}catch(be){L.error(be)}}))};return u.subscribe((0,w._)(L,xe,()=>{G=!0,re()})),()=>{Ce?.()}}(B,A,u,C)))}},941(Zt,pe,l){"use strict";l.d(pe,{Q:()=>T});var i=l(5225),d=l(9974),v=l(4360);function T(w,e=0){return(0,d.N)((O,f)=>{O.subscribe((0,v._)(f,u=>(0,i.N)(f,w,()=>f.next(u),e),()=>(0,i.N)(f,w,()=>f.complete(),e),u=>(0,i.N)(f,w,()=>f.error(u),e)))})}},9898(Zt,pe,l){"use strict";l.d(pe,{B:()=>v});var i=l(9974),d=l(4360);function v(){return(0,i.N)((T,w)=>{let e=null;T._refCount++;const O=(0,d._)(w,void 0,void 0,void 0,()=>{if(!T||T._refCount<=0||0<--T._refCount)return void(e=null);const f=T._connection,u=e;e=null,f&&(!u||f===u)&&f.unsubscribe(),w.unsubscribe()});T.subscribe(O),O.closed||(e=T.connect())})}},1943(Zt,pe,l){"use strict";l.d(pe,{S:()=>v});var i=l(9974),d=l(6649);function v(T,w){return(0,i.N)((0,d.S)(T,w,arguments.length>=2,!0))}},6649(Zt,pe,l){"use strict";l.d(pe,{S:()=>d});var i=l(4360);function d(v,T,w,e,O){return(f,u)=>{let L=w,C=T,B=0;f.subscribe((0,i._)(u,A=>{const Pe=B++;C=L?v(C,A,Pe):(L=!0,A),e&&u.next(C)},O&&(()=>{L&&u.next(C),u.complete()})))}}},7647(Zt,pe,l){"use strict";l.d(pe,{u:()=>w});var i=l(8750),d=l(1413),v=l(7707),T=l(9974);function w(O={}){const{connector:f=()=>new d.B,resetOnError:u=!0,resetOnComplete:L=!0,resetOnRefCountZero:C=!0}=O;return B=>{let A,Pe,le,Ce=0,Ae=!1,j=!1;const W=()=>{Pe?.unsubscribe(),Pe=void 0},G=()=>{W(),A=le=void 0,Ae=j=!1},re=()=>{const xe=A;G(),xe?.unsubscribe()};return(0,T.N)((xe,Ee)=>{Ce++,!j&&!Ae&&W();const V=le=le??f();Ee.add(()=>{Ce--,0===Ce&&!j&&!Ae&&(Pe=e(re,C))}),V.subscribe(Ee),!A&&Ce>0&&(A=new v.Ms({next:ce=>V.next(ce),error:ce=>{j=!0,W(),Pe=e(G,u,ce),V.error(ce)},complete:()=>{Ae=!0,W(),Pe=e(G,L),V.complete()}}),(0,i.Tg)(xe).subscribe(A))})(B)}}function e(O,f,...u){if(!0===f)return void O();if(!1===f)return;const L=new v.Ms({next:()=>{L.unsubscribe(),O()}});return(0,i.Tg)(f(...u)).subscribe(L)}},5245(Zt,pe,l){"use strict";l.d(pe,{i:()=>d});var i=l(5964);function d(v){return(0,i.p)((T,w)=>v<=w)}},9172(Zt,pe,l){"use strict";l.d(pe,{Z:()=>T});var i=l(8793),d=l(9326),v=l(9974);function T(...w){const e=(0,d.lI)(w);return(0,v.N)((O,f)=>{(e?(0,i.x)(w,O,e):(0,i.x)(w,O)).subscribe(f)})}},5558(Zt,pe,l){"use strict";l.d(pe,{n:()=>T});var i=l(8750),d=l(9974),v=l(4360);function T(w,e){return(0,d.N)((O,f)=>{let u=null,L=0,C=!1;const B=()=>C&&!u&&f.complete();O.subscribe((0,v._)(f,A=>{u?.unsubscribe();let Pe=0;const le=L++;(0,i.Tg)(w(A,le)).subscribe(u=(0,v._)(f,Ce=>f.next(e?e(A,Ce,le,Pe++):Ce),()=>{u=null,B()}))},()=>{C=!0,B()}))})}},6697(Zt,pe,l){"use strict";l.d(pe,{s:()=>T});var i=l(983),d=l(9974),v=l(4360);function T(w){return w<=0?()=>i.w:(0,d.N)((e,O)=>{let f=0;e.subscribe((0,v._)(O,u=>{++f<=w&&(O.next(u),w<=f&&O.complete())}))})}},6977(Zt,pe,l){"use strict";l.d(pe,{Q:()=>w});var i=l(9974),d=l(4360),v=l(8750),T=l(5343);function w(e){return(0,i.N)((O,f)=>{(0,v.Tg)(e).subscribe((0,d._)(f,()=>f.complete(),T.l)),!f.closed&&O.subscribe(f)})}},8141(Zt,pe,l){"use strict";l.d(pe,{M:()=>w});var i=l(8071),d=l(9974),v=l(4360),T=l(3669);function w(e,O,f){const u=(0,i.T)(e)||O||f?{next:e,error:O,complete:f}:e;return u?(0,d.N)((L,C)=>{var B;null===(B=u.subscribe)||void 0===B||B.call(u);let A=!0;L.subscribe((0,v._)(C,Pe=>{var le;null===(le=u.next)||void 0===le||le.call(u,Pe),C.next(Pe)},()=>{var Pe;A=!1,null===(Pe=u.complete)||void 0===Pe||Pe.call(u),C.complete()},Pe=>{var le;A=!1,null===(le=u.error)||void 0===le||le.call(u,Pe),C.error(Pe)},()=>{var Pe,le;A&&(null===(Pe=u.unsubscribe)||void 0===Pe||Pe.call(u)),null===(le=u.finalize)||void 0===le||le.call(u)}))}):T.D}},3774(Zt,pe,l){"use strict";l.d(pe,{v:()=>T});var i=l(9350),d=l(9974),v=l(4360);function T(e=w){return(0,d.N)((O,f)=>{let u=!1;O.subscribe((0,v._)(f,L=>{u=!0,f.next(L)},()=>u?f.complete():f.error(e())))})}function w(){return new i.G}},3993(Zt,pe,l){"use strict";l.d(pe,{E:()=>O});var i=l(9974),d=l(4360),v=l(8750),T=l(3669),w=l(5343),e=l(9326);function O(...f){const u=(0,e.ms)(f);return(0,i.N)((L,C)=>{const B=f.length,A=new Array(B);let Pe=f.map(()=>!1),le=!1;for(let Ce=0;Ce{A[Ce]=Ae,!le&&!Pe[Ce]&&(Pe[Ce]=!0,(le=Pe.every(T.D))&&(Pe=null))},w.l));L.subscribe((0,d._)(C,Ce=>{if(le){const Ae=[Ce,...A];C.next(u?u(...Ae):Ae)}}))})}},6780(Zt,pe,l){"use strict";l.d(pe,{R:()=>w});var i=l(8359);class d extends i.yU{constructor(O,f){super()}schedule(O,f=0){return this}}const v={setInterval(e,O,...f){const{delegate:u}=v;return u?.setInterval?u.setInterval(e,O,...f):setInterval(e,O,...f)},clearInterval(e){const{delegate:O}=v;return(O?.clearInterval||clearInterval)(e)},delegate:void 0};var T=l(7908);class w extends d{constructor(O,f){super(O,f),this.scheduler=O,this.work=f,this.pending=!1}schedule(O,f=0){var u;if(this.closed)return this;this.state=O;const L=this.id,C=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(C,L,f)),this.pending=!0,this.delay=f,this.id=null!==(u=this.id)&&void 0!==u?u:this.requestAsyncId(C,this.id,f),this}requestAsyncId(O,f,u=0){return v.setInterval(O.flush.bind(O,this),u)}recycleAsyncId(O,f,u=0){if(null!=u&&this.delay===u&&!1===this.pending)return f;null!=f&&v.clearInterval(f)}execute(O,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const u=this._execute(O,f);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,f){let L,u=!1;try{this.work(O)}catch(C){u=!0,L=C||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),L}unsubscribe(){if(!this.closed){const{id:O,scheduler:f}=this,{actions:u}=f;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.o)(u,this),null!=O&&(this.id=this.recycleAsyncId(f,O,null)),this.delay=null,super.unsubscribe()}}}},9687(Zt,pe,l){"use strict";l.d(pe,{q:()=>v});var i=l(6129);class d{constructor(w,e=d.now){this.schedulerActionCtor=w,this.now=e}schedule(w,e=0,O){return new this.schedulerActionCtor(this,w).schedule(O,e)}}d.now=i.U.now;class v extends d{constructor(w,e=d.now){super(w,e),this.actions=[],this._active=!1}flush(w){const{actions:e}=this;if(this._active)return void e.push(w);let O;this._active=!0;do{if(O=w.execute(w.state,w.delay))break}while(w=e.shift());if(this._active=!1,O){for(;w=e.shift();)w.unsubscribe();throw O}}}},3236(Zt,pe,l){"use strict";l.d(pe,{E:()=>v,b:()=>T});var i=l(6780);const v=new(l(9687).q)(i.R),T=v},6129(Zt,pe,l){"use strict";l.d(pe,{U:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},7242(Zt,pe,l){"use strict";l.d(pe,{T:()=>w});var i=l(6780),v=l(9687);const w=new class T extends v.q{}(class d extends i.R{constructor(f,u){super(f,u),this.scheduler=f,this.work=u}schedule(f,u=0){return u>0?super.schedule(f,u):(this.delay=u,this.state=f,this.scheduler.flush(this),this)}execute(f,u){return u>0||this.closed?super.execute(f,u):this._execute(f,u)}requestAsyncId(f,u,L=0){return null!=L&&L>0||null==L&&this.delay>0?super.requestAsyncId(f,u,L):(f.flush(this),0)}})},9270(Zt,pe,l){"use strict";l.d(pe,{f:()=>i});const i={setTimeout(d,v,...T){const{delegate:w}=i;return w?.setTimeout?w.setTimeout(d,v,...T):setTimeout(d,v,...T)},clearTimeout(d){const{delegate:v}=i;return(v?.clearTimeout||clearTimeout)(d)},delegate:void 0}},4761(Zt,pe,l){"use strict";l.d(pe,{l:()=>d});const d=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(Zt,pe,l){"use strict";l.d(pe,{s:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(Zt,pe,l){"use strict";l.d(pe,{G:()=>d});const d=(0,l(1853).L)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(Zt,pe,l){"use strict";l.d(pe,{R0:()=>e,lI:()=>w,ms:()=>T});var i=l(8071),d=l(9470);function v(O){return O[O.length-1]}function T(O){return(0,i.T)(v(O))?O.pop():void 0}function w(O){return(0,d.m)(v(O))?O.pop():void 0}function e(O,f){return"number"==typeof v(O)?O.pop():f}},3073(Zt,pe,l){"use strict";l.d(pe,{D:()=>w});const{isArray:i}=Array,{getPrototypeOf:d,prototype:v,keys:T}=Object;function w(O){if(1===O.length){const f=O[0];if(i(f))return{args:f,keys:null};if(function e(O){return O&&"object"==typeof O&&d(O)===v}(f)){const u=T(f);return{args:u.map(L=>f[L]),keys:u}}}return{args:O,keys:null}}},7908(Zt,pe,l){"use strict";function i(d,v){if(d){const T=d.indexOf(v);0<=T&&d.splice(T,1)}}l.d(pe,{o:()=>i})},1853(Zt,pe,l){"use strict";function i(d){const T=d(w=>{Error.call(w),w.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}l.d(pe,{L:()=>i})},8496(Zt,pe,l){"use strict";function i(d,v){return d.reduce((T,w,e)=>(T[w]=v[e],T),{})}l.d(pe,{e:()=>i})},9786(Zt,pe,l){"use strict";l.d(pe,{Y:()=>v,l:()=>T});var i=l(1026);let d=null;function v(w){if(i.$.useDeprecatedSynchronousErrorHandling){const e=!d;if(e&&(d={errorThrown:!1,error:null}),w(),e){const{errorThrown:O,error:f}=d;if(d=null,O)throw f}}else w()}function T(w){i.$.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=w)}},5225(Zt,pe,l){"use strict";function i(d,v,T,w=0,e=!1){const O=v.schedule(function(){T(),e?d.add(this.schedule(null,w)):this.unsubscribe()},w);if(d.add(O),!e)return O}l.d(pe,{N:()=>i})},3669(Zt,pe,l){"use strict";function i(d){return d}l.d(pe,{D:()=>i})},7441(Zt,pe,l){"use strict";l.d(pe,{X:()=>i});const i=d=>d&&"number"==typeof d.length&&"function"!=typeof d},7953(Zt,pe,l){"use strict";l.d(pe,{T:()=>d});var i=l(8071);function d(v){return Symbol.asyncIterator&&(0,i.T)(v?.[Symbol.asyncIterator])}},8211(Zt,pe,l){"use strict";function i(d){return d instanceof Date&&!isNaN(d)}l.d(pe,{v:()=>i})},8071(Zt,pe,l){"use strict";function i(d){return"function"==typeof d}l.d(pe,{T:()=>i})},5055(Zt,pe,l){"use strict";l.d(pe,{l:()=>v});var i=l(3494),d=l(8071);function v(T){return(0,d.T)(T[i.s])}},5397(Zt,pe,l){"use strict";l.d(pe,{x:()=>v});var i=l(4761),d=l(8071);function v(T){return(0,d.T)(T?.[i.l])}},4402(Zt,pe,l){"use strict";l.d(pe,{A:()=>v});var i=l(1985),d=l(8071);function v(T){return!!T&&(T instanceof i.c||(0,d.T)(T.lift)&&(0,d.T)(T.subscribe))}},9858(Zt,pe,l){"use strict";l.d(pe,{y:()=>d});var i=l(8071);function d(v){return(0,i.T)(v?.then)}},5196(Zt,pe,l){"use strict";l.d(pe,{C:()=>v,U:()=>T});var i=l(1635),d=l(8071);function v(w){return(0,i.AQ)(this,arguments,function*(){const O=w.getReader();try{for(;;){const{value:f,done:u}=yield(0,i.N3)(O.read());if(u)return yield(0,i.N3)(void 0);yield yield(0,i.N3)(f)}}finally{O.releaseLock()}})}function T(w){return(0,d.T)(w?.getReader)}},9470(Zt,pe,l){"use strict";l.d(pe,{m:()=>d});var i=l(8071);function d(v){return v&&(0,i.T)(v.schedule)}},9974(Zt,pe,l){"use strict";l.d(pe,{N:()=>v,S:()=>d});var i=l(8071);function d(T){return(0,i.T)(T?.lift)}function v(T){return w=>{if(d(w))return w.lift(function(e){try{return T(e,this)}catch(O){this.error(O)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(Zt,pe,l){"use strict";l.d(pe,{I:()=>T});var i=l(6354);const{isArray:d}=Array;function T(w){return(0,i.T)(e=>function v(w,e){return d(e)?w(...e):w(e)}(w,e))}},5343(Zt,pe,l){"use strict";function i(){}l.d(pe,{l:()=>i})},1203(Zt,pe,l){"use strict";l.d(pe,{F:()=>d,m:()=>v});var i=l(3669);function d(...T){return v(T)}function v(T){return 0===T.length?i.D:1===T.length?T[0]:function(e){return T.reduce((O,f)=>f(O),e)}}},5334(Zt,pe,l){"use strict";l.d(pe,{m:()=>v});var i=l(1026),d=l(9270);function v(T){d.f.setTimeout(()=>{const{onUnhandledError:w}=i.$;if(!w)throw T;w(T)})}},591(Zt,pe,l){"use strict";function i(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(pe,{L:()=>i})},2852(Zt,pe,l){!function(i){"use strict";var d={};Zt.exports?(d.bytesToHex=l(4740).bytesToHex,d.convertString=l(820),Zt.exports=f):(d.bytesToHex=i.convertHex.bytesToHex,d.convertString=i.convertString,i.sha256=f);var v=[];!function(){function u(A){for(var Pe=Math.sqrt(A),le=2;le<=Pe;le++)if(!(A%le))return!1;return!0}function L(A){return 4294967296*(A-(0|A))|0}for(var C=2,B=0;B<64;)u(C)&&(v[B]=L(Math.pow(C,1/3)),B++),C++}();var T=function(u){for(var L=[],C=0,B=0;C>>5]|=u[C]<<24-B%32;return L},w=function(u){for(var L=[],C=0;C<32*u.length;C+=8)L.push(u[C>>>5]>>>24-C%32&255);return L},e=[],O=function(u,L,C){for(var B=u[0],A=u[1],Pe=u[2],le=u[3],Ce=u[4],Ae=u[5],j=u[6],W=u[7],G=0;G<64;G++){if(G<16)e[G]=0|L[C+G];else{var re=e[G-15],Ee=e[G-2];e[G]=((re<<25|re>>>7)^(re<<14|re>>>18)^re>>>3)+e[G-7]+((Ee<<15|Ee>>>17)^(Ee<<13|Ee>>>19)^Ee>>>10)+e[G-16]}var be=B&A^B&Pe^A&Pe,De=W+((Ce<<26|Ce>>>6)^(Ce<<21|Ce>>>11)^(Ce<<7|Ce>>>25))+(Ce&Ae^~Ce&j)+v[G]+e[G];W=j,j=Ae,Ae=Ce,Ce=le+De|0,le=Pe,Pe=A,A=B,B=De+(((B<<30|B>>>2)^(B<<19|B>>>13)^(B<<10|B>>>22))+be)|0}u[0]=u[0]+B|0,u[1]=u[1]+A|0,u[2]=u[2]+Pe|0,u[3]=u[3]+le|0,u[4]=u[4]+Ce|0,u[5]=u[5]+Ae|0,u[6]=u[6]+j|0,u[7]=u[7]+W|0};function f(u,L){u.constructor===String&&(u=d.convertString.UTF8.stringToBytes(u));var C=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],B=T(u),A=8*u.length;B[A>>5]|=128<<24-A%32,B[15+(A+64>>9<<4)]=A;for(var Pe=0;Pej,If:()=>i,K2:()=>e,Os:()=>w,P:()=>Pe,PZ:()=>Ae,hZ:()=>v,i0:()=>T,i7:()=>u,iF:()=>O,kY:()=>L,kp:()=>d,sf:()=>Ce,wk:()=>f});var i=function(W){return W[W.State=0]="State",W[W.Transition=1]="Transition",W[W.Sequence=2]="Sequence",W[W.Group=3]="Group",W[W.Animate=4]="Animate",W[W.Keyframes=5]="Keyframes",W[W.Style=6]="Style",W[W.Trigger=7]="Trigger",W[W.Reference=8]="Reference",W[W.AnimateChild=9]="AnimateChild",W[W.AnimateRef=10]="AnimateRef",W[W.Query=11]="Query",W[W.Stagger=12]="Stagger",W}(i||{});const d="*";function v(W,G){return{type:i.Trigger,name:W,definitions:G,options:{}}}function T(W,G=null){return{type:i.Animate,styles:G,timings:W}}function w(W,G=null){return{type:i.Group,steps:W,options:G}}function e(W,G=null){return{type:i.Sequence,steps:W,options:G}}function O(W){return{type:i.Style,styles:W,offset:null}}function f(W,G,re){return{type:i.State,name:W,styles:G,options:re}}function u(W){return{type:i.Keyframes,steps:W}}function L(W,G,re=null){return{type:i.Transition,expr:W,animation:G,options:re}}function Pe(W,G,re=null){return{type:i.Query,selector:W,animation:G,options:re}}class Ce{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(G=0,re=0){this.totalTime=G+re}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._originalOnStartFns.push(G),this._onStartFns.push(G)}onDone(G){this._originalOnDoneFns.push(G),this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const re="start"==G?this._onStartFns:this._onDoneFns;re.forEach(xe=>xe()),re.length=0}}class Ae{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(G){this.players=G;let re=0,xe=0,Ee=0;const V=this.players.length;0==V?queueMicrotask(()=>this._onFinish()):this.players.forEach(ce=>{ce.onDone(()=>{++re==V&&this._onFinish()}),ce.onDestroy(()=>{++xe==V&&this._onDestroy()}),ce.onStart(()=>{++Ee==V&&this._onStart()})}),this.totalTime=this.players.reduce((ce,be)=>Math.max(ce,be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const re=G*this.totalTime;this.players.forEach(xe=>{const Ee=xe.totalTime?Math.min(1,re/xe.totalTime):1;xe.setPosition(Ee)})}getPosition(){const G=this.players.reduce((re,xe)=>null===re||xe.totalTime>re.totalTime?xe:re,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const re="start"==G?this._onStartFns:this._onDoneFns;re.forEach(xe=>xe()),re.length=0}}const j="!"},7094(Zt,pe,l){"use strict";l.d(pe,{Ai:()=>ie,GX:()=>_e,Pd:()=>Vt,Q_:()=>Ke,Z7:()=>j,kB:()=>he,sp:()=>Xe});var f=l(2615),u=l(3664),L=l(7705),C=l(9842),B=l(4522),A=l(8968),Pe=l(9046),le=l(4330),Ce=l(2318);let j=(()=>{class St{_platform=(0,f.WQX)(C.O);constructor(){}isDisabled(nt){return nt.hasAttribute("disabled")}isVisible(nt){return function G(St){return!!(St.offsetWidth||St.offsetHeight||"function"==typeof St.getClientRects&&St.getClientRects().length)}(nt)&&"visible"===getComputedStyle(nt).visibility}isTabbable(nt){if(!this._platform.isBrowser)return!1;const ht=function W(St){try{return St.frameElement}catch{return null}}(function Re(St){return St.ownerDocument&&St.ownerDocument.defaultView||window}(nt));if(ht&&(-1===ne(ht)||!this.isVisible(ht)))return!1;let oe=nt.nodeName.toLowerCase(),Ye=ne(nt);return nt.hasAttribute("contenteditable")?-1!==Ye:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function J(St){let ot=St.nodeName.toLowerCase(),nt="input"===ot&&St.type;return"text"===nt||"password"===nt||"select"===ot||"textarea"===ot}(nt))&&("audio"===oe?!!nt.hasAttribute("controls")&&-1!==Ye:"video"===oe?-1!==Ye&&(null!==Ye||this._platform.FIREFOX||nt.hasAttribute("controls")):nt.tabIndex>=0)}isFocusable(nt,ht){return function De(St){return!function xe(St){return function V(St){return"input"==St.nodeName.toLowerCase()}(St)&&"hidden"==St.type}(St)&&(function re(St){let ot=St.nodeName.toLowerCase();return"input"===ot||"select"===ot||"button"===ot||"textarea"===ot}(St)||function Ee(St){return function ce(St){return"a"==St.nodeName.toLowerCase()}(St)&&St.hasAttribute("href")}(St)||St.hasAttribute("contenteditable")||be(St))}(nt)&&!this.isDisabled(nt)&&(ht?.ignoreVisibility||this.isVisible(nt))}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();function be(St){if(!St.hasAttribute("tabindex")||void 0===St.tabIndex)return!1;let ot=St.getAttribute("tabindex");return!(!ot||isNaN(parseInt(ot,10)))}function ne(St){if(!be(St))return null;const ot=parseInt(St.getAttribute("tabindex")||"",10);return isNaN(ot)?-1:ot}class Xe{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(ot){this._enabled=ot,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ot,this._startAnchor),this._toggleAnchorTabIndex(ot,this._endAnchor))}_enabled=!0;constructor(ot,nt,ht,oe,Ye=!1,fe){this._element=ot,this._checker=nt,this._ngZone=ht,this._document=oe,this._injector=fe,Ye||this.attachAnchors()}destroy(){const ot=this._startAnchor,nt=this._endAnchor;ot&&(ot.removeEventListener("focus",this.startAnchorListener),ot.remove()),nt&&(nt.removeEventListener("focus",this.endAnchorListener),nt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusInitialElement(ot)))})}focusFirstTabbableElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusFirstTabbableElement(ot)))})}focusLastTabbableElementWhenReady(ot){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusLastTabbableElement(ot)))})}_getRegionBoundary(ot){const nt=this._element.querySelectorAll(`[cdk-focus-region-${ot}], [cdkFocusRegion${ot}], [cdk-focus-${ot}]`);return"start"==ot?nt.length?nt[0]:this._getFirstTabbableElement(this._element):nt.length?nt[nt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ot){const nt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(nt){if(!this._checker.isFocusable(nt)){const ht=this._getFirstTabbableElement(nt);return ht?.focus(ot),!!ht}return nt.focus(ot),!0}return this.focusFirstTabbableElement(ot)}focusFirstTabbableElement(ot){const nt=this._getRegionBoundary("start");return nt&&nt.focus(ot),!!nt}focusLastTabbableElement(ot){const nt=this._getRegionBoundary("end");return nt&&nt.focus(ot),!!nt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ot){if(this._checker.isFocusable(ot)&&this._checker.isTabbable(ot))return ot;const nt=ot.children;for(let ht=0;ht=0;ht--){const oe=nt[ht].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(nt[ht]):null;if(oe)return oe}return null}_createAnchor(){const ot=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ot),ot.classList.add("cdk-visually-hidden"),ot.classList.add("cdk-focus-trap-anchor"),ot.setAttribute("aria-hidden","true"),ot}_toggleAnchorTabIndex(ot,nt){ot?nt.setAttribute("tabindex","0"):nt.removeAttribute("tabindex")}toggleAnchors(ot){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ot,this._startAnchor),this._toggleAnchorTabIndex(ot,this._endAnchor))}_executeOnStable(ot){this._injector?(0,u.mal)(ot,{injector:this._injector}):setTimeout(ot)}}let _e=(()=>{class St{_checker=(0,f.WQX)(j);_ngZone=(0,f.WQX)(u.SKi);_document=(0,f.WQX)(f.qQL);_injector=(0,f.WQX)(f.zZn);constructor(){(0,f.WQX)(A.l).load(Pe.Y)}create(nt,ht=!1){return new Xe(nt,this._checker,this._ngZone,this._document,ht,this._injector)}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),he=(()=>{class St{_elementRef=(0,f.WQX)(u.aKT);_focusTrapFactory=(0,f.WQX)(_e);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(nt){this.focusTrap&&(this.focusTrap.enabled=nt)}autoCapture;constructor(){(0,f.WQX)(C.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(nt){const ht=nt.autoCapture;ht&&!ht.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,B.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(ht){return new(ht||St)};static \u0275dir=u.FsC({type:St,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",L.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",L.L39]},exportAs:["cdkTrapFocus"],features:[u.OA$]})}return St})();const Dt=new f.nKC("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),Le=new f.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let te=0,ie=(()=>{class St{_ngZone=(0,f.WQX)(u.SKi);_defaultOptions=(0,f.WQX)(Le,{optional:!0});_liveElement;_document=(0,f.WQX)(f.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const nt=(0,f.WQX)(Dt,{optional:!0});this._liveElement=nt||this._createLiveElement()}announce(nt,...ht){const oe=this._defaultOptions;let Ye,fe;return 1===ht.length&&"number"==typeof ht[0]?fe=ht[0]:[Ye,fe]=ht,this.clear(),clearTimeout(this._previousTimeout),Ye||(Ye=oe&&oe.politeness?oe.politeness:"polite"),null==fe&&oe&&(fe=oe.duration),this._liveElement.setAttribute("aria-live",Ye),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Qe=>this._currentResolve=Qe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=nt,"number"==typeof fe&&(this._previousTimeout=setTimeout(()=>this.clear(),fe)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const nt="cdk-live-announcer-element",ht=this._document.getElementsByClassName(nt),oe=this._document.createElement("div");for(let Ye=0;Ye .cdk-overlay-container [aria-modal="true"]');for(let oe=0;oe{class St{_platform=(0,f.WQX)(C.O);_hasCheckedHighContrastMode;_document=(0,f.WQX)(f.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,f.WQX)(le.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return F.NONE;const nt=this._document.createElement("div");nt.style.backgroundColor="rgb(1,2,3)",nt.style.position="absolute",this._document.body.appendChild(nt);const ht=this._document.defaultView||window,oe=ht&&ht.getComputedStyle?ht.getComputedStyle(nt):null,Ye=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(nt.remove(),Ye){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return F.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return F.BLACK_ON_WHITE}return F.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const nt=this._document.body.classList;nt.remove($,ve,H),this._hasCheckedHighContrastMode=!0;const ht=this.getHighContrastMode();ht===F.BLACK_ON_WHITE?nt.add($,ve):ht===F.WHITE_ON_BLACK&&nt.add($,H)}}static \u0275fac=function(ht){return new(ht||St)};static \u0275prov=f.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),Vt=(()=>{class St{constructor(){(0,f.WQX)(Ke)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(ht){return new(ht||St)};static \u0275mod=u.$C({type:St});static \u0275inj=f.G2t({imports:[Ce.w5]})}return St})()},8617(Zt,pe,l){"use strict";l.d(pe,{Ae:()=>Ae,px:()=>Ce,vr:()=>Ee}),l(7094);var f=l(2615),u=l(3664),L=l(9842),C=l(8968),B=l(9046);function Ce(Dt,lt,Le){const te=j(Dt,lt);Le=Le.trim(),!te.some(ie=>ie.trim()===Le)&&(te.push(Le),Dt.setAttribute(lt,te.join(" ")))}function Ae(Dt,lt,Le){const te=j(Dt,lt);Le=Le.trim();const ie=te.filter(P=>P!==Le);ie.length?Dt.setAttribute(lt,ie.join(" ")):Dt.removeAttribute(lt)}function j(Dt,lt){return Dt.getAttribute(lt)?.match(/\S+/g)??[]}l(1413),l(4125);const G="cdk-describedby-message",re="cdk-describedby-host";let xe=0,Ee=(()=>{class Dt{_platform=(0,f.WQX)(L.O);_document=(0,f.WQX)(f.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+xe++;constructor(){(0,f.WQX)(C.l).load(B.Y),this._id=(0,f.WQX)(u.sZ2)+"-"+xe++}describe(Le,te,ie){if(!this._canBeDescribed(Le,te))return;const P=V(te,ie);"string"!=typeof te?(ce(te,this._id),this._messageRegistry.set(P,{messageElement:te,referenceCount:0})):this._messageRegistry.has(P)||this._createMessageElement(te,ie),this._isElementDescribedByMessage(Le,P)||this._addMessageReference(Le,P)}removeDescription(Le,te,ie){if(!te||!this._isElementNode(Le))return;const P=V(te,ie);if(this._isElementDescribedByMessage(Le,P)&&this._removeMessageReference(Le,P),"string"==typeof te){const F=this._messageRegistry.get(P);F&&0===F.referenceCount&&this._deleteMessageElement(P)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Le=this._document.querySelectorAll(`[${re}="${this._id}"]`);for(let te=0;te0!=ie.indexOf(G));Le.setAttribute("aria-describedby",te.join(" "))}_addMessageReference(Le,te){const ie=this._messageRegistry.get(te);Ce(Le,"aria-describedby",ie.messageElement.id),Le.setAttribute(re,this._id),ie.referenceCount++}_removeMessageReference(Le,te){const ie=this._messageRegistry.get(te);ie.referenceCount--,Ae(Le,"aria-describedby",ie.messageElement.id),Le.removeAttribute(re)}_isElementDescribedByMessage(Le,te){const ie=j(Le,"aria-describedby"),P=this._messageRegistry.get(te),F=P&&P.messageElement.id;return!!F&&-1!=ie.indexOf(F)}_canBeDescribed(Le,te){if(!this._isElementNode(Le))return!1;if(te&&"object"==typeof te)return!0;const ie=null==te?"":`${te}`.trim(),P=Le.getAttribute("aria-label");return!(!ie||P&&P.trim()===ie)}_isElementNode(Le){return Le.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(te){return new(te||Dt)};static \u0275prov=f.jDH({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();function V(Dt,lt){return"string"==typeof Dt?`${lt||""}/${Dt}`:Dt}function ce(Dt,lt){Dt.id||(Dt.id=`${G}-${lt}-${xe++}`)}},9090(Zt,pe,l){"use strict";l.d(pe,{A:()=>d});var i=l(2593);class d extends i.l{setActiveItem(T){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(T),this.activeItem&&this.activeItem.setActiveStyles()}}},408(Zt,pe,l){"use strict";function i(d){return Array.isArray(d)?d:[d]}l.d(pe,{F:()=>i})},8203(Zt,pe,l){"use strict";l.d(pe,{jI:()=>u});var e=l(2615),O=l(3664);let u=(()=>{class L{static \u0275fac=function(A){return new(A||L)};static \u0275mod=O.$C({type:L});static \u0275inj=e.G2t({})}return L})()},4330(Zt,pe,l){"use strict";l.d(pe,{D:()=>Ae,Q:()=>G});var i=l(2615),d=l(3664),v=l(1985),T=l(1413),w=l(4572),e=l(8793),O=l(152),f=l(6354),u=l(5245),L=l(9172),C=l(6697),B=l(6977),A=l(9842),Pe=l(408);const le=new Set;let Ce,Ae=(()=>{class xe{_platform=(0,i.WQX)(A.O);_nonce=(0,i.WQX)(d.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):W}matchMedia(V){return(this._platform.WEBKIT||this._platform.BLINK)&&function j(xe,Ee){if(!le.has(xe))try{Ce||(Ce=document.createElement("style"),Ee&&Ce.setAttribute("nonce",Ee),Ce.setAttribute("type","text/css"),document.head.appendChild(Ce)),Ce.sheet&&(Ce.sheet.insertRule(`@media ${xe} {body{ }}`,0),le.add(xe))}catch(V){console.error(V)}}(V,this._nonce),this._matchMedia(V)}static \u0275fac=function(ce){return new(ce||xe)};static \u0275prov=i.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function W(xe){return{matches:"all"===xe||""===xe,media:xe,addListener:()=>{},removeListener:()=>{}}}let G=(()=>{class xe{_mediaMatcher=(0,i.WQX)(Ae);_zone=(0,i.WQX)(d.SKi);_queries=new Map;_destroySubject=new T.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(V){return re((0,Pe.F)(V)).some(be=>this._registerQuery(be).mql.matches)}observe(V){const be=re((0,Pe.F)(V)).map(J=>this._registerQuery(J).observable);let ne=(0,w.z)(be);return ne=(0,e.x)(ne.pipe((0,C.s)(1)),ne.pipe((0,u.i)(1),(0,O.B)(0))),ne.pipe((0,f.T)(J=>{const De={matches:!1,breakpoints:{}};return J.forEach(({matches:Re,query:Xe})=>{De.matches=De.matches||Re,De.breakpoints[Xe]=Re}),De}))}_registerQuery(V){if(this._queries.has(V))return this._queries.get(V);const ce=this._mediaMatcher.matchMedia(V),ne={observable:new v.c(J=>{const De=Re=>this._zone.run(()=>J.next(Re));return ce.addListener(De),()=>{ce.removeListener(De)}}).pipe((0,L.Z)(ce),(0,f.T)(({matches:J})=>({query:V,matches:J})),(0,B.Q)(this._destroySubject)),mql:ce};return this._queries.set(V,ne),ne}static \u0275fac=function(ce){return new(ce||xe)};static \u0275prov=i.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function re(xe){return xe.map(Ee=>Ee.split(",")).reduce((Ee,V)=>Ee.concat(V)).map(Ee=>Ee.trim())}},4085(Zt,pe,l){"use strict";function i(v){return null!=v&&"false"!=`${v}`}function d(v,T=/\s+/){const w=[];if(null!=v){const e=Array.isArray(v)?v:`${v}`.split(T);for(const O of e){const f=`${O}`.trim();f&&w.push(f)}}return w}l.d(pe,{cc:()=>d,he:()=>i})},8045(Zt,pe,l){"use strict";l.d(pe,{x:()=>v});var i=l(4402),d=l(7673);function v(T){return(0,i.A)(T)?T:(0,d.of)(T)}},4117(Zt,pe,l){"use strict";l.d(pe,{q:()=>d,y:()=>v});var i=l(17);class d{}function v(T){return T&&"function"==typeof T.connect&&!(T instanceof i.G)}},1577(Zt,pe,l){"use strict";l.d(pe,{dS:()=>O});var i=l(2615),d=l(3664);const v=new i.nKC("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,i.WQX)(i.qQL)}}),w=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let O=(()=>{class f{get value(){return this.valueSignal()}valueSignal=(0,i.vPA)("ltr");change=new d.bkB;constructor(){const L=(0,i.WQX)(v,{optional:!0});L&&this.valueSignal.set(function e(f){const u=f?.toLowerCase()||"";return"auto"===u&&typeof navigator<"u"&&navigator?.language?w.test(navigator.language)?"rtl":"ltr":"rtl"===u?"rtl":"ltr"}((L.body?L.body.dir:null)||(L.documentElement?L.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(C){return new(C||f)};static \u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},7847(Zt,pe,l){"use strict";l.d(pe,{OE:()=>d,i8:()=>T,o1:()=>v});var i=l(3664);function d(w,e=0){return v(w)?Number(w):2===arguments.length?e:0}function v(w){return!isNaN(parseFloat(w))&&!isNaN(Number(w))}function T(w){return w instanceof i.aKT?w.nativeElement:w}},5735(Zt,pe,l){"use strict";function i(v){return 0===v.buttons||0===v.detail}function d(v){const T=v.touches&&v.touches[0]||v.changedTouches&&v.changedTouches[0];return!(!T||-1!==T.identifier||null!=T.radiusX&&1!==T.radiusX||null!=T.radiusY&&1!==T.radiusY)}l.d(pe,{_:()=>i,w:()=>d})},4123(Zt,pe,l){"use strict";l.d(pe,{B:()=>d});var i=l(2593);class d extends i.l{_origin="program";setFocusOrigin(T){return this._origin=T,this}setActiveItem(T){super.setActiveItem(T),this.activeItem&&this.activeItem.focus(this._origin)}}},6838(Zt,pe,l){"use strict";l.d(pe,{FN:()=>Ee,vR:()=>V});var i=l(2615),d=l(3664),v=l(1413),T=l(4412),w=l(7673),e=l(3294),O=l(5245),f=l(6977),u=l(5735),L=l(438),C=l(4522),B=l(9842),A=l(3300),Pe=l(7847);const le=new i.nKC("cdk-input-modality-detector-options"),Ce={ignoreKeys:[L.A$,L.W3,L.eg,L.Ge,L.FX]},j={passive:!0,capture:!0};let W=(()=>{class ce{_platform=(0,i.WQX)(B.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new T.t(null);_options;_lastTouchMs=0;_onKeydown=ne=>{this._options?.ignoreKeys?.some(J=>J===ne.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.Fb)(ne))};_onMousedown=ne=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,u._)(ne)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.Fb)(ne))};_onTouchstart=ne=>{(0,u.w)(ne)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.Fb)(ne))};constructor(){const ne=(0,i.WQX)(d.SKi),J=(0,i.WQX)(i.qQL),De=(0,i.WQX)(le,{optional:!0});if(this._options={...Ce,...De},this.modalityDetected=this._modality.pipe((0,O.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,e.F)()),this._platform.isBrowser){const Re=(0,i.WQX)(d._9s).createRenderer(null,null);this._listenerCleanups=ne.runOutsideAngular(()=>[Re.listen(J,"keydown",this._onKeydown,j),Re.listen(J,"mousedown",this._onMousedown,j),Re.listen(J,"touchstart",this._onTouchstart,j)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(ne=>ne())}static \u0275fac=function(J){return new(J||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();var G=function(ce){return ce[ce.IMMEDIATE=0]="IMMEDIATE",ce[ce.EVENTUAL=1]="EVENTUAL",ce}(G||{});const re=new i.nKC("cdk-focus-monitor-default-options"),xe=(0,A.B)({passive:!0,capture:!0});let Ee=(()=>{class ce{_ngZone=(0,i.WQX)(d.SKi);_platform=(0,i.WQX)(B.O);_inputModalityDetector=(0,i.WQX)(W);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,i.WQX)(i.qQL);_stopInputModalityDetector=new v.B;constructor(){const ne=(0,i.WQX)(re,{optional:!0});this._detectionMode=ne?.detectionMode||G.IMMEDIATE}_rootNodeFocusAndBlurListener=ne=>{for(let De=(0,C.Fb)(ne);De;De=De.parentElement)"focus"===ne.type?this._onFocus(ne,De):this._onBlur(ne,De)};monitor(ne,J=!1){const De=(0,Pe.i8)(ne);if(!this._platform.isBrowser||1!==De.nodeType)return(0,w.of)();const Re=(0,C.KT)(De)||this._document,Xe=this._elementInfo.get(De);if(Xe)return J&&(Xe.checkChildren=!0),Xe.subject;const _e={checkChildren:J,subject:new v.B,rootNode:Re};return this._elementInfo.set(De,_e),this._registerGlobalListeners(_e),_e.subject}stopMonitoring(ne){const J=(0,Pe.i8)(ne),De=this._elementInfo.get(J);De&&(De.subject.complete(),this._setClasses(J),this._elementInfo.delete(J),this._removeGlobalListeners(De))}focusVia(ne,J,De){const Re=(0,Pe.i8)(ne);Re===this._document.activeElement?this._getClosestElementsInfo(Re).forEach(([_e,he])=>this._originChanged(_e,J,he)):(this._setOrigin(J),"function"==typeof Re.focus&&Re.focus(De))}ngOnDestroy(){this._elementInfo.forEach((ne,J)=>this.stopMonitoring(J))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(ne){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ne)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ne&&this._isLastInteractionFromInputLabel(ne)?"mouse":"program"}_shouldBeAttributedToTouch(ne){return this._detectionMode===G.EVENTUAL||!!ne?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ne,J){ne.classList.toggle("cdk-focused",!!J),ne.classList.toggle("cdk-touch-focused","touch"===J),ne.classList.toggle("cdk-keyboard-focused","keyboard"===J),ne.classList.toggle("cdk-mouse-focused","mouse"===J),ne.classList.toggle("cdk-program-focused","program"===J)}_setOrigin(ne,J=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ne,this._originFromTouchInteraction="touch"===ne&&J,this._detectionMode===G.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ne,J){const De=this._elementInfo.get(J),Re=(0,C.Fb)(ne);!De||!De.checkChildren&&J!==Re||this._originChanged(J,this._getFocusOrigin(Re),De)}_onBlur(ne,J){const De=this._elementInfo.get(J);!De||De.checkChildren&&ne.relatedTarget instanceof Node&&J.contains(ne.relatedTarget)||(this._setClasses(J),this._emitOrigin(De,null))}_emitOrigin(ne,J){ne.subject.observers.length&&this._ngZone.run(()=>ne.subject.next(J))}_registerGlobalListeners(ne){if(!this._platform.isBrowser)return;const J=ne.rootNode,De=this._rootNodeFocusListenerCount.get(J)||0;De||this._ngZone.runOutsideAngular(()=>{J.addEventListener("focus",this._rootNodeFocusAndBlurListener,xe),J.addEventListener("blur",this._rootNodeFocusAndBlurListener,xe)}),this._rootNodeFocusListenerCount.set(J,De+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,f.Q)(this._stopInputModalityDetector)).subscribe(Re=>{this._setOrigin(Re,!0)}))}_removeGlobalListeners(ne){const J=ne.rootNode;if(this._rootNodeFocusListenerCount.has(J)){const De=this._rootNodeFocusListenerCount.get(J);De>1?this._rootNodeFocusListenerCount.set(J,De-1):(J.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xe),J.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xe),this._rootNodeFocusListenerCount.delete(J))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ne,J,De){this._setClasses(ne,J),this._emitOrigin(De,J),this._lastFocusOrigin=J}_getClosestElementsInfo(ne){const J=[];return this._elementInfo.forEach((De,Re)=>{(Re===ne||De.checkChildren&&Re.contains(ne))&&J.push([Re,De])}),J}_isLastInteractionFromInputLabel(ne){const{_mostRecentTarget:J,mostRecentModality:De}=this._inputModalityDetector;if("mouse"!==De||!J||J===ne||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName||ne.disabled)return!1;const Re=ne.labels;if(Re)for(let Xe=0;Xe{class ce{_elementRef=(0,i.WQX)(d.aKT);_focusMonitor=(0,i.WQX)(Ee);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new d.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ne=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ne,1===ne.nodeType&&ne.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(J=>{this._focusOrigin=J,this.cdkFocusChange.emit(J)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(J){return new(J||ce)};static \u0275dir=d.FsC({type:ce,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return ce})()},9726(Zt,pe,l){"use strict";l.d(pe,{g:()=>T});var i=l(2615),d=l(3664);const v={};let T=(()=>{class w{_appId=(0,i.WQX)(d.sZ2);getId(O){return"ng"!==this._appId&&(O+=this._appId),v.hasOwnProperty(O)||(v[O]=0),`${O}${v[O]++}`}static \u0275fac=function(f){return new(f||w)};static \u0275prov=i.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},7336(Zt,pe,l){"use strict";function i(d,...v){return v.length?v.some(T=>d[T]):d.altKey||d.shiftKey||d.ctrlKey||d.metaKey}l.d(pe,{rp:()=>i})},438(Zt,pe,l){"use strict";l.d(pe,{A:()=>P,A$:()=>f,FX:()=>e,Fm:()=>w,G_:()=>d,Ge:()=>pt,Kp:()=>le,LE:()=>W,SJ:()=>V,UQ:()=>Ae,W3:()=>O,Z:()=>wt,_f:()=>C,bn:()=>Dt,dB:()=>Pe,eg:()=>ci,f2:()=>ce,i7:()=>j,n6:()=>G,t6:()=>B,w_:()=>A,wn:()=>v,yZ:()=>Ce});const d=8,v=9,w=13,e=16,O=17,f=18,C=27,B=32,A=33,Pe=34,le=35,Ce=36,Ae=37,j=38,W=39,G=40,V=46,ce=48,Dt=57,P=65,wt=90,pt=91,ci=224},9327(Zt,pe,l){"use strict";l.d(pe,{RH:()=>v,Rp:()=>T});var i=l(2615),d=l(3664);let v=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({})}return w})();const T={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2593(Zt,pe,l){"use strict";l.d(pe,{l:()=>u});var i=l(2615),d=l(3664),v=l(9295),T=l(1413),w=l(8359),e=l(9096),O=l(7336),f=l(438);class u{_items;_activeItemIndex=(0,i.vPA)(-1);_activeItem=(0,i.vPA)(null);_wrap=!1;_typeaheadSubscription=w.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=C=>C.disabled;constructor(C,B){this._items=C,C instanceof d.rOR?this._itemChangesSubscription=C.changes.subscribe(A=>this._itemsChanged(A.toArray())):(0,i.Hps)(C)&&(this._effectRef=(0,v.QZ)(()=>this._itemsChanged(C()),{injector:B}))}tabOut=new T.B;change=new T.B;skipPredicate(C){return this._skipPredicateFn=C,this}withWrap(C=!0){return this._wrap=C,this}withVerticalOrientation(C=!0){return this._vertical=C,this}withHorizontalOrientation(C){return this._horizontal=C,this}withAllowedModifierKeys(C){return this._allowedModifierKeys=C,this}withTypeAhead(C=200){this._typeaheadSubscription.unsubscribe();const B=this._getItemsArray();return this._typeahead=new e.i(B,{debounceInterval:"number"==typeof C?C:void 0,skipPredicate:A=>this._skipPredicateFn(A)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(A=>{this.setActiveItem(A)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(C=!0){return this._homeAndEnd=C,this}withPageUpDown(C=!0,B=10){return this._pageUpAndDown={enabled:C,delta:B},this}setActiveItem(C){const B=this._activeItem();this.updateActiveItem(C),this._activeItem()!==B&&this.change.next(this._activeItemIndex())}onKeydown(C){const B=C.keyCode,Pe=["altKey","ctrlKey","metaKey","shiftKey"].every(le=>!C[le]||this._allowedModifierKeys.indexOf(le)>-1);switch(B){case f.wn:return void this.tabOut.next();case f.n6:if(this._vertical&&Pe){this.setNextItemActive();break}return;case f.i7:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case f.LE:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.UQ:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.yZ:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case f.Kp:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;case f.w_:if(this._pageUpAndDown.enabled&&Pe){const le=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(le>0?le:0,1);break}return;case f.dB:if(this._pageUpAndDown.enabled&&Pe){const le=this._activeItemIndex()+this._pageUpAndDown.delta,Ce=this._getItemsArray().length;this._setActiveItemByIndex(le-1&&A!==this._activeItemIndex()&&(this._activeItemIndex.set(A),this._typeahead?.setCurrentSelectedItemIndex(A))}}}},2318(Zt,pe,l){"use strict";l.d(pe,{Wv:()=>A,w5:()=>Pe});var i=l(2615),d=l(3664),v=l(7705),T=l(1985),w=l(1413),e=l(152),O=l(5964),f=l(6354),u=l(7847);let C=(()=>{class le{create(Ae){return typeof MutationObserver>"u"?null:new MutationObserver(Ae)}static \u0275fac=function(j){return new(j||le)};static \u0275prov=i.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),B=(()=>{class le{_mutationObserverFactory=(0,i.WQX)(C);_observedElements=new Map;_ngZone=(0,i.WQX)(d.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((Ae,j)=>this._cleanupObserver(j))}observe(Ae){const j=(0,u.i8)(Ae);return new T.c(W=>{const re=this._observeElement(j).pipe((0,f.T)(xe=>xe.filter(Ee=>!function L(le){if("characterData"===le.type&&le.target instanceof Comment)return!0;if("childList"===le.type){for(let Ce=0;Ce!!xe.length)).subscribe(xe=>{this._ngZone.run(()=>{W.next(xe)})});return()=>{re.unsubscribe(),this._unobserveElement(j)}})}_observeElement(Ae){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(Ae))this._observedElements.get(Ae).count++;else{const j=new w.B,W=this._mutationObserverFactory.create(G=>j.next(G));W&&W.observe(Ae,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Ae,{observer:W,stream:j,count:1})}return this._observedElements.get(Ae).stream})}_unobserveElement(Ae){this._observedElements.has(Ae)&&(this._observedElements.get(Ae).count--,this._observedElements.get(Ae).count||this._cleanupObserver(Ae))}_cleanupObserver(Ae){if(this._observedElements.has(Ae)){const{observer:j,stream:W}=this._observedElements.get(Ae);j&&j.disconnect(),W.complete(),this._observedElements.delete(Ae)}}static \u0275fac=function(j){return new(j||le)};static \u0275prov=i.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),A=(()=>{class le{_contentObserver=(0,i.WQX)(B);_elementRef=(0,i.WQX)(d.aKT);event=new d.bkB;get disabled(){return this._disabled}set disabled(Ae){this._disabled=Ae,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(Ae){this._debounce=(0,u.OE)(Ae),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Ae=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?Ae.pipe((0,e.B)(this.debounce)):Ae).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(j){return new(j||le)};static \u0275dir=d.FsC({type:le,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",v.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return le})(),Pe=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275mod=d.$C({type:le});static \u0275inj=i.G2t({providers:[C]})}return le})()},3610(Zt,pe,l){"use strict";l.d(pe,{a:()=>B});var i=l(2615),d=l(3664),v=l(1413),T=l(1985),w=l(5964),e=l(2771),O=l(7647),u=l(6977);class C{_box;_destroyed=new v.B;_resizeSubject=new v.B;_resizeObserver;_elementObservables=new Map;constructor(Pe){this._box=Pe,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(le=>this._resizeSubject.next(le)))}observe(Pe){return this._elementObservables.has(Pe)||this._elementObservables.set(Pe,new T.c(le=>{const Ce=this._resizeSubject.subscribe(le);return this._resizeObserver?.observe(Pe,{box:this._box}),()=>{this._resizeObserver?.unobserve(Pe),Ce.unsubscribe(),this._elementObservables.delete(Pe)}}).pipe((0,w.p)(le=>le.some(Ce=>Ce.target===Pe)),function f(A,Pe,le){let Ce,Ae=!1;return A&&"object"==typeof A?({bufferSize:Ce=1/0,windowTime:Pe=1/0,refCount:Ae=!1,scheduler:le}=A):Ce=A??1/0,(0,O.u)({connector:()=>new e.m(Ce,Pe,le),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}({bufferSize:1,refCount:!0}),(0,u.Q)(this._destroyed))),this._elementObservables.get(Pe)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let B=(()=>{class A{_cleanupErrorListener;_observers=new Map;_ngZone=(0,i.WQX)(d.SKi);constructor(){}ngOnDestroy(){for(const[,le]of this._observers)le.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(le,Ce){const Ae=Ce?.box||"content-box";return this._observers.has(Ae)||this._observers.set(Ae,new C(Ae)),this._observers.get(Ae).observe(le)}static \u0275fac=function(Ce){return new(Ce||A)};static \u0275prov=i.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},9338(Zt,pe,l){"use strict";l.d(pe,{WB:()=>kn,$Q:()=>Ni,rW:()=>Gt,rR:()=>ie,Sf:()=>ht,z_:()=>ee,yY:()=>Ye,gA:()=>be,$M:()=>gt,uA:()=>Ue,Y$:()=>Pt,RH:()=>lt});var i=l(2615),d=l(3664),v=l(7705),T=l(7303),w=l(9842),e=l(4522);function O(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var f=l(8968),u=l(1413),L=l(8359);function C(ye){return null==ye?"":"string"==typeof ye?ye:`${ye}px`}var B=l(408),A=l(5718),Pe=l(6939),le=l(7860),Ce=l(5964),Ae=l(9974),j=l(4360),G=l(9726),re=l(1577),xe=l(438),Ee=l(7336),V=l(8203);const ce=(0,le.CZ)();function be(ye){return new ne(ye.get(A.Xj),ye.get(i.qQL))}class ne{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(ke,Se){this._viewportRuler=ke,this._document=Se}attach(){}enable(){if(this._canBeEnabled()){const ke=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ke.style.left||"",this._previousHTMLStyles.top=ke.style.top||"",ke.style.left=C(-this._previousScrollPosition.left),ke.style.top=C(-this._previousScrollPosition.top),ke.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ke=this._document.documentElement,ge=ke.style,N=this._document.body.style,Z=ge.scrollBehavior||"",Me=N.scrollBehavior||"";this._isEnabled=!1,ge.left=this._previousHTMLStyles.left,ge.top=this._previousHTMLStyles.top,ke.classList.remove("cdk-global-scrollblock"),ce&&(ge.scrollBehavior=N.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ce&&(ge.scrollBehavior=Z,N.scrollBehavior=Me)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Se=this._document.documentElement,ge=this._viewportRuler.getViewportSize();return Se.scrollHeight>ge.height||Se.scrollWidth>ge.width}}class Re{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(ke,Se,ge,N){this._scrollDispatcher=ke,this._ngZone=Se,this._viewportRuler=ge,this._config=N}attach(ke){this._overlayRef=ke}enable(){if(this._scrollSubscription)return;const ke=this._scrollDispatcher.scrolled(0).pipe((0,Ce.p)(Se=>!Se||!this._overlayRef.overlayElement.contains(Se.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ke.subscribe(()=>{const Se=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Se-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ke.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class _e{enable(){}disable(){}attach(){}}function he(ye,ke){return ke.some(Se=>ye.bottomSe.bottom||ye.rightSe.right)}function Dt(ye,ke){return ke.some(Se=>ye.topSe.bottom||ye.leftSe.right)}function lt(ye,ke){return new Le(ye.get(A.R),ye.get(A.Xj),ye.get(d.SKi),ke)}class Le{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(ke,Se,ge,N){this._scrollDispatcher=ke,this._viewportRuler=Se,this._ngZone=ge,this._config=N}attach(ke){this._overlayRef=ke}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Se=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ge,height:N}=this._viewportRuler.getViewportSize();he(Se,[{width:ge,height:N,bottom:N,right:ge,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let te=(()=>{class ye{_injector=(0,i.WQX)(i.zZn);constructor(){}noop=()=>new _e;close=Se=>function De(ye,ke){return new Re(ye.get(A.R),ye.get(d.SKi),ye.get(A.Xj),ke)}(this._injector,Se);block=()=>be(this._injector);reposition=Se=>lt(this._injector,Se);static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class ie{positionStrategy;scrollStrategy=new _e;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(ke){if(ke){const Se=Object.keys(ke);for(const ge of Se)void 0!==ke[ge]&&(this[ge]=ke[ge])}}}class ve{connectionPair;scrollableViewProperties;constructor(ke,Se){this.connectionPair=ke,this.scrollableViewProperties=Se}}let Ke=(()=>{class ye{_attachedOverlays=[];_document=(0,i.WQX)(i.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(Se){this.remove(Se),this._attachedOverlays.push(Se)}remove(Se){const ge=this._attachedOverlays.indexOf(Se);ge>-1&&this._attachedOverlays.splice(ge,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),Vt=(()=>{class ye extends Ke{_ngZone=(0,i.WQX)(d.SKi);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cleanupKeydown;add(Se){super.add(Se),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=Se=>{const ge=this._attachedOverlays;for(let N=ge.length-1;N>-1;N--)if(ge[N]._keydownEvents.observers.length>0){this._ngZone.run(()=>ge[N]._keydownEvents.next(Se));break}};static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=d.xGo(ye)))(N||ye)}})();static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),St=(()=>{class ye extends Ke{_platform=(0,i.WQX)(w.O);_ngZone=(0,i.WQX)(d.SKi);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(Se){if(super.add(Se),!this._isAttached){const ge=this._document.body,N={capture:!0},Z=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Z.listen(ge,"pointerdown",this._pointerDownListener,N),Z.listen(ge,"click",this._clickListener,N),Z.listen(ge,"auxclick",this._clickListener,N),Z.listen(ge,"contextmenu",this._clickListener,N)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ge.style.cursor,ge.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(Se=>Se()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=Se=>{this._pointerDownEventTarget=(0,e.Fb)(Se)};_clickListener=Se=>{const ge=(0,e.Fb)(Se),N="click"===Se.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ge;this._pointerDownEventTarget=null;const Z=this._attachedOverlays.slice();for(let Me=Z.length-1;Me>-1;Me--){const at=Z[Me];if(at._outsidePointerEvents.observers.length<1||!at.hasAttached())continue;if(ot(at.overlayElement,ge)||ot(at.overlayElement,N))break;const qe=at._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>qe.next(Se)):qe.next(Se)}};static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=d.xGo(ye)))(N||ye)}})();static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function ot(ye,ke){const Se=typeof ShadowRoot<"u"&&ShadowRoot;let ge=ke;for(;ge;){if(ge===ye)return!0;ge=Se&&ge instanceof ShadowRoot?ge.host:ge.parentNode}return!1}let nt=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275cmp=d.VBU({type:ye,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(ge,N){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return ye})(),ht=(()=>{class ye{_platform=(0,i.WQX)(w.O);_containerElement;_document=(0,i.WQX)(i.qQL);_styleLoader=(0,i.WQX)(f.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Se="cdk-overlay-container";if(this._platform.isBrowser||O()){const N=this._document.querySelectorAll(`.${Se}[platform="server"], .${Se}[platform="test"]`);for(let Z=0;Z{const ke=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(ke,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),ke.style.pointerEvents="none",ke.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Ye{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new u.B;_attachments=new u.B;_detachments=new u.B;_positionStrategy;_scrollStrategy;_locationChanges=L.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new u.B;_outsidePointerEvents=new u.B;_afterNextRenderRef;constructor(ke,Se,ge,N,Z,Me,at,qe,pn,Je=!1,Be,ut){this._portalOutlet=ke,this._host=Se,this._pane=ge,this._config=N,this._ngZone=Z,this._keyboardDispatcher=Me,this._document=at,this._location=qe,this._outsideClickDispatcher=pn,this._animationsDisabled=Je,this._injector=Be,this._renderer=ut,N.scrollStrategy&&(this._scrollStrategy=N.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=N.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(ke){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Se=this._portalOutlet.attach(ke);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,d.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Se?.onDestroy&&Se.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Se}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ke=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ke}dispose(){const ke=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,ke&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ke){ke!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ke,this.hasAttached()&&(ke.attach(this),this.updatePosition()))}updateSize(ke){this._config={...this._config,...ke},this._updateElementSize()}setDirection(ke){this._config={...this._config,direction:ke},this._updateElementDirection()}addPanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!0)}removePanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!1)}getDirection(){const ke=this._config.direction;return ke?"string"==typeof ke?ke:ke.value:"ltr"}updateScrollStrategy(ke){ke!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ke,this.hasAttached()&&(ke.attach(this),ke.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ke=this._pane.style;ke.width=C(this._config.width),ke.height=C(this._config.height),ke.minWidth=C(this._config.minWidth),ke.minHeight=C(this._config.minHeight),ke.maxWidth=C(this._config.maxWidth),ke.maxHeight=C(this._config.maxHeight)}_togglePointerEvents(ke){this._pane.style.pointerEvents=ke?"":"none"}_attachBackdrop(){const ke="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new oe(this._document,this._renderer,this._ngZone,Se=>{this._backdropClick.next(Se)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(ke))}):this._backdropRef.element.classList.add(ke)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(ke,Se,ge){const N=(0,B.F)(Se||[]).filter(Z=>!!Z);N.length&&(ge?ke.classList.add(...N):ke.classList.remove(...N))}_detachContentWhenEmpty(){let ke=!1;try{this._detachContentAfterRenderRef=(0,d.mal)(()=>{ke=!0,this._detachContent()},{injector:this._injector})}catch(Se){if(ke)throw Se;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const ke=this._scrollStrategy;ke?.disable(),ke?.detach?.()}}const fe="cdk-overlay-connected-position-bounding-box",Qe=/([A-Za-z%]+)$/;function gt(ye,ke){return new Gt(ke,ye.get(A.Xj),ye.get(i.qQL),ye.get(w.O),ye.get(ht))}class Gt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new u.B;_resizeSubscription=L.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(ke,Se,ge,N,Z){this._viewportRuler=Se,this._document=ge,this._platform=N,this._overlayContainer=Z,this.setOrigin(ke)}attach(ke){this._validatePositions(),ke.hostElement.classList.add(fe),this._overlayRef=ke,this._boundingBox=ke.hostElement,this._pane=ke.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ke=this._originRect,Se=this._overlayRect,ge=this._viewportRect,N=this._containerRect,Z=[];let Me;for(let at of this._preferredPositions){let qe=this._getOriginPoint(ke,N,at),pn=this._getOverlayPoint(qe,Se,at),Je=this._getOverlayFit(pn,Se,ge,at);if(Je.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(at,qe);this._canFitWithFlexibleDimensions(Je,pn,ge)?Z.push({position:at,origin:qe,overlayRect:Se,boundingBoxRect:this._calculateBoundingBoxRect(qe,at)}):(!Me||Me.overlayFit.visibleAreaqe&&(qe=Je,at=pn)}return this._isPushed=!1,void this._applyPosition(at.position,at.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Me.position,Me.originPoint);this._applyPosition(Me.position,Me.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&rt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(fe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ke=this._lastPosition;if(ke){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Se=this._getOriginPoint(this._originRect,this._containerRect,ke);this._applyPosition(ke,Se)}else this.apply()}withScrollableContainers(ke){return this._scrollables=ke,this}withPositions(ke){return this._preferredPositions=ke,-1===ke.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ke){return this._viewportMargin=ke,this}withFlexibleDimensions(ke=!0){return this._hasFlexibleDimensions=ke,this}withGrowAfterOpen(ke=!0){return this._growAfterOpen=ke,this}withPush(ke=!0){return this._canPush=ke,this}withLockedPosition(ke=!0){return this._positionLocked=ke,this}setOrigin(ke){return this._origin=ke,this}withDefaultOffsetX(ke){return this._offsetX=ke,this}withDefaultOffsetY(ke){return this._offsetY=ke,this}withTransformOriginOn(ke){return this._transformOriginSelector=ke,this}_getOriginPoint(ke,Se,ge){let N,Z;if("center"==ge.originX)N=ke.left+ke.width/2;else{const Me=this._isRtl()?ke.right:ke.left,at=this._isRtl()?ke.left:ke.right;N="start"==ge.originX?Me:at}return Se.left<0&&(N-=Se.left),Z="center"==ge.originY?ke.top+ke.height/2:"top"==ge.originY?ke.top:ke.bottom,Se.top<0&&(Z-=Se.top),{x:N,y:Z}}_getOverlayPoint(ke,Se,ge){let N,Z;return N="center"==ge.overlayX?-Se.width/2:"start"===ge.overlayX?this._isRtl()?-Se.width:0:this._isRtl()?0:-Se.width,Z="center"==ge.overlayY?-Se.height/2:"top"==ge.overlayY?0:-Se.height,{x:ke.x+N,y:ke.y+Z}}_getOverlayFit(ke,Se,ge,N){const Z=Ft(Se);let{x:Me,y:at}=ke,qe=this._getOffset(N,"x"),pn=this._getOffset(N,"y");qe&&(Me+=qe),pn&&(at+=pn);let ut=0-at,Ge=at+Z.height-ge.height,Ot=this._subtractOverflows(Z.width,0-Me,Me+Z.width-ge.width),se=this._subtractOverflows(Z.height,ut,Ge),We=Ot*se;return{visibleArea:We,isCompletelyWithinViewport:Z.width*Z.height===We,fitsInViewportVertically:se===Z.height,fitsInViewportHorizontally:Ot==Z.width}}_canFitWithFlexibleDimensions(ke,Se,ge){if(this._hasFlexibleDimensions){const N=ge.bottom-Se.y,Z=ge.right-Se.x,Me=cn(this._overlayRef.getConfig().minHeight),at=cn(this._overlayRef.getConfig().minWidth);return(ke.fitsInViewportVertically||null!=Me&&Me<=N)&&(ke.fitsInViewportHorizontally||null!=at&&at<=Z)}return!1}_pushOverlayOnScreen(ke,Se,ge){if(this._previousPushAmount&&this._positionLocked)return{x:ke.x+this._previousPushAmount.x,y:ke.y+this._previousPushAmount.y};const N=Ft(Se),Z=this._viewportRect,Me=Math.max(ke.x+N.width-Z.width,0),at=Math.max(ke.y+N.height-Z.height,0),qe=Math.max(Z.top-ge.top-ke.y,0),pn=Math.max(Z.left-ge.left-ke.x,0);let Je=0,Be=0;return Je=N.width<=Z.width?pn||-Me:ke.xOt&&!this._isInitialRender&&!this._growAfterOpen&&(Me=ke.y-Ot/2)}if("end"===Se.overlayX&&!N||"start"===Se.overlayX&&N)ut=ge.width-ke.x+2*this._viewportMargin,Je=ke.x-this._viewportMargin;else if("start"===Se.overlayX&&!N||"end"===Se.overlayX&&N)Be=ke.x,Je=ge.right-ke.x;else{const Ge=Math.min(ge.right-ke.x+ge.left,ke.x),Ot=this._lastBoundingBoxSize.width;Je=2*Ge,Be=ke.x-Ge,Je>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(Be=ke.x-Ot/2)}return{top:Me,left:Be,bottom:at,right:ut,width:Je,height:Z}}_setBoundingBoxStyles(ke,Se){const ge=this._calculateBoundingBoxRect(ke,Se);!this._isInitialRender&&!this._growAfterOpen&&(ge.height=Math.min(ge.height,this._lastBoundingBoxSize.height),ge.width=Math.min(ge.width,this._lastBoundingBoxSize.width));const N={};if(this._hasExactPosition())N.top=N.left="0",N.bottom=N.right=N.maxHeight=N.maxWidth="",N.width=N.height="100%";else{const Z=this._overlayRef.getConfig().maxHeight,Me=this._overlayRef.getConfig().maxWidth;N.height=C(ge.height),N.top=C(ge.top),N.bottom=C(ge.bottom),N.width=C(ge.width),N.left=C(ge.left),N.right=C(ge.right),N.alignItems="center"===Se.overlayX?"center":"end"===Se.overlayX?"flex-end":"flex-start",N.justifyContent="center"===Se.overlayY?"center":"bottom"===Se.overlayY?"flex-end":"flex-start",Z&&(N.maxHeight=C(Z)),Me&&(N.maxWidth=C(Me))}this._lastBoundingBoxSize=ge,rt(this._boundingBox.style,N)}_resetBoundingBoxStyles(){rt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){rt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ke,Se){const ge={},N=this._hasExactPosition(),Z=this._hasFlexibleDimensions,Me=this._overlayRef.getConfig();if(N){const Je=this._viewportRuler.getViewportScrollPosition();rt(ge,this._getExactOverlayY(Se,ke,Je)),rt(ge,this._getExactOverlayX(Se,ke,Je))}else ge.position="static";let at="",qe=this._getOffset(Se,"x"),pn=this._getOffset(Se,"y");qe&&(at+=`translateX(${qe}px) `),pn&&(at+=`translateY(${pn}px)`),ge.transform=at.trim(),Me.maxHeight&&(N?ge.maxHeight=C(Me.maxHeight):Z&&(ge.maxHeight="")),Me.maxWidth&&(N?ge.maxWidth=C(Me.maxWidth):Z&&(ge.maxWidth="")),rt(this._pane.style,ge)}_getExactOverlayY(ke,Se,ge){let N={top:"",bottom:""},Z=this._getOverlayPoint(Se,this._overlayRect,ke);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,ge)),"bottom"===ke.overlayY?N.bottom=this._document.documentElement.clientHeight-(Z.y+this._overlayRect.height)+"px":N.top=C(Z.y),N}_getExactOverlayX(ke,Se,ge){let Me,N={left:"",right:""},Z=this._getOverlayPoint(Se,this._overlayRect,ke);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,ge)),Me=this._isRtl()?"end"===ke.overlayX?"left":"right":"end"===ke.overlayX?"right":"left","right"===Me?N.right=this._document.documentElement.clientWidth-(Z.x+this._overlayRect.width)+"px":N.left=C(Z.x),N}_getScrollVisibility(){const ke=this._getOriginRect(),Se=this._pane.getBoundingClientRect(),ge=this._scrollables.map(N=>N.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Dt(ke,ge),isOriginOutsideView:he(ke,ge),isOverlayClipped:Dt(Se,ge),isOverlayOutsideView:he(Se,ge)}}_subtractOverflows(ke,...Se){return Se.reduce((ge,N)=>ge-Math.max(N,0),ke)}_getNarrowedViewportRect(){const ke=this._document.documentElement.clientWidth,Se=this._document.documentElement.clientHeight,ge=this._viewportRuler.getViewportScrollPosition();return{top:ge.top+this._viewportMargin,left:ge.left+this._viewportMargin,right:ge.left+ke-this._viewportMargin,bottom:ge.top+Se-this._viewportMargin,width:ke-2*this._viewportMargin,height:Se-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ke,Se){return"x"===Se?null==ke.offsetX?this._offsetX:ke.offsetX:null==ke.offsetY?this._offsetY:ke.offsetY}_validatePositions(){}_addPanelClasses(ke){this._pane&&(0,B.F)(ke).forEach(Se=>{""!==Se&&-1===this._appliedPanelClasses.indexOf(Se)&&(this._appliedPanelClasses.push(Se),this._pane.classList.add(Se))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ke=>{this._pane.classList.remove(ke)}),this._appliedPanelClasses=[])}_getOriginRect(){const ke=this._origin;if(ke instanceof d.aKT)return ke.nativeElement.getBoundingClientRect();if(ke instanceof Element)return ke.getBoundingClientRect();const Se=ke.width||0,ge=ke.height||0;return{top:ke.y,bottom:ke.y+ge,left:ke.x,right:ke.x+Se,height:ge,width:Se}}}function rt(ye,ke){for(let Se in ke)ke.hasOwnProperty(Se)&&(ye[Se]=ke[Se]);return ye}function cn(ye){if("number"!=typeof ye&&null!=ye){const[ke,Se]=ye.split(Qe);return Se&&"px"!==Se?null:parseFloat(ke)}return ye||null}function Ft(ye){return{top:Math.floor(ye.top),right:Math.floor(ye.right),bottom:Math.floor(ye.bottom),left:Math.floor(ye.left),width:Math.floor(ye.width),height:Math.floor(ye.height)}}const jt="cdk-global-overlay-wrapper";function Ue(ye){return new wt}class wt{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(ke){const Se=ke.getConfig();this._overlayRef=ke,this._width&&!Se.width&&ke.updateSize({width:this._width}),this._height&&!Se.height&&ke.updateSize({height:this._height}),ke.hostElement.classList.add(jt),this._isDisposed=!1}top(ke=""){return this._bottomOffset="",this._topOffset=ke,this._alignItems="flex-start",this}left(ke=""){return this._xOffset=ke,this._xPosition="left",this}bottom(ke=""){return this._topOffset="",this._bottomOffset=ke,this._alignItems="flex-end",this}right(ke=""){return this._xOffset=ke,this._xPosition="right",this}start(ke=""){return this._xOffset=ke,this._xPosition="start",this}end(ke=""){return this._xOffset=ke,this._xPosition="end",this}width(ke=""){return this._overlayRef?this._overlayRef.updateSize({width:ke}):this._width=ke,this}height(ke=""){return this._overlayRef?this._overlayRef.updateSize({height:ke}):this._height=ke,this}centerHorizontally(ke=""){return this.left(ke),this._xPosition="center",this}centerVertically(ke=""){return this.top(ke),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ke=this._overlayRef.overlayElement.style,Se=this._overlayRef.hostElement.style,ge=this._overlayRef.getConfig(),{width:N,height:Z,maxWidth:Me,maxHeight:at}=ge,qe=!("100%"!==N&&"100vw"!==N||Me&&"100%"!==Me&&"100vw"!==Me),pn=!("100%"!==Z&&"100vh"!==Z||at&&"100%"!==at&&"100vh"!==at),Je=this._xPosition,Be=this._xOffset,ut="rtl"===this._overlayRef.getConfig().direction;let Ge="",Ot="",se="";qe?se="flex-start":"center"===Je?(se="center",ut?Ot=Be:Ge=Be):ut?"left"===Je||"end"===Je?(se="flex-end",Ge=Be):("right"===Je||"start"===Je)&&(se="flex-start",Ot=Be):"left"===Je||"start"===Je?(se="flex-start",Ge=Be):("right"===Je||"end"===Je)&&(se="flex-end",Ot=Be),ke.position=this._cssPosition,ke.marginLeft=qe?"0":Ge,ke.marginTop=pn?"0":this._topOffset,ke.marginBottom=this._bottomOffset,ke.marginRight=qe?"0":Ot,Se.justifyContent=se,Se.alignItems=pn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ke=this._overlayRef.overlayElement.style,Se=this._overlayRef.hostElement,ge=Se.style;Se.classList.remove(jt),ge.justifyContent=ge.alignItems=ke.marginTop=ke.marginBottom=ke.marginLeft=ke.marginRight=ke.position="",this._overlayRef=null,this._isDisposed=!0}}let pt=(()=>{class ye{_injector=(0,i.WQX)(i.zZn);constructor(){}global(){return Ue()}flexibleConnectedTo(Se){return gt(this._injector,Se)}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function Pt(ye,ke){ye.get(f.l).load(nt);const Se=ye.get(ht),ge=ye.get(i.qQL),N=ye.get(G.g),Z=ye.get(d.o8S),Me=ye.get(re.dS),at=ge.createElement("div"),qe=ge.createElement("div");qe.id=N.getId("cdk-overlay-"),qe.classList.add("cdk-overlay-pane"),at.appendChild(qe),Se.getContainerElement().appendChild(at);const pn=new Pe.aI(qe,Z,ye),Je=new ie(ke),Be=ye.get(d.sFG,null,{optional:!0})||ye.get(d._9s).createRenderer(null,null);return Je.direction=Je.direction||Me.value,new Ye(pn,at,qe,Je,ye.get(d.SKi),ye.get(Vt),ge,ye.get(T.aZ),ye.get(St),ke?.disableAnimations??"NoopAnimations"===ye.get(d.bc$,null,{optional:!0}),ye.get(i.uvJ),Be)}let gn=(()=>{class ye{scrollStrategies=(0,i.WQX)(te);_positionBuilder=(0,i.WQX)(pt);_injector=(0,i.WQX)(i.zZn);constructor(){}create(Se){return Pt(this._injector,Se)}position(){return this._positionBuilder}static \u0275fac=function(ge){return new(ge||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const ei=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vi=new i.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ye=(0,i.WQX)(i.zZn);return()=>lt(ye)}});let Ni=(()=>{class ye{elementRef=(0,i.WQX)(d.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=d.FsC({type:ye,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return ye})(),kn=(()=>{class ye{_dir=(0,i.WQX)(re.dS,{optional:!0});_injector=(0,i.WQX)(i.zZn);_overlayRef;_templatePortal;_backdropSubscription=L.yU.EMPTY;_attachSubscription=L.yU.EMPTY;_detachSubscription=L.yU.EMPTY;_positionSubscription=L.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,i.WQX)(vi);_disposeOnNavigation=!1;_ngZone=(0,i.WQX)(d.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(Se){this._offsetX=Se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Se){this._offsetY=Se,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Se){this._disposeOnNavigation=Se}backdropClick=new d.bkB;positionChange=new d.bkB;attach=new d.bkB;detach=new d.bkB;overlayKeydown=new d.bkB;overlayOutsideClick=new d.bkB;constructor(){const Se=(0,i.WQX)(d.C4Q),ge=(0,i.WQX)(d.c1b);this._templatePortal=new Pe.VA(Se,ge),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(Se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Se.origin&&this.open&&this._position.apply()),Se.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ei);const Se=this._overlayRef=Pt(this._injector,this._buildConfig());this._attachSubscription=Se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Se.detachments().subscribe(()=>this.detach.emit()),Se.keydownEvents().subscribe(ge=>{this.overlayKeydown.next(ge),ge.keyCode===xe._f&&!this.disableClose&&!(0,Ee.rp)(ge)&&(ge.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ge=>{const N=this._getOriginElement(),Z=(0,e.Fb)(ge);(!N||N!==Z&&!N.contains(Z))&&this.overlayOutsideClick.next(ge)})}_buildConfig(){const Se=this._position=this.positionStrategy||this._createPositionStrategy(),ge=new ie({direction:this._dir||"ltr",positionStrategy:Se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ge.width=this.width),(this.height||0===this.height)&&(ge.height=this.height),(this.minWidth||0===this.minWidth)&&(ge.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ge.minHeight=this.minHeight),this.backdropClass&&(ge.backdropClass=this.backdropClass),this.panelClass&&(ge.panelClass=this.panelClass),ge}_updatePositionStrategy(Se){const ge=this.positions.map(N=>({originX:N.originX,originY:N.originY,overlayX:N.overlayX,overlayY:N.overlayY,offsetX:N.offsetX||this.offsetX,offsetY:N.offsetY||this.offsetY,panelClass:N.panelClass||void 0}));return Se.setOrigin(this._getOrigin()).withPositions(ge).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Se=gt(this._injector,this._getOrigin());return this._updatePositionStrategy(Se),Se}_getOrigin(){return this.origin instanceof Ni?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ni?this.origin.elementRef.nativeElement:this.origin instanceof d.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Se=>{this.backdropClick.emit(Se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function W(ye,ke=!1){return(0,Ae.N)((Se,ge)=>{let N=0;Se.subscribe((0,j._)(ge,Z=>{const Me=ye(Z,N++);(Me||ke)&&ge.next(Z),!Me&&ge.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Se=>{this._ngZone.run(()=>this.positionChange.emit(Se)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=d.FsC({type:ye,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",v.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",v.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",v.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",v.L39],push:[2,"cdkConnectedOverlayPush","push",v.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",v.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[d.OA$]})}return ye})();const vt={provide:vi,useFactory:function Ri(ye){const ke=(0,i.WQX)(i.zZn);return()=>lt(ke)}};let ee=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275mod=d.$C({type:ye});static \u0275inj=i.G2t({providers:[gn,vt],imports:[V.jI,Pe.jc,A.E9,A.E9]})}return ye})()},3300(Zt,pe,l){"use strict";let i;function v(T){return function d(){if(null==i&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>i=!0}))}finally{i=i||!1}return i}()?T:!!T.capture}l.d(pe,{B:()=>v})},9842(Zt,pe,l){"use strict";l.d(pe,{O:()=>w});var i=l(2615),d=l(3664),v=l(177);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let w=(()=>{class e{_platformId=(0,i.WQX)(d.Agw);isBrowser=this._platformId?(0,v.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!T)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(u){return new(u||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},6939(Zt,pe,l){"use strict";l.d(pe,{A8:()=>B,I3:()=>W,VA:()=>A,aI:()=>Ce,bV:()=>Ae,jc:()=>re,lb:()=>le});var d=l(2615),v=l(3664),T=l(7705);class C{_attachedHost;attach(Ee){return this._attachedHost=Ee,Ee.attach(this)}detach(){let Ee=this._attachedHost;null!=Ee&&(this._attachedHost=null,Ee.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ee){this._attachedHost=Ee}}class B extends C{component;viewContainerRef;injector;projectableNodes;constructor(Ee,V,ce,be){super(),this.component=Ee,this.viewContainerRef=V,this.injector=ce,this.projectableNodes=be}}class A extends C{templateRef;viewContainerRef;context;injector;constructor(Ee,V,ce,be){super(),this.templateRef=Ee,this.viewContainerRef=V,this.context=ce,this.injector=be}get origin(){return this.templateRef.elementRef}attach(Ee,V=this.context){return this.context=V,super.attach(Ee)}detach(){return this.context=void 0,super.detach()}}class Pe extends C{element;constructor(Ee){super(),this.element=Ee instanceof v.aKT?Ee.nativeElement:Ee}}class le{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(Ee){return Ee instanceof B?(this._attachedPortal=Ee,this.attachComponentPortal(Ee)):Ee instanceof A?(this._attachedPortal=Ee,this.attachTemplatePortal(Ee)):this.attachDomPortal&&Ee instanceof Pe?(this._attachedPortal=Ee,this.attachDomPortal(Ee)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ee){this._disposeFn=Ee}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ce extends le{outletElement;_appRef;_defaultInjector;constructor(Ee,V,ce){super(),this.outletElement=Ee,this._appRef=V,this._defaultInjector=ce}attachComponentPortal(Ee){let V;if(Ee.viewContainerRef){const ce=Ee.injector||Ee.viewContainerRef.injector,be=ce.get(v.Ab1,null,{optional:!0})||void 0;V=Ee.viewContainerRef.createComponent(Ee.component,{index:Ee.viewContainerRef.length,injector:ce,ngModuleRef:be,projectableNodes:Ee.projectableNodes||void 0}),this.setDisposeFn(()=>V.destroy())}else{const ce=this._appRef,be=Ee.injector||this._defaultInjector||d.zZn.NULL,ne=be.get(d.uvJ,ce.injector);V=(0,T.a0P)(Ee.component,{elementInjector:be,environmentInjector:ne,projectableNodes:Ee.projectableNodes||void 0}),ce.attachView(V.hostView),this.setDisposeFn(()=>{ce.viewCount>0&&ce.detachView(V.hostView),V.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(V)),this._attachedPortal=Ee,V}attachTemplatePortal(Ee){let V=Ee.viewContainerRef,ce=V.createEmbeddedView(Ee.templateRef,Ee.context,{injector:Ee.injector});return ce.rootNodes.forEach(be=>this.outletElement.appendChild(be)),ce.detectChanges(),this.setDisposeFn(()=>{let be=V.indexOf(ce);-1!==be&&V.remove(be)}),this._attachedPortal=Ee,ce}attachDomPortal=Ee=>{const V=Ee.element,ce=this.outletElement.ownerDocument.createComment("dom-portal");V.parentNode.insertBefore(ce,V),this.outletElement.appendChild(V),this._attachedPortal=Ee,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild(V,ce)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ee){return Ee.hostView.rootNodes[0]}}let Ae=(()=>{class xe extends A{constructor(){super((0,d.WQX)(v.C4Q),(0,d.WQX)(v.c1b))}static \u0275fac=function(ce){return new(ce||xe)};static \u0275dir=v.FsC({type:xe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[v.Vt3]})}return xe})(),W=(()=>{class xe extends le{_moduleRef=(0,d.WQX)(v.Ab1,{optional:!0});_document=(0,d.WQX)(d.qQL);_viewContainerRef=(0,d.WQX)(v.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(V){this.hasAttached()&&!V&&!this._isInitialized||(this.hasAttached()&&super.detach(),V&&super.attach(V),this._attachedPortal=V||null)}attached=new v.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(V){V.setAttachedHost(this);const ce=null!=V.viewContainerRef?V.viewContainerRef:this._viewContainerRef,be=ce.createComponent(V.component,{index:ce.length,injector:V.injector||ce.injector,projectableNodes:V.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return ce!==this._viewContainerRef&&this._getRootNode().appendChild(be.hostView.rootNodes[0]),super.setDisposeFn(()=>be.destroy()),this._attachedPortal=V,this._attachedRef=be,this.attached.emit(be),be}attachTemplatePortal(V){V.setAttachedHost(this);const ce=this._viewContainerRef.createEmbeddedView(V.templateRef,V.context,{injector:V.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=V,this._attachedRef=ce,this.attached.emit(ce),ce}attachDomPortal=V=>{const ce=V.element,be=this._document.createComment("dom-portal");V.setAttachedHost(this),ce.parentNode.insertBefore(be,ce),this._getRootNode().appendChild(ce),this._attachedPortal=V,super.setDisposeFn(()=>{be.parentNode&&be.parentNode.replaceChild(ce,be)})};_getRootNode(){const V=this._viewContainerRef.element.nativeElement;return V.nodeType===V.ELEMENT_NODE?V:V.parentNode}static \u0275fac=function(ce){return new(ce||xe)};static \u0275dir=v.FsC({type:xe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[v.Vt3]})}return xe})(),re=(()=>{class xe{static \u0275fac=function(ce){return new(ce||xe)};static \u0275mod=v.$C({type:xe});static \u0275inj=d.G2t({})}return xe})()},9046(Zt,pe,l){"use strict";l.d(pe,{Y:()=>d});var i=l(3664);let d=(()=>{class v{static \u0275fac=function(e){return new(e||v)};static \u0275cmp=i.VBU({type:v,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(e,O){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return v})()},5718(Zt,pe,l){"use strict";l.d(pe,{uv:()=>Z,Gj:()=>bt,R:()=>N,E9:()=>tn,Xj:()=>at});var i=l(2615),d=l(3664),v=l(1413),T=l(7673),w=l(1985),e=l(6780),O=l(8359);const f={schedule(on){let un=requestAnimationFrame,Nt=cancelAnimationFrame;const{delegate:dn}=f;dn&&(un=dn.requestAnimationFrame,Nt=dn.cancelAnimationFrame);const xn=un(Jn=>{Nt=void 0,on(Jn)});return new O.yU(()=>Nt?.(xn))},requestAnimationFrame(...on){const{delegate:un}=f;return(un?.requestAnimationFrame||requestAnimationFrame)(...on)},cancelAnimationFrame(...on){const{delegate:un}=f;return(un?.cancelAnimationFrame||cancelAnimationFrame)(...on)},delegate:void 0};var L=l(9687);new class C extends L.q{flush(un){let Nt;this._active=!0,un?Nt=un.id:(Nt=this._scheduled,this._scheduled=void 0);const{actions:dn}=this;let xn;un=un||dn.shift();do{if(xn=un.execute(un.state,un.delay))break}while((un=dn[0])&&un.id===Nt&&dn.shift());if(this._active=!1,xn){for(;(un=dn[0])&&un.id===Nt&&dn.shift();)un.unsubscribe();throw xn}}}(class u extends e.R{constructor(un,Nt){super(un,Nt),this.scheduler=un,this.work=Nt}requestAsyncId(un,Nt,dn=0){return null!==dn&&dn>0?super.requestAsyncId(un,Nt,dn):(un.actions.push(this),un._scheduled||(un._scheduled=f.requestAnimationFrame(()=>un.flush(void 0))))}recycleAsyncId(un,Nt,dn=0){var xn;if(null!=dn?dn>0:this.delay>0)return super.recycleAsyncId(un,Nt,dn);const{actions:Jn}=un;null!=Nt&&Nt===un._scheduled&&(null===(xn=Jn[Jn.length-1])||void 0===xn?void 0:xn.id)!==Nt&&(f.cancelAnimationFrame(Nt),un._scheduled=void 0)}});let le,Pe=1;const Ce={};function Ae(on){return on in Ce&&(delete Ce[on],!0)}const j={setImmediate(on){const un=Pe++;return Ce[un]=!0,le||(le=Promise.resolve()),le.then(()=>Ae(un)&&on()),un},clearImmediate(on){Ae(on)}},{setImmediate:G,clearImmediate:re}=j,xe={setImmediate(...on){const{delegate:un}=xe;return(un?.setImmediate||G)(...on)},clearImmediate(on){const{delegate:un}=xe;return(un?.clearImmediate||re)(on)},delegate:void 0};new class V extends L.q{flush(un){this._active=!0;const Nt=this._scheduled;this._scheduled=void 0;const{actions:dn}=this;let xn;un=un||dn.shift();do{if(xn=un.execute(un.state,un.delay))break}while((un=dn[0])&&un.id===Nt&&dn.shift());if(this._active=!1,xn){for(;(un=dn[0])&&un.id===Nt&&dn.shift();)un.unsubscribe();throw xn}}}(class Ee extends e.R{constructor(un,Nt){super(un,Nt),this.scheduler=un,this.work=Nt}requestAsyncId(un,Nt,dn=0){return null!==dn&&dn>0?super.requestAsyncId(un,Nt,dn):(un.actions.push(this),un._scheduled||(un._scheduled=xe.setImmediate(un.flush.bind(un,void 0))))}recycleAsyncId(un,Nt,dn=0){var xn;if(null!=dn?dn>0:this.delay>0)return super.recycleAsyncId(un,Nt,dn);const{actions:Jn}=un;null!=Nt&&(null===(xn=Jn[Jn.length-1])||void 0===xn?void 0:xn.id)!==Nt&&(xe.clearImmediate(Nt),un._scheduled===Nt&&(un._scheduled=void 0))}});var ne=l(3798),J=l(5964),De=l(7847),Re=l(9842),Xe=l(1577),_e=l(7860),he=l(8203);let N=(()=>{class on{_ngZone=(0,i.WQX)(d.SKi);_platform=(0,i.WQX)(Re.O);_renderer=(0,i.WQX)(d._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new v.B;_scrolledCount=0;scrollContainers=new Map;register(Nt){this.scrollContainers.has(Nt)||this.scrollContainers.set(Nt,Nt.elementScrolled().subscribe(()=>this._scrolled.next(Nt)))}deregister(Nt){const dn=this.scrollContainers.get(Nt);dn&&(dn.unsubscribe(),this.scrollContainers.delete(Nt))}scrolled(Nt=20){return this._platform.isBrowser?new w.c(dn=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const xn=Nt>0?this._scrolled.pipe((0,ne.Z)(Nt)).subscribe(dn):this._scrolled.subscribe(dn);return this._scrolledCount++,()=>{xn.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,T.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((Nt,dn)=>this.deregister(dn)),this._scrolled.complete()}ancestorScrolled(Nt,dn){const xn=this.getAncestorScrollContainers(Nt);return this.scrolled(dn).pipe((0,J.p)(Jn=>!Jn||xn.indexOf(Jn)>-1))}getAncestorScrollContainers(Nt){const dn=[];return this.scrollContainers.forEach((xn,Jn)=>{this._scrollableContainsElement(Jn,Nt)&&dn.push(Jn)}),dn}_scrollableContainsElement(Nt,dn){let xn=(0,De.i8)(dn),Jn=Nt.getElementRef().nativeElement;do{if(xn==Jn)return!0}while(xn=xn.parentElement);return!1}static \u0275fac=function(dn){return new(dn||on)};static \u0275prov=i.jDH({token:on,factory:on.\u0275fac,providedIn:"root"})}return on})(),Z=(()=>{class on{elementRef=(0,i.WQX)(d.aKT);scrollDispatcher=(0,i.WQX)(N);ngZone=(0,i.WQX)(d.SKi);dir=(0,i.WQX)(Xe.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new v.B;_renderer=(0,i.WQX)(d.sFG);_cleanupScroll;_elementScrolled=new v.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",Nt=>this._elementScrolled.next(Nt))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Nt){const dn=this.elementRef.nativeElement,xn=this.dir&&"rtl"==this.dir.value;null==Nt.left&&(Nt.left=xn?Nt.end:Nt.start),null==Nt.right&&(Nt.right=xn?Nt.start:Nt.end),null!=Nt.bottom&&(Nt.top=dn.scrollHeight-dn.clientHeight-Nt.bottom),xn&&(0,_e.BD)()!=_e.r5.NORMAL?(null!=Nt.left&&(Nt.right=dn.scrollWidth-dn.clientWidth-Nt.left),(0,_e.BD)()==_e.r5.INVERTED?Nt.left=Nt.right:(0,_e.BD)()==_e.r5.NEGATED&&(Nt.left=Nt.right?-Nt.right:Nt.right)):null!=Nt.right&&(Nt.left=dn.scrollWidth-dn.clientWidth-Nt.right),this._applyScrollToOptions(Nt)}_applyScrollToOptions(Nt){const dn=this.elementRef.nativeElement;(0,_e.CZ)()?dn.scrollTo(Nt):(null!=Nt.top&&(dn.scrollTop=Nt.top),null!=Nt.left&&(dn.scrollLeft=Nt.left))}measureScrollOffset(Nt){const dn="left",Jn=this.elementRef.nativeElement;if("top"==Nt)return Jn.scrollTop;if("bottom"==Nt)return Jn.scrollHeight-Jn.clientHeight-Jn.scrollTop;const xi=this.dir&&"rtl"==this.dir.value;return"start"==Nt?Nt=xi?"right":dn:"end"==Nt&&(Nt=xi?dn:"right"),xi&&(0,_e.BD)()==_e.r5.INVERTED?Nt==dn?Jn.scrollWidth-Jn.clientWidth-Jn.scrollLeft:Jn.scrollLeft:xi&&(0,_e.BD)()==_e.r5.NEGATED?Nt==dn?Jn.scrollLeft+Jn.scrollWidth-Jn.clientWidth:-Jn.scrollLeft:Nt==dn?Jn.scrollLeft:Jn.scrollWidth-Jn.clientWidth-Jn.scrollLeft}static \u0275fac=function(dn){return new(dn||on)};static \u0275dir=d.FsC({type:on,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return on})(),at=(()=>{class on{_platform=(0,i.WQX)(Re.O);_listeners;_viewportSize;_change=new v.B;_document=(0,i.WQX)(i.qQL);constructor(){const Nt=(0,i.WQX)(d.SKi),dn=(0,i.WQX)(d._9s).createRenderer(null,null);Nt.runOutsideAngular(()=>{if(this._platform.isBrowser){const xn=Jn=>this._change.next(Jn);this._listeners=[dn.listen("window","resize",xn),dn.listen("window","orientationchange",xn)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(Nt=>Nt()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Nt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Nt}getViewportRect(){const Nt=this.getViewportScrollPosition(),{width:dn,height:xn}=this.getViewportSize();return{top:Nt.top,left:Nt.left,bottom:Nt.top+xn,right:Nt.left+dn,height:xn,width:dn}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Nt=this._document,dn=this._getWindow(),xn=Nt.documentElement,Jn=xn.getBoundingClientRect();return{top:-Jn.top||Nt.body.scrollTop||dn.scrollY||xn.scrollTop||0,left:-Jn.left||Nt.body.scrollLeft||dn.scrollX||xn.scrollLeft||0}}change(Nt=20){return Nt>0?this._change.pipe((0,ne.Z)(Nt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Nt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Nt.innerWidth,height:Nt.innerHeight}:{width:0,height:0}}static \u0275fac=function(dn){return new(dn||on)};static \u0275prov=i.jDH({token:on,factory:on.\u0275fac,providedIn:"root"})}return on})(),bt=(()=>{class on{static \u0275fac=function(dn){return new(dn||on)};static \u0275mod=d.$C({type:on});static \u0275inj=i.G2t({})}return on})(),tn=(()=>{class on{static \u0275fac=function(dn){return new(dn||on)};static \u0275mod=d.$C({type:on});static \u0275inj=i.G2t({imports:[he.jI,bt,he.jI,bt]})}return on})()},7860(Zt,pe,l){"use strict";l.d(pe,{BD:()=>w,CZ:()=>T,r5:()=>i});var i=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(i||{});let d,v;function T(){if(null==v){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return v=!1,v;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)v=!0;else{const e=Element.prototype.scrollTo;v=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return v}function w(){if("object"!=typeof document||!document)return i.NORMAL;if(null==d){const e=document.createElement("div"),O=e.style;e.dir="rtl",O.width="1px",O.overflow="auto",O.visibility="hidden",O.pointerEvents="none",O.position="absolute";const f=document.createElement("div"),u=f.style;u.width="2px",u.height="1px",e.appendChild(f),document.body.appendChild(e),d=i.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,d=0===e.scrollLeft?i.NEGATED:i.INVERTED),e.remove()}return d}},3869(Zt,pe,l){"use strict";l.d(pe,{C:()=>d});var i=l(1413);class d{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new i.B;constructor(w=!1,e,O=!0,f){this._multiple=w,this._emitChanges=O,this.compareWith=f,e&&e.length&&(w?e.forEach(u=>this._markSelected(u)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...w){this._verifyValueAssignment(w),w.forEach(O=>this._markSelected(O));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...w){this._verifyValueAssignment(w),w.forEach(O=>this._unmarkSelected(O));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...w){this._verifyValueAssignment(w);const e=this.selected,O=new Set(w.map(u=>this._getConcreteValue(u)));w.forEach(u=>this._markSelected(u)),e.filter(u=>!O.has(this._getConcreteValue(u,O))).forEach(u=>this._unmarkSelected(u));const f=this._hasQueuedChanges();return this._emitChangeEvent(),f}toggle(w){return this.isSelected(w)?this.deselect(w):this.select(w)}clear(w=!0){this._unmarkAll();const e=this._hasQueuedChanges();return w&&this._emitChangeEvent(),e}isSelected(w){return this._selection.has(this._getConcreteValue(w))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(w){this._multiple&&this.selected&&this._selected.sort(w)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(w){w=this._getConcreteValue(w),this.isSelected(w)||(this._multiple||this._unmarkAll(),this.isSelected(w)||this._selection.add(w),this._emitChanges&&this._selectedToEmit.push(w))}_unmarkSelected(w){w=this._getConcreteValue(w),this.isSelected(w)&&(this._selection.delete(w),this._emitChanges&&this._deselectedToEmit.push(w))}_unmarkAll(){this.isEmpty()||this._selection.forEach(w=>this._unmarkSelected(w))}_verifyValueAssignment(w){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(w,e){if(this.compareWith){e=e??this._selection;for(let O of e)if(this.compareWith(w,O))return O;return w}return w}}},4522(Zt,pe,l){"use strict";let i;function v(e){if(function d(){if(null==i){const e=typeof document<"u"?document.head:null;i=!(!e||!e.createShadowRoot&&!e.attachShadow)}return i}()){const O=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&O instanceof ShadowRoot)return O}return null}function T(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const O=e.shadowRoot.activeElement;if(O===e)break;e=O}return e}function w(e){return e.composedPath?e.composedPath()[0]:e.target}l.d(pe,{Fb:()=>w,KT:()=>v,vc:()=>T})},7768(Zt,pe,l){"use strict";l.d(pe,{FK:()=>ne,Up:()=>ce,VI:()=>V,nb:()=>G,oX:()=>W,uY:()=>J,v5:()=>be,x8:()=>Ee});var i=l(2615),d=l(3664),v=l(7705),T=l(9295),w=l(9417),e=l(1413),O=l(7673),f=l(9172),u=l(6977),L=l(1577),C=l(9726),B=l(4123),A=l(7336),Pe=l(438),le=l(4522),Ce=l(8203);const Ae=["*"];function j(De,Re){1&De&&d.SdG(0)}let W=(()=>{class De{_elementRef=(0,i.WQX)(d.aKT);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return De})(),G=(()=>{class De{template=(0,i.WQX)(d.C4Q);constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["","cdkStepLabel",""]]})}return De})();const Ee=new i.nKC("STEPPER_GLOBAL_OPTIONS");let V=(()=>{class De{_stepperOptions;_stepper=(0,i.WQX)(ce);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(Xe){this._interacted.set(Xe)}_interacted=(0,i.vPA)(!1);interactedStream=new d.bkB;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(Xe){this._state.set(Xe)}_state=(0,i.vPA)(void 0);get editable(){return this._editable()}set editable(Xe){this._editable.set(Xe)}_editable=(0,i.vPA)(!0);optional=!1;get completed(){const Xe=this._completedOverride(),_e=this._interacted();return Xe??(_e&&(!this.stepControl||this.stepControl.valid))}set completed(Xe){this._completedOverride.set(Xe)}_completedOverride=(0,i.vPA)(null);index=(0,i.vPA)(-1);isSelected=(0,T.EW)(()=>this._stepper.selectedIndex===this.index());indicatorType=(0,T.EW)(()=>{const Xe=this.isSelected(),_e=this.completed,he=this._state()??"number",Dt=this._editable();return this._showError()&&this.hasError&&!Xe?"error":this._displayDefaultIndicatorType?!_e||Xe?"number":Dt?"edit":"done":_e&&!Xe?"done":_e&&Xe?he:Dt&&Xe?"edit":he});isNavigable=(0,T.EW)(()=>{const Xe=this.isSelected();return this.completed||Xe||!this._stepper.linear});get hasError(){return this._customError()??this._getDefaultError()}set hasError(Xe){this._customError.set(Xe)}_customError=(0,i.vPA)(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){const Xe=(0,i.WQX)(Ee,{optional:!0});this._stepperOptions=Xe||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),null!=this._completedOverride()&&this._completedOverride.set(!1),null!=this._customError()&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(Xe=>Xe.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError()}static \u0275fac=function(_e){return new(_e||De)};static \u0275cmp=d.VBU({type:De,selectors:[["cdk-step"]],contentQueries:function(_e,he,Dt){if(1&_e&&(d.wni(Dt,G,5),d.wni(Dt,w.ZU,5)),2&_e){let lt;d.mGM(lt=d.lsd())&&(he.stepLabel=lt.first),d.mGM(lt=d.lsd())&&(he._childForms=lt)}},viewQuery:function(_e,he){if(1&_e&&d.GBs(d.C4Q,7),2&_e){let Dt;d.mGM(Dt=d.lsd())&&(he.content=Dt.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",v.L39],optional:[2,"optional","optional",v.L39],completed:[2,"completed","completed",v.L39],hasError:[2,"hasError","hasError",v.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[d.OA$],ngContentSelectors:Ae,decls:1,vars:0,template:function(_e,he){1&_e&&(d.NAR(),d.PeT(0,j,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return De})(),ce=(()=>{class De{_dir=(0,i.WQX)(L.dS,{optional:!0});_changeDetectorRef=(0,i.WQX)(v.gRc);_elementRef=(0,i.WQX)(d.aKT);_destroyed=new e.B;_keyManager;_steps;steps=new d.rOR;_stepHeader;_sortedHeaders=new d.rOR;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(Xe){this._steps?(this._isValidIndex(Xe),this.selectedIndex!==Xe&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(Xe)&&(Xe>=this.selectedIndex||this.steps.toArray()[Xe].editable)&&this._updateSelectedItemIndex(Xe))):this._selectedIndex.set(Xe)}_selectedIndex=(0,i.vPA)(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Xe){this.selectedIndex=Xe&&this.steps?this.steps.toArray().indexOf(Xe):-1}selectionChange=new d.bkB;selectedIndexChange=new d.bkB;_groupId=(0,i.WQX)(C.g).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(Xe){this._orientation=Xe,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Xe)}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe((0,f.Z)(this._steps),(0,u.Q)(this._destroyed)).subscribe(Xe=>{this.steps.reset(Xe.filter(_e=>_e._stepper===this)),this.steps.forEach((_e,he)=>_e.index.set(he)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe((0,f.Z)(this._stepHeader),(0,u.Q)(this._destroyed)).subscribe(Xe=>{this._sortedHeaders.reset(Xe.toArray().sort((_e,he)=>_e._elementRef.nativeElement.compareDocumentPosition(he._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new B.B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:(0,O.of)()).pipe((0,f.Z)(this._layoutDirection()),(0,u.Q)(this._destroyed)).subscribe(Xe=>this._keyManager?.withHorizontalOrientation(Xe)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){const Xe=this.steps.toArray().slice(0,this._selectedIndex());for(const _e of Xe)_e._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(Xe=>Xe.reset()),this._stateChanged()}_getStepLabelId(Xe){return`${this._groupId}-label-${Xe}`}_getStepContentId(Xe){return`${this._groupId}-content-${Xe}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Xe){const _e=Xe-this._selectedIndex();return _e<0?"rtl"===this._layoutDirection()?"next":"previous":_e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(Xe){const _e=this.steps.toArray(),he=this._selectedIndex();this.selectionChange.emit({selectedIndex:Xe,previouslySelectedIndex:he,selectedStep:_e[Xe],previouslySelectedStep:_e[he]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(Xe):this._keyManager.updateActiveItem(Xe)),this._selectedIndex.set(Xe),this.selectedIndexChange.emit(Xe),this._stateChanged()}_onKeydown(Xe){const _e=(0,A.rp)(Xe),he=Xe.keyCode,Dt=this._keyManager;null==Dt?.activeItemIndex||_e||he!==Pe.t6&&he!==Pe.Fm?Dt?.setFocusOrigin("keyboard").onKeydown(Xe):(this.selectedIndex=Dt.activeItemIndex,Xe.preventDefault())}_anyControlsInvalidOrPending(Xe){return!!(this.linear&&Xe>=0)&&this.steps.toArray().slice(0,Xe).some(_e=>{const he=_e.stepControl;return(he?he.invalid||he.pending||!_e.interacted:!_e.completed)&&!_e.optional&&!_e._completedOverride()})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Xe=this._elementRef.nativeElement,_e=(0,le.vc)();return Xe===_e||Xe.contains(_e)}_isValidIndex(Xe){return Xe>-1&&(!this.steps||Xe{class De{_stepper=(0,i.WQX)(ce);type="submit";constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(_e,he){1&_e&&d.bIt("click",function(){return he._stepper.next()}),2&_e&&d.Avn("type",he.type)},inputs:{type:"type"}})}return De})(),ne=(()=>{class De{_stepper=(0,i.WQX)(ce);type="button";constructor(){}static \u0275fac=function(_e){return new(_e||De)};static \u0275dir=d.FsC({type:De,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(_e,he){1&_e&&d.bIt("click",function(){return he._stepper.previous()}),2&_e&&d.Avn("type",he.type)},inputs:{type:"type"}})}return De})(),J=(()=>{class De{static \u0275fac=function(_e){return new(_e||De)};static \u0275mod=d.$C({type:De});static \u0275inj=i.G2t({imports:[Ce.jI]})}return De})()},8968(Zt,pe,l){"use strict";l.d(pe,{l:()=>w});var i=l(2615),d=l(7705),v=l(3664);const T=new WeakMap;let w=(()=>{class e{_appRef;_injector=(0,i.WQX)(i.zZn);_environmentInjector=(0,i.WQX)(i.uvJ);load(f){const u=this._appRef=this._appRef||this._injector.get(v.o8S);let L=T.get(u);L||(L={loaders:new Set,refs:[]},T.set(u,L),u.onDestroy(()=>{T.get(u)?.refs.forEach(C=>C.destroy()),T.delete(u)})),L.loaders.has(f)||(L.loaders.add(f),L.refs.push((0,d.a0P)(f,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(u){return new(u||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},4125(Zt,pe,l){"use strict";l.d(pe,{Z2:()=>B});var i=l(2615),d=l(3664),v=l(1413),T=l(8359),w=l(4402),e=l(7673),O=l(6697),f=l(9096),u=l(8045);class L{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=le=>!1;_trackByFn=le=>le;_items=[];_typeahead;_typeaheadSubscription=T.yU.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||0===this._items.length)return;let le=0;for(let Ae=0;Ae{this._items=Ae.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):(0,w.A)(le)?le.subscribe(Ae=>{this._items=Ae,this._typeahead?.setItems(Ae),this._updateActiveItemIndex(Ae),this._initializeFocus()}):(this._items=le,this._initializeFocus()),"boolean"==typeof Ce.shouldActivationFollowFocus&&(this._shouldActivationFollowFocus=Ce.shouldActivationFollowFocus),Ce.horizontalOrientation&&(this._horizontalOrientation=Ce.horizontalOrientation),Ce.skipPredicate&&(this._skipPredicateFn=Ce.skipPredicate),Ce.trackBy&&(this._trackByFn=Ce.trackBy),typeof Ce.typeAheadDebounceInterval<"u"&&this._setTypeAhead(Ce.typeAheadDebounceInterval)}change=new v.B;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(le){switch(le.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":"rtl"===this._horizontalOrientation?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":"rtl"===this._horizontalOrientation?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if("*"===le.key){this._expandAllItemsAtCurrentItemLevel();break}return void this._typeahead?.handleKey(le)}this._typeahead?.reset(),le.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(le,Ce={}){Ce.emitChangeEvent??=!0;let Ae="number"==typeof le?le:this._items.findIndex(G=>this._trackByFn(G)===this._trackByFn(le));if(Ae<0||Ae>=this._items.length)return;const j=this._items[Ae];if(null!==this._activeItem&&this._trackByFn(j)===this._trackByFn(this._activeItem))return;const W=this._activeItem;this._activeItem=j??null,this._activeItemIndex=Ae,this._typeahead?.setCurrentSelectedItemIndex(Ae),this._activeItem?.focus(),W?.unfocus(),Ce.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(le){const Ce=this._activeItem;if(!Ce)return;const Ae=le.findIndex(j=>this._trackByFn(j)===this._trackByFn(Ce));Ae>-1&&Ae!==this._activeItemIndex&&(this._activeItemIndex=Ae,this._typeahead?.setCurrentSelectedItemIndex(Ae))}_setTypeAhead(le){this._typeahead=new f.i(this._items,{debounceInterval:"number"==typeof le?le:void 0,skipPredicate:Ce=>this._skipPredicateFn(Ce)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Ce=>{this.focusItem(Ce)})}_findNextAvailableItemIndex(le){for(let Ce=le+1;Ce=0;Ce--)if(!this._skipPredicateFn(this._items[Ce]))return Ce;return le}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{const le=this._activeItem.getParent();if(!le||this._skipPredicateFn(le))return;this.focusItem(le)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?(0,u.x)(this._activeItem.getChildren()).pipe((0,O.s)(1)).subscribe(le=>{const Ce=le.find(Ae=>!this._skipPredicateFn(Ae));Ce&&this.focusItem(Ce)}):this._activeItem.expand())}_isCurrentItemExpanded(){return!!this._activeItem&&("boolean"==typeof this._activeItem.isExpanded?this._activeItem.isExpanded:this._activeItem.isExpanded())}_isItemDisabled(le){return"boolean"==typeof le.isDisabled?le.isDisabled:le.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;const le=this._activeItem.getParent();let Ce;Ce=le?(0,u.x)(le.getChildren()):(0,e.of)(this._items.filter(Ae=>null===Ae.getParent())),Ce.pipe((0,O.s)(1)).subscribe(Ae=>{for(const j of Ae)j.expand()})}_activateCurrentItem(){this._activeItem?.activate()}}const B=new i.nKC("tree-key-manager",{providedIn:"root",factory:function C(){return(Pe,le)=>new L(Pe,le)}})},2279(Zt,pe,l){"use strict";l.d(pe,{kZ:()=>Xe,s3:()=>Ke,NL:()=>F,Dc:()=>ht,xn:()=>ve,Sz:()=>Dt,a$:()=>_e,aI:()=>St,Hy:()=>ot,XO:()=>Re});var i=l(3869),d=l(4402),v=l(1413),T=l(4412),w=l(7673),e=l(4572),O=l(983),f=l(8793),u=l(6697),L=l(5964),C=l(6977),B=l(9172),A=l(8141),Pe=l(5558),le=l(6354),Ce=l(6649),Ae=l(9974);function j(oe,Ye){return(0,Ae.N)((0,Ce.S)(oe,Ye,arguments.length>=2,!1,!0))}var W=l(274),G=l(3294),re=l(3664),xe=l(2615),Ee=l(7705),V=l(4125),ce=l(1577),be=l(4117),ne=l(8045);class J{dataNodes;expansionModel=new i.C(!0);trackBy;getLevel;isExpandable;getChildren;toggle(Ye){this.expansionModel.toggle(this._trackByValue(Ye))}expand(Ye){this.expansionModel.select(this._trackByValue(Ye))}collapse(Ye){this.expansionModel.deselect(this._trackByValue(Ye))}isExpanded(Ye){return this.expansionModel.isSelected(this._trackByValue(Ye))}toggleDescendants(Ye){this.expansionModel.isSelected(this._trackByValue(Ye))?this.collapseDescendants(Ye):this.expandDescendants(Ye)}collapseAll(){this.expansionModel.clear()}expandDescendants(Ye){let fe=[Ye];fe.push(...this.getDescendants(Ye)),this.expansionModel.select(...fe.map(Qe=>this._trackByValue(Qe)))}collapseDescendants(Ye){let fe=[Ye];fe.push(...this.getDescendants(Ye)),this.expansionModel.deselect(...fe.map(Qe=>this._trackByValue(Qe)))}_trackByValue(Ye){return this.trackBy?this.trackBy(Ye):Ye}}class Re extends J{getChildren;options;constructor(Ye,fe){super(),this.getChildren=Ye,this.options=fe,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();const Ye=this.dataNodes.reduce((fe,Qe)=>[...fe,...this.getDescendants(Qe),Qe],[]);this.expansionModel.select(...Ye.map(fe=>this._trackByValue(fe)))}getDescendants(Ye){const fe=[];return this._getDescendants(fe,Ye),fe.splice(1)}_getDescendants(Ye,fe){Ye.push(fe);const Qe=this.getChildren(fe);Array.isArray(Qe)?Qe.forEach(gt=>this._getDescendants(Ye,gt)):(0,d.A)(Qe)&&Qe.pipe((0,u.s)(1),(0,L.p)(Boolean)).subscribe(gt=>{for(const Gt of gt)this._getDescendants(Ye,Gt)})}}const Xe=new xe.nKC("CDK_TREE_NODE_OUTLET_NODE");let _e=(()=>{class oe{viewContainer=(0,xe.WQX)(re.c1b);_node=(0,xe.WQX)(Xe,{optional:!0});constructor(){}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeOutlet",""]]})}return oe})();class he{$implicit;level;index;count;constructor(Ye){this.$implicit=Ye}}let Dt=(()=>{class oe{template=(0,xe.WQX)(re.C4Q);when;constructor(){}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]}})}return oe})();function ie(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}let F=(()=>{class oe{_differs=(0,xe.WQX)(Ee._q3);_changeDetectorRef=(0,xe.WQX)(Ee.gRc);_elementRef=(0,xe.WQX)(re.aKT);_dir=(0,xe.WQX)(ce.dS);_onDestroy=new v.B;_dataDiffer;_defaultNodeDef;_dataSubscription;_levels=new Map;_parents=new Map;_ariaSets=new Map;get dataSource(){return this._dataSource}set dataSource(fe){this._dataSource!==fe&&this._switchDataSource(fe)}_dataSource;treeControl;levelAccessor;childrenAccessor;trackBy;expansionKey;_nodeOutlet;_nodeDefs;viewChange=new T.t({start:0,end:Number.MAX_VALUE});_expansionModel;_flattenedNodes=new T.t([]);_nodeType=new T.t(null);_nodes=new T.t(new Map);_keyManagerNodes=new T.t([]);_keyManagerFactory=(0,xe.WQX)(V.Z2);_keyManager;_viewInit=!1;constructor(){}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._nodes.complete(),this._keyManagerNodes.complete(),this._nodeType.complete(),this._flattenedNodes.complete(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){const fe=this._nodeDefs.filter(Qe=>!Qe.when);this._defaultNodeDef=fe[0]}_setNodeTypeIfUnset(fe){null===this._nodeType.value&&this._nodeType.next(fe)}_switchDataSource(fe){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),fe||this._nodeOutlet.viewContainer.clear(),this._dataSource=fe,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new i.C(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let fe;(0,be.y)(this._dataSource)?fe=this._dataSource.connect(this):(0,d.A)(this._dataSource)?fe=this._dataSource:Array.isArray(this._dataSource)&&(fe=(0,w.of)(this._dataSource)),fe&&(this._dataSubscription=this._getRenderData(fe).pipe((0,C.Q)(this._onDestroy)).subscribe(Qe=>{this._renderDataChanges(Qe)}))}_getRenderData(fe){const Qe=this._getExpansionModel();return(0,e.z)([fe,this._nodeType,Qe.changed.pipe((0,B.Z)(null),(0,A.M)(gt=>{this._emitExpansionChanges(gt)}))]).pipe((0,Pe.n)(([gt,Gt])=>null===Gt?(0,w.of)({renderNodes:gt,flattenedNodes:null,nodeType:Gt}):this._computeRenderingData(gt,Gt).pipe((0,le.T)(rt=>({...rt,nodeType:Gt})))))}_renderDataChanges(fe){null!==fe.nodeType?(this._updateCachedData(fe.flattenedNodes),this.renderNodeChanges(fe.renderNodes),this._updateKeyManagerItems(fe.flattenedNodes)):this.renderNodeChanges(fe.renderNodes)}_emitExpansionChanges(fe){if(!fe)return;const Qe=this._nodes.value;for(const gt of fe.added)Qe.get(gt)?._emitExpansionState(!0);for(const gt of fe.removed)Qe.get(gt)?._emitExpansionState(!1)}_initializeKeyManager(){const fe=(0,e.z)([this._keyManagerNodes,this._nodes]).pipe((0,le.T)(([gt,Gt])=>gt.reduce((rt,cn)=>{const Ft=Gt.get(this._getExpansionKey(cn));return Ft&&rt.push(Ft),rt},[])));this._keyManager=this._keyManagerFactory(fe,{trackBy:gt=>this._getExpansionKey(gt.data),skipPredicate:gt=>!!gt.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value})}_initializeDataDiffer(){const fe=this.trackBy??((Qe,gt)=>this._getExpansionKey(gt));this._dataDiffer=this._differs.find([]).create(fe)}_checkTreeControlUsage(){}renderNodeChanges(fe,Qe=this._dataDiffer,gt=this._nodeOutlet.viewContainer,Gt){const rt=Qe.diff(fe);!rt&&!this._viewInit||(rt?.forEachOperation((cn,Ft,Sn)=>{if(null==cn.previousIndex)this.insertNode(fe[Sn],Sn,gt,Gt);else if(null==Sn)gt.remove(Ft);else{const Qn=gt.get(Ft);gt.move(Qn,Sn)}}),rt?.forEachIdentityChange(cn=>{const Ft=cn.item;null!=cn.currentIndex&&(gt.get(cn.currentIndex).context.$implicit=Ft)}),Gt?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(fe,Qe){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Gt=>Gt.when&&Gt.when(Qe,fe))||this._defaultNodeDef}insertNode(fe,Qe,gt,Gt){const rt=this._getLevelAccessor(),cn=this._getNodeDef(fe,Qe),Ft=this._getExpansionKey(fe),Sn=new he(fe);Sn.index=Qe,Gt??=this._parents.get(Ft)??void 0,Sn.level=rt?rt(fe):void 0!==Gt&&this._levels.has(this._getExpansionKey(Gt))?this._levels.get(this._getExpansionKey(Gt))+1:0,this._levels.set(Ft,Sn.level),(gt||this._nodeOutlet.viewContainer).createEmbeddedView(cn.template,Sn,Qe),ve.mostRecentTreeNode&&(ve.mostRecentTreeNode.data=fe)}isExpanded(fe){return!(!this.treeControl?.isExpanded(fe)&&!this._expansionModel?.isSelected(this._getExpansionKey(fe)))}toggle(fe){this.treeControl?this.treeControl.toggle(fe):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(fe))}expand(fe){this.treeControl?this.treeControl.expand(fe):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(fe))}collapse(fe){this.treeControl?this.treeControl.collapse(fe):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(fe))}toggleDescendants(fe){this.treeControl?this.treeControl.toggleDescendants(fe):this._expansionModel&&(this.isExpanded(fe)?this.collapseDescendants(fe):this.expandDescendants(fe))}expandDescendants(fe){if(this.treeControl)this.treeControl.expandDescendants(fe);else if(this._expansionModel){const Qe=this._expansionModel;Qe.select(this._getExpansionKey(fe)),this._getDescendants(fe).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(gt=>{Qe.select(...gt.map(Gt=>this._getExpansionKey(Gt)))})}}collapseDescendants(fe){if(this.treeControl)this.treeControl.collapseDescendants(fe);else if(this._expansionModel){const Qe=this._expansionModel;Qe.deselect(this._getExpansionKey(fe)),this._getDescendants(fe).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(gt=>{Qe.deselect(...gt.map(Gt=>this._getExpansionKey(Gt)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._forEachExpansionKey(fe=>this._expansionModel?.select(...fe))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._forEachExpansionKey(fe=>this._expansionModel?.deselect(...fe))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(fe){const Qe=this._getLevelAccessor(),gt=this._expansionModel??this.treeControl?.expansionModel;if(!gt)return(0,w.of)([]);const Gt=this._getExpansionKey(fe),rt=gt.changed.pipe((0,Pe.n)(Ft=>Ft.added.includes(Gt)?(0,w.of)(!0):Ft.removed.includes(Gt)?(0,w.of)(!1):O.w),(0,B.Z)(this.isExpanded(fe)));if(Qe)return(0,e.z)([rt,this._flattenedNodes]).pipe((0,le.T)(([Ft,Sn])=>Ft?this._findChildrenByLevel(Qe,Sn,fe,1):[]));const cn=this._getChildrenAccessor();if(cn)return(0,ne.x)(cn(fe)??[]);throw ie()}_findChildrenByLevel(fe,Qe,gt,Gt){const rt=this._getExpansionKey(gt),cn=Qe.findIndex(h=>this._getExpansionKey(h)===rt),Ft=fe(gt),Sn=Ft+Gt,Qn=[];for(let h=cn+1;hthis._getExpansionKey(Gt)===gt)+1}_getNodeParent(fe){const Qe=this._parents.get(this._getExpansionKey(fe.data));return Qe&&this._nodes.value.get(this._getExpansionKey(Qe))}_getNodeChildren(fe){return this._getDirectChildren(fe.data).pipe((0,le.T)(Qe=>Qe.reduce((gt,Gt)=>{const rt=this._nodes.value.get(this._getExpansionKey(Gt));return rt&>.push(rt),gt},[])))}_sendKeydownToKeyManager(fe){if(fe.target===this._elementRef.nativeElement)this._keyManager.onKeydown(fe);else{const Qe=this._nodes.getValue();for(const[,gt]of Qe)if(fe.target===gt._elementRef.nativeElement){this._keyManager.onKeydown(fe);break}}}_getDescendants(fe){if(this.treeControl)return(0,w.of)(this.treeControl.getDescendants(fe));if(this.levelAccessor){const Qe=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,fe,1/0);return(0,w.of)(Qe)}if(this.childrenAccessor)return this._getAllChildrenRecursively(fe).pipe(j((Qe,gt)=>(Qe.push(...gt),Qe),[]));throw ie()}_getAllChildrenRecursively(fe){return this.childrenAccessor?(0,ne.x)(this.childrenAccessor(fe)).pipe((0,u.s)(1),(0,Pe.n)(Qe=>{for(const gt of Qe)this._parents.set(this._getExpansionKey(gt),fe);return(0,w.of)(...Qe).pipe((0,W.H)(gt=>(0,f.x)((0,w.of)([gt]),this._getAllChildrenRecursively(gt))))})):(0,w.of)([])}_getExpansionKey(fe){return this.expansionKey?.(fe)??fe}_getAriaSet(fe){const Qe=this._getExpansionKey(fe),gt=this._parents.get(Qe),Gt=gt?this._getExpansionKey(gt):null;return this._ariaSets.get(Gt)??[fe]}_findParentForNode(fe,Qe,gt){if(!gt.length)return null;const Gt=this._levels.get(this._getExpansionKey(fe))??0;for(let rt=Qe-1;rt>=0;rt--){const cn=gt[rt];if((this._levels.get(this._getExpansionKey(cn))??0){const rt=this._getExpansionKey(Gt);this._parents.has(rt)||this._parents.set(rt,null),this._levels.set(rt,Qe);const cn=(0,ne.x)(gt(Gt));return(0,f.x)((0,w.of)([Gt]),cn.pipe((0,u.s)(1),(0,A.M)(Ft=>{this._ariaSets.set(rt,[...Ft??[]]);for(const Sn of Ft??[]){const Qn=this._getExpansionKey(Sn);this._parents.set(Qn,Gt),this._levels.set(Qn,Qe+1)}}),(0,Pe.n)(Ft=>Ft?this._flattenNestedNodesWithExpansion(Ft,Qe+1).pipe((0,le.T)(Sn=>this.isExpanded(Gt)?Sn:[])):(0,w.of)([]))))}),j((Gt,rt)=>(Gt.push(...rt),Gt),[])):(0,w.of)([...fe])}_computeRenderingData(fe,Qe){if(this.childrenAccessor&&"flat"===Qe)return this._clearPreviousCache(),this._ariaSets.set(null,[...fe]),this._flattenNestedNodesWithExpansion(fe).pipe((0,le.T)(gt=>({renderNodes:gt,flattenedNodes:gt})));if(this.levelAccessor&&"nested"===Qe){const gt=this.levelAccessor;return(0,w.of)(fe.filter(Gt=>0===gt(Gt))).pipe((0,le.T)(Gt=>({renderNodes:Gt,flattenedNodes:fe})),(0,A.M)(({flattenedNodes:Gt})=>{this._calculateParents(Gt)}))}return"flat"===Qe?(0,w.of)({renderNodes:fe,flattenedNodes:fe}).pipe((0,A.M)(({flattenedNodes:gt})=>{this._calculateParents(gt)})):(this._clearPreviousCache(),this._ariaSets.set(null,[...fe]),this._flattenNestedNodesWithExpansion(fe).pipe((0,le.T)(gt=>({renderNodes:fe,flattenedNodes:gt}))))}_updateCachedData(fe){this._flattenedNodes.next(fe)}_updateKeyManagerItems(fe){this._keyManagerNodes.next(fe)}_calculateParents(fe){const Qe=this._getLevelAccessor();if(Qe){this._clearPreviousCache();for(let gt=0;gt{Qe.push(this._getExpansionKey(Gt.data)),gt.push(this._getDescendants(Gt.data))}),gt.length>0?(0,e.z)(gt).pipe((0,u.s)(1),(0,C.Q)(this._onDestroy)).subscribe(Gt=>{Gt.forEach(rt=>rt.forEach(cn=>Qe.push(this._getExpansionKey(cn)))),fe(Qe)}):fe(Qe)}_clearPreviousCache(){this._parents.clear(),this._levels.clear(),this._ariaSets.clear()}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275cmp=re.VBU({type:oe,selectors:[["cdk-tree"]],contentQueries:function(Qe,gt,Gt){if(1&Qe&&re.wni(Gt,Dt,5),2&Qe){let rt;re.mGM(rt=re.lsd())&&(gt._nodeDefs=rt)}},viewQuery:function(Qe,gt){if(1&Qe&&re.GBs(_e,7),2&Qe){let Gt;re.mGM(Gt=re.lsd())&&(gt._nodeOutlet=Gt.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(Qe,gt){1&Qe&&re.bIt("keydown",function(rt){return gt._sendKeydownToKeyManager(rt)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Qe,gt){1&Qe&&re.eu8(0,0)},dependencies:[_e],encapsulation:2})}return oe})(),ve=(()=>{class oe{_elementRef=(0,xe.WQX)(re.aKT);_tree=(0,xe.WQX)(F);_tabindex=-1;_type="flat";get role(){return"treeitem"}set role(fe){}get isExpandable(){return this._isExpandable()}set isExpandable(fe){this._inputIsExpandable=fe,(!this.data||this._isExpandable)&&this._inputIsExpandable&&(this._inputIsExpanded?this.expand():!1===this._inputIsExpanded&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(fe){this._inputIsExpanded=fe,fe?this.expand():this.collapse()}isDisabled;typeaheadLabel;getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}activation=new re.bkB;expandedChange=new re.bkB;static mostRecentTreeNode=null;_destroyed=new v.B;_dataChanges=new v.B;_inputIsExpandable=!1;_inputIsExpanded=void 0;_shouldFocus=!0;_parentNodeAriaLevel;get data(){return this._data}set data(fe){fe!==this._data&&(this._data=fe,this._dataChanges.next())}_data;get isLeafNode(){return void 0!==this._tree.treeControl?.isExpandable&&!this._tree.treeControl.isExpandable(this._data)||void 0===this._tree.treeControl?.isExpandable&&0===this._tree.treeControl?.getDescendants(this._data).length}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}_changeDetectorRef=(0,xe.WQX)(Ee.gRc);constructor(){oe.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=function H(oe){let Ye=oe.parentElement;for(;Ye&&!$(Ye);)Ye=Ye.parentElement;return Ye?Ye.classList.contains("cdk-nested-tree-node")?(0,Ee.Udg)(Ye.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe((0,le.T)(()=>this.isExpanded),(0,G.F)(),(0,C.Q)(this._destroyed)).pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._tree._setNodeTypeIfUnset(this._type),this._tree._registerNode(this)}ngOnDestroy(){oe.mostRecentTreeNode===this&&(oe.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(fe){this.expandedChange.emit(fe)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(Qe,gt){1&Qe&&re.bIt("click",function(){return gt._setActiveItem()})("focus",function(){return gt._focusItem()}),2&Qe&&(re.Avn("tabIndex",gt._tabindex),re.BMQ("aria-expanded",gt._getAriaExpanded())("aria-level",gt.level+1)("aria-posinset",gt._getPositionInSet())("aria-setsize",gt._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",Ee.L39],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",Ee.L39],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"]})}return oe})();function $(oe){const Ye=oe.classList;return!(!Ye?.contains("cdk-nested-tree-node")&&!Ye?.contains("cdk-tree"))}let Ke=(()=>{class oe extends ve{_type="nested";_differs=(0,xe.WQX)(Ee._q3);_dataDiffer;_children;nodeOutlet;constructor(){super()}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe((0,C.Q)(this._destroyed)).subscribe(fe=>this.updateChildrenNodes(fe)),this.nodeOutlet.changes.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(fe){const Qe=this._getNodeOutlet();fe&&(this._children=fe),Qe&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Qe.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const fe=this._getNodeOutlet();fe&&(fe.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const fe=this.nodeOutlet;return fe&&fe.find(Qe=>!Qe._node||Qe._node===this)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["cdk-nested-tree-node"]],contentQueries:function(Qe,gt,Gt){if(1&Qe&&re.wni(Gt,_e,5),2&Qe){let rt;re.mGM(rt=re.lsd())&&(gt.nodeOutlet=rt)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],features:[re.Jv_([{provide:ve,useExisting:oe},{provide:Xe,useExisting:oe}]),re.Vt3]})}return oe})();const Vt=/([A-Za-z%]+)$/;let St=(()=>{class oe{_treeNode=(0,xe.WQX)(ve);_tree=(0,xe.WQX)(F);_element=(0,xe.WQX)(re.aKT);_dir=(0,xe.WQX)(ce.dS,{optional:!0});_currentPadding;_destroyed=new v.B;indentUnits="px";get level(){return this._level}set level(fe){this._setLevelInput(fe)}_level;get indent(){return this._indent}set indent(fe){this._setIndentInput(fe)}_indent=40;constructor(){this._setPadding(),this._dir?.change.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),this._treeNode._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const fe=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,Qe=null==this._level?fe:this._level;return"number"==typeof Qe?`${Qe*this._indent}${this.indentUnits}`:null}_setPadding(fe=!1){const Qe=this._paddingIndent();if(Qe!==this._currentPadding||fe){const gt=this._element.nativeElement,Gt=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",rt="paddingLeft"===Gt?"paddingRight":"paddingLeft";gt.style[Gt]=Qe||"",gt.style[rt]="",this._currentPadding=Qe}}_setLevelInput(fe){this._level=isNaN(fe)?null:fe,this._setPadding()}_setIndentInput(fe){let Qe=fe,gt="px";if("string"==typeof fe){const Gt=fe.split(Vt);Qe=Gt[0],gt=Gt[1]||gt}this.indentUnits=gt,this._indent=(0,Ee.Udg)(Qe),this._setPadding()}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",Ee.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]}})}return oe})(),ot=(()=>{class oe{_tree=(0,xe.WQX)(F);_treeNode=(0,xe.WQX)(ve);recursive=!1;constructor(){}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275dir=re.FsC({type:oe,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(Qe,gt){1&Qe&&re.bIt("click",function(rt){return gt._toggle(),rt.stopPropagation()})("keydown.Enter",function(rt){return gt._toggle(),rt.preventDefault()})("keydown.Space",function(rt){return gt._toggle(),rt.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",Ee.L39]}})}return oe})(),ht=(()=>{class oe{static \u0275fac=function(Qe){return new(Qe||oe)};static \u0275mod=re.$C({type:oe});static \u0275inj=xe.G2t({})}return oe})()},9096(Zt,pe,l){"use strict";l.d(pe,{i:()=>f});var i=l(1413),d=l(152),v=l(5964),T=l(6354),w=l(8141),e=l(438);class f{_letterKeyStream=new i.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new i.B;selectedItem=this._selectedItem;constructor(L,C){const B="number"==typeof C?.debounceInterval?C.debounceInterval:200;C?.skipPredicate&&(this._skipPredicateFn=C.skipPredicate),this.setItems(L),this._setupKeyHandler(B)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(L){this._selectedItemIndex=L}setItems(L){this._items=L}handleKey(L){const C=L.keyCode;L.key&&1===L.key.length?this._letterKeyStream.next(L.key.toLocaleUpperCase()):(C>=e.A&&C<=e.Z||C>=e.f2&&C<=e.bn)&&this._letterKeyStream.next(String.fromCharCode(C))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(L){this._letterKeyStream.pipe((0,w.M)(C=>this._pressedLetters.push(C)),(0,d.B)(L),(0,v.p)(()=>this._pressedLetters.length>0),(0,T.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(C=>{for(let B=1;Bd});var i=l(2615);let d=(()=>{class v{_listeners=[];notify(w,e){for(let O of this._listeners)O(w,e)}listen(w){return this._listeners.push(w),()=>{this._listeners=this._listeners.filter(e=>w!==e)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(e){return new(e||v)};static \u0275prov=i.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},177(Zt,pe,l){"use strict";l.d(pe,{AJ:()=>Ee,UE:()=>ce,Vy:()=>be,Xr:()=>J});var re=l(2615);const Ee="browser";function ce(qt){return qt===Ee}function be(qt){return"server"===qt}let J=(()=>{class qt{static \u0275prov=(0,re.jDH)({token:qt,providedIn:"root",factory:()=>new De((0,re.WQX)(re.qQL),window)})}return qt})();class De{document;window;offset=()=>[0,0];constructor(En,Wn){this.document=En,this.window=Wn}setOffset(En){this.offset=Array.isArray(En)?()=>En:En}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(En,Wn){this.window.scrollTo({...Wn,left:En[0],top:En[1]})}scrollToAnchor(En,Wn){const ri=function Re(qt,En){const Wn=qt.getElementById(En)||qt.getElementsByName(En)[0];if(Wn)return Wn;if("function"==typeof qt.createTreeWalker&&qt.body&&"function"==typeof qt.body.attachShadow){const ri=qt.createTreeWalker(qt.body,NodeFilter.SHOW_ELEMENT);let Rn=ri.currentNode;for(;Rn;){const Hn=Rn.shadowRoot;if(Hn){const Pi=Hn.getElementById(En)||Hn.querySelector(`[name="${En}"]`);if(Pi)return Pi}Rn=ri.nextNode()}}return null}(this.document,En);ri&&(this.scrollToElement(ri,Wn),ri.focus())}setHistoryScrollRestoration(En){try{this.window.history.scrollRestoration=En}catch{console.warn((0,re.OsK)(2400,!1))}}scrollToElement(En,Wn){const ri=En.getBoundingClientRect(),Rn=ri.left+this.window.pageXOffset,Hn=ri.top+this.window.pageYOffset,Pi=this.offset();this.window.scrollTo({...Wn,left:Rn-Pi[0],top:Hn-Pi[1]})}}},2200(Zt,pe,l){"use strict";l.d(pe,{B3:()=>Yt,GH:()=>ii,Jj:()=>Vn,MD:()=>Ca,P9:()=>yi,PV:()=>ia,Pc:()=>ra,QX:()=>en,Sq:()=>Tt,T3:()=>Un,TG:()=>Hn,YU:()=>xn,bT:()=>ae,e1:()=>bi,fG:()=>Qi,fw:()=>u,lG:()=>da,ux:()=>fi,vh:()=>En});var T=l(7705),w=l(2615),e=l(3664),O=l(9295),f=l(7303);let u=(()=>{class Fe extends f.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Ve,Et){super(),this._platformLocation=Ve,null!=Et&&(this._baseHref=Et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ve){this._removeListenerFns.push(this._platformLocation.onPopState(Ve),this._platformLocation.onHashChange(Ve))}getBaseHref(){return this._baseHref}path(Ve=!1){const Et=this._platformLocation.hash??"#";return Et.length>0?Et.substring(1):Et}prepareExternalUrl(Ve){const Et=(0,f.om)(this._baseHref,Ve);return Et.length>0?"#"+Et:Et}pushState(Ve,Et,Jt,ti){const di=this.prepareExternalUrl(Jt+(0,f.Q)(ti))||this._platformLocation.pathname;this._platformLocation.pushState(Ve,Et,di)}replaceState(Ve,Et,Jt,ti){const di=this.prepareExternalUrl(Jt+(0,f.Q)(ti))||this._platformLocation.pathname;this._platformLocation.replaceState(Ve,Et,di)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ve=0){this._platformLocation.historyGo?.(Ve)}static \u0275fac=function(Et){return new(Et||Fe)(w.KVO(f.Vw),w.KVO(f.kB,8))};static \u0275prov=w.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var C=function(Fe){return Fe[Fe.Decimal=0]="Decimal",Fe[Fe.Percent=1]="Percent",Fe[Fe.Currency=2]="Currency",Fe[Fe.Scientific=3]="Scientific",Fe}(C||{}),A=function(Fe){return Fe[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe}(A||{}),Pe=function(Fe){return Fe[Fe.Narrow=0]="Narrow",Fe[Fe.Abbreviated=1]="Abbreviated",Fe[Fe.Wide=2]="Wide",Fe[Fe.Short=3]="Short",Fe}(Pe||{}),le=function(Fe){return Fe[Fe.Short=0]="Short",Fe[Fe.Medium=1]="Medium",Fe[Fe.Long=2]="Long",Fe[Fe.Full=3]="Full",Fe}(le||{});function ce(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.DateFormat],Wt)}function be(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.TimeFormat],Wt)}function ne(Fe,Wt){return P((0,e.kBR)(Fe)[e.NSC.DateTimeFormat],Wt)}function J(Fe,Wt){const Ve=(0,e.kBR)(Fe),Et=Ve[e.NSC.NumberSymbols][Wt];if(typeof Et>"u"){if(12===Wt)return Ve[e.NSC.NumberSymbols][0];if(13===Wt)return Ve[e.NSC.NumberSymbols][1]}return Et}function lt(Fe){if(!Fe[e.NSC.ExtraData])throw new w.buA(2303,!1)}function P(Fe,Wt){for(let Ve=Wt;Ve>-1;Ve--)if(typeof Fe[Ve]<"u")return Fe[Ve];throw new w.buA(2304,!1)}function F(Fe){const[Wt,Ve]=Fe.split(":");return{hours:+Wt,minutes:+Ve}}const Ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Vt={},St=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function nt(Fe,Wt,Ve,Et){let Jt=function Ri(Fe){if(ee(Fe))return Fe;if("number"==typeof Fe&&!isNaN(Fe))return new Date(Fe);if("string"==typeof Fe){if(Fe=Fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Fe)){const[Jt,ti=1,di=1]=Fe.split("-").map(Ii=>+Ii);return Ye(Jt,ti-1,di)}const Ve=parseFloat(Fe);if(!isNaN(Fe-Ve))return new Date(Ve);let Et;if(Et=Fe.match(Ke))return function vt(Fe){const Wt=new Date(0);let Ve=0,Et=0;const Jt=Fe[8]?Wt.setUTCFullYear:Wt.setFullYear,ti=Fe[8]?Wt.setUTCHours:Wt.setHours;Fe[9]&&(Ve=Number(Fe[9]+Fe[10]),Et=Number(Fe[9]+Fe[11])),Jt.call(Wt,Number(Fe[1]),Number(Fe[2])-1,Number(Fe[3]));const di=Number(Fe[4]||0)-Ve,Ii=Number(Fe[5]||0)-Et,ca=Number(Fe[6]||0),nn=Math.floor(1e3*parseFloat("0."+(Fe[7]||0)));return ti.call(Wt,di,Ii,ca,nn),Wt}(Et)}const Wt=new Date(Fe);if(!ee(Wt))throw new w.buA(2311,!1);return Wt}(Fe);(function ht(Fe){if(Fe.length>256)throw new w.buA(2300,!1)})(Wt),Wt=fe(Ve,Wt)||Wt;let Ii,di=[];for(;Wt;){if(Ii=St.exec(Wt),!Ii){di.push(Wt);break}{di=di.concat(Ii.slice(1));const ni=di.pop();if(!ni)break;Wt=ni}}let ca=Jt.getTimezoneOffset();Et&&(ca=vi(Et,ca),Jt=function kn(Fe,Wt){const Jt=Fe.getTimezoneOffset();return function Ni(Fe,Wt){return(Fe=new Date(Fe.getTime())).setMinutes(Fe.getMinutes()+Wt),Fe}(Fe,-1*(vi(Wt,Jt)-Jt))}(Jt,Et));let nn="";return di.forEach(ni=>{const U=function ei(Fe){if(gn[Fe])return gn[Fe];let Wt;switch(Fe){case"G":case"GG":case"GGG":Wt=Ft(3,Pe.Abbreviated);break;case"GGGG":Wt=Ft(3,Pe.Wide);break;case"GGGGG":Wt=Ft(3,Pe.Narrow);break;case"y":Wt=rt(0,1,0,!1,!0);break;case"yy":Wt=rt(0,2,0,!0,!0);break;case"yyy":Wt=rt(0,3,0,!1,!0);break;case"yyyy":Wt=rt(0,4,0,!1,!0);break;case"Y":Wt=Pt(1);break;case"YY":Wt=Pt(2,!0);break;case"YYY":Wt=Pt(3);break;case"YYYY":Wt=Pt(4);break;case"M":case"L":Wt=rt(1,1,1);break;case"MM":case"LL":Wt=rt(1,2,1);break;case"MMM":Wt=Ft(2,Pe.Abbreviated);break;case"MMMM":Wt=Ft(2,Pe.Wide);break;case"MMMMM":Wt=Ft(2,Pe.Narrow);break;case"LLL":Wt=Ft(2,Pe.Abbreviated,A.Standalone);break;case"LLLL":Wt=Ft(2,Pe.Wide,A.Standalone);break;case"LLLLL":Wt=Ft(2,Pe.Narrow,A.Standalone);break;case"w":Wt=pt(1);break;case"ww":Wt=pt(2);break;case"W":Wt=pt(1,!0);break;case"d":Wt=rt(2,1);break;case"dd":Wt=rt(2,2);break;case"c":case"cc":Wt=rt(7,1);break;case"ccc":Wt=Ft(1,Pe.Abbreviated,A.Standalone);break;case"cccc":Wt=Ft(1,Pe.Wide,A.Standalone);break;case"ccccc":Wt=Ft(1,Pe.Narrow,A.Standalone);break;case"cccccc":Wt=Ft(1,Pe.Short,A.Standalone);break;case"E":case"EE":case"EEE":Wt=Ft(1,Pe.Abbreviated);break;case"EEEE":Wt=Ft(1,Pe.Wide);break;case"EEEEE":Wt=Ft(1,Pe.Narrow);break;case"EEEEEE":Wt=Ft(1,Pe.Short);break;case"a":case"aa":case"aaa":Wt=Ft(0,Pe.Abbreviated);break;case"aaaa":Wt=Ft(0,Pe.Wide);break;case"aaaaa":Wt=Ft(0,Pe.Narrow);break;case"b":case"bb":case"bbb":Wt=Ft(0,Pe.Abbreviated,A.Standalone,!0);break;case"bbbb":Wt=Ft(0,Pe.Wide,A.Standalone,!0);break;case"bbbbb":Wt=Ft(0,Pe.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":Wt=Ft(0,Pe.Abbreviated,A.Format,!0);break;case"BBBB":Wt=Ft(0,Pe.Wide,A.Format,!0);break;case"BBBBB":Wt=Ft(0,Pe.Narrow,A.Format,!0);break;case"h":Wt=rt(3,1,-12);break;case"hh":Wt=rt(3,2,-12);break;case"H":Wt=rt(3,1);break;case"HH":Wt=rt(3,2);break;case"m":Wt=rt(4,1);break;case"mm":Wt=rt(4,2);break;case"s":Wt=rt(5,1);break;case"ss":Wt=rt(5,2);break;case"S":Wt=rt(6,1);break;case"SS":Wt=rt(6,2);break;case"SSS":Wt=rt(6,3);break;case"Z":case"ZZ":case"ZZZ":Wt=Qn(0);break;case"ZZZZZ":Wt=Qn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Wt=Qn(1);break;case"OOOO":case"ZZZZ":case"zzzz":Wt=Qn(2);break;default:return null}return gn[Fe]=Wt,Wt}(ni);nn+=U?U(Jt,Ve,ca):"''"===ni?"'":ni.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),nn}function Ye(Fe,Wt,Ve){const Et=new Date(0);return Et.setFullYear(Fe,Wt,Ve),Et.setHours(0,0,0),Et}function fe(Fe,Wt){const Ve=function j(Fe){return(0,e.kBR)(Fe)[e.NSC.LocaleId]}(Fe);if(Vt[Ve]??={},Vt[Ve][Wt])return Vt[Ve][Wt];let Et="";switch(Wt){case"shortDate":Et=ce(Fe,le.Short);break;case"mediumDate":Et=ce(Fe,le.Medium);break;case"longDate":Et=ce(Fe,le.Long);break;case"fullDate":Et=ce(Fe,le.Full);break;case"shortTime":Et=be(Fe,le.Short);break;case"mediumTime":Et=be(Fe,le.Medium);break;case"longTime":Et=be(Fe,le.Long);break;case"fullTime":Et=be(Fe,le.Full);break;case"short":const Jt=fe(Fe,"shortTime"),ti=fe(Fe,"shortDate");Et=Qe(ne(Fe,le.Short),[Jt,ti]);break;case"medium":const di=fe(Fe,"mediumTime"),Ii=fe(Fe,"mediumDate");Et=Qe(ne(Fe,le.Medium),[di,Ii]);break;case"long":const ca=fe(Fe,"longTime"),nn=fe(Fe,"longDate");Et=Qe(ne(Fe,le.Long),[ca,nn]);break;case"full":const ni=fe(Fe,"fullTime"),U=fe(Fe,"fullDate");Et=Qe(ne(Fe,le.Full),[ni,U])}return Et&&(Vt[Ve][Wt]=Et),Et}function Qe(Fe,Wt){return Wt&&(Fe=Fe.replace(/\{([^}]+)}/g,function(Ve,Et){return null!=Wt&&Et in Wt?Wt[Et]:Ve})),Fe}function gt(Fe,Wt,Ve="-",Et,Jt){let ti="";(Fe<0||Jt&&Fe<=0)&&(Jt?Fe=1-Fe:(Fe=-Fe,ti=Ve));let di=String(Fe);for(;di.length0||Ii>-Ve)&&(Ii+=Ve),3===Fe)0===Ii&&-12===Ve&&(Ii=12);else if(6===Fe)return function Gt(Fe,Wt){return gt(Fe,3).substring(0,Wt)}(Ii,Wt);const ca=J(di,5);return gt(Ii,Wt,ca,Et,Jt)}}function Ft(Fe,Wt,Ve=A.Format,Et=!1){return function(Jt,ti){return function Sn(Fe,Wt,Ve,Et,Jt,ti){switch(Ve){case 2:return function re(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe),ti=P([Et[e.NSC.MonthsFormat],Et[e.NSC.MonthsStandalone]],Wt);return P(ti,Ve)}(Wt,Jt,Et)[Fe.getMonth()];case 1:return function G(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe),ti=P([Et[e.NSC.DaysFormat],Et[e.NSC.DaysStandalone]],Wt);return P(ti,Ve)}(Wt,Jt,Et)[Fe.getDay()];case 0:const di=Fe.getHours(),Ii=Fe.getMinutes();if(ti){const nn=function Le(Fe){const Wt=(0,e.kBR)(Fe);return lt(Wt),(Wt[e.NSC.ExtraData][2]||[]).map(Et=>"string"==typeof Et?F(Et):[F(Et[0]),F(Et[1])])}(Wt),ni=function te(Fe,Wt,Ve){const Et=(0,e.kBR)(Fe);lt(Et);const ti=P([Et[e.NSC.ExtraData][0],Et[e.NSC.ExtraData][1]],Wt)||[];return P(ti,Ve)||[]}(Wt,Jt,Et),U=nn.findIndex(tt=>{if(Array.isArray(tt)){const[Ze,Xt]=tt,Nn=di>=Ze.hours&&Ii>=Ze.minutes,Ki=di0?Math.floor(Jt/60):Math.ceil(Jt/60);switch(Fe){case 0:return(Jt>=0?"+":"")+gt(di,2,ti)+gt(Math.abs(Jt%60),2,ti);case 1:return"GMT"+(Jt>=0?"+":"")+gt(di,1,ti);case 2:return"GMT"+(Jt>=0?"+":"")+gt(di,2,ti)+":"+gt(Math.abs(Jt%60),2,ti);case 3:return 0===Et?"Z":(Jt>=0?"+":"")+gt(di,2,ti)+":"+gt(Math.abs(Jt%60),2,ti);default:throw new w.buA(2310,!1)}}}function wt(Fe){const Wt=Fe.getDay(),Ve=0===Wt?-3:4-Wt;return Ye(Fe.getFullYear(),Fe.getMonth(),Fe.getDate()+Ve)}function pt(Fe,Wt=!1){return function(Ve,Et){let Jt;if(Wt){const ti=new Date(Ve.getFullYear(),Ve.getMonth(),1).getDay()-1,di=Ve.getDate();Jt=1+Math.floor((di+ti)/7)}else{const ti=wt(Ve),di=function Ue(Fe){const Wt=Ye(Fe,0,1).getDay();return Ye(Fe,0,1+(Wt<=4?4:11)-Wt)}(ti.getFullYear()),Ii=ti.getTime()-di.getTime();Jt=1+Math.round(Ii/6048e5)}return gt(Jt,Fe,J(Et,5))}}function Pt(Fe,Wt=!1){return function(Ve,Et){return gt(wt(Ve).getFullYear(),Fe,J(Et,5),Wt)}}const gn={};function vi(Fe,Wt){Fe=Fe.replace(/:/g,"");const Ve=Date.parse("Jan 01, 1970 00:00:00 "+Fe)/6e4;return isNaN(Ve)?Wt:Ve}function ee(Fe){return Fe instanceof Date&&!isNaN(Fe.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function bt(Fe){const Wt=parseInt(Fe);if(isNaN(Wt))throw new w.buA(2305,!1);return Wt}const Nt=/\s+/,dn=[];let xn=(()=>{class Fe{_ngEl;_renderer;initialClasses=dn;rawClass;stateMap=new Map;constructor(Ve,Et){this._ngEl=Ve,this._renderer=Et}set klass(Ve){this.initialClasses=null!=Ve?Ve.trim().split(Nt):dn}set ngClass(Ve){this.rawClass="string"==typeof Ve?Ve.trim().split(Nt):Ve}ngDoCheck(){for(const Et of this.initialClasses)this._updateState(Et,!0);const Ve=this.rawClass;if(Array.isArray(Ve)||Ve instanceof Set)for(const Et of Ve)this._updateState(Et,!0);else if(null!=Ve)for(const Et of Object.keys(Ve))this._updateState(Et,!!Ve[Et]);this._applyStateDiff()}_updateState(Ve,Et){const Jt=this.stateMap.get(Ve);void 0!==Jt?(Jt.enabled!==Et&&(Jt.changed=!0,Jt.enabled=Et),Jt.touched=!0):this.stateMap.set(Ve,{enabled:Et,changed:!0,touched:!0})}_applyStateDiff(){for(const Ve of this.stateMap){const Et=Ve[0],Jt=Ve[1];Jt.changed?(this._toggleClass(Et,Jt.enabled),Jt.changed=!1):Jt.touched||(Jt.enabled&&this._toggleClass(Et,!1),this.stateMap.delete(Et)),Jt.touched=!1}}_toggleClass(Ve,Et){(Ve=Ve.trim()).length>0&&Ve.split(Nt).forEach(Jt=>{Et?this._renderer.addClass(this._ngEl.nativeElement,Jt):this._renderer.removeClass(this._ngEl.nativeElement,Jt)})}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.aKT),e.rXU(e.sFG))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Fe})();class Yi{$implicit;ngForOf;index;count;constructor(Wt,Ve,Et,Jt){this.$implicit=Wt,this.ngForOf=Ve,this.index=Et,this.count=Jt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Tt=(()=>{class Fe{_viewContainer;_template;_differs;set ngForOf(Ve){this._ngForOf=Ve,this._ngForOfDirty=!0}set ngForTrackBy(Ve){this._trackByFn=Ve}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Ve,Et,Jt){this._viewContainer=Ve,this._template=Et,this._differs=Jt}set ngForTemplate(Ve){Ve&&(this._template=Ve)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ve=this._ngForOf;!this._differ&&Ve&&(this._differ=this._differs.find(Ve).create(this.ngForTrackBy))}if(this._differ){const Ve=this._differ.diff(this._ngForOf);Ve&&this._applyChanges(Ve)}}_applyChanges(Ve){const Et=this._viewContainer;Ve.forEachOperation((Jt,ti,di)=>{if(null==Jt.previousIndex)Et.createEmbeddedView(this._template,new Yi(Jt.item,this._ngForOf,-1,-1),null===di?void 0:di);else if(null==di)Et.remove(null===ti?void 0:ti);else if(null!==ti){const Ii=Et.get(ti);Et.move(Ii,di),At(Ii,Jt)}});for(let Jt=0,ti=Et.length;Jt{At(Et.get(Jt.currentIndex),Jt)})}static ngTemplateContextGuard(Ve,Et){return!0}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(T._q3))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Fe})();function At(Fe,Wt){Fe.context.$implicit=Wt.item}let ae=(()=>{class Fe{_viewContainer;_context=new Lt;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(Ve,Et){this._viewContainer=Ve,this._thenTemplateRef=Et}set ngIf(Ve){this._context.$implicit=this._context.ngIf=Ve,this._updateView()}set ngIfThen(Ve){Ht(Ve),this._thenTemplateRef=Ve,this._thenViewRef=null,this._updateView()}set ngIfElse(Ve){Ht(Ve),this._elseTemplateRef=Ve,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Ve,Et){return!0}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Fe})();class Lt{$implicit=null;ngIf=null}function Ht(Fe,Wt){if(Fe&&!Fe.createEmbeddedView)throw new w.buA(2020,!1)}class _n{_viewContainerRef;_templateRef;_created=!1;constructor(Wt,Ve){this._viewContainerRef=Wt,this._templateRef=Ve}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Wt){Wt&&!this._created?this.create():!Wt&&this._created&&this.destroy()}}let fi=(()=>{class Fe{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(Ve){this._ngSwitch=Ve,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ve){this._defaultViews.push(Ve)}_matchCase(Ve){const Et=Ve===this._ngSwitch;return this._lastCasesMatched||=Et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Et}_updateDefaultCases(Ve){if(this._defaultViews.length>0&&Ve!==this._defaultUsed){this._defaultUsed=Ve;for(const Et of this._defaultViews)Et.enforceState(Ve)}}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return Fe})(),bi=(()=>{class Fe{ngSwitch;_view;ngSwitchCase;constructor(Ve,Et,Jt){this.ngSwitch=Jt,Jt._addCase(),this._view=new _n(Ve,Et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(fi,9))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return Fe})(),Qi=(()=>{class Fe{constructor(Ve,Et,Jt){Jt._addDefault(new _n(Ve,Et))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(fi,9))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngSwitchDefault",""]]})}return Fe})(),Yt=(()=>{class Fe{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Ve,Et,Jt){this._ngEl=Ve,this._differs=Et,this._renderer=Jt}set ngStyle(Ve){this._ngStyle=Ve,!this._differ&&Ve&&(this._differ=this._differs.find(Ve).create())}ngDoCheck(){if(this._differ){const Ve=this._differ.diff(this._ngStyle);Ve&&this._applyChanges(Ve)}}_setStyle(Ve,Et){const[Jt,ti]=Ve.split("."),di=-1===Jt.indexOf("-")?void 0:e.czy.DashCase;null!=Et?this._renderer.setStyle(this._ngEl.nativeElement,Jt,ti?`${Et}${ti}`:Et,di):this._renderer.removeStyle(this._ngEl.nativeElement,Jt,di)}_applyChanges(Ve){Ve.forEachRemovedItem(Et=>this._setStyle(Et.key,null)),Ve.forEachAddedItem(Et=>this._setStyle(Et.key,Et.currentValue)),Ve.forEachChangedItem(Et=>this._setStyle(Et.key,Et.currentValue))}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.aKT),e.rXU(T.MKu),e.rXU(e.sFG))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return Fe})(),Un=(()=>{class Fe{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(Ve){this._viewContainerRef=Ve}ngOnChanges(Ve){if(this._shouldRecreateView(Ve)){const Et=this._viewContainerRef;if(this._viewRef&&Et.remove(Et.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Jt=this._createContextForwardProxy();this._viewRef=Et.createEmbeddedView(this.ngTemplateOutlet,Jt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ve){return!!Ve.ngTemplateOutlet||!!Ve.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ve,Et,Jt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Et,Jt),get:(Ve,Et,Jt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Et,Jt)}})}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.c1b))};static \u0275dir=e.FsC({type:Fe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[e.OA$]})}return Fe})();function Fn(Fe,Wt){return new w.buA(2100,!1)}class ci{createSubscription(Wt,Ve,Et){return(0,O.O8)(()=>Wt.subscribe({next:Ve,error:Et}))}dispose(Wt){(0,O.O8)(()=>Wt.unsubscribe())}}class rn{createSubscription(Wt,Ve,Et){return Wt.then(Jt=>Ve?.(Jt),Jt=>Et?.(Jt)),{unsubscribe:()=>{Ve=null,Et=null}}}dispose(Wt){Wt.unsubscribe()}}const In=new rn,Mn=new ci;let Vn=(()=>{class Fe{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,w.WQX)(w.ZTf);constructor(Ve){this._ref=Ve}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ve){if(!this._obj){if(Ve)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ve)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ve!==this._obj?(this._dispose(),this.transform(Ve)):this._latestValue}_subscribe(Ve){this._obj=Ve,this._strategy=this._selectStrategy(Ve),this._subscription=this._strategy.createSubscription(Ve,Et=>this._updateLatestValue(Ve,Et),Et=>this.applicationErrorHandler(Et))}_selectStrategy(Ve){if((0,e.yLl)(Ve))return In;if((0,e.cdK)(Ve))return Mn;throw Fn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ve,Et){Ve===this._obj&&(this._latestValue=Et,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(T.gRc,16))};static \u0275pipe=e.EJ8({name:"async",type:Fe,pure:!1})}return Fe})(),ii=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.toLowerCase()}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"lowercase",type:Fe,pure:!0})}return Fe})();const Bn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ia=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.replace(Bn,Et=>Et[0].toUpperCase()+Et.slice(1).toLowerCase())}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"titlecase",type:Fe,pure:!0})}return Fe})(),ra=(()=>{class Fe{transform(Ve){if(null==Ve)return null;if("string"!=typeof Ve)throw Fn();return Ve.toUpperCase()}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"uppercase",type:Fe,pure:!0})}return Fe})();const ha=new w.nKC(""),qt=new w.nKC("");let En=(()=>{class Fe{locale;defaultTimezone;defaultOptions;constructor(Ve,Et,Jt){this.locale=Ve,this.defaultTimezone=Et,this.defaultOptions=Jt}transform(Ve,Et,Jt,ti){if(null==Ve||""===Ve||Ve!=Ve)return null;try{return nt(Ve,Et??this.defaultOptions?.dateFormat??"mediumDate",ti||this.locale,Jt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(di){throw Fn()}}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(e.xe9,16),e.rXU(ha,24),e.rXU(qt,24))};static \u0275pipe=e.EJ8({name:"date",type:Fe,pure:!0})}return Fe})(),Hn=(()=>{class Fe{transform(Ve){return JSON.stringify(Ve,null,2)}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"json",type:Fe,pure:!1})}return Fe})(),da=(()=>{class Fe{differs;constructor(Ve){this.differs=Ve}differ;keyValues=[];compareFn=Ta;transform(Ve,Et=Ta){if(!Ve||!(Ve instanceof Map)&&"object"!=typeof Ve)return null;this.differ??=this.differs.find(Ve).create();const Jt=this.differ.diff(Ve),ti=Et!==this.compareFn;return Jt&&(this.keyValues=[],Jt.forEachItem(di=>{this.keyValues.push(function Pi(Fe,Wt){return{key:Fe,value:Wt}}(di.key,di.currentValue))})),(Jt||ti)&&(Et&&this.keyValues.sort(Et),this.compareFn=Et),this.keyValues}static \u0275fac=function(Et){return new(Et||Fe)(e.rXU(T.MKu,16))};static \u0275pipe=e.EJ8({name:"keyvalue",type:Fe,pure:!1})}return Fe})();function Ta(Fe,Wt){const Ve=Fe.key,Et=Wt.key;if(Ve===Et)return 0;if(null==Ve)return 1;if(null==Et)return-1;if("string"==typeof Ve&&"string"==typeof Et)return Ve{class Fe{_locale;constructor(Ve){this._locale=Ve}transform(Ve,Et,Jt){if(!function bn(Fe){return!(null==Fe||""===Fe||Fe!=Fe)}(Ve))return null;Jt||=this._locale;try{return function ut(Fe,Wt,Ve){return function pn(Fe,Wt,Ve,Et,Jt,ti,di=!1){let Ii="",ca=!1;if(isFinite(Fe)){let nn=function se(Fe){let Et,Jt,ti,di,Ii,Wt=Math.abs(Fe)+"",Ve=0;for((Jt=Wt.indexOf("."))>-1&&(Wt=Wt.replace(".","")),(ti=Wt.search(/e/i))>0?(Jt<0&&(Jt=ti),Jt+=+Wt.slice(ti+1),Wt=Wt.substring(0,ti)):Jt<0&&(Jt=Wt.length),ti=0;"0"===Wt.charAt(ti);ti++);if(ti===(Ii=Wt.length))Et=[0],Jt=1;else{for(Ii--;"0"===Wt.charAt(Ii);)Ii--;for(Jt-=ti,Et=[],di=0;ti<=Ii;ti++,di++)Et[di]=Number(Wt.charAt(ti))}return Jt>22&&(Et=Et.splice(0,21),Ve=Jt-1,Jt=1),{digits:Et,exponent:Ve,integerLen:Jt}}(Fe);di&&(nn=function Ot(Fe){if(0===Fe.digits[0])return Fe;const Wt=Fe.digits.length-Fe.integerLen;return Fe.exponent?Fe.exponent+=2:(0===Wt?Fe.digits.push(0,0):1===Wt&&Fe.digits.push(0),Fe.integerLen+=2),Fe}(nn));let ni=Wt.minInt,U=Wt.minFrac,tt=Wt.maxFrac;if(ti){const Ua=ti.match(ye);if(null===Ua)throw new w.buA(2306,!1);const $a=Ua[1],ns=Ua[3],Ga=Ua[5];null!=$a&&(ni=bt($a)),null!=ns&&(U=bt(ns)),null!=Ga?tt=bt(Ga):null!=ns&&U>tt&&(tt=U);const As=100;if(ni>As||U>As||tt>As)throw new w.buA(2306,!1)}!function We(Fe,Wt,Ve){if(Wt>Ve)throw new w.buA(2307,!1);let Et=Fe.digits,Jt=Et.length-Fe.integerLen;const ti=Math.min(Math.max(Wt,Jt),Ve);let di=ti+Fe.integerLen,Ii=Et[di];if(di>0){Et.splice(Math.max(Fe.integerLen,di));for(let U=di;U=5)if(di-1<0){for(let U=0;U>di;U--)Et.unshift(0),Fe.integerLen++;Et.unshift(1),Fe.integerLen++}else Et[di-1]++;for(;Jt=nn?Xt.pop():ca=!1),tt>=10?1:0},0);ni&&(Et.unshift(ni),Fe.integerLen++)}(nn,U,tt);let Ze=nn.digits,Xt=nn.integerLen;const Nn=nn.exponent;let Ki=[];for(ca=Ze.every(Ua=>!Ua);Xt0?Ki=Ze.splice(Xt,Ze.length):(Ki=Ze,Ze=[0]);const _a=[];for(Ze.length>=Wt.lgSize&&_a.unshift(Ze.splice(-Wt.lgSize,Ze.length).join(""));Ze.length>Wt.gSize;)_a.unshift(Ze.splice(-Wt.gSize,Ze.length).join(""));Ze.length&&_a.unshift(Ze.join("")),Ii=_a.join(J(Ve,Et)),Ki.length&&(Ii+=J(Ve,Jt)+Ki.join("")),Nn&&(Ii+=J(Ve,6)+"+"+Nn)}else Ii=J(Ve,9);return Ii=Fe<0&&!ca?Wt.negPre+Ii+Wt.negSuf:Wt.posPre+Ii+Wt.posSuf,Ii}(Fe,function Ge(Fe,Wt="-"){const Ve={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Et=Fe.split(";"),Jt=Et[0],ti=Et[1],di=-1!==Jt.indexOf(".")?Jt.split("."):[Jt.substring(0,Jt.lastIndexOf("0")+1),Jt.substring(Jt.lastIndexOf("0")+1)],Ii=di[0],ca=di[1]||"";Ve.posPre=Ii.substring(0,Ii.indexOf("#"));for(let ni=0;ni{class Fe{transform(Ve,Et,Jt){if(null==Ve)return null;if("string"!=typeof Ve&&!Array.isArray(Ve))throw Fn();return Ve.slice(Et,Jt)}static \u0275fac=function(Et){return new(Et||Fe)};static \u0275pipe=e.EJ8({name:"slice",type:Fe,pure:!1})}return Fe})(),Ca=(()=>{class Fe{static \u0275fac=function(Et){return new(Et||Fe)};static \u0275mod=e.$C({type:Fe});static \u0275inj=w.G2t({})}return Fe})()},7303(Zt,pe,l){"use strict";l.d(pe,{Q:()=>B,Sm:()=>le,Vw:()=>O,aZ:()=>Ce,hb:()=>A,hj:()=>f,ig:()=>w,kB:()=>Pe,om:()=>L,qj:()=>e,rb:()=>T});var i=l(2615),d=l(1413);let v=null;function T(){return v}function w(re){v??=re}class e{}let O=(()=>{class re{historyGo(Ee){throw new Error("")}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>(0,i.WQX)(u),providedIn:"platform"})}return re})();const f=new i.nKC("");let u=(()=>{class re extends O{_location;_history;_doc=(0,i.WQX)(i.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(Ee){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",Ee,!1),()=>V.removeEventListener("popstate",Ee)}onHashChange(Ee){const V=T().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",Ee,!1),()=>V.removeEventListener("hashchange",Ee)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ee){this._location.pathname=Ee}pushState(Ee,V,ce){this._history.pushState(Ee,V,ce)}replaceState(Ee,V,ce){this._history.replaceState(Ee,V,ce)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ee=0){this._history.go(Ee)}getState(){return this._history.state}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>new re,providedIn:"platform"})}return re})();function L(re,xe){return re?xe?re.endsWith("/")?xe.startsWith("/")?re+xe.slice(1):re+xe:xe.startsWith("/")?re+xe:`${re}/${xe}`:re:xe}function C(re){const xe=re.search(/#|\?|$/);return"/"===re[xe-1]?re.slice(0,xe-1)+re.slice(xe):re}function B(re){return re&&"?"!==re[0]?`?${re}`:re}let A=(()=>{class re{historyGo(Ee){throw new Error("")}static \u0275fac=function(V){return new(V||re)};static \u0275prov=i.jDH({token:re,factory:()=>(0,i.WQX)(le),providedIn:"root"})}return re})();const Pe=new i.nKC("");let le=(()=>{class re extends A{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Ee,V){super(),this._platformLocation=Ee,this._baseHref=V??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(i.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ee){this._removeListenerFns.push(this._platformLocation.onPopState(Ee),this._platformLocation.onHashChange(Ee))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ee){return L(this._baseHref,Ee)}path(Ee=!1){const V=this._platformLocation.pathname+B(this._platformLocation.search),ce=this._platformLocation.hash;return ce&&Ee?`${V}${ce}`:V}pushState(Ee,V,ce,be){const ne=this.prepareExternalUrl(ce+B(be));this._platformLocation.pushState(Ee,V,ne)}replaceState(Ee,V,ce,be){const ne=this.prepareExternalUrl(ce+B(be));this._platformLocation.replaceState(Ee,V,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ee=0){this._platformLocation.historyGo?.(Ee)}static \u0275fac=function(V){return new(V||re)(i.KVO(O),i.KVO(Pe,8))};static \u0275prov=i.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})(),Ce=(()=>{class re{_subject=new d.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Ee){this._locationStrategy=Ee;const V=this._locationStrategy.getBaseHref();this._basePath=function G(re){if(new RegExp("^(https?:)?//").test(re)){const[,Ee]=re.split(/\/\/[^\/]+/);return Ee}return re}(C(W(V))),this._locationStrategy.onPopState(ce=>{this._subject.next({url:this.path(!0),pop:!0,state:ce.state,type:ce.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ee=!1){return this.normalize(this._locationStrategy.path(Ee))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ee,V=""){return this.path()==this.normalize(Ee+B(V))}normalize(Ee){return re.stripTrailingSlash(function j(re,xe){if(!re||!xe.startsWith(re))return xe;const Ee=xe.substring(re.length);return""===Ee||["/",";","?","#"].includes(Ee[0])?Ee:xe}(this._basePath,W(Ee)))}prepareExternalUrl(Ee){return Ee&&"/"!==Ee[0]&&(Ee="/"+Ee),this._locationStrategy.prepareExternalUrl(Ee)}go(Ee,V="",ce=null){this._locationStrategy.pushState(ce,"",Ee,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ee+B(V)),ce)}replaceState(Ee,V="",ce=null){this._locationStrategy.replaceState(ce,"",Ee,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ee+B(V)),ce)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ee=0){this._locationStrategy.historyGo?.(Ee)}onUrlChange(Ee){return this._urlChangeListeners.push(Ee),this._urlChangeSubscription??=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}),()=>{const V=this._urlChangeListeners.indexOf(Ee);this._urlChangeListeners.splice(V,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ee="",V){this._urlChangeListeners.forEach(ce=>ce(Ee,V))}subscribe(Ee,V,ce){return this._subject.subscribe({next:Ee,error:V??void 0,complete:ce??void 0})}static normalizeQueryParams=B;static joinWithSlash=L;static stripTrailingSlash=C;static \u0275fac=function(V){return new(V||re)(i.KVO(A))};static \u0275prov=i.jDH({token:re,factory:()=>function Ae(){return new Ce((0,i.KVO)(A))}(),providedIn:"root"})}return re})();function W(re){return re.replace(/\/index.html$/,"")}},9330(Zt,pe,l){"use strict";l.d(pe,{$R:()=>Yi,Nl:()=>De,Qq:()=>Qe,Sx:()=>we,ZZ:()=>fi,a7:()=>pt,q1:()=>Qi});var O=l(467),f=l(2615),u=l(3664),L=l(274),C=l(5964),B=l(980),A=l(6354),Pe=l(5558),le=l(1985),Ae=(l(2806),l(7673)),j=l(2512);class W{}class G{}class re{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(an){an?"string"==typeof an?this.lazyInit=()=>{this.headers=new Map,an.split("\n").forEach(Yt=>{const Un=Yt.indexOf(":");if(Un>0){const zn=Yt.slice(0,Un),Fn=Yt.slice(Un+1).trim();this.addHeaderEntry(zn,Fn)}})}:typeof Headers<"u"&&an instanceof Headers?(this.headers=new Map,an.forEach((Yt,Un)=>{this.addHeaderEntry(Un,Yt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(an).forEach(([Yt,Un])=>{this.setHeaderEntries(Yt,Un)})}:this.headers=new Map}has(an){return this.init(),this.headers.has(an.toLowerCase())}get(an){this.init();const Yt=this.headers.get(an.toLowerCase());return Yt&&Yt.length>0?Yt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(an){return this.init(),this.headers.get(an.toLowerCase())||null}append(an,Yt){return this.clone({name:an,value:Yt,op:"a"})}set(an,Yt){return this.clone({name:an,value:Yt,op:"s"})}delete(an,Yt){return this.clone({name:an,value:Yt,op:"d"})}maybeSetNormalizedName(an,Yt){this.normalizedNames.has(Yt)||this.normalizedNames.set(Yt,an)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(an=>this.applyUpdate(an)),this.lazyUpdate=null))}copyFrom(an){an.init(),Array.from(an.headers.keys()).forEach(Yt=>{this.headers.set(Yt,an.headers.get(Yt)),this.normalizedNames.set(Yt,an.normalizedNames.get(Yt))})}clone(an){const Yt=new re;return Yt.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,Yt.lazyUpdate=(this.lazyUpdate||[]).concat([an]),Yt}applyUpdate(an){const Yt=an.name.toLowerCase();switch(an.op){case"a":case"s":let Un=an.value;if("string"==typeof Un&&(Un=[Un]),0===Un.length)return;this.maybeSetNormalizedName(an.name,Yt);const zn=("a"===an.op?this.headers.get(Yt):void 0)||[];zn.push(...Un),this.headers.set(Yt,zn);break;case"d":const Fn=an.value;if(Fn){let ci=this.headers.get(Yt);if(!ci)return;ci=ci.filter(rn=>-1===Fn.indexOf(rn)),0===ci.length?(this.headers.delete(Yt),this.normalizedNames.delete(Yt)):this.headers.set(Yt,ci)}else this.headers.delete(Yt),this.normalizedNames.delete(Yt)}}addHeaderEntry(an,Yt){const Un=an.toLowerCase();this.maybeSetNormalizedName(an,Un),this.headers.has(Un)?this.headers.get(Un).push(Yt):this.headers.set(Un,[Yt])}setHeaderEntries(an,Yt){const Un=(Array.isArray(Yt)?Yt:[Yt]).map(Fn=>Fn.toString()),zn=an.toLowerCase();this.headers.set(zn,Un),this.maybeSetNormalizedName(an,zn)}forEach(an){this.init(),Array.from(this.normalizedNames.keys()).forEach(Yt=>an(this.normalizedNames.get(Yt),this.headers.get(Yt)))}}class Ee{encodeKey(an){return ne(an)}encodeValue(an){return ne(an)}decodeKey(an){return decodeURIComponent(an)}decodeValue(an){return decodeURIComponent(an)}}const ce=/%(\d[a-f0-9])/gi,be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ne(It){return encodeURIComponent(It).replace(ce,(an,Yt)=>be[Yt]??an)}function J(It){return`${It}`}class De{map;encoder;updates=null;cloneFrom=null;constructor(an={}){if(this.encoder=an.encoder||new Ee,an.fromString){if(an.fromObject)throw new f.buA(2805,!1);this.map=function V(It,an){const Yt=new Map;return It.length>0&&It.replace(/^\?/,"").split("&").forEach(zn=>{const Fn=zn.indexOf("="),[ci,rn]=-1==Fn?[an.decodeKey(zn),""]:[an.decodeKey(zn.slice(0,Fn)),an.decodeValue(zn.slice(Fn+1))],In=Yt.get(ci)||[];In.push(rn),Yt.set(ci,In)}),Yt}(an.fromString,this.encoder)}else an.fromObject?(this.map=new Map,Object.keys(an.fromObject).forEach(Yt=>{const Un=an.fromObject[Yt],zn=Array.isArray(Un)?Un.map(J):[J(Un)];this.map.set(Yt,zn)})):this.map=null}has(an){return this.init(),this.map.has(an)}get(an){this.init();const Yt=this.map.get(an);return Yt?Yt[0]:null}getAll(an){return this.init(),this.map.get(an)||null}keys(){return this.init(),Array.from(this.map.keys())}append(an,Yt){return this.clone({param:an,value:Yt,op:"a"})}appendAll(an){const Yt=[];return Object.keys(an).forEach(Un=>{const zn=an[Un];Array.isArray(zn)?zn.forEach(Fn=>{Yt.push({param:Un,value:Fn,op:"a"})}):Yt.push({param:Un,value:zn,op:"a"})}),this.clone(Yt)}set(an,Yt){return this.clone({param:an,value:Yt,op:"s"})}delete(an,Yt){return this.clone({param:an,value:Yt,op:"d"})}toString(){return this.init(),this.keys().map(an=>{const Yt=this.encoder.encodeKey(an);return this.map.get(an).map(Un=>Yt+"="+this.encoder.encodeValue(Un)).join("&")}).filter(an=>""!==an).join("&")}clone(an){const Yt=new De({encoder:this.encoder});return Yt.cloneFrom=this.cloneFrom||this,Yt.updates=(this.updates||[]).concat(an),Yt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(an=>this.map.set(an,this.cloneFrom.map.get(an))),this.updates.forEach(an=>{switch(an.op){case"a":case"s":const Yt=("a"===an.op?this.map.get(an.param):void 0)||[];Yt.push(J(an.value)),this.map.set(an.param,Yt);break;case"d":if(void 0===an.value){this.map.delete(an.param);break}{let Un=this.map.get(an.param)||[];const zn=Un.indexOf(J(an.value));-1!==zn&&Un.splice(zn,1),Un.length>0?this.map.set(an.param,Un):this.map.delete(an.param)}}}),this.cloneFrom=this.updates=null)}}class Xe{map=new Map;set(an,Yt){return this.map.set(an,Yt),this}get(an){return this.map.has(an)||this.map.set(an,an.defaultValue()),this.map.get(an)}delete(an){return this.map.delete(an),this}has(an){return this.map.has(an)}keys(){return this.map.keys()}}function he(It){return typeof ArrayBuffer<"u"&&It instanceof ArrayBuffer}function Dt(It){return typeof Blob<"u"&&It instanceof Blob}function lt(It){return typeof FormData<"u"&&It instanceof FormData}const te="Content-Type",ie="Accept",P="X-Request-URL",F="text/plain",ve="application/json",H=`${ve}, ${F}, */*`;class ${url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(an,Yt,Un,zn){let Fn;if(this.url=Yt,this.method=an.toUpperCase(),function _e(It){switch(It){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||zn?(this.body=void 0!==Un?Un:null,Fn=zn):Fn=Un,Fn){if(this.reportProgress=!!Fn.reportProgress,this.withCredentials=!!Fn.withCredentials,this.keepalive=!!Fn.keepalive,Fn.responseType&&(this.responseType=Fn.responseType),Fn.headers&&(this.headers=Fn.headers),Fn.context&&(this.context=Fn.context),Fn.params&&(this.params=Fn.params),Fn.priority&&(this.priority=Fn.priority),Fn.cache&&(this.cache=Fn.cache),Fn.credentials&&(this.credentials=Fn.credentials),"number"==typeof Fn.timeout){if(Fn.timeout<1||!Number.isInteger(Fn.timeout))throw new f.buA(2822,"");this.timeout=Fn.timeout}Fn.mode&&(this.mode=Fn.mode),Fn.redirect&&(this.redirect=Fn.redirect),Fn.integrity&&(this.integrity=Fn.integrity),void 0!==Fn.referrer&&(this.referrer=Fn.referrer),this.transferCache=Fn.transferCache}if(this.headers??=new re,this.context??=new Xe,this.params){const ci=this.params.toString();if(0===ci.length)this.urlWithParams=Yt;else{const rn=Yt.indexOf("?");this.urlWithParams=Yt+(-1===rn?"?":rnRn.set(Hn,an.setHeaders[Hn]),En)),an.setParams&&(Wn=Object.keys(an.setParams).reduce((Rn,Hn)=>Rn.set(Hn,an.setParams[Hn]),Wn)),new $(Yt,Un,fa,{params:Wn,headers:En,context:ri,reportProgress:qt,responseType:zn,withCredentials:ha,transferCache:ia,keepalive:Fn,cache:rn,priority:ci,timeout:ra,mode:In,redirect:Mn,credentials:Vn,referrer:ii,integrity:Bn})}}var Ke=function(It){return It[It.Sent=0]="Sent",It[It.UploadProgress=1]="UploadProgress",It[It.ResponseHeader=2]="ResponseHeader",It[It.DownloadProgress=3]="DownloadProgress",It[It.Response=4]="Response",It[It.User=5]="User",It}(Ke||{});class Vt{headers;status;statusText;url;ok;type;redirected;constructor(an,Yt=200,Un="OK"){this.headers=an.headers||new re,this.status=void 0!==an.status?an.status:Yt,this.statusText=an.statusText||Un,this.url=an.url||null,this.redirected=an.redirected,this.ok=this.status>=200&&this.status<300}}class St extends Vt{constructor(an={}){super(an)}type=Ke.ResponseHeader;clone(an={}){return new St({headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0})}}class ot extends Vt{body;constructor(an={}){super(an),this.body=void 0!==an.body?an.body:null}type=Ke.Response;clone(an={}){return new ot({body:void 0!==an.body?an.body:this.body,headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0,redirected:an.redirected??this.redirected})}}class nt extends Vt{name="HttpErrorResponse";message;error;ok=!1;constructor(an){super(an,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${an.url||"(unknown url)"}`:`Http failure response for ${an.url||"(unknown url)"}: ${an.status} ${an.statusText}`,this.error=an.error||null}}function fe(It,an){return{body:an,headers:It.headers,context:It.context,observe:It.observe,params:It.params,reportProgress:It.reportProgress,responseType:It.responseType,withCredentials:It.withCredentials,credentials:It.credentials,transferCache:It.transferCache,timeout:It.timeout,keepalive:It.keepalive,priority:It.priority,cache:It.cache,mode:It.mode,redirect:It.redirect,integrity:It.integrity,referrer:It.referrer}}let Qe=(()=>{class It{handler;constructor(Yt){this.handler=Yt}request(Yt,Un,zn={}){let Fn;if(Yt instanceof $)Fn=Yt;else{let In,Mn;In=zn.headers instanceof re?zn.headers:new re(zn.headers),zn.params&&(Mn=zn.params instanceof De?zn.params:new De({fromObject:zn.params})),Fn=new $(Yt,Un,void 0!==zn.body?zn.body:null,{headers:In,context:zn.context,params:Mn,reportProgress:zn.reportProgress,responseType:zn.responseType||"json",withCredentials:zn.withCredentials,transferCache:zn.transferCache,keepalive:zn.keepalive,priority:zn.priority,cache:zn.cache,mode:zn.mode,redirect:zn.redirect,credentials:zn.credentials,referrer:zn.referrer,integrity:zn.integrity,timeout:zn.timeout})}const ci=(0,Ae.of)(Fn).pipe((0,L.H)(In=>this.handler.handle(In)));if(Yt instanceof $||"events"===zn.observe)return ci;const rn=ci.pipe((0,C.p)(In=>In instanceof ot));switch(zn.observe||"body"){case"body":switch(Fn.responseType){case"arraybuffer":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&!(In.body instanceof ArrayBuffer))throw new f.buA(2806,!1);return In.body}));case"blob":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&!(In.body instanceof Blob))throw new f.buA(2807,!1);return In.body}));case"text":return rn.pipe((0,A.T)(In=>{if(null!==In.body&&"string"!=typeof In.body)throw new f.buA(2808,!1);return In.body}));default:return rn.pipe((0,A.T)(In=>In.body))}case"response":return rn;default:throw new f.buA(2809,!1)}}delete(Yt,Un={}){return this.request("DELETE",Yt,Un)}get(Yt,Un={}){return this.request("GET",Yt,Un)}head(Yt,Un={}){return this.request("HEAD",Yt,Un)}jsonp(Yt,Un){return this.request("JSONP",Yt,{params:(new De).append(Un,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Yt,Un={}){return this.request("OPTIONS",Yt,Un)}patch(Yt,Un,zn={}){return this.request("PATCH",Yt,fe(zn,Un))}post(Yt,Un,zn={}){return this.request("POST",Yt,fe(zn,Un))}put(Yt,Un,zn={}){return this.request("PUT",Yt,fe(zn,Un))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(W))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const gt=/^\)\]\}',?\n/;function Gt(It){if(It.url)return It.url;const an=P.toLocaleLowerCase();return It.headers.get(an)}const rt=new f.nKC("");let cn=(()=>{class It{fetchImpl=(0,f.WQX)(Ft,{optional:!0})?.fetch??((...Yt)=>globalThis.fetch(...Yt));ngZone=(0,f.WQX)(u.SKi);destroyRef=(0,f.WQX)(f.abz);handle(Yt){return new le.c(Un=>{const zn=new AbortController;let Fn;return this.doRequest(Yt,zn.signal,Un).then(Sn,ci=>Un.error(new nt({error:ci}))),Yt.timeout&&(Fn=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{zn.signal.aborted||zn.abort(new DOMException("signal timed out","TimeoutError"))},Yt.timeout))),()=>{void 0!==Fn&&clearTimeout(Fn),zn.abort()}})}doRequest(Yt,Un,zn){var Fn=this;return(0,O.A)(function*(){const ci=Fn.createRequestInit(Yt);let rn;try{const fa=Fn.ngZone.runOutsideAngular(()=>Fn.fetchImpl(Yt.urlWithParams,{signal:Un,...ci}));(function h(It){It.then(Sn,Sn)})(fa),zn.next({type:Ke.Sent}),rn=yield fa}catch(fa){return void zn.error(new nt({error:fa,status:fa.status??0,statusText:fa.statusText,url:Yt.urlWithParams,headers:fa.headers}))}const In=new re(rn.headers),Mn=rn.statusText,Vn=Gt(rn)??Yt.urlWithParams;let ii=rn.status,Bn=null;if(Yt.reportProgress&&zn.next(new St({headers:In,status:ii,statusText:Mn,url:Vn})),rn.body){const fa=rn.headers.get("content-length"),ha=[],qt=rn.body.getReader();let Wn,ri,En=0;const Rn=typeof Zone<"u"&&Zone.current;let Hn=!1;if(yield Fn.ngZone.runOutsideAngular((0,O.A)(function*(){for(;;){if(Fn.destroyRef.destroyed){yield qt.cancel(),Hn=!0;break}const{done:da,value:Ta}=yield qt.read();if(da)break;if(ha.push(Ta),En+=Ta.length,Yt.reportProgress){ri="text"===Yt.responseType?(ri??"")+(Wn??=new TextDecoder).decode(Ta,{stream:!0}):void 0;const en=()=>zn.next({type:Ke.DownloadProgress,total:fa?+fa:void 0,loaded:En,partialText:ri});Rn?Rn.run(en):en()}}})),Hn)return void zn.complete();const Pi=Fn.concatChunks(ha,En);try{const da=rn.headers.get(te)??"";Bn=Fn.parseBody(Yt,Pi,da,ii)}catch(da){return void zn.error(new nt({error:da,headers:new re(rn.headers),status:rn.status,statusText:rn.statusText,url:Gt(rn)??Yt.urlWithParams}))}}0===ii&&(ii=Bn?200:0);const ra=rn.redirected;ii>=200&&ii<300?(zn.next(new ot({body:Bn,headers:In,status:ii,statusText:Mn,url:Vn,redirected:ra})),zn.complete()):zn.error(new nt({error:Bn,headers:In,status:ii,statusText:Mn,url:Vn,redirected:ra}))})()}parseBody(Yt,Un,zn,Fn){switch(Yt.responseType){case"json":const ci=(new TextDecoder).decode(Un).replace(gt,"");if(""===ci)return null;try{return JSON.parse(ci)}catch(rn){if(Fn<200||Fn>=300)return ci;throw rn}case"text":return(new TextDecoder).decode(Un);case"blob":return new Blob([Un],{type:zn});case"arraybuffer":return Un.buffer}}createRequestInit(Yt){const Un={};let zn;if(zn=Yt.credentials,Yt.withCredentials&&(zn="include"),Yt.headers.forEach((Fn,ci)=>Un[Fn]=ci.join(",")),Yt.headers.has(ie)||(Un[ie]=H),!Yt.headers.has(te)){const Fn=Yt.detectContentTypeHeader();null!==Fn&&(Un[te]=Fn)}return{body:Yt.serializeBody(),method:Yt.method,headers:Un,credentials:zn,keepalive:Yt.keepalive,cache:Yt.cache,priority:Yt.priority,mode:Yt.mode,redirect:Yt.redirect,referrer:Yt.referrer,integrity:Yt.integrity}}concatChunks(Yt,Un){const zn=new Uint8Array(Un);let Fn=0;for(const ci of Yt)zn.set(ci,Fn),Fn+=ci.length;return zn}static \u0275fac=function(Un){return new(Un||It)};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();class Ft{}function Sn(){}function jt(It,an){return an(It)}function Ue(It,an){return(Yt,Un)=>an.intercept(Yt,{handle:zn=>It(zn,Un)})}const pt=new f.nKC(""),Pt=new f.nKC(""),gn=new f.nKC(""),ei=new f.nKC("",{providedIn:"root",factory:()=>!0});function vi(){let It=null;return(an,Yt)=>{null===It&&(It=((0,f.WQX)(pt,{optional:!0})??[]).reduceRight(Ue,jt));const Un=(0,f.WQX)(f.u5s);if((0,f.WQX)(ei)){const Fn=Un.add();return It(an,Yt).pipe((0,B.j)(Fn))}return It(an,Yt)}}let kn=(()=>{class It extends W{backend;injector;chain=null;pendingTasks=(0,f.WQX)(f.u5s);contributeToStability=(0,f.WQX)(ei);constructor(Yt,Un){super(),this.backend=Yt,this.injector=Un}handle(Yt){if(null===this.chain){const Un=Array.from(new Set([...this.injector.get(Pt),...this.injector.get(gn,[])]));this.chain=Un.reduceRight((zn,Fn)=>function wt(It,an,Yt){return(Un,zn)=>(0,f.N4e)(Yt,()=>an(Un,Fn=>It(Fn,zn)))}(zn,Fn,this.injector),jt)}if(this.contributeToStability){const Un=this.pendingTasks.add();return this.chain(Yt,zn=>this.backend.handle(zn)).pipe((0,B.j)(Un))}return this.chain(Yt,Un=>this.backend.handle(Un))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(G),f.KVO(f.uvJ))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const pn=/^\)\]\}',?\n/,Je=RegExp(`^${P}:`,"m");let Ge=(()=>{class It{xhrFactory;constructor(Yt){this.xhrFactory=Yt}handle(Yt){if("JSONP"===Yt.method)throw new f.buA(-2800,!1);const Un=this.xhrFactory;return(0,Ae.of)(null).pipe((0,Pe.n)(()=>new le.c(Fn=>{const ci=Un.build();if(ci.open(Yt.method,Yt.urlWithParams),Yt.withCredentials&&(ci.withCredentials=!0),Yt.headers.forEach((ha,qt)=>ci.setRequestHeader(ha,qt.join(","))),Yt.headers.has(ie)||ci.setRequestHeader(ie,H),!Yt.headers.has(te)){const ha=Yt.detectContentTypeHeader();null!==ha&&ci.setRequestHeader(te,ha)}if(Yt.timeout&&(ci.timeout=Yt.timeout),Yt.responseType){const ha=Yt.responseType.toLowerCase();ci.responseType="json"!==ha?ha:"text"}const rn=Yt.serializeBody();let In=null;const Mn=()=>{if(null!==In)return In;const ha=ci.statusText||"OK",qt=new re(ci.getAllResponseHeaders()),En=function Be(It){return"responseURL"in It&&It.responseURL?It.responseURL:Je.test(It.getAllResponseHeaders())?It.getResponseHeader(P):null}(ci)||Yt.url;return In=new St({headers:qt,status:ci.status,statusText:ha,url:En}),In},Vn=()=>{let{headers:ha,status:qt,statusText:En,url:Wn}=Mn(),ri=null;204!==qt&&(ri=typeof ci.response>"u"?ci.responseText:ci.response),0===qt&&(qt=ri?200:0);let Rn=qt>=200&&qt<300;if("json"===Yt.responseType&&"string"==typeof ri){const Hn=ri;ri=ri.replace(pn,"");try{ri=""!==ri?JSON.parse(ri):null}catch(Pi){ri=Hn,Rn&&(Rn=!1,ri={error:Pi,text:ri})}}Rn?(Fn.next(new ot({body:ri,headers:ha,status:qt,statusText:En,url:Wn||void 0})),Fn.complete()):Fn.error(new nt({error:ri,headers:ha,status:qt,statusText:En,url:Wn||void 0}))},ii=ha=>{const{url:qt}=Mn(),En=new nt({error:ha,status:ci.status||0,statusText:ci.statusText||"Unknown Error",url:qt||void 0});Fn.error(En)};let Bn=ii;Yt.timeout&&(Bn=ha=>{const{url:qt}=Mn(),En=new nt({error:new DOMException("Request timed out","TimeoutError"),status:ci.status||0,statusText:ci.statusText||"Request timeout",url:qt||void 0});Fn.error(En)});let ia=!1;const ra=ha=>{ia||(Fn.next(Mn()),ia=!0);let qt={type:Ke.DownloadProgress,loaded:ha.loaded};ha.lengthComputable&&(qt.total=ha.total),"text"===Yt.responseType&&ci.responseText&&(qt.partialText=ci.responseText),Fn.next(qt)},fa=ha=>{let qt={type:Ke.UploadProgress,loaded:ha.loaded};ha.lengthComputable&&(qt.total=ha.total),Fn.next(qt)};return ci.addEventListener("load",Vn),ci.addEventListener("error",ii),ci.addEventListener("timeout",Bn),ci.addEventListener("abort",ii),Yt.reportProgress&&(ci.addEventListener("progress",ra),null!==rn&&ci.upload&&ci.upload.addEventListener("progress",fa)),ci.send(rn),Fn.next({type:Ke.Sent}),()=>{ci.removeEventListener("error",ii),ci.removeEventListener("abort",ii),ci.removeEventListener("load",Vn),ci.removeEventListener("timeout",Bn),Yt.reportProgress&&(ci.removeEventListener("progress",ra),null!==rn&&ci.upload&&ci.upload.removeEventListener("progress",fa)),ci.readyState!==ci.DONE&&ci.abort()}})))}static \u0275fac=function(Un){return new(Un||It)(f.KVO(j.N))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const Ot=new f.nKC(""),We=new f.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),tn=new f.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class on{}let un=(()=>{class It{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(Yt,Un){this.doc=Yt,this.cookieName=Un}getToken(){const Yt=this.doc.cookie||"";return Yt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,j.b)(Yt,this.cookieName),this.lastCookieString=Yt),this.lastToken}static \u0275fac=function(Un){return new(Un||It)(f.KVO(f.qQL),f.KVO(We))};static \u0275prov=f.jDH({token:It,factory:It.\u0275fac})}return It})();const Nt=/^(?:https?:)?\/\//i;function dn(It,an){if(!(0,f.WQX)(Ot)||"GET"===It.method||"HEAD"===It.method||Nt.test(It.url))return an(It);const Yt=(0,f.WQX)(on).getToken(),Un=(0,f.WQX)(tn);return null!=Yt&&!It.headers.has(Un)&&(It=It.clone({headers:It.headers.set(Un,Yt)})),an(It)}var Jn=function(It){return It[It.Interceptors=0]="Interceptors",It[It.LegacyInterceptors=1]="LegacyInterceptors",It[It.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",It[It.NoXsrfProtection=3]="NoXsrfProtection",It[It.JsonpSupport=4]="JsonpSupport",It[It.RequestsMadeViaParent=5]="RequestsMadeViaParent",It[It.Fetch=6]="Fetch",It}(Jn||{});function xi(It,an){return{\u0275kind:It,\u0275providers:an}}function Yi(...It){const an=[Qe,Ge,kn,{provide:W,useExisting:kn},{provide:G,useFactory:()=>(0,f.WQX)(rt,{optional:!0})??(0,f.WQX)(Ge)},{provide:Pt,useValue:dn,multi:!0},{provide:Ot,useValue:!0},{provide:on,useClass:un}];for(const Yt of It)an.push(...Yt.\u0275providers);return(0,f.EmA)(an)}const At=new f.nKC("");function we(){return xi(Jn.LegacyInterceptors,[{provide:At,useFactory:vi},{provide:Pt,useExisting:At,multi:!0}])}function fi(){return xi(Jn.Fetch,[cn,{provide:rt,useExisting:cn},{provide:G,useExisting:cn}])}let Qi=(()=>{class It{static \u0275fac=function(Un){return new(Un||It)};static \u0275mod=u.$C({type:It});static \u0275inj=f.G2t({providers:[Yi(we())]})}return It})()},2512(Zt,pe,l){"use strict";function i(v,T){T=encodeURIComponent(T);for(const w of v.split(";")){const e=w.indexOf("="),[O,f]=-1==e?[w,""]:[w.slice(0,e),w.slice(e+1)];if(O.trim()===T)return decodeURIComponent(f)}return null}l.d(pe,{N:()=>d,b:()=>i});class d{}},7705(Zt,pe,l){"use strict";l.d(pe,{ES_:()=>Ze,HJs:()=>Io,Hbi:()=>mi,L39:()=>ai,MKu:()=>Mo,Udg:()=>Gi,_q3:()=>Ss,a0P:()=>Rl,cCO:()=>Xt,ebz:()=>As,fpN:()=>nr,gRc:()=>Oi,geq:()=>Er,hFB:()=>$a,naY:()=>Ne,oH4:()=>Xs,sbv:()=>zo,uEv:()=>Gl});var Ve=l(2615),Et=l(8440),Jt=l(3664),ti=l(9295);const di=Symbol("InputSignalNode#UNSET"),Ii={...Et.s0,transformFn:void 0,applyValueToInputSignal(yt,je){(0,Et.j2)(yt,je)}};function nn(yt,je){const ct=Object.create(Ii);function Qt(){if((0,Et.mK)(ct),ct.value===di)throw new Ve.buA(-950,null);return ct.value}return ct.value=yt,ct.transformFn=je?.transform,Qt[Et.bh]=ct,Qt}class Ze{attributeName;constructor(je){this.attributeName=je}__NG_ELEMENT_ID__=()=>(0,Jt.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const Xt=new Ve.nKC("");function _a(yt,je){return nn(yt,je)}Xt.__NG_ELEMENT_ID__=yt=>{const je=(0,Ve.Mx4)();if(null===je)throw new Ve.buA(204,!1);if(2&je.type)return je.value;if(8&yt)return null;throw new Ve.buA(204,!1)};const $a=(_a.required=function Ua(yt){return nn(di,yt)},_a);function ns(yt,je){return(0,Jt.mU9)(je)}const As=(ns.required=function Ga(yt,je){return(0,Jt.hnC)(je)},ns);function mr(yt,je){return(0,Jt.mU9)(je)}const zo=(mr.required=function fr(yt,je){return(0,Jt.hnC)(je)},mr);function gr(yt,je){const ct=Object.create(Ii),Qt=new ti.Zf;function Pn(){return(0,Et.mK)(ct),bo(ct.value),ct.value}return ct.value=yt,Pn[Et.bh]=ct,Pn.asReadonly=Ve.HO5.bind(Pn),Pn.set=$n=>{ct.equal(ct.value,$n)||((0,Et.j2)(ct,$n),Qt.emit($n))},Pn.update=$n=>{bo(ct.value),Pn.set($n(ct.value))},Pn.subscribe=Qt.subscribe.bind(Qt),Pn.destroyRef=Qt.destroyRef,Pn}function bo(yt){if(yt===di)throw new Ve.buA(952,!1)}function Zs(yt,je){return gr(yt)}const Er=(Zs.required=function jr(yt){return gr(di)},Zs),is=new Ve.nKC(""),Hs=new Ve.nKC("");function Ws(yt){return!yt.moduleRef}let Ui;function xs(){Ui=vr}function vr(yt,je){const ct=yt.injector.get(Jt.o8S);if(yt._bootstrapComponents.length>0)yt._bootstrapComponents.forEach(Qt=>ct.bootstrap(Qt));else{if(!yt.instance.ngDoBootstrap)throw new Ve.buA(-403,!1);yt.instance.ngDoBootstrap(ct)}je.push(yt)}let Pa=(()=>{class yt{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(ct){this._injector=ct}bootstrapModuleFactory(ct,Qt){const Pn=Qt?.scheduleInRootZone,Ci=Qt?.ignoreChangesOutsideZone,wi=[(0,Jt.SdI)({ngZoneFactory:()=>(0,Jt.G5x)(Qt?.ngZone,{...(0,Jt.cZr)({eventCoalescing:Qt?.ngZoneEventCoalescing,runCoalescing:Qt?.ngZoneRunCoalescing}),scheduleInRootZone:Pn}),ignoreChangesOutsideZone:Ci}),{provide:Ve.hk6,useExisting:Jt.Ts$},Ve.gv8],$i=(0,Jt.VzW)(ct.moduleType,this.injector,wi);return xs(),function Mr(yt){const je=Ws(yt)?yt.r3Injector:yt.moduleRef.injector,ct=je.get(Jt.SKi);return ct.run(()=>{Ws(yt)?yt.r3Injector.resolveInjectorInitializers():yt.moduleRef.resolveInjectorInitializers();const Qt=je.get(Ve.ZTf);let Pn;if(ct.runOutsideAngular(()=>{Pn=ct.onError.subscribe({next:Qt})}),Ws(yt)){const $n=()=>je.destroy(),Ci=yt.platformInjector.get(is);Ci.add($n),je.onDestroy(()=>{Pn.unsubscribe(),Ci.delete($n)})}else{const $n=()=>yt.moduleRef.destroy(),Ci=yt.platformInjector.get(is);Ci.add($n),yt.moduleRef.onDestroy(()=>{(0,Jt.TFI)(yt.allPlatformModules,yt.moduleRef),Pn.unsubscribe(),Ci.delete($n)})}return function qs(yt,je,ct){try{const Qt=ct();return(0,Jt.yLl)(Qt)?Qt.catch(Pn=>{throw je.runOutsideAngular(()=>yt(Pn)),Pn}):Qt}catch(Qt){throw je.runOutsideAngular(()=>yt(Qt)),Qt}}(Qt,ct,()=>{const $n=je.get(Ve.rev),Ci=$n.add(),wi=je.get(Jt.H1s);return wi.runInitializers(),wi.donePromise.then(()=>{const $i=je.get(Jt.xe9,Jt.DkB);if((0,Jt.e6s)($i||Jt.DkB),!je.get(Hs,!0))return Ws(yt)?je.get(Jt.o8S):(yt.allPlatformModules.push(yt.moduleRef),yt.moduleRef);if(Ws(yt)){const va=je.get(Jt.o8S);return void 0!==yt.rootComponent&&va.bootstrap(yt.rootComponent),va}return Ui?.(yt.moduleRef,yt.allPlatformModules),yt.moduleRef}).finally(()=>{$n.remove(Ci)})})})}({moduleRef:$i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(ct,Qt=[]){const Pn=(0,Jt.lJT)({},Qt);return xs(),function qo(yt,je,ct){const Qt=new Jt.Co$(ct);return Promise.resolve(Qt)}(0,0,ct).then($n=>this.bootstrapModuleFactory($n,Pn))}onDestroy(ct){this._destroyListeners.push(ct)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve.buA(404,!1);this._modules.slice().forEach(Qt=>Qt.destroy()),this._destroyListeners.forEach(Qt=>Qt());const ct=this._injector.get(is,null);ct&&(ct.forEach(Qt=>Qt()),ct.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(Qt){return new(Qt||yt)((0,Ve.KVO)(Ve.zZn))};static \u0275prov=(0,Ve.jDH)({token:yt,factory:yt.\u0275fac,providedIn:"platform"})}return yt})(),yr=null;function Xs(yt,je,ct=[]){const Qt=`Platform: ${je}`,Pn=new Ve.nKC(Qt);return($n=[])=>{let Ci=Za();if(!Ci){const wi=[...ct,...$n,{provide:Pn,useValue:!0}];Ci=yt?.(wi)??function er(yt){if(Za())throw new Ve.buA(400,!1);(0,Jt.pl0)(),(0,Jt.ypd)(),yr=yt;const je=yt.get(Pa);return function Hr(yt){const je=yt.get(Jt.PLl,null);(0,Ve.N4e)(yt,()=>{je?.forEach(ct=>ct())})}(yt),je}(function wa(yt=[],je){return Ve.zZn.create({name:je,providers:[{provide:Ve.GBX,useValue:"platform"},{provide:is,useValue:new Set([()=>yr=null])},...yt]})}(wi,Qt))}return function ja(){const je=Za();if(!je)throw new Ve.buA(-401,!1);return je}()}}function Za(){return yr?.get(Pa)??null}function Ne(){return!1}let Oi=(()=>class yt{static __NG_ELEMENT_ID__=ua})();function ua(yt){return function Es(yt,je,ct){if((0,Ve.Qs1)(yt)&&!ct){const Qt=(0,Ve.KdJ)(yt.index,je);return new Jt.NCX(Qt,Qt)}return 175&yt.type?new Jt.NCX(je[Ve.b5C],je):null}((0,Ve.Mx4)(),(0,Ve.OAn)(),!(16&~yt))}class $e{constructor(){}supports(je){return(0,Jt.ozJ)(je)}create(je){return new Ln(je)}}const mn=(yt,je)=>je;class Ln{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(je){this._trackByFn=je||mn}forEachItem(je){let ct;for(ct=this._itHead;null!==ct;ct=ct._next)je(ct)}forEachOperation(je){let ct=this._itHead,Qt=this._removalsHead,Pn=0,$n=null;for(;ct||Qt;){const Ci=!Qt||ct&&ct.currentIndex{Ci=this._trackByFn(Pn,wi),null!==ct&&Object.is(ct.trackById,Ci)?(Qt&&(ct=this._verifyReinsertion(ct,wi,Ci,Pn)),Object.is(ct.item,wi)||this._addIdentityChange(ct,wi)):(ct=this._mismatch(ct,wi,Ci,Pn),Qt=!0),ct=ct._next,Pn++}),this.length=Pn;return this._truncate(ct),this.collection=je,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let je;for(je=this._previousItHead=this._itHead;null!==je;je=je._next)je._nextPrevious=je._next;for(je=this._additionsHead;null!==je;je=je._nextAdded)je.previousIndex=je.currentIndex;for(this._additionsHead=this._additionsTail=null,je=this._movesHead;null!==je;je=je._nextMoved)je.previousIndex=je.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(je,ct,Qt,Pn){let $n;return null===je?$n=this._itTail:($n=je._prev,this._remove(je)),null!==(je=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Qt,null))?(Object.is(je.item,ct)||this._addIdentityChange(je,ct),this._reinsertAfter(je,$n,Pn)):null!==(je=null===this._linkedRecords?null:this._linkedRecords.get(Qt,Pn))?(Object.is(je.item,ct)||this._addIdentityChange(je,ct),this._moveAfter(je,$n,Pn)):je=this._addAfter(new Ei(ct,Qt),$n,Pn),je}_verifyReinsertion(je,ct,Qt,Pn){let $n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Qt,null);return null!==$n?je=this._reinsertAfter($n,je._prev,Pn):je.currentIndex!=Pn&&(je.currentIndex=Pn,this._addToMoves(je,Pn)),je}_truncate(je){for(;null!==je;){const ct=je._next;this._addToRemovals(this._unlink(je)),je=ct}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(je,ct,Qt){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(je);const Pn=je._prevRemoved,$n=je._nextRemoved;return null===Pn?this._removalsHead=$n:Pn._nextRemoved=$n,null===$n?this._removalsTail=Pn:$n._prevRemoved=Pn,this._insertAfter(je,ct,Qt),this._addToMoves(je,Qt),je}_moveAfter(je,ct,Qt){return this._unlink(je),this._insertAfter(je,ct,Qt),this._addToMoves(je,Qt),je}_addAfter(je,ct,Qt){return this._insertAfter(je,ct,Qt),this._additionsTail=null===this._additionsTail?this._additionsHead=je:this._additionsTail._nextAdded=je,je}_insertAfter(je,ct,Qt){const Pn=null===ct?this._itHead:ct._next;return je._next=Pn,je._prev=ct,null===Pn?this._itTail=je:Pn._prev=je,null===ct?this._itHead=je:ct._next=je,null===this._linkedRecords&&(this._linkedRecords=new cs),this._linkedRecords.put(je),je.currentIndex=Qt,je}_remove(je){return this._addToRemovals(this._unlink(je))}_unlink(je){null!==this._linkedRecords&&this._linkedRecords.remove(je);const ct=je._prev,Qt=je._next;return null===ct?this._itHead=Qt:ct._next=Qt,null===Qt?this._itTail=ct:Qt._prev=ct,je}_addToMoves(je,ct){return je.previousIndex===ct||(this._movesTail=null===this._movesTail?this._movesHead=je:this._movesTail._nextMoved=je),je}_addToRemovals(je){return null===this._unlinkedRecords&&(this._unlinkedRecords=new cs),this._unlinkedRecords.put(je),je.currentIndex=null,je._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=je,je._prevRemoved=null):(je._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=je),je}_addIdentityChange(je,ct){return je.item=ct,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=je:this._identityChangesTail._nextIdentityChange=je,je}}class Ei{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(je,ct){this.item=je,this.trackById=ct}}class xa{_head=null;_tail=null;add(je){null===this._head?(this._head=this._tail=je,je._nextDup=null,je._prevDup=null):(this._tail._nextDup=je,je._prevDup=this._tail,je._nextDup=null,this._tail=je)}get(je,ct){let Qt;for(Qt=this._head;null!==Qt;Qt=Qt._nextDup)if((null===ct||ct<=Qt.currentIndex)&&Object.is(Qt.trackById,je))return Qt;return null}remove(je){const ct=je._prevDup,Qt=je._nextDup;return null===ct?this._head=Qt:ct._nextDup=Qt,null===Qt?this._tail=ct:Qt._prevDup=ct,null===this._head}}class cs{map=new Map;put(je){const ct=je.trackById;let Qt=this.map.get(ct);Qt||(Qt=new xa,this.map.set(ct,Qt)),Qt.add(je)}get(je,ct){const Pn=this.map.get(je);return Pn?Pn.get(je,ct):null}remove(je){const ct=je.trackById;return this.map.get(ct).remove(je)&&this.map.delete(ct),je}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qr(yt,je,ct){const Qt=yt.previousIndex;if(null===Qt)return Qt;let Pn=0;return ct&&Qt{if(ct&&ct.key===Pn)this._maybeAddToChanges(ct,Qt),this._appendAfter=ct,ct=ct._next;else{const $n=this._getOrCreateRecordForKey(Pn,Qt);ct=this._insertBeforeOrAppend(ct,$n)}}),ct){ct._prev&&(ct._prev._next=null),this._removalsHead=ct;for(let Qt=ct;null!==Qt;Qt=Qt._nextRemoved)Qt===this._mapHead&&(this._mapHead=null),this._records.delete(Qt.key),Qt._nextRemoved=Qt._next,Qt.previousValue=Qt.currentValue,Qt.currentValue=null,Qt._prev=null,Qt._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(je,ct){if(je){const Qt=je._prev;return ct._next=je,ct._prev=Qt,je._prev=ct,Qt&&(Qt._next=ct),je===this._mapHead&&(this._mapHead=ct),this._appendAfter=je,je}return this._appendAfter?(this._appendAfter._next=ct,ct._prev=this._appendAfter):this._mapHead=ct,this._appendAfter=ct,null}_getOrCreateRecordForKey(je,ct){if(this._records.has(je)){const Pn=this._records.get(je);this._maybeAddToChanges(Pn,ct);const $n=Pn._prev,Ci=Pn._next;return $n&&($n._next=Ci),Ci&&(Ci._prev=$n),Pn._next=null,Pn._prev=null,Pn}const Qt=new el(je);return this._records.set(je,Qt),Qt.currentValue=ct,this._addToAdditions(Qt),Qt}_reset(){if(this.isDirty){let je;for(this._previousMapHead=this._mapHead,je=this._previousMapHead;null!==je;je=je._next)je._nextPrevious=je._next;for(je=this._changesHead;null!==je;je=je._nextChanged)je.previousValue=je.currentValue;for(je=this._additionsHead;null!=je;je=je._nextAdded)je.previousValue=je.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(je,ct){Object.is(ct,je.currentValue)||(je.previousValue=je.currentValue,je.currentValue=ct,this._addToChanges(je))}_addToAdditions(je){null===this._additionsHead?this._additionsHead=this._additionsTail=je:(this._additionsTail._nextAdded=je,this._additionsTail=je)}_addToChanges(je){null===this._changesHead?this._changesHead=this._changesTail=je:(this._changesTail._nextChanged=je,this._changesTail=je)}_forEach(je,ct){je instanceof Map?je.forEach(ct):Object.keys(je).forEach(Qt=>ct(je[Qt],Qt))}}class el{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(je){this.key=je}}function Ml(){return new Ss([new $e])}let Ss=(()=>{class yt{factories;static \u0275prov=(0,Ve.jDH)({token:yt,providedIn:"root",factory:Ml});constructor(ct){this.factories=ct}static create(ct,Qt){if(null!=Qt){const Pn=Qt.factories.slice();ct=ct.concat(Pn)}return new yt(ct)}static extend(ct){return{provide:yt,useFactory:()=>{const Qt=(0,Ve.WQX)(yt,{optional:!0,skipSelf:!0});return yt.create(ct,Qt||Ml())}}}find(ct){const Qt=this.factories.find(Pn=>Pn.supports(ct));if(null!=Qt)return Qt;throw new Ve.buA(901,!1)}}return yt})();function Eo(){return new Mo([new xo])}let Mo=(()=>{class yt{static \u0275prov=(0,Ve.jDH)({token:yt,providedIn:"root",factory:Eo});factories;constructor(ct){this.factories=ct}static create(ct,Qt){if(Qt){const Pn=Qt.factories.slice();ct=ct.concat(Pn)}return new yt(ct)}static extend(ct){return{provide:yt,useFactory:()=>{const Qt=(0,Ve.WQX)(yt,{optional:!0,skipSelf:!0});return yt.create(ct,Qt||Eo())}}}find(ct){const Qt=this.factories.find(Pn=>Pn.supports(ct));if(Qt)return Qt;throw new Ve.buA(901,!1)}}return yt})();const nr=Xs(null,"core",[]);let mi=(()=>{class yt{constructor(ct){}static \u0275fac=function(Qt){return new(Qt||yt)((0,Ve.KVO)(Jt.o8S))};static \u0275mod=(0,Jt.$C)({type:yt});static \u0275inj=(0,Ve.G2t)({})}return yt})();function ai(yt){return"boolean"==typeof yt?yt:null!=yt&&"false"!==yt}function Gi(yt,je=NaN){return isNaN(parseFloat(yt))||isNaN(Number(yt))?je:Number(yt)}const vl=Symbol("NOT_SET"),al=new Set,Lo={...Et.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:vl,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase((0,Et.mK)(sa),sa.value),sa.signal[Et.bh]=sa,sa.registerCleanupFn=va=>(sa.cleanup??=new Set).add(va),this.nodes[wi]=sa,this.hooks[wi]=va=>sa.phaseFn(va)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const je of this.nodes)if(je)try{for(const ct of je.cleanup??al)ct()}finally{(0,Et.XR)(je)}}}function Gl(yt,je){const ct=je?.injector??(0,Ve.WQX)(Ve.zZn),Qt=ct.get(Ve.hk6),Pn=ct.get(Jt.cf$),$n=ct.get(Jt.a8H,null,{optional:!0});Pn.impl??=ct.get(Jt.ziy);let Ci=yt;"function"==typeof Ci&&(Ci={mixedReadWrite:yt});const wi=ct.get(Ve.r4V,null,{optional:!0}),$i=new Ol(Pn.impl,[Ci.earlyRead,Ci.write,Ci.mixedReadWrite,Ci.read],wi?.view,Qt,ct,$n?.snapshot(null));return Pn.impl.register($i),$i}function Rl(yt,je){const ct=(0,Ve.xUg)(yt),Qt=je.elementInjector||(0,Ve.WB9)();return new Jt.eHC(ct).create(Qt,je.projectableNodes,je.hostElement,je.environmentInjector,je.directives,je.bindings)}function Io(yt){const je=(0,Ve.xUg)(yt);if(!je)return null;const ct=new Jt.eHC(je);return{get selector(){return ct.selector},get type(){return ct.componentType},get inputs(){return ct.inputs},get outputs(){return ct.outputs},get ngContentSelectors(){return ct.ngContentSelectors},get isStandalone(){return je.standalone},get isSignal(){return je.signals}}}},3664(Zt,pe,l){"use strict";l.d(pe,{$C:()=>_p,$Ln:()=>c_,AVh:()=>Ph,Ab1:()=>Xd,Agw:()=>Go,Avn:()=>mf,B1s:()=>si,BIS:()=>jo,BMQ:()=>Yp,C4Q:()=>U1,C5r:()=>Y6,C6U:()=>D8,C7A:()=>Os,Co$:()=>mp,DH7:()=>r5,DNE:()=>ph,DUP:()=>bl,DkB:()=>u6,Dyx:()=>W_,E5c:()=>B6,EFF:()=>Nh,EJ8:()=>zm,FsC:()=>Bm,FuF:()=>km,G5x:()=>Pc,GBs:()=>M8,H1s:()=>Bp,HbH:()=>B8,Hgh:()=>a6,JRh:()=>F6,Jt5:()=>d6,Jv_:()=>g5,KED:()=>z9,LHq:()=>Ef,Lme:()=>N6,NAR:()=>E8,NCX:()=>o1,NOj:()=>Q0,NSC:()=>S0,NYb:()=>C7,NyB:()=>w8,OA$:()=>tn,OR8:()=>zc,Ocv:()=>dy,Ol2:()=>Nm,PLl:()=>Uo,PYC:()=>Cn,PYt:()=>hl,PeT:()=>gh,QTQ:()=>ho,Ql9:()=>ay,R50:()=>V6,R7$:()=>t1,RPW:()=>_t,RV6:()=>Q_,SKi:()=>ms,SdG:()=>E6,SdI:()=>Z5,SpI:()=>Bh,TFI:()=>Eh,Ts$:()=>ag,UQu:()=>iy,V5L:()=>kf,VBU:()=>pp,VeQ:()=>Tl,VkB:()=>u5,Vt3:()=>uh,VwU:()=>bf,VzW:()=>fp,WPN:()=>lr,XpG:()=>C8,Xx1:()=>ye,Y8G:()=>lf,YEm:()=>ds,Z7z:()=>j_,Zhj:()=>lp,_9s:()=>xl,_9u:()=>zl,_jY:()=>Yr,_qm:()=>jr,_ys:()=>i1,a8H:()=>rc,aCM:()=>st,aKT:()=>Ps,ai1:()=>h5,bIt:()=>yf,bMT:()=>I5,bVm:()=>b4,bc$:()=>Tr,bkB:()=>oc,brH:()=>k5,c1b:()=>$o,cDI:()=>ks,cZr:()=>tg,cdK:()=>u_,cf$:()=>Sd,czy:()=>A1,d80:()=>sy,dOL:()=>l_,e6s:()=>bv,eHC:()=>c0,eq3:()=>Tf,eu8:()=>r6,eux:()=>y4,fX1:()=>G_,gXe:()=>Bi,giA:()=>$m,gil:()=>_s,hnC:()=>Qr,i5U:()=>K6,iLQ:()=>m_,iWE:()=>ft,j41:()=>Ih,jOp:()=>Kp,k0s:()=>cf,kBR:()=>c6,kS0:()=>_a,kdw:()=>Se,lJ4:()=>b5,lJT:()=>p_,l_i:()=>C5,lsd:()=>T8,mGM:()=>S8,mNQ:()=>d5,mU9:()=>p0,mal:()=>T2,mxI:()=>Mf,n$t:()=>G0,nI1:()=>A5,nI4:()=>mu,nM4:()=>Cp,nVh:()=>z_,npT:()=>pd,nrm:()=>i6,o8S:()=>Zm,ozJ:()=>Z3,p2i:()=>Zn,phd:()=>E7,pl0:()=>f_,qex:()=>uf,rAh:()=>Dn,rOR:()=>Vo,rXU:()=>m1,rj2:()=>df,sFG:()=>W1,sMw:()=>x5,sZ2:()=>nr,sdS:()=>A8,sgu:()=>dp,tSv:()=>K0,tvf:()=>Wo,uiO:()=>N,utN:()=>Yf,vDg:()=>Qf,vxM:()=>V_,w6W:()=>Fm,wEZ:()=>Cf,wni:()=>M6,wr$:()=>Zc,xGo:()=>Ze,xc7:()=>I6,xe9:()=>q5,yLl:()=>d_,y_5:()=>ee,ypd:()=>M7,ziy:()=>S2,zoo:()=>M2});var Qn=l(467),h=l(2615),jt=l(8440),Ue=l(1413),wt=l(8359),pt=l(6354);function Pt(t){return{toString:t}.toString()}const gn="__annotations__",ei="__parameters__",vi="__prop__metadata__";function Ni(t,n,a,o,p){return Pt(()=>{const M=kn(n);function k(...z){if(this instanceof k)return M.call(this,...z),this;const Y=new k(...z);return function(it){return p&&p(it,...z),(it.hasOwnProperty(gn)?it[gn]:Object.defineProperty(it,gn,{value:[]})[gn]).push(Y),it}}return a&&(k.prototype=Object.create(a.prototype)),k.prototype.ngMetadataName=t,k.annotationCls=k,k})}function kn(t){return function(...a){if(t){const o=t(...a);for(const p in o)this[p]=o[p]}}}function Ri(t,n,a){return Pt(()=>{const o=kn(n);function p(...M){if(this instanceof p)return o.apply(this,M),this;const k=new p(...M);return z.annotation=k,z;function z(Y,ze,it){const zt=Y.hasOwnProperty(ei)?Y[ei]:Object.defineProperty(Y,ei,{value:[]})[ei];for(;zt.length<=it;)zt.push(null);return(zt[it]=zt[it]||[]).push(k),Y}}return p.prototype.ngMetadataName=t,p.annotationCls=p,p})}const ee=(0,h.z6V)(Ri("Inject",t=>({token:t})),-1),ye=(0,h.z6V)(Ri("Optional"),8),ke=(0,h.z6V)(Ri("Self"),2),Se=(0,h.z6V)(Ri("SkipSelf"),4),ge=(0,h.z6V)(Ri("Host"),1);function N(t){const n=h.laP.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Z={\u0275\u0275defineInjectable:h.jDH,\u0275\u0275defineInjector:h.G2t,\u0275\u0275inject:h.KVO,\u0275\u0275invalidFactoryDep:h.dmw,resolveForwardRef:h.nl4},Me=Function;function at(t){return"function"==typeof t}const qe=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,pn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Je=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Be=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ge{_reflect;constructor(n){this._reflect=n||h.laP.Reflect}factory(n){return(...a)=>new n(...a)}_zipTypesAndAnnotations(n,a){let o;o=(0,h.WfI)(typeof n>"u"?a.length:n.length);for(let p=0;p"u"?[]:n[p]&&n[p]!=Object?[n[p]]:[],a&&null!=a[p]&&(o[p]=o[p].concat(a[p]));return o}_ownParameters(n,a){if(function ut(t){return qe.test(t)||Be.test(t)||pn.test(t)&&!Je.test(t)}(n.toString()))return null;if(n.parameters&&n.parameters!==a.parameters)return n.parameters;const p=n.ctorParameters;if(p&&p!==a.ctorParameters){const z="function"==typeof p?p():p,Y=z.map(it=>it&&it.type),ze=z.map(it=>it&&Ot(it.decorators));return this._zipTypesAndAnnotations(Y,ze)}const M=n.hasOwnProperty(ei)&&n[ei],k=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return k||M?this._zipTypesAndAnnotations(k,M):(0,h.WfI)(n.length)}parameters(n){if(!at(n))return[];const a=se(n);let o=this._ownParameters(n,a);return!o&&a!==Object&&(o=this.parameters(a)),o||[]}_ownAnnotations(n,a){if(n.annotations&&n.annotations!==a.annotations){let o=n.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return n.decorators&&n.decorators!==a.decorators?Ot(n.decorators):n.hasOwnProperty(gn)?n[gn]:null}annotations(n){if(!at(n))return[];const a=se(n),o=this._ownAnnotations(n,a)||[];return(a!==Object?this.annotations(a):[]).concat(o)}_ownPropMetadata(n,a){if(n.propMetadata&&n.propMetadata!==a.propMetadata){let o=n.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(n.propDecorators&&n.propDecorators!==a.propDecorators){const o=n.propDecorators,p={};return Object.keys(o).forEach(M=>{p[M]=Ot(o[M])}),p}return n.hasOwnProperty(vi)?n[vi]:null}propMetadata(n){if(!at(n))return{};const a=se(n),o={};if(a!==Object){const M=this.propMetadata(a);Object.keys(M).forEach(k=>{o[k]=M[k]})}const p=this._ownPropMetadata(n,a);return p&&Object.keys(p).forEach(M=>{const k=[];o.hasOwnProperty(M)&&k.push(...o[M]),k.push(...p[M]),o[M]=k}),o}ownPropMetadata(n){return at(n)&&this._ownPropMetadata(n,se(n))||{}}hasLifecycleHook(n,a){return n instanceof Me&&a in n.prototype}}function Ot(t){return t?t.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function se(t){const n=t.prototype?Object.getPrototypeOf(t.prototype):null;return(n?n.constructor:null)||Object}class We{previousValue;currentValue;firstChange;constructor(n,a,o){this.previousValue=n,this.currentValue=a,this.firstChange=o}isFirstChange(){return this.firstChange}}function bt(t,n,a,o){null!==n?n.applyValueToInputSignal(n,o):t[a]=o}const tn=(()=>{const t=()=>on;return t.ngInherit=!0,t})();function on(t){return t.type.prototype.ngOnChanges&&(t.setInput=Nt),un}function un(){const t=xn(this),n=t?.current;if(n){const a=t.previous;if(a===h.MZA)t.previous=n;else for(let o in n)a[o]=n[o];t.current=null,this.ngOnChanges(n)}}function Nt(t,n,a,o,p){const M=this.declaredInputs[o],k=xn(t)||function Jn(t,n){return t[dn]=n}(t,{previous:h.MZA,current:null}),z=k.current||(k.current={}),Y=k.previous,ze=Y[M];z[M]=new We(ze&&ze.currentValue,a,Y===h.MZA),bt(t,n,p,a)}const dn="__ngSimpleChanges__";function xn(t){return t[dn]||null}const xi=[],we=function(t,n=null,a){for(let o=0;o=o)break}else n[Y]<0&&(t[h.wVl]+=65536),(z>14>16&&(3&t[h.Wg1])===n&&(t[h.Wg1]+=16384,Qi(z,M)):Qi(z,M)}class an{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,a,o,p){this.factory=n,this.name=p,this.canSeeViewProviders=a,this.injectImpl=o}}function Un(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function Vn(t){return 3===t||4===t||6===t}function ii(t){return 64===t.charCodeAt(0)}function Bn(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let a=-1;for(let o=0;on){k=M-1;break}}}for(;M>16}(t),o=n;for(;a>0;)o=o[h.X5O],a--;return o}let En=!0;function Wn(t){const n=En;return En=t,n}let Pi=0;const da={};function en(t,n){const a=oi(t,n);if(-1!==a)return a;const o=n[h.eDl];o.firstCreatePass&&(t.injectorIndex=n.length,vn(o.data,t),vn(n,null),vn(o.blueprint,null));const p=bn(t,n),M=t.injectorIndex;if(ra(p)){const k=fa(p),z=qt(p,n),Y=z[h.eDl].data;for(let ze=0;ze<8;ze++)n[M+ze]=z[k+ze]|Y[k+ze]}return n[M+8]=p,M}function vn(t,n){t.push(0,0,0,0,0,0,0,0,n)}function oi(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function bn(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let a=0,o=null,p=n;for(;null!==p;){if(o=Ki(p),null===o)return-1;if(a++,p=p[h.X5O],-1!==o.injectorIndex)return o.injectorIndex|a<<16}return-1}function Kn(t,n,a){!function Ta(t,n,a){let o;"string"==typeof a?o=a.charCodeAt(0)||0:a.hasOwnProperty(h.p9y)&&(o=a[h.p9y]),null==o&&(o=a[h.p9y]=Pi++);const p=255&o;n.data[t+(p>>5)]|=1<=0?255&n:tt:n}(a);if("function"==typeof M){if(!(0,h.ihb)(n,t,o))return 1&o?Wi(p,a,o):Ca(n,a,o,p);try{let k;if(k=M(o),null!=k||8&o)return k;(0,h.$Hz)(a)}finally{(0,h.niQ)()}}else if("number"==typeof M){let k=null,z=oi(t,n),Y=-1,ze=1&o?n[h.b5C][h.qlT]:null;for((-1===z||4&o)&&(Y=-1===z?bn(t,n):n[z+8],-1!==Y&&ca(o,!1)?(k=n[h.eDl],z=fa(Y),n=qt(Y,n)):z=-1);-1!==z;){const it=n[h.eDl];if(Ii(M,z,it.data)){const zt=Ve(z,n,a,k,o,ze);if(zt!==da)return zt}Y=n[z+8],-1!==Y&&ca(o,n[h.eDl].data[z+8]===ze)&&Ii(M,z,n)?(k=it,z=fa(Y),n=qt(Y,n)):z=-1}}return p}function Ve(t,n,a,o,p,M){const k=n[h.eDl],z=k.data[t+8],it=Et(z,k,a,null==o?(0,h.Qs1)(z)&&En:o!=k&&!!(3&z.type),1&p&&M===z);return null!==it?ti(n,k,it,z,p):da}function Et(t,n,a,o,p){const M=t.providerIndexes,k=n.data,z=1048575&M,Y=t.directiveStart,it=M>>20,hn=p?z+it:t.directiveEnd;for(let fn=o?z:z+it;fn=Y&&qn.type===a)return fn}if(p){const fn=k[Y];if(fn&&(0,h.JlV)(fn)&&fn.type===a)return Y}return null}function ti(t,n,a,o,p){let M=t[a];const k=n.data;if(M instanceof an){const z=M;if(z.resolving){const fn=(0,h.PP7)(k[a]);throw(0,h.PQT)(fn)}const Y=Wn(z.canSeeViewProviders);z.resolving=!0;const zt=z.injectImpl?(0,h.a2B)(z.injectImpl):null;(0,h.ihb)(t,o,0);try{M=t[a]=z.factory(void 0,p,k,t,o),n.firstCreatePass&&a>=o.directiveStart&&function ae(t,n,a){const{ngOnChanges:o,ngOnInit:p,ngDoCheck:M}=n.type.prototype;if(o){const k=on(n);(a.preOrderHooks??=[]).push(t,k),(a.preOrderCheckHooks??=[]).push(t,k)}p&&(a.preOrderHooks??=[]).push(0-t,p),M&&((a.preOrderHooks??=[]).push(t,M),(a.preOrderCheckHooks??=[]).push(t,M))}(a,k[a],n)}finally{null!==zt&&(0,h.a2B)(zt),Wn(Y),z.resolving=!1,(0,h.niQ)()}}return M}function Ii(t,n,a){return!!(a[n+(t>>5)]&1<{const n=t.prototype.constructor,a=n[h.zSs]||Xt(n),o=Object.prototype;let p=Object.getPrototypeOf(t.prototype).constructor;for(;p&&p!==o;){const M=p[h.zSs]||Xt(p);if(M&&M!==a)return M;p=Object.getPrototypeOf(p)}return M=>new M})}function Xt(t){return(0,h.Jzi)(t)?()=>{const n=Xt((0,h.nl4)(t));return n&&n()}:(0,h.wGu)(t)}function Ki(t){const n=t[h.eDl],a=n.type;return 2===a?n.declTNode:1===a?t[h.qlT]:null}function _a(t){return function yi(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const a=t.attrs;if(a){const o=a.length;let p=0;for(;p({attributeName:t,__NG_ELEMENT_ID__:()=>_a(t)}));let $a=null;function Ga(t){return As(function ns(){return $a=$a||new Ge}().parameters(t))}function As(t){return t.map(n=>function hr(t){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let a=0;afunction mr(t,n){let a=null,o=null;t.hasOwnProperty(h.yAH)||Object.defineProperty(t,h.yAH,{get:()=>(null===a&&(a=N().compileInjectable(Z,`ng:///${t.name}/\u0275prov.js`,function Zs(t,n){const a=n||{providedIn:null},o={name:t.name,type:t,typeArgumentCount:0,providedIn:a.providedIn};return(zo(a)||gr(a))&&void 0!==a.deps&&(o.deps=As(a.deps)),zo(a)?o.useClass=a.useClass:function pr(t){return fr in t}(a)?o.useValue=a.useValue:gr(a)?o.useFactory=a.useFactory:function bo(t){return void 0!==t.useExisting}(a)&&(o.useExisting=a.useExisting),o}(t,n))),a)}),t.hasOwnProperty(h.zSs)||Object.defineProperty(t,h.zSs,{get:()=>{if(null===o){const p=N();o=p.compileFactory(Z,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Ga(t),target:p.FactoryTarget.Injectable})}return o},configurable:!0})}(t,n));function Er(){return Ka((0,h.Mx4)(),(0,h.OAn)())}function Ka(t,n){return new Ps((0,h.d31)(t,n))}let Ps=(()=>class t{nativeElement;constructor(a){this.nativeElement=a}static __NG_ELEMENT_ID__=Er})();function kr(t){return t instanceof Ps?t.nativeElement:t}function js(){return this._results[Symbol.iterator]()}class Vo{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ue.B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,a){return this._results.reduce(n,a)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,a){this.dirty=!1;const o=(0,h.Bqz)(n);(this._changesDetected=!(0,h.ng7)(this._results,o,a))&&(this._results=o,this.length=o.length,this.last=o[this.length-1],this.first=o[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=js}function Js(t){return!(128&~t.flags)}var ls=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ls||{});const is=new Map;let Hs=0;function xs(t){is.delete(t[h.ID])}const Xs="__ngContext__";function wa(t,n){(0,h.q$2)(n)?(t[Xs]=n[h.ID],function Mr(t){is.set(t[h.ID],t)}(n)):t[Xs]=n}function Oi(t){return Es(t[h.EJG])}function ua(t){return Es(t[h.K29])}function Es(t){for(;null!==t&&!(0,h.A0l)(t);)t=t[h.K29];return t}let pl;function zl(t){pl=t}function ds(){if(void 0!==pl)return pl;if(typeof document<"u")return document;throw new h.buA(210,!1)}const nr=new h.nKC("",{providedIn:"root",factory:()=>mi}),mi="ng",Uo=new h.nKC(""),Go=new h.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Tr=new h.nKC(""),jo=new h.nKC("",{providedIn:"root",factory:()=>ds().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),mo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Tl=new h.nKC("",{providedIn:"root",factory:()=>mo});function za(){const t=new us;return t.store=function Dl(t,n){const a=t.getElementById(n+"-state");if("SCRIPT"===a?.tagName&&a.textContent)try{return JSON.parse(a.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+n,o)}return{}}(ds(),(0,h.WQX)(nr)),t}let us=(()=>{class t{static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:za});store={};onSerializeCallbacks={};get(a,o){return void 0!==this.store[a]?this.store[a]:o}set(a,o){this.store[a]=o}remove(a){delete this.store[a]}hasKey(a){return this.store.hasOwnProperty(a)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(a,o){this.onSerializeCallbacks[a]=o}toJson(){for(const a in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(a))try{this.store[a]=this.onSerializeCallbacks[a]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/!1}),ir=new h.nKC(""),Wo=new h.nKC(""),nl={passive:!0,capture:!0},X=new WeakMap,de=new WeakMap,Q=new WeakMap,me=["click","keydown"],et=["mouseenter","mouseover","focusin"];let Mt=null,Kt=0;class Tn{callbacks=new Set;listener=()=>{for(const n of this.callbacks)n()}}function ai(t,n){let a=de.get(t);if(!a){a=new Tn,de.set(t,a);for(const o of me)t.addEventListener(o,a.listener,nl)}return a.callbacks.add(n),()=>{const{callbacks:o,listener:p}=a;if(o.delete(n),0===o.size){de.delete(t);for(const M of me)t.removeEventListener(M,p,nl)}}}function Gi(t,n){let a=X.get(t);if(!a){a=new Tn,X.set(t,a);for(const o of et)t.addEventListener(o,a.listener,nl)}return a.callbacks.add(n),()=>{const{callbacks:o,listener:p}=a;if(o.delete(n),0===o.size){for(const M of et)t.removeEventListener(M,p,nl);X.delete(t)}}}const wo=new h.nKC("");function Ao(t){return!(32&~t.flags)}function Wl(t){let n=t._lView;return 2===n[h.eDl].type?null:((0,h.EFk)(n)&&(n=n[h.Yw1]),n)}function oa(t){return t.get(ir,!1,{optional:!0})}function ui(t,n){const a=t.contentQueries;if(null!==a){const o=(0,jt.Ht)(null);try{for(let p=0;pt,createScript:t=>t,createScriptURL:t=>t})}catch{}return br}function Yl(t){return Yo()?.createHTML(t)||t}function y1(){if(void 0===Fl&&(Fl=null,h.laP.trustedTypes))try{Fl=h.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fl}function ld(t){return y1()?.createHTML(t)||t}function a2(t){return y1()?.createScript(t)||t}function A0(t){return y1()?.createScriptURL(t)||t}class Ic{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h.ok8})`}}class T4 extends Ic{getTypeName(){return"HTML"}}class L0 extends Ic{getTypeName(){return"Style"}}class I0 extends Ic{getTypeName(){return"Script"}}class Te extends Ic{getTypeName(){return"URL"}}class dt extends Ic{getTypeName(){return"ResourceURL"}}function st(t){return t instanceof Ic?t.changingThisBreaksApplicationSecurity:t}function ft(t,n){const a=function $t(t){return t instanceof Ic&&t.getTypeName()||null}(t);if(null!=a&&a!==n){if("ResourceURL"===a&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${a} (see ${h.ok8})`)}return a===n}function Cn(t){return new T4(t)}function Dn(t){return new L0(t)}function Zn(t){return new I0(t)}function si(t){return new Te(t)}function _t(t){return new dt(t)}function ji(t){const n=new Ja(t);return function Ba(){try{return!!(new window.DOMParser).parseFromString(Yl(""),"text/html")}catch{return!1}}()?new Hi(n):n}class Hi{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const a=(new window.DOMParser).parseFromString(Yl(n),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(n):(a.firstChild?.remove(),a)}catch{return null}}}class Ja{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const a=this.inertDocument.createElement("template");return a.innerHTML=Yl(n),a}}const wr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _s(t){return(t=String(t)).match(wr)?t:"unsafe:"+t}function vs(t){const n={};for(const a of t.split(","))n[a]=!0;return n}function rr(...t){const n={};for(const a of t)for(const o in a)a.hasOwnProperty(o)&&(n[o]=!0);return n}const Bs=vs("area,br,col,hr,img,wbr"),ol=vs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kr=vs("rp,rt"),vc=rr(Bs,rr(ol,vs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rr(Kr,vs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),rr(Kr,ol)),s2=vs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),r2=rr(s2,vs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),o2=vs("script,style,template");class cd{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let a=n.firstChild,o=!0,p=[];for(;a;)if(a.nodeType===Node.ELEMENT_NODE?o=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,o&&a.firstChild)p.push(a),a=k0(a);else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let M=w4(a);if(M){a=M;break}a=p.pop()}return this.buf.join("")}startElement(n){const a=zr(n).toLowerCase();if(!vc.hasOwnProperty(a))return this.sanitizedSomething=!0,!o2.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const o=n.attributes;for(let p=0;p"),!0}endElement(n){const a=zr(n).toLowerCase();vc.hasOwnProperty(a)&&!Bs.hasOwnProperty(a)&&(this.buf.push(""))}chars(n){this.buf.push(R0(n))}}function w4(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw O0(n);return n}function k0(t){const n=t.firstChild;if(n&&function b1(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw O0(n);return n}function zr(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function O0(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const A4=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xa=/([^\#-~ |!])/g;function R0(t){return t.replace(/&/g,"&").replace(A4,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Xa,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let yc;function Zc(t,n){let a=null;try{yc=yc||ji(t);let o=n?String(n):"";a=yc.getInertBodyElement(o);let p=5,M=o;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,o=M,M=a.innerHTML,a=yc.getInertBodyElement(o)}while(o!==M);return Yl((new cd).sanitizeChildren(l2(a)||a))}finally{if(a){const o=l2(a)||a;for(;o.firstChild;)o.firstChild.remove()}}}function l2(t){return"content"in t&&function Qo(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const or=/^>|^->||--!>|)/g;function ud(t,n){return t.createText(n)}function P0(t,n,a){t.setValue(n,a)}function c2(t,n){return t.createComment(function bc(t){return t.replace(or,n=>n.replace(dd,"\u200b$1\u200b"))}(n))}function hd(t,n,a){return t.createElement(n,a)}function Cc(t,n,a,o,p){t.insertBefore(n,a,o,p)}function F0(t,n,a){t.appendChild(n,a)}function d2(t,n,a,o,p){null!==o?Cc(t,n,a,o,p):F0(t,n,a)}function C1(t,n,a,o){t.removeChild(null,n,a,o)}function zs(t,n,a){const{mergedAttrs:o,classes:p,styles:M}=a;null!==o&&function Mn(t,n,a){let o=0;for(;o-1){let M;for(;++pM?"":p[it+1].toLowerCase(),2&o&&ze!==zt){if(ul(o))return!1;k=!0}}}}else{if(!k&&!ul(o)&&!ul(Y))return!1;if(k&&ul(Y))continue;k=!1,o=Y|1&o}}return ul(o)||k}function ul(t){return!(1&t)}function Z0(t,n,a,o){if(null===n)return-1;let p=0;if(o||!a){let M=!1;for(;p-1)for(a++;a0?'="'+z+'"':"")+"]"}else 8&o?p+="."+k:4&o&&(p+=" "+k);else""!==p&&!ul(k)&&(n+=v2(M,p),p=""),o=k,M=M||!ul(o);a++}return""!==p&&(n+=v2(M,p)),n}const qa={};function xc(t,n,a,o,p,M,k,z,Y,ze,it){const zt=h.Yw1+o,hn=zt+p,fn=function y2(t,n){const a=[];for(let o=0;o-1?1:1e3;return parseFloat(t)*n}function Ec(t,n){return t.getPropertyValue(n).split(",").map(o=>o.trim())}function Mc(t,n){return void 0!==t&&t.duration>n.duration}function tu(t){return(null!=t.animationName||null!=t.propertyName)&&t.duration>0}function iu(t,n,a){if(!a)return;const o=t.getAnimations();return 0===o.length?function nu(t,n){const a=getComputedStyle(t),o=function Cd(t){const n=Ec(t,"animation-name"),a=Ec(t,"animation-delay"),o=Ec(t,"animation-duration"),p={animationName:"",propertyName:void 0,duration:0};for(let M=0;Mp.duration&&(p.animationName=n[M],p.duration=k)}return p}(a),p=function eu(t){const n=Ec(t,"transition-property"),a=Ec(t,"transition-duration"),o=Ec(t,"transition-delay"),p={propertyName:"",duration:0,animationName:void 0};for(let M=0;Mp.duration&&(p.propertyName=n[M],p.duration=k)}return p}(a),M=o.duration>p.duration?o:p;Mc(n.get(t),M)||tu(M)&&n.set(t,M)}(t,n):function au(t,n,a){let o={animationName:void 0,propertyName:void 0,duration:0};for(const p of a){const M=p.effect?.getTiming(),k="number"==typeof M?.duration?M.duration:0;let Y,ze,z=(M?.delay??0)+k;p.animationName?ze=p.animationName:Y=p.transitionProperty,z>=o.duration&&(o={animationName:ze,propertyName:Y,duration:z})}Mc(n.get(t),o)||tu(o)&&n.set(t,o)}(t,n,o)}const bl=new Set;var L1=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(L1||{});const rc=new h.nKC(""),I1=new Set;function Yr(t){I1.has(t)||(I1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}const n1=!1,oc=class su extends Ue.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,(0,h.M6u)()&&(this.destroyRef=(0,h.WQX)(h.abz,{optional:!0})??void 0,this.pendingTasks=(0,h.WQX)(h.rev,{optional:!0})??void 0)}emit(n){const a=(0,jt.Ht)(null);try{super.next(n)}finally{(0,jt.Ht)(a)}}subscribe(n,a,o){let p=n,M=a||(()=>null),k=o;if(n&&"object"==typeof n){const Y=n;p=Y.next?.bind(Y),M=Y.error?.bind(Y),k=Y.complete?.bind(Y)}this.__isAsync&&(M=this.wrapInTimeout(M),p&&(p=this.wrapInTimeout(p)),k&&(k=this.wrapInTimeout(k)));const z=super.subscribe({next:p,error:M,complete:k});return n instanceof wt.yU&&n.add(z),z}wrapInTimeout(n){return a=>{const o=this.pendingTasks?.add();setTimeout(()=>{try{n(a)}finally{void 0!==o&&this.pendingTasks?.remove(o)}})}}};function k1(t){let n,a;function o(){t=h.lQ1;try{void 0!==a&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(a),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),o()}),"function"==typeof requestAnimationFrame&&(a=requestAnimationFrame(()=>{t(),o()})),()=>o()}function C2(t){return queueMicrotask(()=>t()),()=>{t=h.lQ1}}const x2="isAngularZone",xd=x2+"_ID";let Q4=0;class ms{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new oc(!1);onMicrotaskEmpty=new oc(!1);onStable=new oc(!1);onError=new oc(!1);constructor(n){const{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:p=!1,scheduleInRootZone:M=n1}=n;if(typeof Zone>"u")throw new h.buA(908,!1);Zone.assertZonePatched();const k=this;k._nesting=0,k._outer=k._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(k._inner=k._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(k._inner=k._inner.fork(Zone.longStackTraceZoneSpec)),k.shouldCoalesceEventChangeDetection=!p&&o,k.shouldCoalesceRunChangeDetection=p,k.callbackScheduled=!1,k.scheduleInRootZone=M,function ou(t){const n=()=>{!function ru(t){function n(){k1(()=>{t.callbackScheduled=!1,lu(t),t.isCheckStableRunning=!0,lc(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),lu(t))}(t)},a=Q4++;t._inner=t._inner.fork({name:"angular",properties:{[x2]:!0,[xd]:a,[xd+a]:!0},onInvokeTask:(o,p,M,k,z,Y)=>{if(function cu(t){return Md(t,"__ignore_ng_zone__")}(Y))return o.invokeTask(M,k,z,Y);try{return O1(t),o.invokeTask(M,k,z,Y)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===k.type||t.shouldCoalesceRunChangeDetection)&&n(),Ed(t)}},onInvoke:(o,p,M,k,z,Y,ze)=>{try{return O1(t),o.invoke(M,k,z,Y,ze)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function E2(t){return Md(t,"__scheduler_tick__")}(Y)&&n(),Ed(t)}},onHasTask:(o,p,M,k)=>{o.hasTask(M,k),p===M&&("microTask"==k.change?(t._hasPendingMicrotasks=k.microTask,lu(t),lc(t)):"macroTask"==k.change&&(t.hasPendingMacrotasks=k.macroTask))},onHandleError:(o,p,M,k)=>(o.handleError(M,k),t.runOutsideAngular(()=>t.onError.emit(k)),!1)})}(k)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(x2)}static assertInAngularZone(){if(!ms.isInAngularZone())throw new h.buA(909,!1)}static assertNotInAngularZone(){if(ms.isInAngularZone())throw new h.buA(909,!1)}run(n,a,o){return this._inner.run(n,a,o)}runTask(n,a,o,p){const M=this._inner,k=M.scheduleEventTask("NgZoneEvent: "+p,n,$4,h.lQ1,h.lQ1);try{return M.runTask(k,a,o)}finally{M.cancelTask(k)}}runGuarded(n,a,o){return this._inner.runGuarded(n,a,o)}runOutsideAngular(n){return this._outer.run(n)}}const $4={};function lc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function lu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function O1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ed(t){t._nesting--,lc(t)}class Sc{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new oc;onMicrotaskEmpty=new oc;onStable=new oc;onError=new oc;run(n,a,o){return n.apply(a,o)}runGuarded(n,a,o){return n.apply(a,o)}runOutsideAngular(n){return n()}runTask(n,a,o,p){return n.apply(a,o)}}function Md(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}function Pc(t="zone.js",n){return"noop"===t?new Sc:"zone.js"===t?new ms(n):t}let Sd=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();const M2=[0,1,2,3];let S2=(()=>{class t{ngZone=(0,h.WQX)(ms);scheduler=(0,h.WQX)(h.hk6);errorHandler=(0,h.WQX)(h.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,h.WQX)(rc,{optional:!0})}execute(){const a=this.sequences.size>0;a&&we(16),this.executing=!0;for(const o of M2)for(const p of this.sequences)if(!p.erroredOrDestroyed&&p.hooks[o])try{p.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,p.hooks[o])(p.pipelinedValue),p.snapshot))}catch(M){p.erroredOrDestroyed=!0,this.errorHandler?.handleError(M)}this.executing=!1;for(const o of this.sequences)o.afterRun(),o.once&&(this.sequences.delete(o),o.destroy());for(const o of this.deferredRegistrations)this.sequences.add(o);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),a&&we(17)}register(a){const{view:o}=a;void 0!==o?((o[h.JEi]??=[]).push(a),(0,h.blu)(o),o[h.Wg1]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,o){return o?o.run(L1.AFTER_NEXT_RENDER,a):a()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();class i1{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,a,o,p,M,k=null){this.impl=n,this.hooks=a,this.view=o,this.once=p,this.snapshot=k,this.unregisterOnDestroy=M?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[h.JEi];n&&(this.view[h.JEi]=n.filter(a=>a!==this))}}function T2(t,n){const a=n?.injector??(0,h.WQX)(h.zZn);return Yr("NgAfterNextRender"),hu(t,a,n,!0)}function hu(t,n,a,o){const p=n.get(Sd);p.impl??=n.get(S2);const M=n.get(rc,null,{optional:!0}),k=!0!==a?.manualCleanup?n.get(h.abz):null,z=n.get(h.r4V,null,{optional:!0}),Y=new i1(p.impl,function uu(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),z?.view,o,k,M?.snapshot(null));return p.impl.register(Y),Y}const mu={destroy(){}},R1=new h.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function fu(t,n,a){const o=t.get(R1);if(Array.isArray(n))for(const p of n)o.queue.add(p),a?.detachedLeaveAnimationFns?.push(p);else o.queue.add(n),a?.detachedLeaveAnimationFns?.push(n);o.scheduler&&o.scheduler(t)}function Z4(t){const n=t.get(R1);n.isScheduled||(T2(()=>{n.isScheduled=!1;for(let a of n.queue)a();n.queue.clear()},{injector:t}),n.isScheduled=!0)}function D2(t){const n=t.get(R1);n.scheduler=Z4,n.scheduler(t)}function P1(t,n){for(const[a,o]of n)fu(t,o.animateFns)}function S(t,n,a,o){const p=t?.[h.Isx]?.enter;null!==n&&p&&p.has(a.index)&&P1(o,p)}function F1(t,n,a,o,p,M,k,z){if(null!=p){let Y,ze=!1;(0,h.A0l)(p)?Y=p:(0,h.q$2)(p)&&(ze=!0,p=p[h.jgP]);const it=(0,h.IvY)(p);0===t&&null!==o?(S(z,o,M,a),null==k?F0(n,o,it):Cc(n,o,it,k||null,!0)):1===t&&null!==o?(S(z,o,M,a),Cc(n,o,it,k||null,!0)):2===t?pu(z,M,a,zt=>{C1(n,it,ze,zt)}):3===t&&pu(z,M,a,()=>{n.destroyNode(it)}),null!=Y&&function O2(t,n,a,o,p,M,k){const z=o[h.s6P];z!==(0,h.IvY)(o)&&F1(n,t,a,M,z,p,k);for(let ze=h.Y20;ze=0?o[z]():o[-z].unsubscribe(),k+=2}else a[k].call(o[a[k+1]]);null!==o&&(n[h.VVG]=null);const p=n[h.Czx];if(null!==p){n[h.Czx]=null;for(let k=0;k{if(p.leave&&p.leave.has(n.index)){const k=p.leave.get(n.index),z=[];if(k){for(let Y=0;Y{t[h.Isx].running=void 0,bl.delete(t),n(!0)}):n(!1)}(t,o)}else t&&bl.delete(t),o(!1)},p)}function I2(t,n,a){return gu(t,n.parent,a)}function gu(t,n,a){let o=n;for(;null!==o&&168&o.type;)o=(n=o).parent;if(null===o)return a[h.jgP];if((0,h.Qs1)(o)){const{encapsulation:p}=t.data[o.directiveStart+o.componentOffset];if(p===Bi.None||p===Bi.Emulated)return null}return(0,h.d31)(o,a)}function t3(t,n,a){return _u(t,n,a)}function n3(t,n,a){return 40&t.type?(0,h.d31)(t,a):null}let vu,_u=n3;function i3(t,n){_u=t,vu=n}function yu(t,n,a,o){const p=I2(t,o,n),M=n[h.GpT],z=t3(o.parent||n[h.qlT],o,n);if(null!=p)if(Array.isArray(a))for(let Y=0;Yh.Yw1&&X4(t,n,h.Yw1,!1),we(k?2:0,p,a),a(o,p)}finally{(0,h.ypq)(M),we(k?3:1,p,a)}}function R2(t,n,a){(function c3(t,n,a){const o=a.directiveStart,p=a.directiveEnd;(0,h.Qs1)(a)&&function W4(t,n,a){const o=(0,h.d31)(n,t),p=q0(a),M=t[h.M0L].rendererFactory,k=yd(t,M1(t,p,null,S1(a),o,n,null,M.createRenderer(o,a),null,null,null));t[n.index]=k}(n,a,t.data[o+a.componentOffset]),t.firstCreatePass||en(a,n);const M=a.initialInputs;for(let k=o;knull;function P2(t,n,a,o,p,M){Id(t,n[h.eDl],n,a,o)?(0,h.Qs1)(t)&&N2(n,t.index):(3&t.type&&(a=function Mu(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(a)),F2(t,n,a,o,p,M))}function F2(t,n,a,o,p,M){if(3&t.type){const k=(0,h.d31)(t,n);o=null!=M?M(o,t.value||"",a):o,p.setProperty(k,a,o)}}function N2(t,n){const a=(0,h.KdJ)(n,t);16&a[h.Wg1]||(a[h.Wg1]|=64)}function Su(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function z2(t,n){const a=t.directiveRegistry;let o=null;if(a)for(let p=0;p{(0,h.blu)(t.lView)},consumerOnSignalRead(){this.lView[h.Iaj]=this}},y3={...jt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=(0,h._0$)(t.lView);for(;n&&!U2(n[h.eDl]);)n=(0,h._0$)(n);n&&(0,h.HAh)(n)},consumerOnSignalRead(){this.lView[h.Iaj]=this}};function U2(t){return 2!==t.type}function ku(t){if(null===t[h.tQN])return;let n=!0;for(;n;){let a=!1;for(const o of t[h.tQN])o.dirty&&(a=!0,null===o.zone||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));n=a&&!!(8192&t[h.Wg1])}}function G2(t,n=0){const o=t[h.M0L].rendererFactory;o.begin?.();try{!function j2(t,n){const a=(0,h.yP_)();try{(0,h.cBl)(!0),H2(t,n);let o=0;for(;(0,h.dMS)(t);){if(100===o)throw new h.buA(103,!1);o++,H2(t,1)}}finally{(0,h.cBl)(a)}}(t,n)}finally{o.end?.()}}function Vr(t,n,a,o){if((0,h.EPY)(n))return;const p=n[h.Wg1];(0,h.ID8)(n);let z=!0,Y=null,ze=null;U2(t)?(ze=function Au(t){return t[h.Iaj]??function _3(t){const n=wu.pop()??Object.create(v3);return n.lView=t,n}(t)}(n),Y=(0,jt.Bg)(ze)):null===(0,jt.nR)()?(z=!1,ze=function Iu(t){const n=t[h.Iaj]??Object.create(y3);return n.lView=t,n}(n),Y=(0,jt.Bg)(ze)):n[h.Iaj]&&((0,jt.XR)(n[h.Iaj]),n[h.Iaj]=null);try{(0,h.HUe)(n),(0,h.Kw3)(t.bindingStartIndex),null!==a&&o3(t,n,a,2,o);const it=!(3&~p);if(it){const fn=t.preOrderCheckHooks;null!==fn&&Ht(n,fn,null)}else{const fn=t.preOrderHooks;null!==fn&&_n(n,fn,0,null),fi(n,0)}if(function b3(t){for(let n=Oi(t);null!==n;n=ua(n)){if(!(2&n[h.Wg1]))continue;const a=n[h.nfM];for(let o=0;o0&&(a[p-1][h.K29]=n),o0&&(t[a-1][h.K29]=o[h.K29]);const M=(0,h.E6O)(t,h.Y20+n);J4(o[h.eDl],o);const k=M[h.Ds7];null!==k&&k.detachView(M[h.eDl]),o[h.f7T]=null,o[h.K29]=null,o[h.Wg1]&=-129}return o}function co(t,n){const a=t[h.nfM],o=n[h.f7T];((0,h.q$2)(o)||n[h.b5C]!==o[h.f7T][h.b5C])&&(t[h.Wg1]|=2),null===a?t[h.nfM]=[n]:a.push(n)}class o1{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,a=n[h.eDl];return z1(a,n,a.firstChild,[])}constructor(n,a){this._lView=n,this._cdRefInjectingView=a}get context(){return this._lView[h.SKP]}set context(n){this._lView[h.SKP]=n}get destroyed(){return(0,h.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[h.f7T];if((0,h.A0l)(n)){const a=n[h.bm_],o=a?a.indexOf(this):-1;o>-1&&(V1(n,o),(0,h.E6O)(a,o))}this._attachedToViewContainer=!1}Td(this._lView[h.eDl],this._lView)}onDestroy(n){(0,h.ik5)(this._lView,n)}markForCheck(){r1(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[h.Wg1]&=-129}reattach(){(0,h._gW)(this._lView),this._lView[h.Wg1]|=128}detectChanges(){this._lView[h.Wg1]|=1024,G2(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new h.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=(0,h.EFk)(this._lView),a=this._lView[h.rQE];null!==a&&!n&&w2(a,this._lView),q4(this._lView[h.eDl],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new h.buA(902,!1);this._appRef=n;const a=(0,h.EFk)(this._lView),o=this._lView[h.rQE];null!==o&&!a&&co(o,this._lView),(0,h._gW)(this._lView)}}let U1=(()=>class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=E3;constructor(a,o,p){this._declarationLView=a,this._declarationTContainer=o,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,o){return this.createEmbeddedViewImpl(a,o)}createEmbeddedViewImpl(a,o,p){const M=cc(this._declarationLView,this._declarationTContainer,a,{embeddedViewInjector:o,dehydratedView:p});return new o1(M)}})();function E3(){return Od((0,h.Mx4)(),(0,h.OAn)())}function Od(t,n){return 4&t.type?new U1(n,t,Ka(t,n)):null}function zu(t,n,a){const o=n.insertBeforeIndex,p=Array.isArray(o)?o[0]:o;return null===p?n3(t,0,a):(0,h.IvY)(a[p])}function Nd(t,n,a,o,p){const M=n.insertBeforeIndex;if(Array.isArray(M)){let k=o,z=null;if(3&n.type||(z=k,k=p),null!==k&&-1===n.componentOffset)for(let Y=1;Y1)for(let a=t.length-2;a>=0;a--){const o=t[a];Dc(o)||L3(o,n)&&null===I3(o)&&k3(o,n.index)}}function Dc(t){return!(64&t.type)}function L3(t,n){return Dc(n)||t.index>n.index}function I3(t){const n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function k3(t,n){const a=t.insertBeforeIndex;Array.isArray(a)?a[0]=n:(i3(zu,Nd),t.insertBeforeIndex=n)}function zd(t,n){const a=t.data[n];return null===a||"string"==typeof a?null:a.hasOwnProperty("currentCaseLViewIndex")?a:a.value}function P3(t,n,a){const o=Bd(t,a,64,null,null);return mm(n,o),o}function Z2(t,n){const a=n[t.currentCaseLViewIndex];return null===a?a:a<0?~a:a}function Vu(t){return t>>>17}function Uu(t){return(131070&t)>>>1}function J2(t,n,a){t.index=0;const o=Z2(n,a);t.removes=null!==o?n.remove[o]:h.Mlv}function Vd(t){if(t.index0?t.lView[n]:(t.stack.push(t.index,t.removes),J2(t,t.lView[h.eDl].data[~n],t.lView),Vd(t))}return 0===t.stack.length?(t.lView=void 0,null):(t.removes=t.stack.pop(),t.index=t.stack.pop(),Vd(t))}function z3(){const t={stack:[],index:-1};return function n(a,o){for(t.lView=o;t.stack.length;)t.stack.pop();return J2(t,a.value,o),Vd.bind(null,t)}}function m(t,n,a){for(const o of a.node.cases[a.case]){const p=n.get(o.index-h.Yw1);p&&C1(t,p,!1)}}function E(t){const n=t[h.qFA]??[],o=t[h.f7T][h.GpT],p=[];for(const M of n)void 0!==M.data.di?p.push(M):I(M,o);t[h.qFA]=p}function D(t){const{lContainer:n}=t,a=n[h.qFA];if(null===a)return;const p=n[h.f7T][h.GpT];for(const M of a)I(M,p)}function I(t,n){let a=0,o=t.firstChild;if(o){const p=t.data.r;for(;aclass t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function K3(){const t=(0,h.OAn)(),n=(0,h.Mx4)(),a=(0,h.KdJ)(n.index,t);return((0,h.q$2)(a)?a:t)[h.GpT]}()})(),h1=(()=>{class t{static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>null})}return t})();function X1(t){return void 0!==t.ngModule}function zc(t){return!!(0,h.phH)(t)}function K1(t){return!!(0,h.oyA)(t)}function aa(t){return!!(0,h.HaV)(t)}function la(t){return!!(0,h.xUg)(t)}function Ya(t,n){if((0,h.Jzi)(t)&&!(t=(0,h.nl4)(t)))throw new Error(`Expected forwardRef function, imported from "${(0,h.PP7)(n)}", to return a standalone entity or NgModule but got "${(0,h.PP7)(t)||t}".`);if(null==(0,h.phH)(t)){const a=(0,h.xUg)(t)||(0,h.HaV)(t)||(0,h.oyA)(t);if(null==a)throw X1(t)?new Error(`A module with providers was imported from "${(0,h.PP7)(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,h.PP7)(t)}" type, imported from "${(0,h.PP7)(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!a.standalone)throw new Error(`The "${(0,h.PP7)(t)}" ${function ya(t){return(0,h.xUg)(t)?"component":(0,h.HaV)(t)?"directive":(0,h.oyA)(t)?"pipe":"type"}(t)}, imported from "${(0,h.PP7)(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class uo{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const a=(0,h.phH)(n);if(a?.declarations)for(const o of Ql(a.declarations))la(o)&&this.ownerNgModule.set(o,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,a){this.resolveNgModulesDecls();const o=(0,h.xUg)(n);if(null===o)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(o.standalone){const p=this.getStandaloneComponentScope(n,a);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(n));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(n,a){if(!zc(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const a=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,a),a}computeNgModuleScope(n){const a=(0,h.WbQ)(n),o={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of Ql(a.imports))if(zc(p)){const M=this.getNgModuleScope(p);_o(M.exported.directives,o.compilation.directives),_o(M.exported.pipes,o.compilation.pipes)}else{if(!(0,h.QuC)(p)){o.compilation.isPoisoned=!0;break}if(aa(p)||la(p))o.compilation.directives.add(p);else{if(!K1(p))throw new h.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");o.compilation.pipes.add(p)}}if(!o.compilation.isPoisoned)for(const p of Ql(a.declarations)){if(zc(p)||(0,h.QuC)(p)){o.compilation.isPoisoned=!0;break}K1(p)?o.compilation.pipes.add(p):o.compilation.directives.add(p)}for(const p of Ql(a.exports))if(zc(p)){const M=this.getNgModuleScope(p);_o(M.exported.directives,o.exported.directives),_o(M.exported.pipes,o.exported.pipes),_o(M.exported.directives,o.compilation.directives),_o(M.exported.pipes,o.compilation.pipes)}else K1(p)?o.exported.pipes.add(p):o.exported.directives.add(p);return o}getStandaloneComponentScope(n,a){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const o=this.computeStandaloneComponentScope(n,a);return this.standaloneComponentsScopeCache.set(n,o),o}computeStandaloneComponentScope(n,a){const o={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const p of(0,h.Bqz)(a??[])){const M=(0,h.nl4)(p);try{Ya(M,n)}catch{return o.compilation.isPoisoned=!0,o}if(zc(M)){o.compilation.ngModules.add(M);const k=this.getNgModuleScope(M);if(k.exported.isPoisoned)return o.compilation.isPoisoned=!0,o;_o(k.exported.directives,o.compilation.directives),_o(k.exported.pipes,o.compilation.pipes)}else if(K1(M))o.compilation.pipes.add(M);else{if(!aa(M)&&!la(M))return o.compilation.isPoisoned=!0,o;o.compilation.directives.add(M)}}return o}isOrphanComponent(n){const a=(0,h.xUg)(n);return!(!a||a.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function _o(t,n){for(const a of t)n.add(a)}const vo=new uo,dc={};class ys{injector;parentInjector;constructor(n,a){this.injector=n,this.parentInjector=a}get(n,a,o){const p=this.injector.get(n,dc,o);return p!==dc||a===dc?p:this.parentInjector.get(n,a,o)}}function Y1(t,n,a){let o=a?t.styles:null,p=a?t.classes:null,M=0;if(null!==n)for(let k=0;k0&&(a.directiveToIndex=new Map);for(let hn=0;hn0;){const a=t[--n];if("number"==typeof a&&a<0)return a}return 0})(k)!=z&&k.push(z),k.push(a,o,M)}}(t,n,o,T1(t,a,p.hostVars,qa),p)}function gg(t,n,a){if(a){if(n.exportAs)for(let o=0;oY?z[Y]:null}"string"==typeof k&&(M+=2)}return null}(n,a,M,t.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=k,it.__ngLastListenerFn__=k,ze=!0;else{const zt=(0,h.d31)(t,a),hn=o?o(zt):zt,fn=p.listen(hn,M,z);(function _g(t){return t.startsWith("animation")||t.startsWith("transition")})(M)||Jf(o?Si=>o((0,h.IvY)(Si[t.index])):t.index,n,a,M,z,fn,!1)}return ze}function Jf(t,n,a,o,p,M,k){const z=n.firstCreatePass?(0,h.vNG)(n):null,Y=(0,h.d_l)(a),ze=Y.length;Y.push(p,M),z&&z.push(o,t,ze,(ze+1)*(k?-1:1))}function q3(t,n,a,o,p,M){const z=n[h.eDl],zt=n[a][z.data[a].outputs[o]].subscribe(M);Jf(t.index,z,n,p,M,zt,!0)}const $1=Symbol("BINDING");class tp extends ps{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const a=(0,h.xUg)(n);return new c0(a,this.ngModule)}}class c0 extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function Tg(t){return Object.keys(t).map(n=>{const[a,o,p]=t[n],M={propName:a,templateName:n,isSignal:0!==(o&D1.SignalBased)};return p&&(M.transform=p),M})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function Dg(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,a){super(),this.componentDef=n,this.ngModule=a,this.componentType=n.type,this.selector=function j4(t){return t.map(G4).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!a}create(n,a,o,p,M,k){we(22);const z=(0,jt.Ht)(null);try{const Y=this.componentDef,ze=function sp(t,n,a,o){const p=t?["ng-version","20.3.27"]:function H4(t){const n=[],a=[];let o=1,p=2;for(;o{if(1&a&&t)for(const o of t)o.create();if(2&a&&n)for(const o of n)o.update()}:null}(M,k),1,z,Y,null,null,null,[p],null)}(o,Y,k,M),it=function Ag(t,n,a){let o=n instanceof h.uvJ?n:n?.injector;return o&&null!==t.getStandaloneInjector&&(o=t.getStandaloneInjector(o)||o),o?new ys(a,o):a}(Y,p||this.ngModule,n),zt=function Lg(t){const n=t.get(xl,null);if(null===n)throw new h.buA(407,!1);return{rendererFactory:n,sanitizer:t.get(h1,null),changeDetectionScheduler:t.get(h.hk6,null),ngReflect:!1}}(it),hn=zt.rendererFactory.createRenderer(null,Y),fn=o?function a1(t,n,a,o){const M=o.get(Ul,!1)||a===Bi.ShadowDom,k=t.selectRootElement(n,M);return function Cu(t){xu(t)}(k),k}(hn,o,Y.encapsulation,it):function np(t,n){const a=function ap(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return hd(n,a,"svg"===a?h.jNX:"math"===a?h.rJ1:null)}(Y,hn);!function ip(t){if("script"===t?.toLowerCase())throw new h.buA(905,!1)}(fn?.tagName);const qn=k?.some(wc)||M?.some(na=>"function"!=typeof na&&na.bindings.some(wc)),Si=M1(null,ze,null,512|S1(Y),null,null,zt,hn,it,null,null);Si[h.Yw1]=fn,(0,h.ID8)(Si);let Xi=null;try{const na=r0(h.Yw1,Si,2,"#host",()=>ze.directiveRegistry,!0,0);zs(hn,fn,na),wa(fn,Si),R2(ze,Si,na),Wa(ze,na,Si),Q3(ze,na),void 0!==a&&function eh(t,n,a){const o=t.projection=[];for(let p=0;pclass t{static __NG_ELEMENT_ID__=rp})();function rp(){return Ac((0,h.Mx4)(),(0,h.OAn)())}const Tm=$o,Dm=class extends Tm{_lContainer;_hostTNode;_hostLView;constructor(n,a,o){super(),this._lContainer=n,this._hostTNode=a,this._hostLView=o}get element(){return Ka(this._hostTNode,this._hostLView)}get injector(){return new U(this._hostTNode,this._hostLView)}get parentInjector(){const n=bn(this._hostTNode,this._hostLView);if(ra(n)){const a=qt(n,this._hostLView),o=fa(n);return new U(a[h.eDl].data[o+8],a)}return new U(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const a=qu(this._lContainer);return null!==a&&a[n]||null}get length(){return this._lContainer.length-h.Y20}createEmbeddedView(n,a,o){let p,M;"number"==typeof o?p=o:null!=o&&(p=o.index,M=o.injector);const z=n.createEmbeddedViewImpl(a||{},M,null);return this.insertImpl(z,p,Nc(this._hostTNode,null)),z}createComponent(n,a,o,p,M,k,z){const Y=n&&!at(n);let ze;if(Y)ze=a;else{const Xi=a||{};ze=Xi.index,o=Xi.injector,p=Xi.projectableNodes,M=Xi.environmentInjector||Xi.ngModuleRef,k=Xi.directives,z=Xi.bindings}const it=Y?n:new c0((0,h.xUg)(n)),zt=o||this.parentInjector;if(!M&&null==it.ngModule){const na=(Y?zt:this.parentInjector).get(h.uvJ,null);na&&(M=na)}(0,h.xUg)(it.componentType??{});const Si=it.create(zt,p,null,M,k,z);return this.insertImpl(Si.hostView,ze,Nc(this._hostTNode,null)),Si}insert(n,a){return this.insertImpl(n,a,!0)}insertImpl(n,a,o){const p=n._lView;if((0,h.ITl)(p)){const z=this.indexOf(n);if(-1!==z)this.detach(z);else{const Y=p[h.f7T],ze=new Dm(Y,Y[h.qlT],Y[h.f7T]);ze.detach(ze.indexOf(n))}}const M=this._adjustIndex(a),k=this._lContainer;return Bc(k,p,M,o),n.attachToViewContainerRef(),(0,h.EYC)(d0(k),M,n),n}move(n,a){return this.insert(n,a)}indexOf(n){const a=qu(this._lContainer);return null!==a?a.indexOf(n):-1}remove(n){const a=this._adjustIndex(n,-1),o=V1(this._lContainer,a);o&&((0,h.E6O)(d0(this._lContainer),a),Td(o[h.eDl],o))}detach(n){const a=this._adjustIndex(n,-1),o=V1(this._lContainer,a);return o&&null!=(0,h.E6O)(d0(this._lContainer),a)?new o1(o):null}_adjustIndex(n,a=0){return n??this.length+a}};function qu(t){return t[h.bm_]}function d0(t){return t[h.bm_]||(t[h.bm_]=[])}function Ac(t,n){let a;const o=n[t.index];return(0,h.A0l)(o)?a=o:(a=Fu(o,n,null,t),n[t.index]=a,yd(n,a)),ma(a,n,t,o),new Dm(a,t,n)}let ma=function th(t,n,a,o){if(t[h.s6P])return;let p;p=8&a.type?(0,h.IvY)(o):function u0(t,n){const a=t[h.GpT],o=a.createComment(""),p=(0,h.d31)(n,t),M=a.parentNode(p);return Cc(a,M,o,a.nextSibling(p),!1),o}(n,a),t[h.s6P]=p};class ah{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new ah(this.queryList)}setDirty(){this.queryList.setDirty()}}class t4{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const a=n.queries;if(null!==a){const o=null!==n.contentQueries?n.contentQueries[0]:a.length,p=[];for(let M=0;Mn.trim())}(n):n}}class h0{queries;constructor(n=[]){this.queries=n}elementStart(n,a){for(let o=0;o0)o.push(k[z/2]);else{const ze=M[z+1],it=n[-Y];for(let zt=h.Y20;zt{o._dirtyCounter();const M=function a4(t,n){const a=t._lView,o=t._queryIndex;if(void 0===a||void 0===o||4&a[h.Wg1])return n?void 0:h.Mlv;const p=n4(a,o),M=ch(a,o);return p.reset(M,kr),n?p.first:p._changesDetected||void 0===t._flatValue?t._flatValue=p.toArray():t._flatValue}(o,t);if(n&&void 0===M)throw new h.buA(-951,!1);return M});return o=p[jt.bh],o._dirtyCounter=(0,h.vPA)(0),o._flatValue=void 0,p}function p0(t){return f0(!0,!1)}function Qr(t){return f0(!0,!0)}function km(t){return f0(!1,!1)}function Wd(t,n){const a=t[jt.bh];a._lView=(0,h.OAn)(),a._queryIndex=n,a._queryList=n4(a._lView,n),a._queryList.onDirty(()=>a._dirtyCounter.update(o=>o+1))}function lp(t){const n=[],a=new Map;function o(p){let M=a.get(p);if(!M){const k=t(p);a.set(p,M=k.then(z=>function Pm(t,n){return"string"==typeof n?n:void 0!==n.status&&200!==n.status?Promise.reject(new h.buA(918,!1)):n.text()}(0,z)))}return M}return q1.forEach((p,M)=>{const k=[];p.templateUrl&&k.push(o(p.templateUrl).then(ze=>{p.template=ze}));const z="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=z,p.styleUrl&&p.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(p.styleUrls?.length){const ze=p.styles.length,it=p.styleUrls;p.styleUrls.forEach((zt,hn)=>{z.push(""),k.push(o(zt).then(fn=>{z[ze+hn]=fn,it.splice(it.indexOf(zt),1),0==it.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&k.push(o(p.styleUrl).then(ze=>{z.push(ze),p.styleUrl=void 0}));const Y=Promise.all(k).then(()=>function r4(t){Gc.delete(t)}(M));n.push(Y)}),function s4(){const t=q1;q1=new Map}(),Promise.all(n).then(()=>{})}let q1=new Map;const Gc=new Set;function dp(){return 0===q1.size}const o4=new Map;function dh(t,n){(function up(t,n,a){if(n&&n!==a)throw new Error(`Duplicate module registered for ${t} - ${(0,h.AsM)(n)} vs ${(0,h.AsM)(n.name)}`)})(n,o4.get(n)||null,t),o4.set(n,t)}let Xd=class{},hl=class{};function Fm(t,n){return new c4(t,n??null,[])}class c4 extends Xd{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new tp(this);constructor(n,a,o,p=!0){super(),this.ngModuleType=n,this._parent=a;const M=(0,h.phH)(n);this._bootstrapComponents=Ql(M.bootstrap),this._r3Injector=(0,h.Pz9)(n,a,[{provide:Xd,useValue:this},{provide:ps,useValue:this.componentFactoryResolver},...o],(0,h.AsM)(n),new Set(["environment"])),p&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class mp extends hl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new c4(this.moduleType,n,[])}}function fp(t,n,a){return new c4(t,n,a,!1)}class Og extends Xd{injector;componentFactoryResolver=new tp(this);instance=null;constructor(n){super();const a=new h.e5P([...n.providers,{provide:Xd,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],n.parent||(0,h.WB9)(),n.debugName,new Set(["environment"]));this.injector=a,n.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Nm(t,n,a=null){return new Og({providers:t,parent:n,debugName:a,runEnvironmentInitializers:!0}).injector}let Rg=(()=>{class t{_injector;cachedInjectors=new Map;constructor(a){this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const o=(0,h.jXY)(!1,a.type),p=o.length>0?Nm([o],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,p)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,h.jDH)({token:t,providedIn:"environment",factory:()=>new t((0,h.KVO)(h.uvJ))})}return t})();function pp(t){return Pt(()=>{const n=jc(t),a={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?p=>p.get(Rg).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Bi.Emulated,styles:t.styles||h.Mlv,_:null,schemas:t.schemas||null,tView:null,id:""};n.standalone&&Yr("NgStandalone"),f1(a);const o=t.dependencies;return a.directiveDefs=d4(o,gp),a.pipeDefs=d4(o,h.oyA),a.id=function Ng(t){let n=0;const o=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const M of o.join("|"))n=Math.imul(31,n)+M.charCodeAt(0)|0;return n+=2147483648,"c"+n}(a),a})}function gp(t){return(0,h.xUg)(t)||(0,h.HaV)(t)}function _p(t){return Pt(()=>({type:t.type,bootstrap:t.bootstrap||h.Mlv,declarations:t.declarations||h.Mlv,imports:t.imports||h.Mlv,exports:t.exports||h.Mlv,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Pg(t,n){if(null==t)return h.MZA;const a={};for(const o in t)if(t.hasOwnProperty(o)){const p=t[o];let M,k,z,Y;Array.isArray(p)?(z=p[0],M=p[1],k=p[2]??M,Y=p[3]||null):(M=p,k=p,z=D1.None,Y=null),a[M]=[o,z,Y],n[M]=k}return a}function vp(t){if(null==t)return h.MZA;const n={};for(const a in t)t.hasOwnProperty(a)&&(n[t[a]]=a);return n}function Bm(t){return Pt(()=>{const n=jc(t);return f1(n),n})}function zm(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function jc(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||h.MZA,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||h.Mlv,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Pg(t.inputs,n),outputs:vp(t.outputs),debugInfo:null}}function f1(t){t.features?.forEach(n=>n(t))}function d4(t,n){return t?()=>{const a="function"==typeof t?t():t,o=[];for(const p of a){const M=n(p);null!==M&&o.push(M)}return o}:null}function yp(t){return Object.getPrototypeOf(t.prototype).constructor}function uh(t){let n=yp(t.type),a=!0;const o=[t];for(;n;){let p;if((0,h.JlV)(t))p=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new h.buA(903,!1);p=n.\u0275dir}if(p){if(a){o.push(p);const k=t;k.inputs=hh(t.inputs),k.declaredInputs=hh(t.declaredInputs),k.outputs=hh(t.outputs);const z=p.hostBindings;z&&Vg(t,z);const Y=p.viewQuery,ze=p.contentQueries;if(Y&&bp(t,Y),ze&&zg(t,ze),Bg(t,p),(0,h.dwj)(t.outputs,p.outputs),(0,h.JlV)(p)&&p.data.animation){const it=t.data;it.animation=(it.animation||[]).concat(p.data.animation)}}const M=p.features;if(M)for(let k=0;k=0;o--){const p=t[o];p.hostVars=n+=p.hostVars,p.hostAttrs=Bn(p.hostAttrs,a=Bn(a,p.hostAttrs))}}(o)}function Bg(t,n){for(const a in n.inputs){if(!n.inputs.hasOwnProperty(a)||t.inputs.hasOwnProperty(a))continue;const o=n.inputs[a];void 0!==o&&(t.inputs[a]=o,t.declaredInputs[a]=n.declaredInputs[a])}}function hh(t){return t===h.MZA?{}:t===h.Mlv?[]:t}function bp(t,n){const a=t.viewQuery;t.viewQuery=a?(o,p)=>{n(o,p),a(o,p)}:n}function zg(t,n){const a=t.contentQueries;t.contentQueries=a?(o,p,M)=>{n(o,p,M),a(o,p,M)}:n}function Vg(t,n){const a=t.hostBindings;t.hostBindings=a?(o,p)=>{n(o,p),a(o,p)}:n}const Um=["providersResolver"],g0=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Cp(t){const n=a=>{const o=Array.isArray(t);null===a.hostDirectives?(a.resolveHostDirectives=Ug,a.hostDirectives=o?t.map(mh):[t]):o?a.hostDirectives.unshift(...t.map(mh)):a.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function Ug(t){const n=[];let a=!1,o=null,p=null;for(let M=0;M{Q.has(t)&&(o.callbacks.delete(n),0===o.callbacks.size&&(Mt?.unobserve(t),Q.delete(t),Kt--),0===Kt&&(Mt?.disconnect(),Mt=null))}}(t,()=>o.run(n),()=>o.runOutsideAngular(()=>function La(){return new IntersectionObserver(t=>{for(const n of t)n.isIntersecting&&Q.has(n.target)&&Q.get(n.target).listener()})}()))}function td(t,n,a,o,p,M,k){const z=t[h.YEL],Y=z.get(ms);let ze;ze=function du(t,n){const a=n?.injector??(0,h.WQX)(h.zZn);return Yr("NgAfterRender"),hu(t,a,n,!1)}({read:function it(){if((0,h.EPY)(t))return void ze.destroy();const zt=Bl(t,n),hn=zt[1];if(hn!==_0.Initial&&hn!==Is.Placeholder)return void ze.destroy();const fn=function Ch(t,n,a){return null==a?t:a>=0?(0,h.jRZ)(a,t):t[n.index][h.Y20]??null}(t,n,o);if(!fn||(ze.destroy(),(0,h.EPY)(fn)))return;const qn=function $g(t,n){return(0,h.vaC)(h.Yw1+n,t)}(fn,a),Si=p(qn,()=>{Y.run(()=>{t!==fn&&(0,h.DyX)(fn,Si),M()})},z);t!==fn&&(0,h.ik5)(fn,Si),f4(k,zt,Si)}},{injector:z})}function p4(t,n){const a=n.get(g);return a.add(t),()=>a.remove(t)}let g=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,h.WQX)(ms);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(a){(this.executingCallbacks?this.deferred:this.current).add(a),null===this.idleId&&this.scheduleIdleCallback()}remove(a){const{current:o,deferred:p}=this;o.delete(a),p.delete(a),0===o.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const a=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(a))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();function c(t){return(n,a)=>r(t,n,a)}function r(t,n,a){const o=a.get(y),p=a.get(ms);return o.add(t,n,p),()=>o.remove(n)}let y=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(a,o,p){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+a,o),this.scheduleTimer(p)}remove(a){const{current:o,deferred:p}=this;-1===this.removeFromQueue(o,a)&&this.removeFromQueue(p,a),0===o.length&&0===p.length&&this.clearTimeout()}addToQueue(a,o,p){let M=a.length;for(let k=0;ko){M=k;break}(0,h.llW)(a,M,o,p)}removeFromQueue(a,o){let p=-1;for(let M=0;M-1&&(0,h.gsJ)(a,p,2),p}scheduleTimer(a){const o=()=>{this.clearTimeout(),this.executingCallbacks=!0;const M=[...this.current],k=Date.now();for(let Y=0;Y=0&&(0,h.gsJ)(this.current,0,z+1),this.executingCallbacks=!1,this.deferred.length>0){for(let Y=0;Y0){const M=Date.now(),k=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-k>16){this.clearTimeout();const z=Math.max(k-M,16);this.invokeTimerAt=k,this.timeoutId=a.runOutsideAngular(()=>setTimeout(()=>a.run(o),z))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,h.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})(),x=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(a,o,p,M){if(!this.cachedInjectors.has(a)){const k=p.length>0?Nm(p,o,M):null;this.cachedInjectors.set(a,k)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,h.jDH)({token:t,providedIn:"environment",factory:()=>new t})}return t})();const ue=new h.nKC("");function xt(t,n,a){return t.get(x).getOrCreateInjector(n,t,a,"")}function sn(t,n,a,o=!1){const p=a[h.f7T],M=p[h.eDl];if((0,h.EPY)(p))return;const k=Bl(p,n),Y=k[7];if(!(null!==Y&&t0&&(it=function Rt(t,n,a){if(t instanceof ys){const p=t.injector,k=xt(t.parentInjector,n,a);return new ys(p,k)}const o=t.get(h.uvJ);if(o!==t){const p=xt(o,n,a);return new ys(t,p)}return xt(t,n,a)}(p[h.YEL],qn,Si))}const{dehydratedView:zt,dehydratedViewIx:hn}=function wn(t,n){const a=t[h.qFA]?.findIndex(p=>p.data.s===n[1])??-1;return{dehydratedView:a>-1?t[h.qFA][a]:null,dehydratedViewIx:a}}(a,n),fn=cc(p,Y,null,{injector:it,dehydratedView:zt});if(Bc(a,fn,ze,Nc(Y,zt)),r1(fn,2),hn>-1&&a[h.qFA]?.splice(hn,1),(t===Is.Complete||t===Is.Error)&&Array.isArray(n[8])){for(const qn of n[8])qn();n[8]=null}}we(21)}function _i(t,n,a,o,p){const M=Date.now(),z=yo(p[h.eDl],o);if(null===n[2]||n[2]<=M){n[2]=null;const Y=yh(z),ze=null!==n[3];if(t!==Is.Loading||null===Y||ze){t>Is.Loading&&ze&&(n[3](),n[3]=null,n[0]=null),An(t,n,a,o,p);const it=Km(z,t);null!==it&&(n[2]=M+it,pi(it,n,o,a,p))}else{n[0]=t;const it=pi(Y,n,o,a,p);n[3]=it}}else n[0]=t}function pi(t,n,a,o,p){return r(t,()=>{const k=n[0];n[2]=null,n[0]=null,null!==k&&sn(k,a,o)},p[h.YEL])}function Ji(t,n){return t{t.loadingState===Ur.COMPLETE?sn(Is.Complete,n,a):t.loadingState===Ur.FAILED&&sn(Is.Error,n,a)})}let pa=null;function ks(t,n,a,o){return Pt(()=>{const p=t;null!==n&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...n):p.decorators=n),null!==a&&(p.ctorParameters=a),null!==o&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...o}:o)})}let Os=(()=>{class t{log(a){console.log(a)}warn(a){console.warn(a)}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const l_=new h.nKC(""),c_=new h.nKC("");let Np,C7=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(a,o,p){this._ngZone=a,this.registry=o,(0,h.M6u)()&&(this._destroyRef=(0,h.WQX)(h.abz,{optional:!0})??void 0),Np||(function x7(t){Np=t}(p),p.addToWindow(o)),this._watchAngularEvents(),a.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const a=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),o=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ms.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{a.unsubscribe(),o.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(a)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,o,p){let M=-1;o&&o>0&&(M=setTimeout(()=>{this._callbacks=this._callbacks.filter(k=>k.timeoutId!==M),a()},o)),this._callbacks.push({doneCb:a,timeoutId:M,updateCb:p})}whenStable(a,o,p){if(p&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(a,o,p),this._runCallbacksIfReady()}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,o,p){return[]}static \u0275fac=function(o){return new(o||t)((0,h.KVO)(ms),(0,h.KVO)($m),(0,h.KVO)(c_))};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac})}return t})(),$m=(()=>{class t{_applications=new Map;registerApplication(a,o){this._applications.set(a,o)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,o=!0){return Np?.findTestabilityInTree(this,a,o)??null}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function d_(t){return!!t&&"function"==typeof t.then}function u_(t){return!!t&&"function"==typeof t.subscribe}const h_=new h.nKC("");function E7(t){return(0,h.EmA)([{provide:h_,multi:!0,useValue:t}])}let Bp=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((a,o)=>{this.resolve=a,this.reject=o});appInits=(0,h.WQX)(h_,{optional:!0})??[];injector=(0,h.WQX)(h.zZn);constructor(){}runInitializers(){if(this.initialized)return;const a=[];for(const p of this.appInits){const M=(0,h.N4e)(this.injector,p);if(d_(M))a.push(M);else if(u_(M)){const k=new Promise((z,Y)=>{M.subscribe({complete:z,error:Y})});a.push(k)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{o()}).catch(p=>{this.reject(p)}),0===a.length&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const m_=new h.nKC("");function f_(){}function M7(){(0,jt.KO)(()=>{throw new h.buA(600,"")})}function p_(t,n){return Array.isArray(n)?n.reduce(p_,t):{...t,...n}}let Zm=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,h.WQX)(h.ZTf);afterRenderManager=(0,h.WQX)(Sd);zonelessEnabled=(0,h.WQX)(h.Evm);rootEffectScheduler=(0,h.WQX)(h.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ue.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,h.WQX)(h.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,pt.T)(a=>!a))}constructor(){(0,h.WQX)(rc,{optional:!0})}whenStable(){let a;return new Promise(o=>{a=this.isStable.subscribe({next:p=>{p&&o()}})}).finally(()=>{a.unsubscribe()})}_injector=(0,h.WQX)(h.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(a,o){return this.bootstrapImpl(a,o)}bootstrapImpl(a,o,p=h.zZn.NULL){return this._injector.get(ms).run(()=>{we(10);const k=a instanceof Fa;if(!this._injector.get(Bp).done)throw new h.buA(405,"");let Y;Y=k?a:this._injector.get(ps).resolveComponentFactory(a),this.componentTypes.push(Y.componentType);const ze=function S7(t){return t.isBoundToModule}(Y)?void 0:this._injector.get(Xd),zt=Y.create(p,[],o||Y.selector,ze),hn=zt.location.nativeElement,fn=zt.injector.get(l_,null);return fn?.registerApplication(hn),zt.onDestroy(()=>{this.detachView(zt.hostView),Eh(this.components,zt),fn?.unregisterApplication(hn)}),this._loadComponent(zt),we(11,zt),zt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){we(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(L1.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new h.buA(101,!1);const a=(0,jt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,jt.Ht)(a),this.afterTick.next(),we(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(xl,null,{optional:!0}));let a=0;for(;0!==this.dirtyFlags&&a++<10;)we(14),this.synchronizeOnce(),we(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let a=!1;if(7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:p}of this.allViews)(o||(0,h.dMS)(p))&&(G2(p,o&&!this.zonelessEnabled?0:1),a=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}a||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:a})=>(0,h.dMS)(a))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(a){const o=a;this._views.push(o),o.attachToAppRef(this)}detachView(a){const o=a;Eh(this._views,o),o.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView);try{this.tick()}catch(p){this.internalErrorHandler(p)}this.components.push(a),this._injector.get(m_,[]).forEach(p=>p(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Eh(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new h.buA(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Eh(t,n){const a=t.indexOf(n);a>-1&&t.splice(a,1)}function Vp(){let t,n;return{promise:new Promise((o,p)=>{t=o,n=p}),resolve:t,reject:n}}function Jm(t){const n=(0,h.OAn)(),a=(0,h.Mx4)();if(Xn(n,a),!__(0,n))return;const o=n[h.YEL];f4(0,Bl(n,a),t(()=>sd(0,n,a),o))}function Up(t){const n=(0,h.OAn)(),a=n[h.YEL],o=(0,h.Mx4)(),M=yo(n[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&f4(1,Bl(n,o),t(()=>Mh(M,n,o),a))}function g_(t,n,a){const o=n[h.YEL],p=Bl(n,a),M=p[6];f4(2,p,t(()=>x0(o,M),o))}function Mh(t,n,a){Gp(t,n,a)}function Gp(t,n,a){const o=n[h.YEL],p=n[h.eDl];if(t.loadingState!==Ur.NOT_STARTED)return t.loadingPromise??Promise.resolve();const M=Bl(n,a),k=function Ip(t,n){return(0,h.XRZ)(t,n.primaryTmplIndex+h.Yw1)}(p,t);t.loadingState=Ur.IN_PROGRESS,vh(1,M);let z=t.dependencyResolverFn;const Y=o.get(h.u5s).add();return z?(t.loadingPromise=Promise.allSettled(z()).then(ze=>{let it=!1;const zt=[],hn=[];for(const fn of ze){if("fulfilled"!==fn.status){it=!0;break}{const qn=fn.value,Si=(0,h.xUg)(qn)||(0,h.HaV)(qn);if(Si)zt.push(Si);else{const Xi=(0,h.oyA)(qn);Xi&&hn.push(Xi)}}}if(it){if(t.loadingState=Ur.FAILED,null===t.errorTmplIndex){const qn=new h.buA(-750,!1);B1(n,qn)}}else{t.loadingState=Ur.COMPLETE;const fn=k.tView;if(zt.length>0){fn.directiveRegistry=Ym(fn.directiveRegistry,zt);const qn=zt.map(Xi=>Xi.type),Si=(0,h.jXY)(!1,...qn);t.providers=Si}hn.length>0&&(fn.pipeRegistry=Ym(fn.pipeRegistry,hn))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,Y()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Ur.COMPLETE,Y()}),t.loadingPromise)}function __(t,n){return n[h.YEL].get(ue,null,{optional:!0})?.behavior!==wp.Manual}function sd(t,n,a){const o=n[h.eDl],p=n[a.index];if(!__(0,n))return;const M=Bl(n,a),k=yo(o,a);switch(Xm(M),k.loadingState){case Ur.NOT_STARTED:sn(Is.Loading,a,p),Gp(k,n,a),k.loadingState===Ur.IN_PROGRESS&&Vi(k,a,p);break;case Ur.IN_PROGRESS:sn(Is.Loading,a,p),Vi(k,a,p);break;case Ur.COMPLETE:sn(Is.Complete,a,p);break;case Ur.FAILED:sn(Is.Error,a,p)}}function x0(t,n,a){return jp.apply(this,arguments)}function jp(){return(jp=(0,Qn.A)(function*(t,n,a){const o=t.get(wo);if(o.hydrating.has(n))return;const{parentBlockPromise:M,hydrationQueue:k}=function _1(t,n){const a=n.get(wo),p=n.get(us).get("__nghDeferData__",{});let M=!1,k=t,z=null;const Y=[];for(;!M&&k;){M=a.has(k);const ze=a.hydrating.get(k);if(null===z&&null!=ze){z=ze.promise;break}Y.unshift(k),k=p[k].p}return{parentBlockPromise:z,hydrationQueue:Y}}(n,t);if(0===k.length)return;null!==M&&k.shift(),function y_(t,n){for(let a of n)t.hydrating.set(a,Vp())}(o,k),null!==M&&(yield M);const z=k[0];o.has(z)?yield Hp(t,k,a):o.awaitParentBlock(z,(0,Qn.A)(function*(){return yield Hp(t,k,a)}))})).apply(this,arguments)}function Hp(t,n,a){return Wp.apply(this,arguments)}function Wp(){return(Wp=(0,Qn.A)(function*(t,n,a){const o=t.get(wo),p=o.hydrating,M=t.get(h.rev),k=M.add();for(let Y=0;Y-1?a.get(n[o]):null;p&&Oe(p.lContainer)}function v_(t,n){const a=n.hydrating;for(const o in t)a.get(o)?.reject();n.cleanup(t)}function w7(t){return new Promise(n=>T2(n,{injector:t}))}function A7(t){return qm.apply(this,arguments)}function qm(){return(qm=(0,Qn.A)(function*(t){const{tNode:n,lView:a}=t,o=Bl(a,n);return new Promise(p=>{(function L7(t,n){Array.isArray(t[8])||(t[8]=[]),t[8].push(n)})(o,p),sd(0,a,n)})})).apply(this,arguments)}function $r(t,n,a){return 0===t?C_(n,a):2!==t||!C_(n,a)}function C_(t,n){const a=t[h.YEL],o=yo(t[h.eDl],n),p=oa(a),M=function b_(t){return null!=t&&!(1&~t)}(o.flags),z=null!==Bl(t,n)[6];return!(M&&z&&p)}function Qd(t,n){const a=yo(t,n);return a.hydrateTriggers??=new Map}function Kp(t,n){const a=(0,h.OAn)();if(cr(a,(0,h.xbp)(),n)){const p=(0,h.klJ)(),M=(0,h.CpD)();if(Id(M,p,a,t,n))(0,h.Qs1)(M)&&N2(a,M.index);else{const z=(0,h.d31)(M,a);wd(a[h.GpT],z,null,M.value,t,n,null)}}return Kp}function Yp(t,n,a,o){const p=(0,h.OAn)();return cr(p,(0,h.xbp)(),n)&&((0,h.klJ)(),function u3(t,n,a,o,p,M){const k=(0,h.d31)(t,n);wd(n[h.GpT],k,M,t.value,a,o,p)}((0,h.CpD)(),p,t,n,a,o)),Yp}const Y7=new h.nKC("",{providedIn:"root",factory:()=>!1}),Q7=new h.nKC("",{providedIn:"root",factory:()=>I_}),I_=4e3,$d=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function ef(t){return t[h.YEL].get(Y7,!1)}function Qp(t){const n=g4.get(t);if(n){for(const a of n.cleanupFns)a();g4.delete(t)}E0.delete(t)}const O_=()=>{},g4=new WeakMap,E0=new WeakMap,_4=new WeakMap;function $p(t,n){const a=_4.get(t);if(a&&a.length>0){const o=a.findIndex(p=>p===n);o>-1&&a.splice(o,1)}0===a?.length&&_4.delete(t)}function Th(t,n){const a=_4.get(t)?.shift(),o=n[h.rQE];if(o){const M=Dd(t.index,o)?.previousSibling;a&&M&&a===M&&a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function R_(t,n){_4.has(t)?_4.get(t)?.push(n):_4.set(t,[n])}function v4(t){const n=t[h.Isx]??={};return n.enter??=new Map}function M0(t){const n=t[h.Isx]??={};return n.leave??=new Map}function P_(t){const n="function"==typeof t?t():t;let a=Array.isArray(n)?n:null;return"string"==typeof n&&(a=n.trim().split(/\s+/).filter(o=>o)),a}function F_(t,n){const a=E0.get(n);return void 0===a||n===t.target&&(void 0!==a.animationName&&t.animationName===a.animationName||void 0!==a.propertyName&&t.propertyName===a.propertyName)}function tf(t,n,a){const o=t.get(n.index)??{animateFns:[]};o.animateFns.push(a),t.set(n.index,o)}function nf(t,n){if(t)for(const a of t)a();for(const a of n)a()}function Zp(t,n){const a=M0(t).get(n.index);a&&(a.resolvers=void 0)}function Dh(t,n,a,o,p){$p(n,a),nf(o,p),Zp(t,n)}class rv{destroy(n){}updateValue(n,a){}swap(n,a){const o=Math.min(n,a),p=Math.max(n,a),M=this.detach(p);if(p-o>1){const k=this.detach(o);this.attach(o,M),this.attach(p,k)}else this.attach(o,M)}move(n,a){this.attach(a,this.detach(n))}}function qp(t,n,a,o,p){return t===a&&Object.is(n,o)?1:Object.is(p(t,n),p(a,o))?-1:0}function sf(t,n,a,o){return!(void 0===n||!n.has(o)||(t.attach(a,n.get(o)),n.delete(o),0))}function N_(t,n,a,o,p){if(sf(t,n,o,a(o,p)))t.updateValue(o,p);else{const M=t.create(o,p);t.attach(o,M)}}function B_(t,n,a,o){const p=new Set;for(let M=n;M<=a;M++)p.add(o(M,t.at(M)));return p}class e6{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const a=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(n,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,a){if(this.kvMap.has(n)){let o=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(o);)o=p.get(o);p.set(o,a)}else this.kvMap.set(n,a)}forEach(n){for(let[a,o]of this.kvMap)if(n(o,a),void 0!==this._vMap){const p=this._vMap;for(;p.has(o);)o=p.get(o),n(o,a)}}}function z_(t,n,a,o,p,M,k,z){Yr("NgControlFlow");const Y=(0,h.OAn)(),ze=(0,h.klJ)();return Kd(Y,ze,t,n,a,o,p,(0,h.db4)(ze.consts,M),256,k,z),rf}function rf(t,n,a,o,p,M,k,z){Yr("NgControlFlow");const Y=(0,h.OAn)(),ze=(0,h.klJ)();return Kd(Y,ze,t,n,a,o,p,(0,h.db4)(ze.consts,M),512,k,z),rf}function V_(t,n){Yr("NgControlFlow");const a=(0,h.OAn)(),o=(0,h.xbp)(),p=a[o]!==qa?a[o]:-1,M=-1!==p?of(a,h.Yw1+p):void 0;if(cr(a,o,t)){const z=(0,jt.Ht)(null);try{if(void 0!==M&&W2(M,0),-1!==t){const Y=h.Yw1+t,ze=of(a,Y),it=t6(a[h.eDl],Y),zt=null;Bc(ze,cc(a,it,n,{dehydratedView:zt}),0,Nc(it,zt))}}finally{(0,jt.Ht)(z)}}else if(void 0!==M){const z=Nu(M,0);void 0!==z&&(z[h.SKP]=n)}}class U_{lContainer;$implicit;$index;constructor(n,a,o){this.lContainer=n,this.$implicit=a,this.$index=o}get $count(){return this.lContainer.length-h.Y20}}function G_(t,n){return n}class cv{hasEmptyBlock;trackByFn;liveCollection;constructor(n,a,o){this.hasEmptyBlock=n,this.trackByFn=a,this.liveCollection=o}}function j_(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn){Yr("NgControlFlow");const fn=(0,h.OAn)(),qn=(0,h.klJ)(),Si=void 0!==Y,Xi=(0,h.OAn)(),na=z?k.bind(Xi[h.b5C][h.SKP]):k,Di=new cv(Si,na);Xi[h.Yw1+t]=Di,Kd(fn,qn,t+1,n,a,o,p,(0,h.db4)(qn.consts,M),256),Si&&Kd(fn,qn,t+2,Y,ze,it,zt,(0,h.db4)(qn.consts,hn),512)}class H_ extends rv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,a,o){super(),this.lContainer=n,this.hostLView=a,this.templateTNode=o}get length(){return this.lContainer.length-h.Y20}at(n){return this.getLView(n)[h.SKP].$implicit}attach(n,a){const o=a[h.tcA];this.needsIndexUpdate||=n!==this.length,Bc(this.lContainer,a,n,Nc(this.templateTNode,o)),function dv(t,n){if(t.length<=h.Y20)return;const o=t[h.Y20+n],p=o?o[h.Isx]:void 0;o&&p&&p.detachedLeaveAnimationFns&&p.detachedLeaveAnimationFns.length>0&&(function $h(t,n){const a=t.get(R1);if(n.detachedLeaveAnimationFns){for(const o of n.detachedLeaveAnimationFns)a.queue.delete(o);n.detachedLeaveAnimationFns=void 0}}(o[h.YEL],p),bl.delete(o),p.detachedLeaveAnimationFns=void 0)}(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function uv(t,n){if(t.length<=h.Y20)return;const o=t[h.Y20+n],p=o?o[h.Isx]:void 0;p&&p.leave&&p.leave.size>0&&(p.detachedLeaveAnimationFns=[])}(this.lContainer,n),function hv(t,n){return V1(t,n)}(this.lContainer,n)}create(n,a){const p=cc(this.hostLView,this.templateTNode,new U_(this.lContainer,a,n),{dehydratedView:null});return this.operationsCounter?.recordCreate(),p}destroy(n){Td(n[h.eDl],n),this.operationsCounter?.recordDestroy()}updateValue(n,a){this.getLView(n)[h.SKP].$implicit=a}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{t.destroy(Y)})}(Y,t,M.trackByFn),Y.updateIndexes(),M.hasEmptyBlock){const ze=(0,h.xbp)(),it=0===Y.length;if(cr(o,ze,it)){const zt=a+2,hn=of(o,zt);if(it){const fn=t6(p,zt),qn=null;Bc(hn,cc(o,fn,void 0,{dehydratedView:qn}),0,Nc(fn,qn))}else p.firstUpdatePass&&E(hn),W2(hn,0)}}}finally{(0,jt.Ht)(n)}}function of(t,n){return t[n]}function t6(t,n){return(0,h.XRZ)(t,n)}function lf(t,n,a){const o=(0,h.OAn)();return cr(o,(0,h.xbp)(),n)&&((0,h.klJ)(),P2((0,h.CpD)(),o,t,n,o[h.GpT],a)),lf}function n6(t,n,a,o,p){Id(n,t,a,p?"class":"style",o)}function Ih(t,n,a,o){const p=(0,h.OAn)(),M=p[h.eDl],k=t+h.Yw1,z=M.firstCreatePass?r0(k,p,2,n,z2,(0,h.ckz)(),a,o):M.data[k];if(Ad(z,p,t,n,s6),(0,h.yoD)(z)){const Y=p[h.eDl];R2(Y,p,z),Wa(Y,z,p)}return null!=o&&N1(p,z),Ih}function cf(){const t=(0,h.klJ)(),a=Ld((0,h.Mx4)());return t.firstCreatePass&&Q3(t,a),(0,h.UhH)(a)&&(0,h.krE)(),(0,h.N79)(),null!=a.classesWithoutHost&&function Fn(t){return!!(8&t.flags)}(a)&&n6(t,a,(0,h.OAn)(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function ci(t){return!!(16&t.flags)}(a)&&n6(t,a,(0,h.OAn)(),a.stylesWithoutHost,!1),cf}function i6(t,n,a,o){return Ih(t,n,a,o),cf(),i6}function df(t,n,a,o){const p=(0,h.OAn)(),M=p[h.eDl],k=t+h.Yw1,z=M.firstCreatePass?$3(k,M,2,n,a,o):M.data[k];return Ad(z,p,t,n,s6),null!=o&&N1(p,z),df}function y4(){const n=Ld((0,h.Mx4)());return(0,h.UhH)(n)&&(0,h.krE)(),(0,h.N79)(),y4}function a6(t,n,a,o){return df(t,n,a,o),y4(),a6}let s6=(t,n,a,o,p)=>((0,h.m7n)(!0),hd(n[h.GpT],o,(0,h.UaU)()));function uf(t,n,a){const o=(0,h.OAn)(),p=o[h.eDl],M=t+h.Yw1,k=p.firstCreatePass?r0(M,o,8,"ng-container",z2,(0,h.ckz)(),n,a):p.data[M];if(Ad(k,o,t,"ng-container",o6),(0,h.yoD)(k)){const z=o[h.eDl];R2(z,o,k),Wa(z,k,o)}return null!=a&&N1(o,k),uf}function b4(){const t=(0,h.klJ)(),a=Ld((0,h.Mx4)());return t.firstCreatePass&&Q3(t,a),b4}function r6(t,n,a){return uf(t,n,a),b4(),r6}function hf(t,n,a){const o=(0,h.OAn)(),p=o[h.eDl],M=t+h.Yw1,k=p.firstCreatePass?$3(M,p,8,"ng-container",n,a):p.data[M];return Ad(k,o,t,"ng-container",o6),null!=a&&N1(o,k),hf}function K_(){return Ld((0,h.Mx4)()),b4}let o6=(t,n,a,o,p)=>((0,h.m7n)(!0),c2(n[h.GpT],""));function Q_(){return(0,h.OAn)()}function mf(t,n,a){const o=(0,h.OAn)();return cr(o,(0,h.xbp)(),n)&&((0,h.klJ)(),F2((0,h.CpD)(),o,t,n,o[h.GpT],a)),mf}const ff=void 0;var gv=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ff,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ff,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ff,"{1} 'at' {0}",ff],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function l6(t){const n=Math.floor(Math.abs(t)),a=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===a?1:5}];let C4={};function c6(t){const n=function _v(t){return t.toLowerCase().replace(/_/g,"-")}(t);let a=Z_(n);if(a)return a;const o=n.split("-")[0];if(a=Z_(o),a)return a;if("en"===o)return gv;throw new h.buA(701,!1)}function d6(t){return c6(t)[S0.PluralCase]}function Z_(t){if(!(t in C4)){const n=h.laP.ng&&h.laP.ng.common&&h.laP.ng.common.locales&&h.laP.ng.common.locales[t];return void 0!==n&&(C4[t]=n),n}return C4[t]}var S0=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(S0||{});const J_=["zero","one","two","few","many"],u6="en-US",pf={marker:"element"},gf={marker:"ICU"};var Zl=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Zl||{});let q_=u6;function bv(t){"string"==typeof t&&(q_=t.toLowerCase().replace(/_/g,"-"))}let kh=0,x4=0;let T0=(t,n,a,o)=>((0,h.m7n)(!0),function e8(t,n,a){const o=t[h.GpT];switch(a){case Node.COMMENT_NODE:return c2(o,n);case Node.TEXT_NODE:return ud(o,n);case Node.ELEMENT_NODE:return hd(o,n,null)}}(t,a,o));function t8(t,n,a,o){const p=a[h.GpT];let k,M=null;for(let z=0;z>>1,a),null,null,fn,qn,null)}else switch(Y){case gf:const ze=n[++z],it=n[++z];null===a[it]&&wa(a[it]=T0(a,0,ze,Node.COMMENT_NODE),a);break;case pf:const zt=n[++z],hn=n[++z];null===a[hn]&&wa(a[hn]=T0(a,0,zt,Node.ELEMENT_NODE),a)}}}function h6(t,n,a,o,p){for(let M=0;M>>2;switch(3&it){case 1:const hn=a[++ze],fn=a[++ze],qn=t.data[zt];if("string"==typeof qn)wd(n[h.GpT],n[zt],null,qn,hn,Y,fn);else{const Xi=(0,h._px)();(0,h.ypq)(zt);try{P2(qn,n,hn,Y,n[h.GpT],fn)}finally{(0,h.ypq)(Xi)}}break;case 0:const Si=n[zt];null!==Si&&P0(n[h.GpT],Si,Y);break;case 2:Tv(t,zd(t,zt),n,Y);break;case 3:n8(t,zd(t,zt),o,n)}}}}else{const Y=a[M+1];if(Y>0&&!(3&~Y)){const it=zd(t,Y>>>2);n[it.currentCaseLViewIndex]<0&&n8(t,it,o,n)}}M+=z}}function n8(t,n,a,o){let p=o[n.currentCaseLViewIndex];if(null!==p){let M=kh;p<0&&(p=o[n.currentCaseLViewIndex]=~p,M=-1),h6(t,o,n.update[p],a,M)}}function Tv(t,n,a,o){const p=function Dv(t,n){let a=t.cases.indexOf(n);if(-1===a)switch(t.type){case 1:{const o=function vv(t,n){const a=d6(n)(parseInt(t,10)),o=J_[a];return void 0!==o?o:"other"}(n,function Cv(){return q_}());a=t.cases.indexOf(o),-1===a&&"other"!==o&&(a=t.cases.indexOf("other"));break}case 0:a=t.cases.indexOf("other")}return-1===a?null:a}(n,o);if(Z2(n,a)!==p&&(m6(t,n,a),a[n.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const k=a[n.anchorIdx];k&&t8(t,n.create[p],a,k)}}function m6(t,n,a){let o=Z2(n,a);if(null!==o){const p=n.remove[o];for(let M=0;M0){const z=(0,h.vaC)(k,a);null!==z&&C1(a[h.GpT],z)}else m6(t,zd(t,~k),a)}}}const _f=/\ufffd(\d+):?\d*\ufffd/gi,Av=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,a8=/\ufffd(\d+)\ufffd/,f6=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,p6=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Lv=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Iv=/\uE500/g;function r8(t,n,a,o,p,M,k){const z=T1(t,o,1,null);let Y=z<a.length&&a.push(Y)}return{type:o,mainBinding:p,cases:n,values:a}}function v6(t){if(!t)return[];let n=0;const a=[],o=[],p=/[{}]/g;let M;for(p.lastIndex=0;M=p.exec(t);){const z=M.index;if("}"==M[0]){if(a.pop(),0==a.length){const Y=t.substring(n,z);f6.test(Y)?o.push(Nv(Y)):o.push(Y),n=z+1}}else{if(0==a.length){const Y=t.substring(n,z);o.push(Y),n=z+1}a.push("{")}}const k=t.substring(n);return o.push(k),o}function Bv(t,n,a,o,p,M,k,z,Y){const ze=[],it=[],zt=[];a.cases.push(k),a.create.push(ze),a.remove.push(it),a.update.push(zt);const fn=ji(ds()).getInertBodyElement(z),qn=l2(fn)||fn;return qn?l8(t,n,a,o,p,ze,it,zt,qn,M,Y,0):0}function l8(t,n,a,o,p,M,k,z,Y,ze,it,zt){let hn=0,fn=Y.firstChild;for(;fn;){const qn=T1(n,o,1,null);switch(fn.nodeType){case Node.ELEMENT_NODE:const Si=fn,Xi=Si.tagName.toLowerCase();if(vc.hasOwnProperty(Xi)){y6(M,pf,Xi,ze,qn),n.data[qn]=Xi;const Jo=Si.attributes;for(let rd=0;rd>>Zl.SHIFT;let zt=t[it],hn=!1;null===zt&&(zt=t[it]=T0(t,0,n[M],(k&Zl.COMMENT)===Zl.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),hn=(0,h.SX7)()),ze&&null!==a&&hn&&Cc(p,a,zt,o,!1)}})(p,Y.create,it,z&&8&z.type?p[z.index]:null),(0,h.xyx)(!0)}function _8(){(0,h.xyx)(!1)}function yf(t,n,a){const o=(0,h.OAn)(),p=(0,h.klJ)(),M=(0,h.Mx4)();return x6(p,o,o[h.GpT],M,t,n,a),yf}function bf(t,n,a){const o=(0,h.OAn)(),p=(0,h.klJ)(),M=(0,h.Mx4)();return(3&M.type||a)&&Zf(M,p,o,a,o[h.GpT],t,n,l0(M,o,n)),bf}function x6(t,n,a,o,p,M,k){let z=!0,Y=null;if((3&o.type||k)&&(Y??=l0(o,n,M),Zf(o,t,n,k,a,p,M,Y)&&(z=!1)),z){const ze=o.outputs?.[p],it=o.hostDirectiveOutputs?.[p];if(it&&it.length)for(let zt=0;zt>17&32767}function S6(t){return 2|t}function Jd(t){return(131068&t)>>2}function T6(t,n){return-131069&t|n<<2}function D6(t){return 1|t}function L8(t,n,a,o){const p=t[a+1],M=null===n;let k=o?Zd(p):Jd(p),z=!1;for(;0!==k&&(!1===z||M);){const ze=t[k+1];e9(t[k],n)&&(z=!0,t[k+1]=o?D6(ze):S6(ze)),k=o?Zd(ze):Jd(ze)}z&&(t[a+1]=o?S6(p):D6(p))}function e9(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&(0,h.FRF)(t,n)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function I8(t){return t.substring(Bo.key,Bo.keyEnd)}function k8(t){return t.substring(Bo.value,Bo.valueEnd)}function A6(t,n){const a=Bo.textEnd;return a===n?-1:(n=Bo.keyEnd=function L6(t,n,a){for(;n32;)n++;return n}(t,Bo.key=n,a),E4(t,n,a))}function O8(t,n){const a=Bo.textEnd;let o=Bo.key=E4(t,n,a);return a===o?-1:(o=Bo.keyEnd=function i9(t,n,a){let o;for(;n=65&&(-33&o)<=90||o>=48&&o<=57);)n++;return n}(t,o,a),o=P8(t,o,a),o=Bo.value=E4(t,o,a),o=Bo.valueEnd=function a9(t,n,a){let o=-1,p=-1,M=-1,k=n,z=k;for(;k32&&(z=k),M=p,p=o,o=-33&Y}return z}(t,o,a),P8(t,o,a))}function R8(t){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=t.length}function E4(t,n,a){for(;n=0;a=O8(n,a))O6(t,I8(n),k8(n))}function B8(t){U8(d9,z8,t,!0)}function z8(t,n){for(let a=function t9(t){return R8(t),A6(t,E4(t,0,Bo.textEnd))}(n);a>=0;a=A6(n,a))(0,h.ezK)(t,I8(n),!0)}function V8(t,n,a,o){const p=(0,h.OAn)(),M=(0,h.klJ)(),k=(0,h.b$O)(2);M.firstUpdatePass&&j8(M,t,k,o),n!==qa&&cr(p,k,n)&&W8(M,M.data[(0,h._px)()],p,p[h.GpT],t,p[k+1]=function h9(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=(0,h.AsM)(st(t)))),t}(n,a),o,k)}function U8(t,n,a,o){const p=(0,h.klJ)(),M=(0,h.b$O)(2);p.firstUpdatePass&&j8(p,null,M,o);const k=(0,h.OAn)();if(a!==qa&&cr(k,M,a)){const z=p.data[(0,h._px)()];if(K8(z,o)&&!G8(p,M)){let Y=o?z.classesWithoutHost:z.stylesWithoutHost;null!==Y&&(a=(0,h.n$e)(Y,a||"")),n6(p,z,k,a,o)}else!function u9(t,n,a,o,p,M,k,z){p===qa&&(p=h.Mlv);let Y=0,ze=0,it=0=t.expandoStartIndex}function j8(t,n,a,o){const p=t.data;if(null===p[a+1]){const M=p[(0,h._px)()],k=G8(t,a);K8(M,o)&&null===n&&!k&&(n=!1),n=function H8(t,n,a,o){const p=(0,h.MT)(t);let M=o?n.residualClasses:n.residualStyles;if(null===p)0===(o?n.classBindings:n.styleBindings)&&(a=M4(a=k6(null,t,n,a,o),n.attrs,o),M=null);else{const k=n.directiveStylingLast;if(-1===k||t[k]!==p)if(a=k6(p,t,n,a,o),null===M){let Y=function r9(t,n,a){const o=a?n.classBindings:n.styleBindings;if(0!==Jd(o))return t[Zd(o)]}(t,n,o);void 0!==Y&&Array.isArray(Y)&&(Y=k6(null,t,n,Y[1],o),Y=M4(Y,n.attrs,o),function o9(t,n,a,o){t[Zd(a?n.classBindings:n.styleBindings)]=o}(t,n,o,Y))}else M=function l9(t,n,a){let o;const p=n.directiveEnd;for(let M=1+n.directiveStylingLast;M0)&&(ze=!0)):it=a,p)if(0!==Y){const hn=Zd(t[z+1]);t[o+1]=xf(hn,z),0!==hn&&(t[hn+1]=T6(t[hn+1],o)),t[z+1]=function Zv(t,n){return 131071&t|n<<17}(t[z+1],o)}else t[o+1]=xf(z,0),0!==z&&(t[z+1]=T6(t[z+1],o)),z=o;else t[o+1]=xf(Y,0),0===z?z=o:t[Y+1]=T6(t[Y+1],o),Y=o;ze&&(t[o+1]=S6(t[o+1])),L8(t,it,o,!0),L8(t,it,o,!1),function w6(t,n,a,o,p){const M=p?t.residualClasses:t.residualStyles;null!=M&&"string"==typeof n&&(0,h.FRF)(M,n)>=0&&(a[o+1]=D6(a[o+1]))}(n,it,t,o,M),k=xf(z,Y),M?n.classBindings=k:n.styleBindings=k}(p,M,n,a,k,o)}}function k6(t,n,a,o,p){let M=null;const k=a.directiveEnd;let z=a.directiveStylingLast;for(-1===z?z=a.directiveStart:z++;z0;){const Y=t[p],ze=Array.isArray(Y),it=ze?Y[1]:Y,zt=null===it;let hn=a[p+1];hn===qa&&(hn=zt?h.Mlv:void 0);let fn=zt?(0,h.K7h)(hn,o):it===o?hn:void 0;if(ze&&!Fh(fn)&&(fn=(0,h.K7h)(Y,o)),Fh(fn)&&(z=fn,k))return z;const qn=t[p+1];p=k?Zd(qn):Jd(qn)}if(null!==n){let Y=M?n.residualClasses:n.residualStyles;null!=Y&&(z=(0,h.K7h)(Y,o))}return z}function Fh(t){return void 0!==t}function K8(t,n){return!!(t.flags&(n?8:16))}function Nh(t,n=""){const a=(0,h.OAn)(),o=(0,h.klJ)(),p=t+h.Yw1,M=o.firstCreatePass?Tc(o,p,1,n,null):o.data[p],k=Y8(o,a,M,n,t);a[p]=k,(0,h.SX7)()&&yu(o,a,k,M),(0,h.iMd)(M,!1)}let Y8=(t,n,a,o,p)=>((0,h.m7n)(!0),ud(n[h.GpT],o));function R6(t,n){let a=!1,o=(0,h.c$7)();for(let M=1;M>20;if((0,h.Y3W)(t)||!t.multi){const fn=new an(ze,p,m1,null),qn=j6(Y,n,p?it:it+hn,zt);-1===qn?(Kn(en(z,k),M,Y),G6(M,t,n.length),n.push(Y),z.directiveStart++,z.directiveEnd++,p&&(z.providerIndexes+=1048576),a.push(fn),k.push(fn)):(a[qn]=fn,k[qn]=fn)}else{const fn=j6(Y,n,it+hn,zt),qn=j6(Y,n,it,it+hn),Xi=qn>=0&&a[qn];if(p&&!Xi||!p&&!(fn>=0&&a[fn])){Kn(en(z,k),M,Y);const na=function E9(t,n,a,o,p){const k=new an(t,a,m1,null);return k.multi=[],k.index=n,k.componentProviders=0,p5(k,p,o&&!a),k}(p?x9:H6,a.length,p,o,ze);!p&&Xi&&(a[qn].providerFactory=na),G6(M,t,n.length,0),n.push(Y),z.directiveStart++,z.directiveEnd++,p&&(z.providerIndexes+=1048576),a.push(na),k.push(na)}else G6(M,t,fn>-1?fn:qn,p5(a[p?qn:fn],ze,!p&&o));!p&&o&&Xi&&a[qn].componentProviders++}}}function G6(t,n,a,o){const p=(0,h.Y3W)(n),M=(0,h.MME)(n);if(p||M){const Y=(M?(0,h.nl4)(n.useClass):n).prototype.ngOnDestroy;if(Y){const ze=t.destroyHooks||(t.destroyHooks=[]);if(!p&&n.multi){const it=ze.indexOf(a);-1===it?ze.push(a,[o,Y]):ze[it+1].push(o,Y)}else ze.push(a,Y)}}}function p5(t,n,a){return a&&t.componentProviders++,t.multi.push(n)-1}function j6(t,n,a,o){for(let p=a;p{a.providersResolver=(o,p)=>function C9(t,n,a){const o=(0,h.klJ)();if(o.firstCreatePass){const p=(0,h.JlV)(t);U6(a,o.data,o.blueprint,p,!0),U6(n,o.data,o.blueprint,p,!1)}}(o,p?p(t):t,n)}}function Sf(t){if("function"==typeof t)return t;const n=(0,h.Bqz)(t);return n.some(h.Jzi)?()=>n.map(h.nl4).map(y5):n.map(y5)}function y5(t){return X1(t)?t.ngModule:t}function b5(t,n,a){const o=(0,h.gxQ)()+t,p=(0,h.OAn)();return p[o]===qa?Uc(p,o,a?n.call(a):n()):o0(p,o)}function Tf(t,n,a,o){return S5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o)}function C5(t,n,a,o,p){return T5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p)}function x5(t,n,a,o,p,M){return D5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p,M)}function zh(t,n){const a=t[n];return a===qa?void 0:a}function S5(t,n,a,o,p,M){const k=n+a;return cr(t,k,p)?Uc(t,k+1,M?o.call(M,p):o(p)):zh(t,k+1)}function T5(t,n,a,o,p,M,k){const z=n+a;return Q1(t,z,p,M)?Uc(t,z+2,k?o.call(k,p,M):o(p,M)):zh(t,z+2)}function D5(t,n,a,o,p,M,k,z){const Y=n+a;return J3(t,Y,p,M,k)?Uc(t,Y+3,z?o.call(z,p,M,k):o(p,M,k)):zh(t,Y+3)}function X6(t,n,a,o,p,M,k,z,Y){const ze=n+a;return uc(t,ze,p,M,k,z)?Uc(t,ze+4,Y?o.call(Y,p,M,k,z):o(p,M,k,z)):zh(t,ze+4)}function w5(t,n,a,o,p,M){let k=n+a,z=!1;for(let Y=0;Y=0;a--){const o=n[a];if(t===o.name)return o}}(n,a.pipeRegistry),a.data[p]=o,o.onDestroy&&(a.destroyHooks??=[]).push(p,o.onDestroy)):o=a.data[p];const M=o.factory||(o.factory=(0,h.wGu)(o.type,!0)),z=(0,h.a2B)(m1);try{const Y=Wn(!1),ze=M();return Wn(Y),(0,h.M_e)(a,(0,h.OAn)(),p,ze),ze}finally{(0,h.a2B)(z)}}function I5(t,n,a){const o=t+h.Yw1,p=(0,h.OAn)(),M=(0,h.Hh6)(p,o);return Vh(p,o)?S5(p,(0,h.gxQ)(),n,M.transform,a,M):M.transform(a)}function K6(t,n,a,o){const p=t+h.Yw1,M=(0,h.OAn)(),k=(0,h.Hh6)(M,p);return Vh(M,p)?T5(M,(0,h.gxQ)(),n,k.transform,a,o,k):k.transform(a,o)}function k5(t,n,a,o,p){const M=t+h.Yw1,k=(0,h.OAn)(),z=(0,h.Hh6)(k,M);return Vh(k,M)?D5(k,(0,h.gxQ)(),n,z.transform,a,o,p,z):z.transform(a,o,p)}function Vh(t,n){return t[h.eDl].data[n].pure}function Y6(t,n){return Od(t,n)}function Df(t,n,a,o,p){const M=p[h.eDl];if(M!==o.tView)for(let k=h.Yw1;k{if(o.encapsulation===Bi.ShadowDom){const qn=k.cloneNode(!1);k.replaceWith(qn),k=qn}const zt=q0(a),hn=M1(z,zt,M,S1(a),k,Y,null,null,null,null,null);(function P5(t,n,a,o){for(let p=h.Yw1;pR5(t,n,it))}(t,n,a,o,p)}function R5(t,n,a){try{a()}catch(o){if(null!==n&&o.message){const M=o.message+(o.stack?"\n"+o.stack:"");t?.hot?.send?.("angular:invalidate",{id:n,message:M,error:!0})}throw o}}const qd={\u0275\u0275animateEnter:function af(t){if(Yr("NgAnimateEnter"),!$d)return af;const n=(0,h.OAn)();if(ef(n))return af;const a=(0,h.Mx4)();return Th(a,n),tf(v4(n),a,()=>function ev(t,n,a){const o=(0,h.d31)(n,t),p=t[h.GpT],M=t[h.YEL].get(ms),k=P_(a),z=[],Y=it=>{if(it.target!==o)return;const zt=it instanceof AnimationEvent?"animationend":"transitionend";M.runOutsideAngular(()=>{p.listen(o,zt,ze)})},ze=it=>{it.target===o&&function tv(t,n,a){const o=g4.get(n);if(t.target===n&&o&&F_(t,n)){t.stopImmediatePropagation();for(const p of o.classList)a.removeClass(n,p);Qp(n)}}(it,o,p)};if(k&&k.length>0){M.runOutsideAngular(()=>{z.push(p.listen(o,"animationstart",Y)),z.push(p.listen(o,"transitionstart",Y))}),function Z7(t,n,a){const o=g4.get(t);if(o){for(const p of n)o.classList.push(p);for(const p of a)o.cleanupFns.push(p)}else g4.set(t,{classList:n,cleanupFns:a})}(o,k,z);for(const it of k)p.addClass(o,it);M.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(iu(o,E0,$d),!E0.has(o)){for(const it of k)p.removeClass(o,it);Qp(o)}})})}}(n,a,t)),D2(n[h.YEL]),P1(n[h.YEL],v4(n)),af},\u0275\u0275animateEnterListener:function wh(t){if(Yr("NgAnimateEnter"),!$d)return wh;const n=(0,h.OAn)();if(ef(n))return wh;const a=(0,h.Mx4)();return Th(a,n),tf(v4(n),a,()=>function nv(t,n,a){const o=(0,h.d31)(n,t);a.call(t[h.SKP],{target:o,animationComplete:O_})}(n,a,t)),D2(n[h.YEL]),P1(n[h.YEL],v4(n)),wh},\u0275\u0275animateLeave:function Ah(t){if(Yr("NgAnimateLeave"),!$d)return Ah;const n=(0,h.OAn)();if(ef(n))return Ah;const o=(0,h.Mx4)();return Th(o,n),tf(M0(n),o,()=>function iv(t,n,a){const{promise:o,resolve:p}=Vp(),M=(0,h.d31)(n,t),k=t[h.GpT],z=t[h.YEL].get(ms);bl.add(t),(M0(t).get(n.index).resolvers??=[]).push(p);const Y=P_(a);return Y&&Y.length>0?function Lh(t,n,a,o,p,M){!function J7(t,n){if(!$d)return;const a=g4.get(t);if(a&&a.classList.length>0&&function q7(t,n){for(const a of n)if(t.classList.contains(a))return!0;return!1}(t,a.classList))for(const o of a.classList)n.removeClass(t,o);Qp(t)}(t,p);const k=[],z=M0(a).get(n.index)?.resolvers,Y=ze=>{if(ze.target===t&&(ze instanceof CustomEvent||F_(ze,t))){if(ze.stopImmediatePropagation(),E0.delete(t),$p(n,t),Array.isArray(n.projection))for(const it of o)p.removeClass(t,it);nf(z,k),Zp(a,n)}};M.runOutsideAngular(()=>{k.push(p.listen(t,"animationend",Y)),k.push(p.listen(t,"transitionend",Y))}),R_(n,t);for(const ze of o)p.addClass(t,ze);M.runOutsideAngular(()=>{requestAnimationFrame(()=>{iu(t,E0,$d),E0.has(t)||($p(n,t),nf(z,k),Zp(a,n))})})}(M,n,t,Y,k,z):p(),{promise:o,resolve:p}}(n,o,t)),D2(n[h.YEL]),Ah},\u0275\u0275animateLeaveListener:function Jp(t){if(Yr("NgAnimateLeave"),!$d)return Jp;const n=(0,h.OAn)(),a=(0,h.Mx4)();return Th(a,n),bl.add(n),tf(M0(n),a,()=>function av(t,n,a){const{promise:o,resolve:p}=Vp(),M=(0,h.d31)(n,t),k=[],z=t[h.GpT],Y=ef(t),ze=t[h.YEL].get(ms),it=t[h.YEL].get(Q7);(M0(t).get(n.index).resolvers??=[]).push(p);const zt=M0(t).get(n.index)?.resolvers;if(Y)Dh(t,n,M,zt,k);else{const hn=setTimeout(()=>Dh(t,n,M,zt,k),it),fn={target:M,animationComplete:()=>{Dh(t,n,M,zt,k),clearTimeout(hn)}};R_(n,M),ze.runOutsideAngular(()=>{k.push(z.listen(M,"animationend",()=>{Dh(t,n,M,zt,k),clearTimeout(hn)},{once:!0}))}),a.call(t[h.SKP],fn)}return{promise:o,resolve:p}}(n,a,t)),D2(n[h.YEL]),Jp},\u0275\u0275attribute:Yp,\u0275\u0275defineComponent:pp,\u0275\u0275defineDirective:Bm,\u0275\u0275defineInjectable:h.jDH,\u0275\u0275defineInjector:h.G2t,\u0275\u0275defineNgModule:_p,\u0275\u0275definePipe:zm,\u0275\u0275directiveInject:m1,\u0275\u0275getInheritedFactory:Ze,\u0275\u0275inject:h.KVO,\u0275\u0275injectAttribute:_a,\u0275\u0275invalidFactory:ho,\u0275\u0275invalidFactoryDep:h.dmw,\u0275\u0275templateRefExtractor:Y6,\u0275\u0275resetView:h.Njj,\u0275\u0275HostDirectivesFeature:Cp,\u0275\u0275NgOnChangesFeature:tn,\u0275\u0275ProvidersFeature:g5,\u0275\u0275CopyDefinitionFeature:function u4(t){let a,n=yp(t.type);a=(0,h.JlV)(t)?n.\u0275cmp:n.\u0275dir;const o=t;for(const p of Um)o[p]=a[p];if((0,h.JlV)(a))for(const p of g0)o[p]=a[p]},\u0275\u0275InheritDefinitionFeature:uh,\u0275\u0275ExternalStylesFeature:function _5(t){return n=>{t.length<1||(n.getExternalStyles=a=>t.map(p=>p+"?ngcomp"+(a?"="+encodeURIComponent(a):"")+"&e="+n.encapsulation))}},\u0275\u0275nextContext:C8,\u0275\u0275namespaceHTML:h.joV,\u0275\u0275namespaceMathML:h.By9,\u0275\u0275namespaceSVG:h.qSk,\u0275\u0275enableBindings:h.cSN,\u0275\u0275disableBindings:h.fuf,\u0275\u0275elementStart:Ih,\u0275\u0275elementEnd:cf,\u0275\u0275element:i6,\u0275\u0275elementContainerStart:uf,\u0275\u0275elementContainerEnd:b4,\u0275\u0275domElement:a6,\u0275\u0275domElementStart:df,\u0275\u0275domElementEnd:y4,\u0275\u0275domElementContainer:function Y_(t,n,a){return hf(t,n,a),K_(),Y_},\u0275\u0275domElementContainerStart:hf,\u0275\u0275domElementContainerEnd:K_,\u0275\u0275domTemplate:gh,\u0275\u0275domListener:bf,\u0275\u0275elementContainer:r6,\u0275\u0275pureFunction0:b5,\u0275\u0275pureFunction1:Tf,\u0275\u0275pureFunction2:C5,\u0275\u0275pureFunction3:x5,\u0275\u0275pureFunction4:function S9(t,n,a,o,p,M,k){return X6((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o,p,M,k)},\u0275\u0275pureFunction5:function E5(t,n,a,o,p,M,k,z){const Y=(0,h.gxQ)()+t,ze=(0,h.OAn)(),it=uc(ze,Y,a,o,p,M);return cr(ze,Y+4,k)||it?Uc(ze,Y+5,z?n.call(z,a,o,p,M,k):n(a,o,p,M,k)):o0(ze,Y+5)},\u0275\u0275pureFunction6:function T9(t,n,a,o,p,M,k,z,Y){const ze=(0,h.gxQ)()+t,it=(0,h.OAn)(),zt=uc(it,ze,a,o,p,M);return Q1(it,ze+4,k,z)||zt?Uc(it,ze+6,Y?n.call(Y,a,o,p,M,k,z):n(a,o,p,M,k,z)):o0(it,ze+6)},\u0275\u0275pureFunction7:function M5(t,n,a,o,p,M,k,z,Y,ze){const it=(0,h.gxQ)()+t,zt=(0,h.OAn)();let hn=uc(zt,it,a,o,p,M);return J3(zt,it+4,k,z,Y)||hn?Uc(zt,it+7,ze?n.call(ze,a,o,p,M,k,z,Y):n(a,o,p,M,k,z,Y)):o0(zt,it+7)},\u0275\u0275pureFunction8:function D9(t,n,a,o,p,M,k,z,Y,ze,it){const zt=(0,h.gxQ)()+t,hn=(0,h.OAn)(),fn=uc(hn,zt,a,o,p,M);return uc(hn,zt+4,k,z,Y,ze)||fn?Uc(hn,zt+8,it?n.call(it,a,o,p,M,k,z,Y,ze):n(a,o,p,M,k,z,Y,ze)):o0(hn,zt+8)},\u0275\u0275pureFunctionV:function w9(t,n,a,o){return w5((0,h.OAn)(),(0,h.gxQ)(),t,n,a,o)},\u0275\u0275getCurrentView:Q_,\u0275\u0275restoreView:h.eBV,\u0275\u0275listener:yf,\u0275\u0275projection:E6,\u0275\u0275syntheticHostProperty:function $_(t,n,a){const o=(0,h.OAn)();if(cr(o,(0,h.xbp)(),n)){const M=(0,h.klJ)(),k=(0,h.CpD)();F2(k,o,t,n,Tu((0,h.MT)(M.data),k,o),a)}return $_},\u0275\u0275syntheticHostListener:function b8(t,n){const a=(0,h.Mx4)(),o=(0,h.OAn)(),p=(0,h.klJ)();return x6(p,o,Tu((0,h.MT)(p.data),a,o),a,t,n),b8},\u0275\u0275pipeBind1:I5,\u0275\u0275pipeBind2:K6,\u0275\u0275pipeBind3:k5,\u0275\u0275pipeBind4:function L9(t,n,a,o,p,M){const k=t+h.Yw1,z=(0,h.OAn)(),Y=(0,h.Hh6)(z,k);return Vh(z,k)?X6(z,(0,h.gxQ)(),n,Y.transform,a,o,p,M,Y):Y.transform(a,o,p,M)},\u0275\u0275pipeBindV:function O5(t,n,a){const o=t+h.Yw1,p=(0,h.OAn)(),M=(0,h.Hh6)(p,o);return Vh(p,o)?w5(p,(0,h.gxQ)(),n,M.transform,a,M):M.transform.apply(M,a)},\u0275\u0275projectionDef:E8,\u0275\u0275domProperty:mf,\u0275\u0275ariaProperty:Kp,\u0275\u0275property:lf,\u0275\u0275pipe:A5,\u0275\u0275queryRefresh:S8,\u0275\u0275queryAdvance:w8,\u0275\u0275viewQuery:M8,\u0275\u0275viewQuerySignal:Cf,\u0275\u0275loadQuery:T8,\u0275\u0275contentQuery:M6,\u0275\u0275contentQuerySignal:D8,\u0275\u0275reference:A8,\u0275\u0275classMap:B8,\u0275\u0275styleMap:function N8(t){U8(O6,s9,t,!1)},\u0275\u0275styleProp:I6,\u0275\u0275classProp:Ph,\u0275\u0275advance:t1,\u0275\u0275template:ph,\u0275\u0275conditional:V_,\u0275\u0275conditionalCreate:z_,\u0275\u0275conditionalBranchCreate:rf,\u0275\u0275defer:function E_(t,n,a,o,p,M,k,z,Y,ze){const it=(0,h.OAn)(),zt=(0,h.klJ)(),hn=t+h.Yw1,fn=Kd(it,zt,t,null,0,0),qn=it[h.YEL],Si=oa(qn);if(zt.firstCreatePass){Yr("NgDefer");const rd={primaryTmplIndex:n,loadingTmplIndex:o??null,placeholderTmplIndex:p??null,errorTmplIndex:M??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:a??null,loadingState:Ur.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:ze??0};Y?.(zt,rd,z,k),function Lp(t,n,a){const o=y0(n);t.data[o]=a}(zt,hn,rd)}const Xi=it[hn];let na=null,Di=null;if(Xi[h.qFA]?.length>0){const rd=Xi[h.qFA][0].data;Di=rd.di??null,na=rd.s}const gs=[null,_0.Initial,null,null,null,null,Di,na,null,null];!function Kg(t,n,a){t[y0(n)]=a}(it,hn,gs);let Jo=null;null!==Di&&Si&&(Jo=qn.get(wo),Jo.add(Di,{lView:it,tNode:fn,lContainer:Xi}));const xr=()=>{Xm(gs),null!==Di&&Jo?.cleanup([Di])};f4(0,gs,()=>(0,h.DyX)(it,xr)),(0,h.ik5)(it,xr)},\u0275\u0275deferWhen:function M_(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if($r(0,n,a)&&cr(n,(0,h.xbp)(),t)){const p=(0,jt.Ht)(null);try{const M=!!t,z=Bl(n,a)[1];!1===M&&z===_0.Initial?Xn(n,a):!0===M&&(z===_0.Initial||z===Is.Placeholder)&&sd(0,n,a)}finally{(0,jt.Ht)(p)}}},\u0275\u0275deferOnIdle:function N7(){$r(0,(0,h.OAn)(),(0,h.Mx4)())&&Jm(p4)},\u0275\u0275deferOnImmediate:function S_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(0,t,n)&&(null===yo(t[h.eDl],n).loadingTmplIndex&&Xn(t,n),sd(0,t,n))},\u0275\u0275deferOnTimer:function U7(t){$r(0,(0,h.OAn)(),(0,h.Mx4)())&&Jm(c(t))},\u0275\u0275deferOnHover:function w_(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,Gi,()=>sd(0,a,o),0))},\u0275\u0275deferOnInteraction:function Sh(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,ai,()=>sd(0,a,o),0))},\u0275\u0275deferOnViewport:function K7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();$r(0,a,o)&&(Xn(a,o),td(a,o,t,n,bh,()=>sd(0,a,o),0))},\u0275\u0275deferPrefetchWhen:function R7(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if($r(1,n,a)&&cr(n,(0,h.xbp)(),t)){const p=(0,jt.Ht)(null);try{const M=!!t,z=yo(n[h.eDl],a);!0===M&&z.loadingState===Ur.NOT_STARTED&&Mh(z,n,a)}finally{(0,jt.Ht)(p)}}},\u0275\u0275deferPrefetchOnIdle:function B7(){$r(1,(0,h.OAn)(),(0,h.Mx4)())&&Up(p4)},\u0275\u0275deferPrefetchOnImmediate:function T_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();if(!$r(1,t,n))return;const o=yo(t[h.eDl],n);o.loadingState===Ur.NOT_STARTED&&Gp(o,t,n)},\u0275\u0275deferPrefetchOnTimer:function D_(t){$r(1,(0,h.OAn)(),(0,h.Mx4)())&&Up(c(t))},\u0275\u0275deferPrefetchOnHover:function j7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,Gi,()=>Mh(M,a,o),1)},\u0275\u0275deferPrefetchOnInteraction:function W7(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,ai,()=>Mh(M,a,o),1)},\u0275\u0275deferPrefetchOnViewport:function A_(t,n){const a=(0,h.OAn)(),o=(0,h.Mx4)();if(!$r(1,a,o))return;const M=yo(a[h.eDl],o);M.loadingState===Ur.NOT_STARTED&&td(a,o,t,n,bh,()=>Mh(M,a,o),1)},\u0275\u0275deferHydrateWhen:function P7(t){const n=(0,h.OAn)(),a=(0,h.CpD)();if(!$r(2,n,a))return;const o=(0,h.xbp)();if(Qd((0,h.klJ)(),a).set(6,null),cr(n,o,t)){const k=n[h.YEL],z=(0,jt.Ht)(null);try{1==!!t&&x0(k,Bl(n,a)[6])}finally{(0,jt.Ht)(z)}}},\u0275\u0275deferHydrateNever:function F7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(7,null)},\u0275\u0275deferHydrateOnIdle:function z7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&(Qd((0,h.klJ)(),n).set(0,null),g_(p4,t,n))},\u0275\u0275deferHydrateOnImmediate:function V7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&(Qd((0,h.klJ)(),n).set(1,null),x0(t[h.YEL],Bl(t,n)[6]))},\u0275\u0275deferHydrateOnTimer:function G7(t){const n=(0,h.OAn)(),a=(0,h.Mx4)();$r(2,n,a)&&(Qd((0,h.klJ)(),a).set(5,{delay:t}),g_(c(t),n,a))},\u0275\u0275deferHydrateOnHover:function H7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function X7(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(3,null)},\u0275\u0275deferHydrateOnViewport:function L_(){const t=(0,h.OAn)(),n=(0,h.Mx4)();$r(2,t,n)&&Qd((0,h.klJ)(),n).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function ea(t,n,a,o){const p=t.consts;null!=a&&(n.placeholderBlockConfig=(0,h.db4)(p,a)),null!=o&&(n.loadingBlockConfig=(0,h.db4)(p,o)),null===pa&&(pa=_i)},\u0275\u0275repeater:W_,\u0275\u0275repeaterCreate:j_,\u0275\u0275repeaterTrackByIndex:function lv(t){return t},\u0275\u0275repeaterTrackByIdentity:G_,\u0275\u0275componentInstance:function sv(){return(0,h.OAn)()[h.b5C][h.SKP]},\u0275\u0275text:Nh,\u0275\u0275textInterpolate:F6,\u0275\u0275textInterpolate1:Bh,\u0275\u0275textInterpolate2:N6,\u0275\u0275textInterpolate3:B6,\u0275\u0275textInterpolate4:Ef,\u0275\u0275textInterpolate5:function n5(t,n,a,o,p,M,k,z,Y,ze,it){const zt=(0,h.OAn)(),hn=J8(zt,t,n,a,o,p,M,k,z,Y,ze,it);return hn!==qa&&g1(zt,(0,h._px)(),hn),n5},\u0275\u0275textInterpolate6:function i5(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn){const fn=(0,h.OAn)(),qn=q8(fn,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn);return qn!==qa&&g1(fn,(0,h._px)(),qn),i5},\u0275\u0275textInterpolate7:function a5(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn){const Si=(0,h.OAn)(),Xi=e5(Si,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn);return Xi!==qa&&g1(Si,(0,h._px)(),Xi),a5},\u0275\u0275textInterpolate8:function z6(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi){const na=(0,h.OAn)(),Di=t5(na,t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi);return Di!==qa&&g1(na,(0,h._px)(),Di),z6},\u0275\u0275textInterpolateV:function s5(t){const n=(0,h.OAn)(),a=R6(n,t);return a!==qa&&g1(n,(0,h._px)(),a),s5},\u0275\u0275i18n:function C6(t,n,a){g8(t,n,a),_8()},\u0275\u0275i18nAttributes:function Kv(t,n){const a=(0,h.klJ)(),o=(0,h.db4)(a.consts,n);!function Rv(t,n,a){const o=(0,h.Mx4)(),p=o.index,M=[];if(t.firstCreatePass&&null===t.data[n]){for(let k=0;k0){const o=t.data[a];h6(t,n,Array.isArray(o)?o:o.update,(0,h.c$7)()-x4-1,kh)}kh=0,x4=0}((0,h.klJ)(),(0,h.OAn)(),t+h.Yw1)},\u0275\u0275i18nPostprocess:function Yv(t,n={}){return function p8(t,n={}){let a=t;if(m8.test(t)){const o={},p=[0];a=a.replace(Gv,(M,k,z)=>{const Y=k||z,ze=o[Y]||[];if(ze.length||(Y.split("|").forEach(Si=>{const Xi=Si.match(Xv),na=Xi?parseInt(Xi[1],10):0,Di=Wv.test(Si);ze.push([na,Di,Si])}),o[Y]=ze),!ze.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Y}`);const it=p[p.length-1];let zt=0;for(let Si=0;Sin.hasOwnProperty(M)?`${p}${n[M]}${Y}`:o),a=a.replace(f8,(o,p)=>n.hasOwnProperty(p)?n[p]:o),a=a.replace(Hv,(o,p)=>{if(n.hasOwnProperty(p)){const M=n[p];if(!M.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${p}`);return M.shift()}return o})),a}(t,n)},\u0275\u0275resolveWindow:K0,\u0275\u0275resolveDocument:function N4(t){return t.ownerDocument},\u0275\u0275resolveBody:function _d(t){return t.ownerDocument.body},\u0275\u0275setComponentScope:function M9(t,n,a){const o=t.\u0275cmp;o.directiveDefs=d4(n,gp),o.pipeDefs=d4(a,h.oyA)},\u0275\u0275setNgModuleScope:function v5(t,n){return Pt(()=>{const a=(0,h.WbQ)(t);a.declarations=Sf(n.declarations||h.Mlv),a.imports=Sf(n.imports||h.Mlv),a.exports=Sf(n.exports||h.Mlv),n.bootstrap&&(a.bootstrap=Sf(n.bootstrap)),vo.registerNgModule(t,n)})},\u0275\u0275registerNgModuleType:dh,\u0275\u0275getComponentDepsFactory:function I9(t,n){return()=>{try{return vo.getComponentDependencies(t,n).dependencies}catch(a){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,a),a}}},\u0275setClassDebugInfo:function k9(t,n){const a=(0,h.xUg)(t);null!==a&&(a.debugInfo=n)},\u0275\u0275declareLet:function l5(t){const n=(0,h.klJ)(),a=(0,h.OAn)(),o=t+h.Yw1,p=Tc(n,o,128,null,null);return(0,h.iMd)(p,!1),(0,h.M_e)(n,a,o,o5),l5},\u0275\u0275storeLet:function c5(t){Yr("NgLet");const n=(0,h.klJ)(),a=(0,h.OAn)(),o=(0,h._px)();return(0,h.M_e)(n,a,o,t),t},\u0275\u0275readContextLet:function f9(t){const n=(0,h.VPL)(),a=(0,h.Hh6)(n,h.Yw1+t);if(a===o5)throw new h.buA(314,!1);return a},\u0275\u0275attachSourceLocations:function p9(t,n){const a=(0,h.klJ)(),o=(0,h.OAn)(),p=o[h.GpT],M="data-ng-source-location";for(const[k,z,Y,ze]of n){(0,h.XRZ)(a,k+h.Yw1);const zt=(0,h.vaC)(k+h.Yw1,o);zt.hasAttribute(M)||p.setAttribute(zt,M,`${t}@o:${z},l:${Y},c:${ze}`)}},\u0275\u0275interpolate:d5,\u0275\u0275interpolate1:u5,\u0275\u0275interpolate2:h5,\u0275\u0275interpolate3:function m5(t,n,a,o,p,M,k=""){return Z8((0,h.OAn)(),t,n,a,o,p,M,k)},\u0275\u0275interpolate4:function g9(t,n,a,o,p,M,k,z,Y=""){return P6((0,h.OAn)(),t,n,a,o,p,M,k,z,Y)},\u0275\u0275interpolate5:function _9(t,n,a,o,p,M,k,z,Y,ze,it=""){return J8((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it)},\u0275\u0275interpolate6:function v9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn=""){return q8((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn)},\u0275\u0275interpolate7:function y9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn=""){return e5((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn)},\u0275\u0275interpolate8:function b9(t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi=""){return t5((0,h.OAn)(),t,n,a,o,p,M,k,z,Y,ze,it,zt,hn,fn,qn,Si,Xi)},\u0275\u0275interpolateV:function f5(t){return R6((0,h.OAn)(),t)},\u0275\u0275sanitizeHtml:pd,\u0275\u0275sanitizeStyle:u2,\u0275\u0275sanitizeResourceUrl:h2,\u0275\u0275sanitizeScript:m2,\u0275\u0275validateAttribute:f2,\u0275\u0275sanitizeUrl:z0,\u0275\u0275sanitizeUrlOrResourceUrl:G0,\u0275\u0275trustConstantHtml:function L4(t){return Yl(t[0])},\u0275\u0275trustConstantResourceUrl:function V0(t){return function i2(t){return Yo()?.createScriptURL(t)||t}(t[0])},forwardRef:h.Rfq,resolveForwardRef:h.nl4,\u0275\u0275twoWayProperty:V6,\u0275\u0275twoWayBindingSet:r5,\u0275\u0275twoWayListener:Mf,\u0275\u0275replaceMetadata:function R9(t,n,a,o,p=null,M=null){const k=(0,h.xUg)(t);n.apply(null,[t,a,...o]);const{newDef:z,oldDef:Y}=function P9(t,n){const a={...t};return{newDef:Object.assign(t,n,{directiveDefs:a.directiveDefs,pipeDefs:a.pipeDefs,setInput:a.setInput,type:a.type}),oldDef:a}}(k,(0,h.xUg)(t));if(t[h.CQl]=z,Y.tView){const ze=function vr(){return is}().values();for(const it of ze)(0,h.EFk)(it)&&null===it[h.f7T]&&Df(p,M,z,Y,it)}},\u0275\u0275getReplaceMetadataURL:function O9(t,n,a){const o=`./@ng/component?c=${t}&t=${encodeURIComponent(n)}`;return new URL(o,a).href}};let e2=null;function z9(t){null!==e2&&(t.defaultEncapsulation!==e2.defaultEncapsulation||t.preserveWhitespaces!==e2.preserveWhitespaces)||(e2=t)}const Uh=[];function Lf(t){return X1(t)?t.ngModule:t}const iy=Ni("NgModule",t=>t,void 0,0,(t,n)=>function j9(t,n={}){(function H9(t,n){const o=(0,h.Bqz)(n.declarations||h.Mlv);let p=null;Object.defineProperty(t,h.hmW,{configurable:!0,get:()=>(null===p&&(p=N().compileNgModule(qd,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:(0,h.Bqz)(n.bootstrap||h.Mlv).map(h.nl4),declarations:o.map(h.nl4),imports:(0,h.Bqz)(n.imports||h.Mlv).map(h.nl4).map(Lf),exports:(0,h.Bqz)(n.exports||h.Mlv).map(h.nl4).map(Lf),schemas:n.schemas?(0,h.Bqz)(n.schemas):null,id:n.id||null}),p.schemas||(p.schemas=[])),p)});let M=null;Object.defineProperty(t,h.zSs,{get:()=>{if(null===M){const z=N();M=z.compileFactory(qd,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:Ga(t),target:z.FactoryTarget.NgModule,typeArgumentCount:0})}return M},configurable:!1});let k=null;Object.defineProperty(t,h.ONQ,{get:()=>{if(null===k){const z={name:t.name,type:t,providers:n.providers||h.Mlv,imports:[(n.imports||h.Mlv).map(h.nl4),(n.exports||h.Mlv).map(h.nl4)]};k=N().compileInjector(qd,`ng:///${t.name}/\u0275inj.js`,z)}return k},configurable:!1})})(t,n),void 0!==n.id&&dh(t,n.id),function G9(t,n){Uh.push({moduleType:t,ngModule:n})}(t,n)}(t,n));class $5{ngModuleFactory;componentFactories;constructor(n,a){this.ngModuleFactory=n,this.componentFactories=a}}let ay=(()=>{class t{compileModuleSync(a){return new mp(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const o=this.compileModuleSync(a),M=Ql((0,h.phH)(a).declarations).reduce((k,z)=>{const Y=(0,h.xUg)(z);return Y&&k.push(new c0(Y)),k},[]);return new $5(o,M)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const sy=new h.nKC("");let ry=(()=>{class t{zone=(0,h.WQX)(ms);changeDetectionScheduler=(0,h.WQX)(h.hk6);applicationRef=(0,h.WQX)(Zm);applicationErrorHandler=(0,h.WQX)(h.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(a){this.applicationErrorHandler(a)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const kf=new h.nKC("",{factory:()=>!1});function Z5({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:a}){return t??=()=>new ms({...tg(),scheduleInRootZone:a}),[{provide:ms,useFactory:t},{provide:h.Z63,multi:!0,useFactory:()=>{const o=(0,h.WQX)(ry,{optional:!0});return()=>o.initialize()}},{provide:h.Z63,multi:!0,useFactory:()=>{const o=(0,h.WQX)(ly);return()=>{o.initialize()}}},!0===n?{provide:h.Jy$,useValue:!0}:[],{provide:h.AQb,useValue:a??n1},{provide:h.ZTf,useFactory:()=>{const o=(0,h.WQX)(ms),p=(0,h.WQX)(h.uvJ);let M;return k=>{o.runOutsideAngular(()=>{p.destroyed&&!M?setTimeout(()=>{throw k}):(M??=p.get(h.zcH),M.handleError(k))})}}}]}function tg(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let ly=(()=>{class t{subscription=new wt.yU;initialized=!1;zone=(0,h.WQX)(ms);pendingTasks=(0,h.WQX)(h.rev);initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ms.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ms.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ag=(()=>{class t{applicationErrorHandler=(0,h.WQX)(h.ZTf);appRef=(0,h.WQX)(Zm);taskService=(0,h.WQX)(h.rev);ngZone=(0,h.WQX)(ms);zonelessEnabled=(0,h.WQX)(h.Evm);tracing=(0,h.WQX)(rc,{optional:!0});disableScheduling=(0,h.WQX)(h.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new wt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xd):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,h.WQX)(h.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sc||!this.zoneIsDefined)}notify(a){if(!this.zonelessEnabled&&5===a)return;let o=!1;switch(a){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,o=!0;break;case 12:this.appRef.dirtyFlags|=16,o=!0;break;case 11:o=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(o))return;const p=this.useMicrotaskScheduler?C2:k1;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){this.taskService.remove(a),this.applicationErrorHandler(o)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,C2(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}static \u0275fac=function(o){return new(o||t)};static \u0275prov=(0,h.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const q5=new h.nKC("",{providedIn:"root",factory:()=>(0,h.WQX)(q5,{optional:!0,skipSelf:!0})||function cy(){return typeof $localize<"u"&&$localize.locale||u6}()}),dy=new h.nKC("",{providedIn:"root",factory:()=>"USD"})},9295(Zt,pe,l){"use strict";l.d(pe,{Zf:()=>Ce,EW:()=>W,QZ:()=>re,O8:()=>j}),l(467);var d=l(2615),v=l(8440);const u={...v.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class Ce{destroyed=!1;listeners=null;errorHandler=(0,d.WQX)(d.zcH,{optional:!0});destroyRef=(0,d.WQX)(d.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe($){if(this.destroyed)throw new d.buA(953,!1);return(this.listeners??=[]).push($),{unsubscribe:()=>{const Ke=this.listeners?.indexOf($);void 0!==Ke&&-1!==Ke&&this.listeners?.splice(Ke,1)}}}emit($){if(this.destroyed)return void console.warn((0,d.OsK)(953,!1));if(null===this.listeners)return;const Ke=(0,v.Ht)(null);try{for(const Vt of this.listeners)try{Vt($)}catch(St){this.errorHandler?.handleError(St)}}finally{(0,v.Ht)(Ke)}}}function j(H){return function f(H){const $=(0,v.Ht)(null);try{return H()}finally{(0,v.Ht)($)}}(H)}function W(H,$){return(0,v.KZ)(H,$?.equal)}class G{[v.bh];constructor($){this[v.bh]=$}destroy(){this[v.bh].destroy()}}function re(H,$){const Ke=$?.injector??(0,d.WQX)(d.zZn);let St,Vt=!0!==$?.manualCleanup?Ke.get(d.abz):null;const ot=Ke.get(d.r4V,null,{optional:!0}),nt=Ke.get(d.hk6);return null!==ot?(St=function ce(H,$,Ke){const Vt=Object.create(V);return Vt.view=H,Vt.zone=typeof Zone<"u"?Zone.current:null,Vt.notifier=$,Vt.fn=ne(Vt,Ke),H[d.tQN]??=new Set,H[d.tQN].add(Vt),Vt.consumerMarkedDirty(Vt),Vt}(ot.view,nt,H),Vt instanceof d.KXn&&Vt._lView===ot.view&&(Vt=null)):St=function be(H,$,Ke){const Vt=Object.create(Ee);return Vt.fn=ne(Vt,H),Vt.scheduler=$,Vt.notifier=Ke,Vt.zone=typeof Zone<"u"?Zone.current:null,Vt.scheduler.add(Vt),Vt.notifier.notify(12),Vt}(H,Ke.get(d.VML),nt),St.injector=Ke,null!==Vt&&(St.onDestroyFn=Vt.onDestroy(()=>St.destroy())),new G(St)}const xe={...u,cleanupFns:void 0,zone:null,onDestroyFn:d.lQ1,run(){const H=(0,d.cBl)(!1);try{!function L(H){if(H.dirty=!1,H.version>0&&!(0,v.si)(H))return;H.version++;const $=(0,v.Bg)(H);try{H.cleanup(),H.fn()}finally{(0,v.Wu)(H,$)}}(this)}finally{(0,d.cBl)(H)}},cleanup(){if(!this.cleanupFns?.length)return;const H=(0,v.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,v.Ht)(H)}}},Ee={...xe,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,v.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},V={...xe,consumerMarkedDirty(){this.view[d.Wg1]|=8192,(0,d.blu)(this.view),this.notifier.notify(13)},destroy(){(0,v.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[d.tQN]?.delete(this)}};function ne(H,$){return()=>{$(Ke=>(H.cleanupFns??=[]).push(Ke))}}Error,Error},2615(Zt,pe,l){"use strict";let i;function d(){return i}function v(K){const Ie=i;return i=K,Ie}l.d(pe,{JEi:()=>er,Isx:()=>Xs,EJG:()=>_r,Yrj:()=>rs,VVG:()=>Zr,Y20:()=>Hr,SKP:()=>qo,hk6:()=>gc,eVN:()=>Wr,b5C:()=>is,rQE:()=>Hs,X5O:()=>ls,qFA:()=>Za,qQL:()=>sa,abz:()=>va,tQN:()=>Pa,pcR:()=>qs,oMQ:()=>xs,Mlv:()=>Wn,MZA:()=>En,M0L:()=>Co,Z63:()=>ri,VML:()=>Oa,uvJ:()=>Ki,zcH:()=>Ls,Wg1:()=>Ka,Yw1:()=>wa,jgP:()=>jr,tcA:()=>Vo,ID:()=>Ui,YEL:()=>Jr,B9r:()=>Hn,GBX:()=>U,ZTf:()=>gi,nKC:()=>Qn,zZn:()=>$i,rJ1:()=>nr,nfM:()=>Fs,s6P:()=>Or,K29:()=>kr,CQl:()=>ke,p9y:()=>Me,zSs:()=>Z,ONQ:()=>Sn,hmW:()=>N,yAH:()=>Ft,KXn:()=>oa,oTH:()=>Pi,Czx:()=>vr,f7T:()=>Ps,wVl:()=>Ws,GYQ:()=>nc,u5s:()=>Ha,rev:()=>lo,Ds7:()=>Mr,e5P:()=>_a,Iaj:()=>yr,GpT:()=>Js,buA:()=>le,AQb:()=>ic,jNX:()=>ds,eDl:()=>Er,qlT:()=>js,bm_:()=>Rr,RxE:()=>C,r4V:()=>Kc,ok8:()=>Pe,Evm:()=>Yc,Jy$:()=>v1,laP:()=>j,EYC:()=>Mn,ng7:()=>ci,llW:()=>ia,gsJ:()=>Bn,GZS:()=>Ei,iYM:()=>$,PEr:()=>Ss,z7f:()=>Vt,LZP:()=>St,Xln:()=>Dt,yzR:()=>el,TWe:()=>Ml,LIA:()=>he,GWr:()=>F,pbo:()=>ve,bBq:()=>cs,Af3:()=>Zs,zQk:()=>tr,oZy:()=>Eo,tF7:()=>ot,ZFY:()=>we,cP4:()=>qr,MdC:()=>Ms,XvL:()=>ie,KET:()=>xa,Tkx:()=>zl,iw4:()=>lt,tdH:()=>Xl,pr_:()=>ht,IAh:()=>te,U45:()=>Re,WrV:()=>Xe,kNT:()=>nt,MI:()=>pl,biv:()=>Sl,ZQF:()=>Le,Cv0:()=>_e,W0r:()=>Ln,R2n:()=>mn,O8q:()=>On,VKj:()=>kt,Rom:()=>$e,z6V:()=>Un,n$e:()=>V,hjC:()=>It,Pz9:()=>wi,PQT:()=>se,VX4:()=>We,_Z$:()=>Je,N79:()=>Ul,xLP:()=>In,zuh:()=>vt,BI7:()=>Ri,U7d:()=>Ni,uXy:()=>kn,nZS:()=>vi,ihb:()=>vl,ID8:()=>al,gv8:()=>Nr,dwj:()=>xe,Bqz:()=>rn,OsK:()=>Ae,Rfq:()=>ne,c$7:()=>Il,gxQ:()=>oo,ckz:()=>Do,kLh:()=>re,xUg:()=>en,KdJ:()=>Vl,db4:()=>eo,VPL:()=>La,MT:()=>wo,Z9v:()=>pc,Ab:()=>Kt,w7Z:()=>od,Mx4:()=>et,veI:()=>Mt,HaV:()=>oi,Agf:()=>vn,znI:()=>so,wGu:()=>Fn,ebl:()=>cn,OAn:()=>X,_0$:()=>Al,UaU:()=>ct,vaC:()=>Go,d31:()=>gl,ZRn:()=>Tr,phH:()=>da,WbQ:()=>Ta,WB9:()=>Nn,d_l:()=>io,vNG:()=>Ys,oyA:()=>bn,_px:()=>Io,CpD:()=>Wl,XRZ:()=>jo,klJ:()=>de,Fje:()=>tl,b$O:()=>kl,SMZ:()=>G,WQX:()=>zi,MzJ:()=>At,jXY:()=>Fe,MME:()=>ni,JlV:()=>mt,Qs1:()=>He,srX:()=>Ne,vOT:()=>za,YWB:()=>ai,EPY:()=>Es,yoD:()=>q,P3H:()=>Ns,Jzi:()=>De,rFz:()=>as,JjR:()=>Xc,M6u:()=>bo,KtD:()=>Jl,muV:()=>gt,A0l:()=>Sr,q$2:()=>Ks,yP_:()=>ar,EFk:()=>ln,Hps:()=>Oo,UhH:()=>Ll,QuC:()=>Kn,Y3W:()=>nn,n$r:()=>tc,K7h:()=>fa,FRF:()=>ha,ezK:()=>ra,m7n:()=>$n,niQ:()=>jl,krE:()=>nl,bll:()=>Hl,Hh6:()=>mo,EmA:()=>yi,blu:()=>to,HAh:()=>fo,WfI:()=>ii,xbp:()=>ec,jvu:()=>Rl,lQ1:()=>Ti,BCV:()=>Wi,Rc9:()=>Ga,E6O:()=>Vn,DyX:()=>no,eFE:()=>qe,dMS:()=>Ho,HUe:()=>So,nl4:()=>J,N4e:()=>gr,XaM:()=>ee,Kw3:()=>mc,vQI:()=>fc,RZ9:()=>Fr,GA0:()=>Ao,iMd:()=>Tn,Pfq:()=>Gi,xyx:()=>po,a2B:()=>Tt,kcM:()=>gn,DFp:()=>Ue,P2g:()=>il,cBl:()=>ro,ypq:()=>ko,vPA:()=>yl,HO5:()=>Xr,M_e:()=>Tl,B22:()=>Dr,ik5:()=>wl,AsM:()=>Ee,PP7:()=>pn,$8:()=>Ke,$Hz:()=>on,zAe:()=>Uo,IvY:()=>mi,_gW:()=>_l,F1c:()=>us,ITl:()=>Dl,brz:()=>Ve,jRZ:()=>To,SX7:()=>Pn,jDH:()=>oe,G2t:()=>fe,fuf:()=>Wo,cSN:()=>ir,KVO:()=>bi,dmw:()=>Qi,joV:()=>yt,By9:()=>Ts,qSk:()=>sr,Njj:()=>me,eBV:()=>Q});const w=Symbol("NotFound");function O(K){return K===w||"\u0275NotFound"===K?.name}Error;var f=l(8440),u=l(4412),L=l(1985);class C{full;major;minor;patch;constructor(Ie){this.full=Ie;const Ut=Ie.split(".");this.major=Ut[0],this.minor=Ut[1],this.patch=Ut.slice(2).join(".")}}const Pe="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class le extends Error{code;constructor(Ie,Ut){super(Ae(Ie,Ut)),this.code=Ie}}function Ae(K,Ie){return`${function Ce(K){return`NG0${Math.abs(K)}`}(K)}${Ie?": "+Ie:""}`}const j=globalThis;function G(){return!1}function re(K){for(let Ie in K)if(K[Ie]===re)return Ie;throw Error("")}function xe(K,Ie){for(const Ut in Ie)Ie.hasOwnProperty(Ut)&&!K.hasOwnProperty(Ut)&&(K[Ut]=Ie[Ut])}function Ee(K){if("string"==typeof K)return K;if(Array.isArray(K))return`[${K.map(Ee).join(", ")}]`;if(null==K)return""+K;const Ie=K.overriddenName||K.name;if(Ie)return`${Ie}`;const Ut=K.toString();if(null==Ut)return""+Ut;const Gn=Ut.indexOf("\n");return Gn>=0?Ut.slice(0,Gn):Ut}function V(K,Ie){return K?Ie?`${K} ${Ie}`:K:Ie||""}const be=re({__forward_ref__:re});function ne(K){return K.__forward_ref__=ne,K.toString=function(){return Ee(this())},K}function J(K){return De(K)?K():K}function De(K){return"function"==typeof K&&K.hasOwnProperty(be)&&K.__forward_ref__===ne}function Re(K,Ie){"number"!=typeof K&&Ke(Ie,typeof K,"number","===")}function Xe(K,Ie,Ut){Re(K,"Expected a number"),function P(K,Ie,Ut){K<=Ie||Ke(Ut,K,Ie,"<=")}(K,Ut,"Expected number to be less than or equal to"),ve(K,Ie,"Expected number to be greater than or equal to")}function _e(K,Ie){"string"!=typeof K&&Ke(Ie,null===K?"null":typeof K,"string","===")}function he(K,Ie){"function"!=typeof K&&Ke(Ie,null===K?"null":typeof K,"function","===")}function Dt(K,Ie,Ut){K!=Ie&&Ke(Ut,K,Ie,"==")}function lt(K,Ie,Ut){K==Ie&&Ke(Ut,K,Ie,"!=")}function Le(K,Ie,Ut){K!==Ie&&Ke(Ut,K,Ie,"===")}function te(K,Ie,Ut){K===Ie&&Ke(Ut,K,Ie,"!==")}function ie(K,Ie,Ut){KIe||Ke(Ut,K,Ie,">")}function ve(K,Ie,Ut){K>=Ie||Ke(Ut,K,Ie,">=")}function $(K,Ie){null==K&&Ke(Ie,K,null,"!=")}function Ke(K,Ie,Ut,Gn){throw new Error(`ASSERTION ERROR: ${K}`+(null==Gn?"":` [Expected=> ${Ut} ${Gn} ${Ie} <=Actual]`))}function Vt(K){K instanceof Node||Ke(`The provided value must be an instance of a DOM Node but got ${Ee(K)}`)}function St(K){K instanceof Element||Ke(`The provided value must be an element but got ${Ee(K)}`)}function ot(K,Ie){$(K,"Array must be defined.");const Ut=K.length;(Ie<0||Ie>=Ut)&&Ke(`Index expected to be less than ${Ut} but got ${Ie}`)}function nt(K,...Ie){if(-1!==Ie.indexOf(K))return!0;Ke(`Expected value to be one of ${JSON.stringify(Ie)} but was ${JSON.stringify(K)}.`)}function ht(K){null!==(0,f.nR)()&&Ke(`${K}() should never be called in a reactive context.`)}function oe(K){return{token:K.token,providedIn:K.providedIn||null,factory:K.factory,value:void 0}}function fe(K){return{providers:K.providers||[],imports:K.imports||[]}}function Qe(K){return function Gt(K,Ie){return K.hasOwnProperty(Ie)&&K[Ie]||null}(K,Ft)}function gt(K){return null!==Qe(K)}function cn(K){return K&&K.hasOwnProperty(Sn)?K[Sn]:null}const Ft=re({\u0275prov:re}),Sn=re({\u0275inj:re});class Qn{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(Ie,Ut){this._desc=Ie,this.\u0275prov=void 0,"number"==typeof Ut?this.__NG_ELEMENT_ID__=Ut:void 0!==Ut&&(this.\u0275prov=oe({token:this,providedIn:Ut.providedIn||"root",factory:Ut.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let h;function jt(){return Ke("getInjectorProfilerContext should never be called in production mode"),h}function Ue(K){Ke("setInjectorProfilerContext should never be called in production mode");const Ie=h;return h=K,Ie}const wt=[],pt=()=>{};function gn(K){return Ke("setInjectorProfiler should never be called in production mode"),null!==K?(wt.includes(K)||wt.push(K),()=>function Pt(K){const Ie=wt.indexOf(K);-1!==Ie&&wt.splice(Ie,1)}(K)):(wt.length=0,pt)}function ei(K){Ke("Injector profiler should never be called in production mode");for(let Ie=0;Ie1&&(ui=` Path: ${Ut.join(" -> ")}.`);return Ae(Ie,`${K}${Gn?` Source: ${Gn}.`:""}${ui}`)}(K[Ge]||K.message,K[ut],K[Ot],Ie),K}(se(0,Ie),null)}function on(K,Ie){throw new le(-201,!1)}function dn(K,Ie,Ut){const Gn=new le(Ie,K);return Gn[ut]=Ie,Gn[Ge]=K,Ut&&(Gn[Ot]=Ut),Gn}let xi;function Yi(){return xi}function Tt(K){const Ie=xi;return xi=K,Ie}function At(K,Ie,Ut){const Gn=Qe(K);return Gn&&"root"==Gn.providedIn?void 0===Gn.value?Gn.value=Gn.factory():Gn.value:8&Ut?null:void 0!==Ie?Ie:void on()}function we(K){}const Lt={},Ht="__NG_DI_FLAG__";class _n{injector;constructor(Ie){this.injector=Ie}retrieve(Ie,Ut){const Gn=It(Ut)||0;try{return this.injector.get(Ie,8&Gn?null:Lt,Gn)}catch(ui){if(O(ui))return ui;throw ui}}}function fi(K,Ie=0){const Ut=d();if(void 0===Ut)throw new le(-203,!1);if(null===Ut)return At(K,void 0,Ie);{const Gn=function an(K){return{optional:!!(8&K),host:!!(1&K),self:!!(2&K),skipSelf:!!(4&K)}}(Ie),ui=Ut.retrieve(K,Gn);if(O(ui)){if(Gn.optional)return null;throw ui}return ui}}function bi(K,Ie=0){return(Yi()||fi)(J(K),Ie)}function Qi(K){throw new le(202,!1)}function zi(K,Ie){return bi(K,It(Ie))}function It(K){return typeof K>"u"||"number"==typeof K?K:0|(K.optional&&8)|(K.host&&1)|(K.self&&2)|(K.skipSelf&&4)}function Yt(K){const Ie=[];for(let Ut=0;UtArray.isArray(Ut)?In(Ut,Ie):Ie(Ut))}function Mn(K,Ie,Ut){Ie>=K.length?K.push(Ut):K.splice(Ie,0,Ut)}function Vn(K,Ie){return Ie>=K.length-1?K.pop():K.splice(Ie,1)[0]}function ii(K,Ie){const Ut=[];for(let Gn=0;GnIe;)K[ui]=K[ui-2],ui--;K[Ie]=Ut,K[Ie+1]=Gn}}function ra(K,Ie,Ut){let Gn=ha(K,Ie);return Gn>=0?K[1|Gn]=Ut:(Gn=~Gn,ia(K,Gn,Ie,Ut)),Gn}function fa(K,Ie){const Ut=ha(K,Ie);if(Ut>=0)return K[1|Ut]}function ha(K,Ie){return function qt(K,Ie,Ut){let Gn=0,ui=K.length>>Ut;for(;ui!==Gn;){const ki=Gn+(ui-Gn>>1),Wa=K[ki<Ie?ui=ki:Gn=ki+1}return~(ui<{Ut.push(Wa)};return In(Ie,Wa=>{const Bi=Wa;Ve(Bi,ki,[],Gn)&&(ui||=[],ui.push(Bi))}),void 0!==ui&&Wt(ui,ki),Ut}function Wt(K,Ie){for(let Ut=0;Ut{Ie(ki,Gn)})}}function Ve(K,Ie,Ut,Gn){if(!(K=J(K)))return!1;let ui=null,ki=cn(K);const Wa=!ki&&en(K);if(ki||Wa){if(Wa&&!Wa.standalone)return!1;ui=K}else{const Aa=K.ngModule;if(ki=cn(Aa),!ki)return!1;ui=Aa}const Bi=Gn.has(ui);if(Wa){if(Bi)return!1;if(Gn.add(ui),Wa.dependencies){const Aa="function"==typeof Wa.dependencies?Wa.dependencies():Wa.dependencies;for(const hi of Aa)Ve(hi,Ie,Ut,Gn)}}else{if(!ki)return!1;{if(null!=ki.imports&&!Bi){let hi;Gn.add(ui),In(ki.imports,es=>{Ve(es,Ie,Ut,Gn)&&(hi||=[],hi.push(es))}),void 0!==hi&&Wt(hi,Ie)}if(!Bi){const hi=Fn(ui)||(()=>new ui);Ie({provide:ui,useFactory:hi,deps:Wn},ui),Ie({provide:Hn,useValue:ui,multi:!0},ui),Ie({provide:ri,useValue:()=>bi(ui),multi:!0},ui)}const Aa=ki.providers;if(null!=Aa&&!Bi){const hi=K;Jt(Aa,es=>{Ie(es,hi)})}}}return ui!==K&&void 0!==K.providers}function Jt(K,Ie){for(let Ut of K)ye(Ut)&&(Ut=Ut.\u0275providers),Array.isArray(Ut)?Jt(Ut,Ie):Ie(Ut)}const ti=re({provide:String,useValue:re});function di(K){return null!==K&&"object"==typeof K&&ti in K}function nn(K){return"function"==typeof K}function ni(K){return!!K.useClass}const U=new Qn(""),tt={},Ze={};let Xt;function Nn(){return void 0===Xt&&(Xt=new Pi),Xt}class Ki{}class _a extends Ki{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(Ie,Ut,Gn,ui){super(),this.parent=Ut,this.source=Gn,this.scopes=ui,pr(Ie,Wa=>this.processProvider(Wa)),this.records.set(Rn,hr(void 0,this)),ui.has("environment")&&this.records.set(Ki,hr(void 0,this));const ki=this.records.get(U);null!=ki&&"string"==typeof ki.value&&this.scopes.add(ki.value),this.injectorDefTypes=new Set(this.get(Hn,Wn,{self:!0}))}retrieve(Ie,Ut){const Gn=It(Ut)||0;try{return this.get(Ie,Lt,Gn)}catch(ui){if(O(ui))return ui;throw ui}}destroy(){As(this),this._destroyed=!0;const Ie=(0,f.Ht)(null);try{for(const Gn of this._ngOnDestroyHooks)Gn.ngOnDestroy();const Ut=this._onDestroyHooks;this._onDestroyHooks=[];for(const Gn of Ut)Gn()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,f.Ht)(Ie)}}onDestroy(Ie){return As(this),this._onDestroyHooks.push(Ie),()=>this.removeOnDestroy(Ie)}runInContext(Ie){As(this);const Ut=v(this),Gn=Tt(void 0);try{return Ie()}finally{v(Ut),Tt(Gn)}}get(Ie,Ut=Lt,Gn){if(As(this),Ie.hasOwnProperty(at))return Ie[at](this);const ui=It(Gn),Wa=v(this),Bi=Tt(void 0);try{if(!(4&ui)){let hi=this.records.get(Ie);if(void 0===hi){const es=function zo(K){return"function"==typeof K||"object"==typeof K&&"InjectionToken"===K.ngMetadataName}(Ie)&&Qe(Ie);hi=es&&this.injectableDefInScope(es)?hr(Ua(Ie),tt):null,this.records.set(Ie,hi)}if(null!=hi)return this.hydrate(Ie,hi,ui)}return(2&ui?Nn():this.parent).get(Ie,Ut=8&ui&&Ut===Lt?null:Ut)}catch(Aa){const hi=function xn(K){return K[ut]}(Aa);throw-200===hi||-201===hi?new le(hi,null):Aa}finally{Tt(Bi),v(Wa)}}resolveInjectorInitializers(){const Ie=(0,f.Ht)(null),Ut=v(this),Gn=Tt(void 0);try{const ki=this.get(ri,Wn,{self:!0});for(const Wa of ki)Wa()}finally{v(Ut),Tt(Gn),(0,f.Ht)(Ie)}}toString(){const Ie=[],Ut=this.records;for(const Gn of Ut.keys())Ie.push(Ee(Gn));return`R3Injector[${Ie.join(", ")}]`}processProvider(Ie){let Ut=nn(Ie=J(Ie))?Ie:J(Ie&&Ie.provide);const Gn=function ns(K){return di(K)?hr(void 0,K.useValue):hr(Ga(K),tt)}(Ie);if(!nn(Ie)&&!0===Ie.multi){let ui=this.records.get(Ut);ui||(ui=hr(void 0,tt,!0),ui.factory=()=>Yt(ui.multi),this.records.set(Ut,ui)),Ut=Ie,ui.multi.push(Ie)}this.records.set(Ut,Gn)}hydrate(Ie,Ut,Gn){const ui=(0,f.Ht)(null);try{if(Ut.value===Ze)throw se(Ee(Ie));return Ut.value===tt&&(Ut.value=Ze,Ut.value=Ut.factory(void 0,Gn)),"object"==typeof Ut.value&&Ut.value&&function fr(K){return null!==K&&"object"==typeof K&&"function"==typeof K.ngOnDestroy}(Ut.value)&&this._ngOnDestroyHooks.add(Ut.value),Ut.value}finally{(0,f.Ht)(ui)}}injectableDefInScope(Ie){if(!Ie.providedIn)return!1;const Ut=J(Ie.providedIn);return"string"==typeof Ut?"any"===Ut||this.scopes.has(Ut):this.injectorDefTypes.has(Ut)}removeOnDestroy(Ie){const Ut=this._onDestroyHooks.indexOf(Ie);-1!==Ut&&this._onDestroyHooks.splice(Ut,1)}}function Ua(K){const Ie=Qe(K),Ut=null!==Ie?Ie.factory:Fn(K);if(null!==Ut)return Ut;if(K instanceof Qn)throw new le(204,!1);if(K instanceof Function)return function $a(K){if(K.length>0)throw new le(204,!1);const Ut=function rt(K){return(K?.[Ft]??null)||null}(K);return null!==Ut?()=>Ut.factory(K):()=>new K}(K);throw new le(204,!1)}function Ga(K,Ie,Ut){let Gn;if(nn(K)){const ui=J(K);return Fn(ui)||Ua(ui)}if(di(K))Gn=()=>J(K.useValue);else if(function ca(K){return!(!K||!K.useFactory)}(K))Gn=()=>K.useFactory(...Yt(K.deps||[]));else if(function Ii(K){return!(!K||!K.useExisting)}(K))Gn=(ui,ki)=>bi(J(K.useExisting),void 0!==ki&&8&ki?8:void 0);else{const ui=J(K&&(K.useClass||K.provide));if(!function mr(K){return!!K.deps}(K))return Fn(ui)||Ua(ui);Gn=()=>new ui(...Yt(K.deps))}return Gn}function As(K){if(K.destroyed)throw new le(205,!1)}function hr(K,Ie,Ut=!1){return{factory:K,value:Ie,multi:Ut?[]:void 0}}function pr(K,Ie){for(const Ut of K)Array.isArray(Ut)?pr(Ut,Ie):Ut&&ye(Ut)?pr(Ut.\u0275providers,Ie):Ie(Ut)}function gr(K,Ie){let Ut;K instanceof _a?(As(K),Ut=K):Ut=new _n(K);const ui=v(Ut),ki=Tt(void 0);try{return Ie()}finally{v(ui),Tt(ki)}}function bo(){return void 0!==Yi()||null!=d()}function Zs(K){if(!bo())throw new le(-203,!1)}const jr=0,Er=1,Ka=2,Ps=3,kr=4,js=5,Vo=6,Zr=7,qo=8,Jr=9,Co=10,Js=11,_r=12,rs=13,ls=14,is=15,Hs=16,Ws=17,Mr=18,Ui=19,xs=20,vr=21,qs=22,Pa=23,yr=24,er=25,Xs=26,wa=27,Za=6,Or=7,Rr=8,Fs=9,Hr=10;function Ks(K){return Array.isArray(K)&&"object"==typeof K[1]}function Sr(K){return Array.isArray(K)&&!0===K[1]}function Ne(K){return!!(4&K.flags)}function He(K){return K.componentOffset>-1}function q(K){return!(1&~K.flags)}function mt(K){return!!K.template}function ln(K){return!!(512&K[Ka])}function Es(K){return!(256&~K[Ka])}function kt(K,Ie){$e(K,Ie[Er])}function On(K,Ie){const Ut=Ie+wa;ot(K,Ut),ie(Ut,K[Er].bindingStartIndex,"TNodes should be created before any bindings")}function $e(K,Ie){mn(K);const Ut=Ie.data;for(let Gn=wa;Gn) must have projection slots defined.")}function pl(K,Ie){$(K,"Component views should always have a parent view (component's host view)")}function zl(K,Ie){Eo(K,Ie),Eo(K,Ie+8),Re(K[Ie+0],"injectorIndex should point to a bloom filter"),Re(K[Ie+1],"injectorIndex should point to a bloom filter"),Re(K[Ie+2],"injectorIndex should point to a bloom filter"),Re(K[Ie+3],"injectorIndex should point to a bloom filter"),Re(K[Ie+4],"injectorIndex should point to a bloom filter"),Re(K[Ie+5],"injectorIndex should point to a bloom filter"),Re(K[Ie+6],"injectorIndex should point to a bloom filter"),Re(K[Ie+7],"injectorIndex should point to a bloom filter"),Re(K[Ie+8],"injectorIndex should point to parent injector")}const ds="svg",nr="math";function mi(K){for(;Array.isArray(K);)K=K[jr];return K}function Uo(K){for(;Array.isArray(K);){if("object"==typeof K[1])return K;K=K[jr]}return null}function Go(K,Ie){return mi(Ie[K])}function gl(K,Ie){return mi(Ie[K.index])}function Tr(K,Ie){const Ut=null===K?-1:K.index;return-1!==Ut?mi(Ie[Ut]):null}function jo(K,Ie){return K.data[Ie]}function mo(K,Ie){return K[Ie]}function Tl(K,Ie,Ut,Gn){Ut>=K.data.length&&(K.data[Ut]=null,K.blueprint[Ut]=null),Ie[Ut]=Gn}function Vl(K,Ie){const Ut=Ie[K];return Ks(Ut)?Ut:Ut[jr]}function za(K){return!(4&~K[Ka])}function us(K){return!(128&~K[Ka])}function Dl(K){return Sr(K[Ps])}function eo(K,Ie){return null==Ie?null:K[Ie]}function So(K){K[Ws]=0}function fo(K){1024&K[Ka]||(K[Ka]|=1024,us(K)&&to(K))}function To(K,Ie){for(;K>0;)Ie=Ie[ls],K--;return Ie}function Ho(K){return!!(9216&K[Ka]||K[yr]?.dirty)}function _l(K){K[Co].changeDetectionScheduler?.notify(8),64&K[Ka]&&(K[Ka]|=1024),Ho(K)&&to(K)}function to(K){K[Co].changeDetectionScheduler?.notify(0);let Ie=Al(K);for(;null!==Ie&&!(8192&Ie[Ka])&&(Ie[Ka]|=8192,us(Ie));)Ie=Al(Ie)}function wl(K,Ie){if(Es(K))throw new le(911,!1);null===K[vr]&&(K[vr]=[]),K[vr].push(Ie)}function no(K,Ie){if(null===K[vr])return;const Ut=K[vr].indexOf(Ie);-1!==Ut&&K[vr].splice(Ut,1)}function Al(K){const Ie=K[Ps];return Sr(Ie)?Ie[Ps]:Ie}function io(K){return K[Zr]??=[]}function Ys(K){return K.cleanup??=[]}function Dr(K,Ie,Ut,Gn){const ui=io(Ie);ui.push(Ut),K.firstCreatePass&&Ys(K).push(Gn,ui.length-1)}const li={lFrame:Ol(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wr=function(K){return K[K.Off=0]="Off",K[K.Exhaustive=1]="Exhaustive",K[K.OnlyDirtyViews=2]="OnlyDirtyViews",K}(Wr||{});let ao=0,Pr=!1;function so(){return li.lFrame.elementDepthCount}function tl(){li.lFrame.elementDepthCount++}function Ul(){li.lFrame.elementDepthCount--}function Do(){return li.bindingsEnabled}function Jl(){return null!==li.skipHydrationRootTNode}function Ll(K){return li.skipHydrationRootTNode===K}function ir(){li.bindingsEnabled=!0}function Wo(){li.bindingsEnabled=!1}function nl(){li.skipHydrationRootTNode=null}function X(){return li.lFrame.lView}function de(){return li.lFrame.tView}function Q(K){return li.lFrame.contextLView=K,K[qo]}function me(K){return li.lFrame.contextLView=null,K}function et(){let K=Mt();for(;null!==K&&64===K.type;)K=K.parent;return K}function Mt(){return li.lFrame.currentTNode}function Kt(){const K=li.lFrame,Ie=K.currentTNode;return K.isParent?Ie:Ie.parent}function Tn(K,Ie){const Ut=li.lFrame;Ut.currentTNode=K,Ut.isParent=Ie}function ai(){return li.lFrame.isParent}function Gi(){li.lFrame.isParent=!1}function La(){return li.lFrame.contextLView}function as(){return Ke("Must never be called in production mode"),ao!==Wr.Off}function Ns(){return Ke("Must never be called in production mode"),ao===Wr.Exhaustive}function il(K){Ke("Must never be called in production mode"),ao=K}function ar(){return Pr}function ro(K){const Ie=Pr;return Pr=K,Ie}function oo(){const K=li.lFrame;let Ie=K.bindingRootIndex;return-1===Ie&&(Ie=K.bindingRootIndex=K.tView.bindingStartIndex),Ie}function Il(){return li.lFrame.bindingIndex}function mc(K){return li.lFrame.bindingIndex=K}function ec(){return li.lFrame.bindingIndex++}function kl(K){const Ie=li.lFrame,Ut=Ie.bindingIndex;return Ie.bindingIndex=Ie.bindingIndex+K,Ut}function Xc(){return li.lFrame.inI18n}function po(K){li.lFrame.inI18n=K}function fc(K,Ie){const Ut=li.lFrame;Ut.bindingIndex=Ut.bindingRootIndex=K,Fr(Ie)}function pc(){return li.lFrame.currentDirectiveIndex}function Fr(K){li.lFrame.currentDirectiveIndex=K}function wo(K){const Ie=li.lFrame.currentDirectiveIndex;return-1===Ie?null:K[Ie]}function od(){return li.lFrame.currentQueryIndex}function Ao(K){li.lFrame.currentQueryIndex=K}function Lc(K){const Ie=K[Er];return 2===Ie.type?Ie.declTNode:1===Ie.type?K[js]:null}function vl(K,Ie,Ut){if(4&Ut){let ui=Ie,ki=K;for(;!(ui=ui.parent,null!==ui||1&Ut||(ui=Lc(ki),null===ui||(ki=ki[ls],10&ui.type))););if(null===ui)return!1;Ie=ui,K=ki}const Gn=li.lFrame=Lo();return Gn.currentTNode=Ie,Gn.lView=K,!0}function al(K){const Ie=Lo(),Ut=K[Er];li.lFrame=Ie,Ie.currentTNode=Ut.firstChild,Ie.lView=K,Ie.tView=Ut,Ie.contextLView=K,Ie.bindingIndex=Ut.bindingStartIndex,Ie.inI18n=!1}function Lo(){const K=li.lFrame,Ie=null===K?null:K.child;return null===Ie?Ol(K):Ie}function Ol(K){const Ie={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:K,child:null,inI18n:!1};return null!==K&&(K.child=Ie),Ie}function Gl(){const K=li.lFrame;return li.lFrame=K.parent,K.currentTNode=null,K.lView=null,K}const jl=Gl;function Hl(){const K=Gl();K.isParent=!0,K.tView=null,K.selectedIndex=-1,K.contextLView=null,K.elementDepthCount=0,K.currentDirectiveIndex=-1,K.currentNamespace=null,K.bindingRootIndex=-1,K.bindingIndex=-1,K.currentQueryIndex=0}function Rl(K){return(li.lFrame.contextLView=To(K,li.lFrame.contextLView))[qo]}function Io(){return li.lFrame.selectedIndex}function ko(K){li.lFrame.selectedIndex=K}function Wl(){const K=li.lFrame;return jo(K.tView,K.selectedIndex)}function sr(){li.lFrame.currentNamespace=ds}function Ts(){li.lFrame.currentNamespace=nr}function yt(){!function je(){li.lFrame.currentNamespace=null}()}function ct(){return li.lFrame.currentNamespace}let Qt=!0;function Pn(){return Qt}function $n(K){Qt=K}function Ci(K,Ie=null,Ut=null,Gn){const ui=wi(K,Ie,Ut,Gn);return ui.resolveInjectorInitializers(),ui}function wi(K,Ie=null,Ut=null,Gn,ui=new Set){const ki=[Ut||Wn,Ca(K)];return Gn=Gn||("object"==typeof K?void 0:Ee(K)),new _a(ki,Ie||Nn(),Gn||null,ui)}class $i{static THROW_IF_NOT_FOUND=Lt;static NULL=new Pi;static create(Ie,Ut){if(Array.isArray(Ie))return Ci({name:""},Ut,Ie,"");{const Gn=Ie.name??"";return Ci({name:Gn},Ie.parent,Ie.providers,Gn)}}static \u0275prov=oe({token:$i,providedIn:"any",factory:()=>bi(Rn)});static __NG_ELEMENT_ID__=-1}const sa=new Qn("");let va=(()=>class K{static __NG_ELEMENT_ID__=hs;static __NG_ENV_ID__=Ut=>Ut})();class oa extends va{_lView;constructor(Ie){super(),this._lView=Ie}get destroyed(){return Es(this._lView)}onDestroy(Ie){const Ut=this._lView;return wl(Ut,Ie),()=>no(Ut,Ie)}}function hs(){return new oa(X())}class Ls{_console=console;handleError(Ie){this._console.error("ERROR",Ie)}}const gi=new Qn("",{providedIn:"root",factory:()=>{const K=zi(Ki);let Ie;return Ut=>{K.destroyed&&!Ie?setTimeout(()=>{throw Ut}):(Ie??=K.get(Ls),Ie.handleError(Ut))}}}),Nr={provide:ri,useValue:()=>{zi(Ls)},multi:!0};function Oo(K){return"function"==typeof K&&void 0!==K[f.bh]}function yl(K,Ie){const[Ut,Gn,ui]=(0,f.n5)(K,Ie?.equal),ki=Ut;return ki.set=Gn,ki.update=ui,ki.asReadonly=Xr.bind(ki),ki}function Xr(){const K=this[f.bh];if(void 0===K.readonlyFn){const Ie=()=>this();Ie[f.bh]=K,K.readonlyFn=Ie}return K.readonlyFn}function tc(K){return Oo(K)&&"function"==typeof K.set}function Xl(K,Ie){if(null!==(0,f.nR)())throw new le(-602,!1)}let Kc=(()=>class K{view;node;constructor(Ut,Gn){this.view=Ut,this.node=Gn}static __NG_ELEMENT_ID__=_1})();function _1(){return new Kc(X(),et())}class gc{}const Yc=new Qn("",{providedIn:"root",factory:()=>!1}),nc=new Qn("",{providedIn:"root",factory:()=>!1}),v1=new Qn(""),ic=new Qn("");let lo=(()=>{class K{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new u.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new L.c(Ut=>{Ut.next(!1),Ut.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Ut=this.taskId++;return this.pendingTasks.add(Ut),Ut}has(Ut){return this.pendingTasks.has(Ut)}remove(Ut){this.pendingTasks.delete(Ut),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new K})}return K})(),Ha=(()=>{class K{internalPendingTasks=zi(lo);scheduler=zi(gc);errorHandler=zi(gi);add(){const Ut=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Ut)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Ut))}}run(Ut){const Gn=this.add();Ut().catch(this.errorHandler).finally(Gn)}static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new K})}return K})();function Ti(...K){}let Oa=(()=>{class K{static \u0275prov=oe({token:K,providedIn:"root",factory:()=>new os})}return K})();class os{dirtyEffectCount=0;queues=new Map;add(Ie){this.enqueue(Ie),this.schedule(Ie)}schedule(Ie){Ie.dirty&&this.dirtyEffectCount++}remove(Ie){const Gn=this.queues.get(Ie.zone);Gn.has(Ie)&&(Gn.delete(Ie),Ie.dirty&&this.dirtyEffectCount--)}enqueue(Ie){const Ut=Ie.zone;this.queues.has(Ut)||this.queues.set(Ut,new Set);const Gn=this.queues.get(Ut);Gn.has(Ie)||Gn.add(Ie)}flush(){for(;this.dirtyEffectCount>0;){let Ie=!1;for(const[Ut,Gn]of this.queues)Ie||=null===Ut?this.flushQueue(Gn):Ut.run(()=>this.flushQueue(Gn));Ie||(this.dirtyEffectCount=0)}}flushQueue(Ie){let Ut=!1;for(const Gn of Ie)Gn.dirty&&(this.dirtyEffectCount--,Ut=!0,Gn.run());return Ut}}},9079(Zt,pe,l){"use strict";l.d(pe,{ot:()=>Ee});var Ce=l(2615),Ae=l(9295);function Ee(ne,J){const Re=J?.manualCleanup?null:J?.injector?.get(Ce.abz)??(0,Ce.WQX)(Ce.abz),Xe=function V(ne=Object.is){return(J,De)=>1===J.kind&&1===De.kind&&ne(J.value,De.value)}(J?.equal);let _e,he;_e=(0,Ce.vPA)(J?.requireSync?{kind:0}:{kind:1,value:J?.initialValue},{equal:Xe});const Dt=ne.subscribe({next:lt=>_e.set({kind:1,value:lt}),error:lt=>{_e.set({kind:2,error:lt}),he?.()},complete:()=>{he?.()}});if(J?.requireSync&&0===_e().kind)throw new Ce.buA(601,!1);return he=Re?.onDestroy(Dt.unsubscribe.bind(Dt)),(0,Ae.EW)(()=>{const lt=_e();switch(lt.kind){case 1:return lt.value;case 2:throw lt.error;case 0:throw new Ce.buA(601,!1)}},{equal:J?.equal})}},8440(Zt,pe,l){"use strict";l.d(pe,{Ag:()=>_e,Bg:()=>j,EF:()=>Dt,H8:()=>Re,Ht:()=>e,JC:()=>A,KE:()=>f,KO:()=>P,KZ:()=>Xe,Ny:()=>he,TO:()=>Ae,Wu:()=>G,XR:()=>Ee,a7:()=>ne,bh:()=>w,j2:()=>Ke,mC:()=>Vt,mK:()=>C,n5:()=>ve,nR:()=>O,pL:()=>L,s0:()=>ot,si:()=>xe});let i=null,d=!1,v=1;const w=Symbol("SIGNAL");function e(ht){const oe=i;return i=ht,oe}function O(){return i}function f(){return d}const L={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function C(ht){if(d)throw new Error("");if(null===i)return;i.consumerOnSignalRead(ht);const oe=i.producersTail;if(void 0!==oe&&oe.producer===ht)return;let Ye;const fe=i.recomputing;if(fe&&(Ye=void 0!==oe?oe.nextProducer:i.producers,void 0!==Ye&&Ye.producer===ht))return i.producersTail=Ye,void(Ye.lastReadVersion=ht.version);const Qe=ht.consumersTail;if(void 0!==Qe&&Qe.consumer===i&&(!fe||function De(ht,oe){const Ye=oe.producersTail;if(void 0!==Ye){let fe=oe.producers;do{if(fe===ht)return!0;if(fe===Ye)break;fe=fe.nextProducer}while(void 0!==fe)}return!1}(Qe,i)))return;const gt=be(i),Gt={producer:ht,consumer:i,nextProducer:Ye,prevConsumer:Qe,lastReadVersion:ht.version,nextConsumer:void 0};i.producersTail=Gt,void 0!==oe?oe.nextProducer=Gt:i.producers=Gt,gt&&V(ht,Gt)}function A(ht){if((!be(ht)||ht.dirty)&&(ht.dirty||ht.lastCleanEpoch!==v)){if(!ht.producerMustRecompute(ht)&&!xe(ht))return void Ae(ht);ht.producerRecomputeValue(ht),Ae(ht)}}function Pe(ht){if(void 0===ht.consumers)return;const oe=d;d=!0;try{for(let Ye=ht.consumers;void 0!==Ye;Ye=Ye.nextConsumer){const fe=Ye.consumer;fe.dirty||Ce(fe)}}finally{d=oe}}function le(){return!1!==i?.consumerAllowSignalWrites}function Ce(ht){ht.dirty=!0,Pe(ht),ht.consumerMarkedDirty?.(ht)}function Ae(ht){ht.dirty=!1,ht.lastCleanEpoch=v}function j(ht){return ht&&function W(ht){ht.producersTail=void 0,ht.recomputing=!0}(ht),e(ht)}function G(ht,oe){e(oe),ht&&function re(ht){ht.recomputing=!1;const oe=ht.producersTail;let Ye=void 0!==oe?oe.nextProducer:ht.producers;if(void 0!==Ye){if(be(ht))do{Ye=ce(Ye)}while(void 0!==Ye);void 0!==oe?oe.nextProducer=void 0:ht.producers=void 0}}(ht)}function xe(ht){for(let oe=ht.producers;void 0!==oe;oe=oe.nextProducer){const Ye=oe.producer,fe=oe.lastReadVersion;if(fe!==Ye.version||(A(Ye),fe!==Ye.version))return!0}return!1}function Ee(ht){if(be(ht)){let oe=ht.producers;for(;void 0!==oe;)oe=ce(oe)}ht.producers=void 0,ht.producersTail=void 0,ht.consumers=void 0,ht.consumersTail=void 0}function V(ht,oe){const Ye=ht.consumersTail,fe=be(ht);if(void 0!==Ye?(oe.nextConsumer=Ye.nextConsumer,Ye.nextConsumer=oe):(oe.nextConsumer=void 0,ht.consumers=oe),oe.prevConsumer=Ye,ht.consumersTail=oe,!fe)for(let Qe=ht.producers;void 0!==Qe;Qe=Qe.nextProducer)V(Qe.producer,Qe)}function ce(ht){const oe=ht.producer,Ye=ht.nextProducer,fe=ht.nextConsumer,Qe=ht.prevConsumer;if(ht.nextConsumer=void 0,ht.prevConsumer=void 0,void 0!==fe?fe.prevConsumer=Qe:oe.consumersTail=Qe,void 0!==Qe)Qe.nextConsumer=fe;else if(oe.consumers=fe,!be(oe)){let gt=oe.producers;for(;void 0!==gt;)gt=ce(gt)}return Ye}function be(ht){return ht.consumerIsAlwaysLive||void 0!==ht.consumers}function ne(ht){}function Re(ht,oe){return Object.is(ht,oe)}function Xe(ht,oe){const Ye=Object.create(lt);Ye.computation=ht,void 0!==oe&&(Ye.equal=oe);const fe=()=>{if(A(Ye),C(Ye),Ye.value===Dt)throw Ye.error;return Ye.value};return fe[w]=Ye,fe}const _e=Symbol("UNSET"),he=Symbol("COMPUTING"),Dt=Symbol("ERRORED"),lt={...L,value:_e,dirty:!0,error:null,equal:Re,kind:"computed",producerMustRecompute:ht=>ht.value===_e||ht.value===he,producerRecomputeValue(ht){if(ht.value===he)throw new Error("");const oe=ht.value;ht.value=he;const Ye=j(ht);let fe,Qe=!1;try{fe=ht.computation(),e(null),Qe=oe!==_e&&oe!==Dt&&fe!==Dt&&ht.equal(oe,fe)}catch(gt){fe=Dt,ht.error=gt}finally{G(ht,Ye)}Qe?ht.value=oe:(ht.value=fe,ht.version++)}};let te=function Le(){throw new Error};function ie(ht){te(ht)}function P(ht){te=ht}function ve(ht,oe){const Ye=Object.create(ot);Ye.value=ht,void 0!==oe&&(Ye.equal=oe);const fe=()=>function $(ht){return C(ht),ht.value}(Ye);return fe[w]=Ye,[fe,Gt=>Ke(Ye,Gt),Gt=>Vt(Ye,Gt)]}function Ke(ht,oe){le()||ie(ht),ht.equal(ht.value,oe)||(ht.value=oe,function nt(ht){ht.version++,function B(){v++}(),Pe(ht)}(ht))}function Vt(ht,oe){le()||ie(ht),Ke(ht,oe(ht.value))}const ot={...L,equal:Re,value:void 0,kind:"signal"}},4545(Zt,pe,l){"use strict";function i(L){for(let C in L){let B=L[C]??"";switch(C){case"display":L.display="flex"===B?["-webkit-flex","flex"]:"inline-flex"===B?["-webkit-inline-flex","inline-flex"]:B;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":L["-webkit-"+C]=B;break;case"flex-direction":L["-webkit-flex-direction"]=B,L["flex-direction"]=B;break;case"order":L.order=L["-webkit-"+C]=isNaN(+B)?"0":B}}return L}l.d(pe,{C5:()=>u,O5:()=>i,Uo:()=>v,Vc:()=>e,uG:()=>T});const d="inline",v=["row","column","row-reverse","column-reverse"];function T(L){let[C,B,A]=w(L);return function f(L,C=null,B=!1){return{display:B?"inline-flex":"flex","box-sizing":"border-box","flex-direction":L,"flex-wrap":C||null}}(C,B,A)}function w(L){L=L?.toLowerCase()??"";let[C,B,A]=L.split(" ");return v.find(Pe=>Pe===C)||(C=v[0]),B===d&&(B=A!==d?A:"",A=d),[C,O(B),!!A]}function e(L){let[C]=w(L);return C.indexOf("row")>-1}function O(L){if(L)switch(L.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":L="wrap-reverse";break;case"no":case"none":case"nowrap":L="nowrap";break;default:L="wrap"}return L}function u(L,...C){if(null==L)throw TypeError("Cannot convert undefined or null to object");for(let B of C)if(null!=B)for(let A in B)B.hasOwnProperty(A)&&(L[A]=B[A]);return L}},9340(Zt,pe,l){"use strict";l.d(pe,{Ce:()=>Dt,DJ:()=>vt,EA:()=>he,PV:()=>_e,SL:()=>lt,Ui:()=>De,ZH:()=>ie,cL:()=>Je,hN:()=>at,qH:()=>kn,r3:()=>te});var Ce=l(2615),Ae=l(3664),j=l(177),W=l(1985),G=l(1413),re=l(4412),xe=l(7786),Ee=l(4545),V=l(5964),ce=l(8141);const ne={provide:Ae.iLQ,useFactory:function be(Be,ut){return()=>{if((0,j.UE)(ut)){const Ge=Array.from(Be.querySelectorAll(`[class*=${J}]`)),Ot=/\bflex-layout-.+?\b/g;Ge.forEach(se=>{se.classList.contains(`${J}ssr`)&&se.parentNode?se.parentNode.removeChild(se):se.className.replace(Ot,"")})}}},deps:[Ce.qQL,Ae.Agw],multi:!0},J="flex-layout-";let De=(()=>{class Be{}return Be.\u0275fac=function(Ge){return new(Ge||Be)},Be.\u0275mod=Ae.$C({type:Be}),Be.\u0275inj=Ce.G2t({providers:[ne]}),Be})();class Re{constructor(ut=!1,Ge="all",Ot="",se="",We=0){this.matches=ut,this.mediaQuery=Ge,this.mqAlias=Ot,this.suffix=se,this.priority=We,this.property=""}clone(){return new Re(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Xe=(()=>{class Be{constructor(){this.stylesheet=new Map}addStyleToElement(Ge,Ot,se){const We=this.stylesheet.get(Ge);We?We.set(Ot,se):this.stylesheet.set(Ge,new Map([[Ot,se]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Ge,Ot){const se=this.stylesheet.get(Ge);let We="";if(se){const bt=se.get(Ot);("number"==typeof bt||"string"==typeof bt)&&(We=bt+"")}return We}}return Be.\u0275fac=function(Ge){return new(Ge||Be)},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const _e={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},he=new Ce.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>_e}),Dt=new Ce.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),lt=new Ce.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Le(Be,ut){return Be=Be?.clone()??new Re,ut&&(Be.mqAlias=ut.alias,Be.mediaQuery=ut.mediaQuery,Be.suffix=ut.suffix,Be.priority=ut.priority),Be}class te{constructor(){this.shouldCache=!0}sideEffect(ut,Ge,Ot){}}let ie=(()=>{class Be{constructor(Ge,Ot,se,We){this._serverStylesheet=Ge,this._serverModuleLoaded=Ot,this._platformId=se,this.layoutConfig=We}applyStyleToElement(Ge,Ot,se=null){let We={};"string"==typeof Ot&&(We[Ot]=se,Ot=We),We=this.layoutConfig.disableVendorPrefixes?Ot:(0,Ee.O5)(Ot),this._applyMultiValueStyleToElement(We,Ge)}applyStyleToElements(Ge,Ot=[]){const se=this.layoutConfig.disableVendorPrefixes?Ge:(0,Ee.O5)(Ge);Ot.forEach(We=>{this._applyMultiValueStyleToElement(se,We)})}getFlowDirection(Ge){const Ot="flex-direction";let se=this.lookupStyle(Ge,Ot);return[se||"row",this.lookupInlineStyle(Ge,Ot)||(0,j.Vy)(this._platformId)&&this._serverModuleLoaded?se:""]}hasWrap(Ge){return"wrap"===this.lookupStyle(Ge,"flex-wrap")}lookupAttributeValue(Ge,Ot){return Ge.getAttribute(Ot)??""}lookupInlineStyle(Ge,Ot){return(0,j.UE)(this._platformId)?Ge.style.getPropertyValue(Ot):function P(Be,ut){return H(Be)[ut]??""}(Ge,Ot)}lookupStyle(Ge,Ot,se=!1){let We="";return Ge&&((We=this.lookupInlineStyle(Ge,Ot))||((0,j.UE)(this._platformId)?se||(We=getComputedStyle(Ge).getPropertyValue(Ot)):this._serverModuleLoaded&&(We=this._serverStylesheet.getStyleForElement(Ge,Ot)))),We?We.trim():""}_applyMultiValueStyleToElement(Ge,Ot){Object.keys(Ge).sort().forEach(se=>{const We=Ge[se],bt=Array.isArray(We)?We:[We];bt.sort();for(let tn of bt)tn=tn?tn+"":"",(0,j.UE)(this._platformId)||!this._serverModuleLoaded?(0,j.UE)(this._platformId)?Ot.style.setProperty(se,tn):F(Ot,se,tn):this._serverStylesheet.addStyleToElement(Ot,se,tn)})}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Xe),Ce.KVO(Dt),Ce.KVO(Ae.Agw),Ce.KVO(he))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function F(Be,ut,Ge){ut=ut.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Ot=H(Be);Ot[ut]=Ge??"",function ve(Be,ut){let Ge="";for(const Ot in ut)ut[Ot]&&(Ge+=`${Ot}:${ut[Ot]};`);Be.setAttribute("style",Ge)}(Be,Ot)}function H(Be){const ut={},Ge=Be.getAttribute("style");if(Ge){const Ot=Ge.split(/;+/g);for(let se=0;se0){const bt=We.indexOf(":");if(-1===bt)throw new Error(`Invalid CSS style: ${We}`);ut[We.substr(0,bt).trim()]=We.substr(bt+1).trim()}}}return ut}function $(Be,ut){return(ut&&ut.priority||0)-(Be&&Be.priority||0)}function Ke(Be,ut){return(Be.priority||0)-(ut.priority||0)}let Vt=(()=>{class Be{constructor(Ge,Ot,se){this._zone=Ge,this._platformId=Ot,this._document=se,this.source=new re.t(new Re(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Ge=[];return this.registry.forEach((Ot,se)=>{Ot.matches&&Ge.push(se)}),Ge}isActive(Ge){return this.registry.get(Ge)?.matches??this.registerQuery(Ge).some(se=>se.matches)}observe(Ge,Ot=!1){if(Ge&&Ge.length){const se=this._observable$.pipe((0,V.p)(bt=>!Ot||Ge.indexOf(bt.mediaQuery)>-1)),We=new W.c(bt=>{const tn=this.registerQuery(Ge);if(tn.length){const on=tn.pop();tn.forEach(un=>{bt.next(un)}),this.source.next(on)}bt.complete()});return(0,xe.h)(We,se)}return this._observable$}registerQuery(Ge){const Ot=Array.isArray(Ge)?Ge:[Ge],se=[];return function ot(Be,ut){const Ge=Be.filter(Ot=>!St[Ot]);if(Ge.length>0){const Ot=Ge.join(", ");try{const se=ut.createElement("style");se.setAttribute("type","text/css"),se.styleSheet||se.appendChild(ut.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Ot} {.fx-query-test{ }}\n`)),ut.head.appendChild(se),Ge.forEach(We=>St[We]=se)}catch(se){console.error(se)}}}(Ot,this._document),Ot.forEach(We=>{const bt=on=>{this._zone.run(()=>this.source.next(new Re(on.matches,We)))};let tn=this.registry.get(We);tn||(tn=this.buildMQL(We),tn.addListener(bt),this.pendingRemoveListenerFns.push(()=>tn.removeListener(bt)),this.registry.set(We,tn)),tn.matches&&se.push(new Re(!0,We))}),se}ngOnDestroy(){let Ge;for(;Ge=this.pendingRemoveListenerFns.pop();)Ge()}buildMQL(Ge){return function ht(Be,ut){return ut&&window.matchMedia("all").addListener?window.matchMedia(Be):function nt(Be){const ut=new EventTarget;return ut.matches="all"===Be||""===Be,ut.media=Be,ut.addListener=()=>{},ut.removeListener=()=>{},ut.addEventListener=()=>{},ut.dispatchEvent=()=>!1,ut.onchange=null,ut}(Be)}(Ge,(0,j.UE)(this._platformId))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Ae.SKi),Ce.KVO(Ae.Agw),Ce.KVO(Ce.qQL))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const St={},oe=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Ye="(orientation: portrait) and (max-width: 599.98px)",fe="(orientation: landscape) and (max-width: 959.98px)",Qe="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",gt="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Gt="(orientation: portrait) and (min-width: 840px)",rt="(orientation: landscape) and (min-width: 1280px)",cn={HANDSET:`${Ye}, ${fe}`,TABLET:`${Qe} , ${gt}`,WEB:`${Gt}, ${rt} `,HANDSET_PORTRAIT:`${Ye}`,TABLET_PORTRAIT:`${Qe} `,WEB_PORTRAIT:`${Gt}`,HANDSET_LANDSCAPE:`${fe}`,TABLET_LANDSCAPE:`${gt}`,WEB_LANDSCAPE:`${rt}`},Ft=[{alias:"handset",priority:2e3,mediaQuery:cn.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:cn.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:cn.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:cn.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:cn.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:cn.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:cn.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:cn.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:cn.WEB_PORTRAIT,overlapping:!0}],Sn=/(\.|-|_)/g;function Qn(Be){let ut=Be.length>0?Be.charAt(0):"",Ge=Be.length>1?Be.slice(1):"";return ut.toUpperCase()+Ge}const wt=new Ce.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Be=(0,Ce.WQX)(lt),ut=(0,Ce.WQX)(he),Ge=[].concat.apply([],(Be||[]).map(se=>Array.isArray(se)?se:[se]));return function Ue(Be,ut=[]){const Ge={};return Be.forEach(Ot=>{Ge[Ot.alias]=Ot}),ut.forEach(Ot=>{Ge[Ot.alias]?(0,Ee.C5)(Ge[Ot.alias],Ot):Ge[Ot.alias]=Ot}),function jt(Be){return Be.forEach(ut=>{ut.suffix||(ut.suffix=function h(Be){return Be.replace(Sn,"|").split("|").map(Qn).join("")}(ut.alias),ut.overlapping=!!ut.overlapping)}),Be}(Object.keys(Ge).map(Ot=>Ge[Ot]))}((ut.disableDefaultBps?[]:oe).concat(ut.addOrientationBps?Ft:[]),Ge)}});let pt=(()=>{class Be{constructor(Ge){this.findByMap=new Map,this.items=[...Ge].sort(Ke)}findByAlias(Ge){return Ge?this.findWithPredicate(Ge,Ot=>Ot.alias===Ge):null}findByQuery(Ge){return this.findWithPredicate(Ge,Ot=>Ot.mediaQuery===Ge)}get overlappings(){return this.items.filter(Ge=>Ge.overlapping)}get aliases(){return this.items.map(Ge=>Ge.alias)}get suffixes(){return this.items.map(Ge=>Ge?.suffix??"")}findWithPredicate(Ge,Ot){let se=this.findByMap.get(Ge);return se||(se=this.items.find(Ot)??null,this.findByMap.set(Ge,se)),se??null}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(wt))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const Pt="print",gn={alias:Pt,mediaQuery:Pt,priority:1e3};let ei=(()=>{class Be{constructor(Ge,Ot,se){this.breakpoints=Ge,this.layoutConfig=Ot,this._document=se,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new vi,this.deactivations=[]}withPrintQuery(Ge){return[...Ge,Pt]}isPrintEvent(Ge){return Ge.mediaQuery.startsWith(Pt)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Ge=>this.breakpoints.findByAlias(Ge)).filter(Ge=>null!==Ge)}getEventBreakpoints({mediaQuery:Ge}){const Ot=this.breakpoints.findByQuery(Ge);return(Ot?[...this.printBreakPoints,Ot]:this.printBreakPoints).sort($)}updateEvent(Ge){let Ot=this.breakpoints.findByQuery(Ge.mediaQuery);return this.isPrintEvent(Ge)&&(Ot=this.getEventBreakpoints(Ge)[0],Ge.mediaQuery=Ot?.mediaQuery??""),Le(Ge,Ot)}registerBeforeAfterPrintHooks(Ge){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Ot=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Ge,this.getEventBreakpoints(new Re(!0,Pt))),Ge.updateStyles())},se=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Ge),Ge.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Ot),this._document.defaultView.addEventListener("afterprint",se),this.beforePrintEventListeners.push(Ot),this.afterPrintEventListeners.push(se)}interceptEvents(Ge){return Ot=>{this.isPrintEvent(Ot)?Ot.matches&&!this.isPrinting?(this.startPrinting(Ge,this.getEventBreakpoints(Ot)),Ge.updateStyles()):!Ot.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Ge),Ge.updateStyles()):this.collectActivations(Ge,Ot)}}blockPropagation(){return Ge=>!(this.isPrinting||this.isPrintEvent(Ge))}startPrinting(Ge,Ot){this.isPrinting=!0,this.formerActivations=Ge.activatedBreakpoints,Ge.activatedBreakpoints=this.queue.addPrintBreakpoints(Ot)}stopPrinting(Ge){Ge.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Ge,Ot){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Ot.matches){const se=this.breakpoints.findByQuery(Ot.mediaQuery);if(se){const We=this.formerActivations&&this.formerActivations.includes(se),bt=!this.formerActivations&&Ge.activatedBreakpoints.includes(se);(We||bt)&&(this.deactivations.push(se),this.deactivations.sort($))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Ge=>this._document.defaultView.removeEventListener("beforeprint",Ge)),this.afterPrintEventListeners.forEach(Ge=>this._document.defaultView.removeEventListener("afterprint",Ge)))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(pt),Ce.KVO(he),Ce.KVO(Ce.qQL))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class vi{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(ut){return ut.push(gn),ut.sort($),ut.forEach(Ge=>this.addBreakpoint(Ge)),this.printBreakpoints}addBreakpoint(ut){ut&&void 0===this.printBreakpoints.find(Ot=>Ot.mediaQuery===ut.mediaQuery)&&(this.printBreakpoints=function Ni(Be){return Be?.mediaQuery.startsWith(Pt)??!1}(ut)?[ut,...this.printBreakpoints]:[...this.printBreakpoints,ut])}clear(){this.printBreakpoints=[]}}let kn=(()=>{class Be{constructor(Ge,Ot,se){this.matchMedia=Ge,this.breakpoints=Ot,this.hook=se,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new G.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Ge){this._activatedBreakpoints=[...Ge]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Ge){this._useFallbacks=Ge}onMediaChange(Ge){const Ot=this.findByQuery(Ge.mediaQuery);if(Ot){Ge=Le(Ge,Ot);const se=this.activatedBreakpoints.indexOf(Ot);Ge.matches&&-1===se?(this._activatedBreakpoints.push(Ot),this._activatedBreakpoints.sort($),this.updateStyles()):!Ge.matches&&-1!==se&&(this._activatedBreakpoints.splice(se,1),this._activatedBreakpoints.sort($),this.updateStyles())}}init(Ge,Ot,se,We,bt=[]){Ri(this.updateMap,Ge,Ot,se),Ri(this.clearMap,Ge,Ot,We),this.buildElementKeyMap(Ge,Ot),this.watchExtraTriggers(Ge,Ot,bt)}getValue(Ge,Ot,se){const We=this.elementMap.get(Ge);if(We){const bt=void 0!==se?We.get(se):this.getActivatedValues(We,Ot);if(bt)return bt.get(Ot)}}hasValue(Ge,Ot){const se=this.elementMap.get(Ge);if(se){const We=this.getActivatedValues(se,Ot);if(We)return void 0!==We.get(Ot)||!1}return!1}setValue(Ge,Ot,se,We){let bt=this.elementMap.get(Ge);if(bt){const on=(bt.get(We)??new Map).set(Ot,se);bt.set(We,on),this.elementMap.set(Ge,bt)}else bt=(new Map).set(We,(new Map).set(Ot,se)),this.elementMap.set(Ge,bt);const tn=this.getValue(Ge,Ot);void 0!==tn&&this.updateElement(Ge,Ot,tn)}trackValue(Ge,Ot){return this.subject.asObservable().pipe((0,V.p)(se=>se.element===Ge&&se.key===Ot))}updateStyles(){this.elementMap.forEach((Ge,Ot)=>{const se=new Set(this.elementKeyMap.get(Ot));let We=this.getActivatedValues(Ge);We&&We.forEach((bt,tn)=>{this.updateElement(Ot,tn,bt),se.delete(tn)}),se.forEach(bt=>{if(We=this.getActivatedValues(Ge,bt),We){const tn=We.get(bt);this.updateElement(Ot,bt,tn)}else this.clearElement(Ot,bt)})})}clearElement(Ge,Ot){const se=this.clearMap.get(Ge);if(se){const We=se.get(Ot);We&&(We(),this.subject.next({element:Ge,key:Ot,value:""}))}}updateElement(Ge,Ot,se){const We=this.updateMap.get(Ge);if(We){const bt=We.get(Ot);bt&&(bt(se),this.subject.next({element:Ge,key:Ot,value:se}))}}releaseElement(Ge){const Ot=this.watcherMap.get(Ge);Ot&&(Ot.forEach(We=>We.unsubscribe()),this.watcherMap.delete(Ge));const se=this.elementMap.get(Ge);se&&(se.forEach((We,bt)=>se.delete(bt)),this.elementMap.delete(Ge))}triggerUpdate(Ge,Ot){const se=this.elementMap.get(Ge);if(se){const We=this.getActivatedValues(se,Ot);We&&(Ot?this.updateElement(Ge,Ot,We.get(Ot)):We.forEach((bt,tn)=>this.updateElement(Ge,tn,bt)))}}buildElementKeyMap(Ge,Ot){let se=this.elementKeyMap.get(Ge);se||(se=new Set,this.elementKeyMap.set(Ge,se)),se.add(Ot)}watchExtraTriggers(Ge,Ot,se){if(se&&se.length){let We=this.watcherMap.get(Ge);if(We||(We=new Map,this.watcherMap.set(Ge,We)),!We.get(Ot)){const tn=(0,xe.h)(...se).subscribe(()=>{const on=this.getValue(Ge,Ot);this.updateElement(Ge,Ot,on)});We.set(Ot,tn)}}}findByQuery(Ge){return this.breakpoints.findByQuery(Ge)}getActivatedValues(Ge,Ot){for(let We=0;WeOt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Ge)).pipe((0,ce.M)(this.hook.interceptEvents(this)),(0,V.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ce.KVO(Vt),Ce.KVO(pt),Ce.KVO(ei))},Be.\u0275prov=Ce.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function Ri(Be,ut,Ge,Ot){if(void 0!==Ot){const se=Be.get(ut)??new Map;se.set(Ge,Ot),Be.set(ut,se)}}let vt=(()=>{class Be{constructor(Ge,Ot,se,We){this.elementRef=Ge,this.styleBuilder=Ot,this.styler=se,this.marshal=We,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new G.B,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(Ge){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ge,this.marshal.activatedAlias)}ngOnChanges(Ge){Object.keys(Ge).forEach(Ot=>{if(-1!==this.inputs.indexOf(Ot)){const se=Ot.split(".").slice(1).join(".");this.setValue(Ge[Ot].currentValue,se)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Ge=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Ge)}addStyles(Ge,Ot){const se=this.styleBuilder,We=se.shouldCache;let bt=this.styleCache.get(Ge);(!bt||!We)&&(bt=se.buildStyles(Ge,Ot),We&&this.styleCache.set(Ge,bt)),this.mru={...bt},this.applyStyleToElement(bt),se.sideEffect(Ge,bt,Ot)}clearStyles(){Object.keys(this.mru).forEach(Ge=>{this.mru[Ge]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Ge,Ot=!1){if(Ge){const[se,We]=this.styler.getFlowDirection(Ge);if(!We&&Ot){const bt=(0,Ee.uG)(se);this.styler.applyStyleToElements(bt,[Ge])}return se.trim()}return"row"}hasWrap(Ge){return this.styler.hasWrap(Ge)}applyStyleToElement(Ge,Ot,se=this.nativeElement){this.styler.applyStyleToElement(se,Ge,Ot)}setValue(Ge,Ot){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ge,Ot)}updateWithValue(Ge){this.currentValue!==Ge&&(this.addStyles(Ge),this.currentValue=Ge)}}return Be.\u0275fac=function(Ge){return new(Ge||Be)(Ae.rXU(Ae.aKT),Ae.rXU(te),Ae.rXU(ie),Ae.rXU(kn))},Be.\u0275dir=Ae.FsC({type:Be,standalone:!1,features:[Ae.OA$]}),Be})();function at(Be,ut="1",Ge="1"){let Ot=[ut,Ge,Be],se=Be.indexOf("calc");if(se>0){Ot[2]=qe(Be.substring(se).trim());let We=Be.substr(0,se).trim().split(" ");2==We.length&&(Ot[0]=We[0],Ot[1]=We[1])}else if(0==se)Ot[2]=qe(Be.trim());else{let We=Be.split(" ");Ot=3===We.length?We:[ut,Ge,Be]}return Ot}function qe(Be){return Be.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Je(Be,ut){if(void 0===ut)return Be;const Ge=Ot=>{const se=+Ot.slice(0,-1);return Be.endsWith("x")&&!isNaN(se)?`${se*ut.value}${ut.unit}`:Be};return Be.includes(" ")?Be.split(" ").map(Ge).join(" "):Ge(Be)}EventTarget},6038(Zt,pe,l){"use strict";l.d(pe,{Cc:()=>P,PW:()=>W,eI:()=>Le});var i=l(7705),d=l(2615),v=l(3664),T=l(9340),w=l(2200),e=l(177),u=(l(4085),l(6977),l(345));let Ce=(()=>{class F extends T.DJ{constructor(H,$,Ke,Vt,St,ot,nt){super(H,null,$,Ke),this.ngClassInstance=nt,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new w.YU(Vt,St,H,ot)),this.init(),this.setValue("","")}set klass(H){this.ngClassInstance.klass=H,this.setValue(H,"")}updateWithValue(H){this.ngClassInstance.ngClass=H,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return F.\u0275fac=function(H){return new(H||F)(v.rXU(v.aKT),v.rXU(T.ZH),v.rXU(T.qH),v.rXU(i._q3),v.rXU(i.MKu),v.rXU(v.sFG),v.rXU(w.YU,10))},F.\u0275dir=v.FsC({type:F,inputs:{klass:[0,"class","klass"]},standalone:!1,features:[v.Vt3]}),F})();const Ae=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let W=(()=>{class F extends Ce{constructor(){super(...arguments),this.inputs=Ae}}return F.\u0275fac=(()=>{let ve;return function($){return(ve||(ve=v.xGo(F)))($||F)}})(),F.\u0275dir=v.FsC({type:F,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},standalone:!1,features:[v.Vt3]}),F})();class be{constructor(ve,H,$=!0){this.key=ve,this.value=H,this.key=$?ve.replace(/['"]/g,"").trim():ve.trim(),this.value=$?H.replace(/['"]/g,"").trim():H.trim(),this.value=this.value.replace(/;/,"")}}function ne(F){let ve=typeof F;return"object"===ve?F.constructor===Array?"array":F.constructor===Set?"set":"object":ve}function Xe(F){const[ve,...H]=F.split(":");return new be(ve,H.join(":"))}function _e(F,ve){return ve.key&&(F[ve.key]=ve.value),F}let he=(()=>{class F extends T.DJ{constructor(H,$,Ke,Vt,St,ot,nt,ht,oe){super(H,null,$,Ke),this.sanitizer=Vt,this.ngStyleInstance=nt,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new w.B3(H,St,ot)),this.init();const Ye=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Ye),this.isServer=ht&&(0,e.Vy)(oe)}updateWithValue(H){const $=this.buildStyleMap(H);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...$},this.isServer&&this.applyStyleToElement($),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(H){const $=Ke=>this.sanitizer.sanitize(v.WPN.STYLE,Ke)??"";if(H)switch(ne(H)){case"string":return te(function J(F,ve=";"){return String(F).trim().split(ve).map(H=>H.trim()).filter(H=>""!==H)}(H),$);case"array":return te(H,$);default:return function Re(F,ve){let H=[];return"set"===ne(F)?F.forEach($=>H.push($)):Object.keys(F).forEach($=>{H.push(`${$}:${F[$]}`)}),function De(F,ve){return F.map(Xe).filter($=>!!$).map($=>(ve&&($.value=ve($.value)),$)).reduce(_e,{})}(H,ve)}(H,$)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return F.\u0275fac=function(H){return new(H||F)(v.rXU(v.aKT),v.rXU(T.ZH),v.rXU(T.qH),v.rXU(u.up),v.rXU(i.MKu),v.rXU(v.sFG),v.rXU(w.B3,10),v.rXU(T.Ce),v.rXU(v.Agw))},F.\u0275dir=v.FsC({type:F,standalone:!1,features:[v.Vt3]}),F})();const Dt=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let Le=(()=>{class F extends he{constructor(){super(...arguments),this.inputs=Dt}}return F.\u0275fac=(()=>{let ve;return function($){return(ve||(ve=v.xGo(F)))($||F)}})(),F.\u0275dir=v.FsC({type:F,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},standalone:!1,features:[v.Vt3]}),F})();function te(F,ve){return F.map(Xe).filter($=>!!$).map($=>(ve&&($.value=ve($.value)),$)).reduce(_e,{})}let P=(()=>{class F{}return F.\u0275fac=function(H){return new(H||F)},F.\u0275mod=v.$C({type:F}),F.\u0275inj=d.G2t({imports:[T.Ui]}),F})()},2920(Zt,pe,l){"use strict";l.d(pe,{DJ:()=>A,UI:()=>Dt,sA:()=>ei,w2:()=>ge});var i=l(2615),d=l(3664),T=(l(1577),l(8203)),w=l(9340),e=l(4545),f=(l(1413),l(6977));let u=(()=>{class N extends w.r3{buildStyles(Me,{display:at}){const qe=(0,e.uG)(Me);return{...qe,display:"none"===at?at:qe.display}}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const L=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let B=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn,Je){super(Me,qe,at,pn),this._config=Je,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Me){const qe=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=Pe.get(qe)??new Map,Pe.set(qe,this.styleCache),this.currentValue!==Me&&(this.addStyles(Me,{display:qe}),this.currentValue=Me)}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(u),d.rXU(w.qH),d.rXU(w.EA))},N.\u0275dir=d.FsC({type:N,standalone:!1,features:[d.Vt3]}),N})(),A=(()=>{class N extends B{constructor(){super(...arguments),this.inputs=L}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const Pe=new Map;let Re=(()=>{class N extends w.r3{constructor(Me){super(),this.layoutConfig=Me}buildStyles(Me,at){let[qe,pn,...Je]=Me.split(" "),Be=Je.join(" ");const ut=at.direction.indexOf("column")>-1?"column":"row",Ge=(0,e.Vc)(ut)?"max-width":"max-height",Ot=(0,e.Vc)(ut)?"min-width":"min-height",se=String(Be).indexOf("calc")>-1,We=se||"auto"===Be,bt=String(Be).indexOf("%")>-1&&!se,tn=String(Be).indexOf("px")>-1||String(Be).indexOf("rem")>-1||String(Be).indexOf("em")>-1||String(Be).indexOf("vw")>-1||String(Be).indexOf("vh")>-1;let on=se||tn;qe="0"==qe?0:qe,pn="0"==pn?0:pn;const un=!qe&&!pn;let Nt={};const dn={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Be||""){case"":Be="row"===ut?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":qe=0,Be="auto";break;case"grow":Be="100%";break;case"noshrink":pn=0,Be="auto";break;case"auto":break;case"none":qe=0,pn=0,Be="auto";break;default:!on&&!bt&&!isNaN(Be)&&(Be+="%"),"0%"===Be&&(on=!0),"0px"===Be&&(Be="0%"),Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":on?Be:"100%"}:{flex:`${qe} ${pn} ${on?Be:"100%"}`})}return Nt.flex||Nt["flex-grow"]||(Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":Be}:{flex:`${qe} ${pn} ${Be}`})),"0%"!==Be&&"0px"!==Be&&"0.000000001px"!==Be&&"auto"!==Be&&(Nt[Ot]=un||on&&qe?Be:null,Nt[Ge]=un||!We&&pn?Be:null),Nt[Ot]||Nt[Ge]?at.hasWrap&&(Nt[se?"flex-basis":"flex"]=Nt[Ge]?se?Nt[Ge]:`${qe} ${pn} ${Nt[Ge]}`:se?Nt[Ot]:`${qe} ${pn} ${Nt[Ot]}`):Nt=(0,e.C5)(dn,se?{"flex-grow":qe,"flex-shrink":pn,"flex-basis":Be}:{flex:`${qe} ${pn} ${Be}`}),(0,e.C5)(Nt,{"box-sizing":"border-box"})}}return N.\u0275fac=function(Me){return new(Me||N)(i.KVO(w.EA))},N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const Xe=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let he=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn,Je){super(Me,pn,at,Je),this.layoutConfig=qe,this.marshal=Je,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(Me){this.flexShrink=Me||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Me){this.flexGrow=Me||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,f.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,f.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Me){const qe=Me.value.split(" ");this.direction=qe[0],this.wrap=void 0!==qe[1]&&"wrap"===qe[1],this.triggerUpdate()}updateWithValue(Me){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const qe=this.direction,pn=qe.startsWith("row"),Je=this.wrap;pn&&Je?this.styleCache=te:pn&&!Je?this.styleCache=lt:!pn&&Je?this.styleCache=ie:!pn&&!Je&&(this.styleCache=Le);const Be=String(Me).replace(";",""),ut=(0,w.hN)(Be,this.flexGrow,this.flexShrink);this.addStyles(ut.join(" "),{direction:qe,hasWrap:Je})}triggerReflow(){const Me=this.activatedValue;if(void 0!==Me){const at=(0,w.hN)(Me+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,at.join(" "))}}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(w.EA),d.rXU(Re),d.rXU(w.qH))},N.\u0275dir=d.FsC({type:N,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},standalone:!1,features:[d.Vt3]}),N})(),Dt=(()=>{class N extends he{constructor(){super(...arguments),this.inputs=Xe}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const lt=new Map,Le=new Map,te=new Map,ie=new Map;let wt=(()=>{class N extends w.r3{buildStyles(Me,at){const qe={},[pn,Je]=Me.split(" ");switch(pn){case"center":qe["justify-content"]="center";break;case"space-around":qe["justify-content"]="space-around";break;case"space-between":qe["justify-content"]="space-between";break;case"space-evenly":qe["justify-content"]="space-evenly";break;case"end":case"flex-end":qe["justify-content"]="flex-end";break;default:qe["justify-content"]="flex-start"}switch(Je){case"start":case"flex-start":qe["align-items"]=qe["align-content"]="flex-start";break;case"center":qe["align-items"]=qe["align-content"]="center";break;case"end":case"flex-end":qe["align-items"]=qe["align-content"]="flex-end";break;case"space-between":qe["align-content"]="space-between",qe["align-items"]="stretch";break;case"space-around":qe["align-content"]="space-around",qe["align-items"]="stretch";break;case"baseline":qe["align-content"]="stretch",qe["align-items"]="baseline";break;default:qe["align-items"]=qe["align-content"]="stretch"}return(0,e.C5)(qe,{display:at.inline?"inline-flex":"flex","flex-direction":at.layout,"box-sizing":"border-box","max-width":"stretch"===Je?(0,e.Vc)(at.layout)?null:"100%":null,"max-height":"stretch"===Je&&(0,e.Vc)(at.layout)?"100%":null})}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275prov=i.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const pt=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let gn=(()=>{class N extends w.DJ{constructor(Me,at,qe,pn){super(Me,qe,at,pn),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,f.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Me){const at=this.layout||"row",qe=this.inline;"row"===at&&qe?this.styleCache=vt:"row"!==at||qe?"row-reverse"===at&&qe?this.styleCache=ye:"row-reverse"!==at||qe?"column"===at&&qe?this.styleCache=ee:"column"!==at||qe?"column-reverse"===at&&qe?this.styleCache=ke:"column-reverse"===at&&!qe&&(this.styleCache=Ri):this.styleCache=Ni:this.styleCache=kn:this.styleCache=vi,this.addStyles(Me,{layout:at,inline:qe})}onLayoutChange(Me){const at=Me.value.split(" ");this.layout=at[0],this.inline=Me.value.includes("inline"),e.Uo.find(qe=>qe===this.layout)||(this.layout="row"),this.triggerUpdate()}}return N.\u0275fac=function(Me){return new(Me||N)(d.rXU(d.aKT),d.rXU(w.ZH),d.rXU(wt),d.rXU(w.qH))},N.\u0275dir=d.FsC({type:N,standalone:!1,features:[d.Vt3]}),N})(),ei=(()=>{class N extends gn{constructor(){super(...arguments),this.inputs=pt}}return N.\u0275fac=(()=>{let Z;return function(at){return(Z||(Z=d.xGo(N)))(at||N)}})(),N.\u0275dir=d.FsC({type:N,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},standalone:!1,features:[d.Vt3]}),N})();const vi=new Map,Ni=new Map,kn=new Map,Ri=new Map,vt=new Map,ee=new Map,ye=new Map,ke=new Map;let ge=(()=>{class N{}return N.\u0275fac=function(Me){return new(Me||N)},N.\u0275mod=d.$C({type:N}),N.\u0275inj=i.G2t({imports:[w.Ui,T.jI]}),N})()},9417(Zt,pe,l){"use strict";l.d(pe,{BC:()=>Sn,JD:()=>As,Q0:()=>Jt,VZ:()=>Jr,X1:()=>Sr,YN:()=>Ks,YS:()=>_r,ZU:()=>gt,cV:()=>Wn,cb:()=>Qn,cz:()=>Ee,hs:()=>Pi,j4:()=>Nn,k0:()=>be,kq:()=>Pe,l_:()=>Ze,me:()=>G,ok:()=>Or,qT:()=>Ve,vO:()=>Gt,vS:()=>Fe,zX:()=>Zr,ze:()=>Fs});var v=l(2615),T=l(3664),w=l(7705),e=l(9295),O=l(7303),f=l(1413),u=l(7468),L=l(2806),C=l(6354);let B=(()=>{class Ne{_renderer;_elementRef;onChange=q=>{};onTouched=()=>{};constructor(q,mt){this._renderer=q,this._elementRef=mt}setProperty(q,mt){this._renderer.setProperty(this._elementRef.nativeElement,q,mt)}registerOnTouched(q){this.onTouched=q}registerOnChange(q){this.onChange=q}setDisabledState(q){this.setProperty("disabled",q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(T.sFG),T.rXU(T.aKT))};static \u0275dir=T.FsC({type:Ne})}return Ne})(),A=(()=>{class Ne extends B{static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,features:[T.Vt3]})}return Ne})();const Pe=new v.nKC(""),Ae={provide:Pe,useExisting:(0,v.Rfq)(()=>G),multi:!0},W=new v.nKC("");let G=(()=>{class Ne extends B{_compositionMode;_composing=!1;constructor(q,mt,ln){super(q,mt),this._compositionMode=ln,null==this._compositionMode&&(this._compositionMode=!function j(){const Ne=(0,O.rb)()?(0,O.rb)().getUserAgent():"";return/android (\d+)/.test(Ne.toLowerCase())}())}writeValue(q){this.setProperty("value",q??"")}_handleInput(q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(q)}_compositionStart(){this._composing=!0}_compositionEnd(q){this._composing=!1,this._compositionMode&&this.onChange(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(T.sFG),T.rXU(T.aKT),T.rXU(W,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("input",function(ua){return ln._handleInput(ua.target.value)})("blur",function(){return ln.onTouched()})("compositionstart",function(){return ln._compositionStart()})("compositionend",function(ua){return ln._compositionEnd(ua.target.value)})},standalone:!1,features:[T.Jv_([Ae]),T.Vt3]})}return Ne})();function re(Ne){return null==Ne||0===xe(Ne)}function xe(Ne){return null==Ne?null:Array.isArray(Ne)||"string"==typeof Ne?Ne.length:Ne instanceof Set?Ne.size:null}const Ee=new v.nKC(""),V=new v.nKC(""),ce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class be{static min(He){return ne(He)}static max(He){return J(He)}static required(He){return De(He)}static requiredTrue(He){return function Re(Ne){return!0===Ne.value?null:{required:!0}}(He)}static email(He){return function Xe(Ne){return re(Ne.value)||ce.test(Ne.value)?null:{email:!0}}(He)}static minLength(He){return function _e(Ne){return He=>{const q=He.value?.length??xe(He.value);return null===q||0===q?null:q{const q=He.value?.length??xe(He.value);return null!==q&&q>Ne?{maxlength:{requiredLength:Ne,actualLength:q}}:null}}(He)}static pattern(He){return function Dt(Ne){if(!Ne)return lt;let He,q;return"string"==typeof Ne?(q="","^"!==Ne.charAt(0)&&(q+="^"),q+=Ne,"$"!==Ne.charAt(Ne.length-1)&&(q+="$"),He=new RegExp(q)):(q=Ne.toString(),He=Ne),mt=>{if(re(mt.value))return null;const ln=mt.value;return He.test(ln)?null:{pattern:{requiredPattern:q,actualValue:ln}}}}(He)}static nullValidator(He){return null}static compose(He){return H(He)}static composeAsync(He){return Ke(He)}}function ne(Ne){return He=>{if(null==He.value||null==Ne)return null;const q=parseFloat(He.value);return!isNaN(q)&&q{if(null==He.value||null==Ne)return null;const q=parseFloat(He.value);return!isNaN(q)&&q>Ne?{max:{max:Ne,actual:He.value}}:null}}function De(Ne){return re(Ne.value)?{required:!0}:null}function lt(Ne){return null}function Le(Ne){return null!=Ne}function te(Ne){return(0,T.yLl)(Ne)?(0,L.H)(Ne):Ne}function ie(Ne){let He={};return Ne.forEach(q=>{He=null!=q?{...He,...q}:He}),0===Object.keys(He).length?null:He}function P(Ne,He){return He.map(q=>q(Ne))}function ve(Ne){return Ne.map(He=>function F(Ne){return!Ne.validate}(He)?He:q=>He.validate(q))}function H(Ne){if(!Ne)return null;const He=Ne.filter(Le);return 0==He.length?null:function(q){return ie(P(q,He))}}function $(Ne){return null!=Ne?H(ve(Ne)):null}function Ke(Ne){if(!Ne)return null;const He=Ne.filter(Le);return 0==He.length?null:function(q){const mt=P(q,He).map(te);return(0,u.p)(mt).pipe((0,C.T)(ie))}}function Vt(Ne){return null!=Ne?Ke(ve(Ne)):null}function St(Ne,He){return null===Ne?[He]:Array.isArray(Ne)?[...Ne,He]:[Ne,He]}function ot(Ne){return Ne._rawValidators}function nt(Ne){return Ne._rawAsyncValidators}function ht(Ne){return Ne?Array.isArray(Ne)?Ne:[Ne]:[]}function oe(Ne,He){return Array.isArray(Ne)?Ne.includes(He):Ne===He}function Ye(Ne,He){const q=ht(He);return ht(Ne).forEach(ln=>{oe(q,ln)||q.push(ln)}),q}function fe(Ne,He){return ht(He).filter(q=>!oe(Ne,q))}class Qe{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(He){this._rawValidators=He||[],this._composedValidatorFn=$(this._rawValidators)}_setAsyncValidators(He){this._rawAsyncValidators=He||[],this._composedAsyncValidatorFn=Vt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(He){this._onDestroyCallbacks.push(He)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(He=>He()),this._onDestroyCallbacks=[]}reset(He=void 0){this.control&&this.control.reset(He)}hasError(He,q){return!!this.control&&this.control.hasError(He,q)}getError(He,q){return this.control?this.control.getError(He,q):null}}class gt extends Qe{name;get formDirective(){return null}get path(){return null}}class Gt extends Qe{_parent=null;name=null;valueAccessor=null}class rt{_cd;constructor(He){this._cd=He}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Sn=(()=>{class Ne extends rt{constructor(q){super(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Gt,2))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(mt,ln){2&mt&&T.AVh("ng-untouched",ln.isUntouched)("ng-touched",ln.isTouched)("ng-pristine",ln.isPristine)("ng-dirty",ln.isDirty)("ng-valid",ln.isValid)("ng-invalid",ln.isInvalid)("ng-pending",ln.isPending)},standalone:!1,features:[T.Vt3]})}return Ne})(),Qn=(()=>{class Ne extends rt{constructor(q){super(q)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,10))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(mt,ln){2&mt&&T.AVh("ng-untouched",ln.isUntouched)("ng-touched",ln.isTouched)("ng-pristine",ln.isPristine)("ng-dirty",ln.isDirty)("ng-valid",ln.isValid)("ng-invalid",ln.isInvalid)("ng-pending",ln.isPending)("ng-submitted",ln.isSubmitted)},standalone:!1,features:[T.Vt3]})}return Ne})();const N="VALID",Z="INVALID",Me="PENDING",at="DISABLED";class qe{}class pn extends qe{value;source;constructor(He,q){super(),this.value=He,this.source=q}}class Je extends qe{pristine;source;constructor(He,q){super(),this.pristine=He,this.source=q}}class Be extends qe{touched;source;constructor(He,q){super(),this.touched=He,this.source=q}}class ut extends qe{status;source;constructor(He,q){super(),this.status=He,this.source=q}}class Ge extends qe{source;constructor(He){super(),this.source=He}}class Ot extends qe{source;constructor(He){super(),this.source=He}}function se(Ne){return(on(Ne)?Ne.validators:Ne)||null}function bt(Ne,He){return(on(He)?He.asyncValidators:Ne)||null}function on(Ne){return null!=Ne&&!Array.isArray(Ne)&&"object"==typeof Ne}function un(Ne,He,q){const mt=Ne.controls;if(!(He?Object.keys(mt):mt).length)throw new v.buA(1e3,"");if(!mt[q])throw new v.buA(1001,"")}function Nt(Ne,He,q){Ne._forEachChild((mt,ln)=>{if(void 0===q[ln])throw new v.buA(1002,"")})}class dn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(He,q){this._assignValidators(He),this._assignAsyncValidators(q)}get validator(){return this._composedValidatorFn}set validator(He){this._rawValidators=this._composedValidatorFn=He}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(He){this._rawAsyncValidators=this._composedAsyncValidatorFn=He}get parent(){return this._parent}get status(){return(0,e.O8)(this.statusReactive)}set status(He){(0,e.O8)(()=>this.statusReactive.set(He))}_status=(0,e.EW)(()=>this.statusReactive());statusReactive=(0,v.vPA)(void 0);get valid(){return this.status===N}get invalid(){return this.status===Z}get pending(){return this.status==Me}get disabled(){return this.status===at}get enabled(){return this.status!==at}errors;get pristine(){return(0,e.O8)(this.pristineReactive)}set pristine(He){(0,e.O8)(()=>this.pristineReactive.set(He))}_pristine=(0,e.EW)(()=>this.pristineReactive());pristineReactive=(0,v.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,e.O8)(this.touchedReactive)}set touched(He){(0,e.O8)(()=>this.touchedReactive.set(He))}_touched=(0,e.EW)(()=>this.touchedReactive());touchedReactive=(0,v.vPA)(!1);get untouched(){return!this.touched}_events=new f.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(He){this._assignValidators(He)}setAsyncValidators(He){this._assignAsyncValidators(He)}addValidators(He){this.setValidators(Ye(He,this._rawValidators))}addAsyncValidators(He){this.setAsyncValidators(Ye(He,this._rawAsyncValidators))}removeValidators(He){this.setValidators(fe(He,this._rawValidators))}removeAsyncValidators(He){this.setAsyncValidators(fe(He,this._rawAsyncValidators))}hasValidator(He){return oe(this._rawValidators,He)}hasAsyncValidator(He){return oe(this._rawAsyncValidators,He)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(He={}){const q=!1===this.touched;this.touched=!0;const mt=He.sourceControl??this;this._parent&&!He.onlySelf&&this._parent.markAsTouched({...He,sourceControl:mt}),q&&!1!==He.emitEvent&&this._events.next(new Be(!0,mt))}markAllAsDirty(He={}){this.markAsDirty({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:this}),this._forEachChild(q=>q.markAllAsDirty(He))}markAllAsTouched(He={}){this.markAsTouched({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:this}),this._forEachChild(q=>q.markAllAsTouched(He))}markAsUntouched(He={}){const q=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const mt=He.sourceControl??this;this._forEachChild(ln=>{ln.markAsUntouched({onlySelf:!0,emitEvent:He.emitEvent,sourceControl:mt})}),this._parent&&!He.onlySelf&&this._parent._updateTouched(He,mt),q&&!1!==He.emitEvent&&this._events.next(new Be(!1,mt))}markAsDirty(He={}){const q=!0===this.pristine;this.pristine=!1;const mt=He.sourceControl??this;this._parent&&!He.onlySelf&&this._parent.markAsDirty({...He,sourceControl:mt}),q&&!1!==He.emitEvent&&this._events.next(new Je(!1,mt))}markAsPristine(He={}){const q=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const mt=He.sourceControl??this;this._forEachChild(ln=>{ln.markAsPristine({onlySelf:!0,emitEvent:He.emitEvent})}),this._parent&&!He.onlySelf&&this._parent._updatePristine(He,mt),q&&!1!==He.emitEvent&&this._events.next(new Je(!0,mt))}markAsPending(He={}){this.status=Me;const q=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new ut(this.status,q)),this.statusChanges.emit(this.status)),this._parent&&!He.onlySelf&&this._parent.markAsPending({...He,sourceControl:q})}disable(He={}){const q=this._parentMarkedDirty(He.onlySelf);this.status=at,this.errors=null,this._forEachChild(ln=>{ln.disable({...He,onlySelf:!0})}),this._updateValue();const mt=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new pn(this.value,mt)),this._events.next(new ut(this.status,mt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...He,skipPristineCheck:q},this),this._onDisabledChange.forEach(ln=>ln(!0))}enable(He={}){const q=this._parentMarkedDirty(He.onlySelf);this.status=N,this._forEachChild(mt=>{mt.enable({...He,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:He.emitEvent}),this._updateAncestors({...He,skipPristineCheck:q},this),this._onDisabledChange.forEach(mt=>mt(!1))}_updateAncestors(He,q){this._parent&&!He.onlySelf&&(this._parent.updateValueAndValidity(He),He.skipPristineCheck||this._parent._updatePristine({},q),this._parent._updateTouched({},q))}setParent(He){this._parent=He}getRawValue(){return this.value}updateValueAndValidity(He={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const mt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===N||this.status===Me)&&this._runAsyncValidator(mt,He.emitEvent)}const q=He.sourceControl??this;!1!==He.emitEvent&&(this._events.next(new pn(this.value,q)),this._events.next(new ut(this.status,q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!He.onlySelf&&this._parent.updateValueAndValidity({...He,sourceControl:q})}_updateTreeValidity(He={emitEvent:!0}){this._forEachChild(q=>q._updateTreeValidity(He)),this.updateValueAndValidity({onlySelf:!0,emitEvent:He.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?at:N}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(He,q){if(this.asyncValidator){this.status=Me,this._hasOwnPendingAsyncValidator={emitEvent:!1!==q,shouldHaveEmitted:!1!==He};const mt=te(this.asyncValidator(this));this._asyncValidationSubscription=mt.subscribe(ln=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ln,{emitEvent:q,shouldHaveEmitted:He})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const He=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,He}return!1}setErrors(He,q={}){this.errors=He,this._updateControlsErrors(!1!==q.emitEvent,this,q.shouldHaveEmitted)}get(He){let q=He;return null==q||(Array.isArray(q)||(q=q.split(".")),0===q.length)?null:q.reduce((mt,ln)=>mt&&mt._find(ln),this)}getError(He,q){const mt=q?this.get(q):this;return mt&&mt.errors?mt.errors[He]:null}hasError(He,q){return!!this.getError(He,q)}get root(){let He=this;for(;He._parent;)He=He._parent;return He}_updateControlsErrors(He,q,mt){this.status=this._calculateStatus(),He&&this.statusChanges.emit(this.status),(He||mt)&&this._events.next(new ut(this.status,q)),this._parent&&this._parent._updateControlsErrors(He,q,mt)}_initObservables(){this.valueChanges=new T.bkB,this.statusChanges=new T.bkB}_calculateStatus(){return this._allControlsDisabled()?at:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Me)?Me:this._anyControlsHaveStatus(Z)?Z:N}_anyControlsHaveStatus(He){return this._anyControls(q=>q.status===He)}_anyControlsDirty(){return this._anyControls(He=>He.dirty)}_anyControlsTouched(){return this._anyControls(He=>He.touched)}_updatePristine(He,q){const mt=!this._anyControlsDirty(),ln=this.pristine!==mt;this.pristine=mt,this._parent&&!He.onlySelf&&this._parent._updatePristine(He,q),ln&&this._events.next(new Je(this.pristine,q))}_updateTouched(He={},q){this.touched=this._anyControlsTouched(),this._events.next(new Be(this.touched,q)),this._parent&&!He.onlySelf&&this._parent._updateTouched(He,q)}_onDisabledChange=[];_registerOnCollectionChange(He){this._onCollectionChange=He}_setUpdateStrategy(He){on(He)&&null!=He.updateOn&&(this._updateOn=He.updateOn)}_parentMarkedDirty(He){return!He&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(He){return null}_assignValidators(He){this._rawValidators=Array.isArray(He)?He.slice():He,this._composedValidatorFn=function We(Ne){return Array.isArray(Ne)?$(Ne):Ne||null}(this._rawValidators)}_assignAsyncValidators(He){this._rawAsyncValidators=Array.isArray(He)?He.slice():He,this._composedAsyncValidatorFn=function tn(Ne){return Array.isArray(Ne)?Vt(Ne):Ne||null}(this._rawAsyncValidators)}}class xn extends dn{constructor(He,q,mt){super(se(q),bt(mt,q)),this.controls=He,this._initObservables(),this._setUpdateStrategy(q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(He,q){return this.controls[He]?this.controls[He]:(this.controls[He]=q,q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange),q)}addControl(He,q,mt={}){this.registerControl(He,q),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}removeControl(He,q={}){this.controls[He]&&this.controls[He]._registerOnCollectionChange(()=>{}),delete this.controls[He],this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}setControl(He,q,mt={}){this.controls[He]&&this.controls[He]._registerOnCollectionChange(()=>{}),delete this.controls[He],q&&this.registerControl(He,q),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}contains(He){return this.controls.hasOwnProperty(He)&&this.controls[He].enabled}setValue(He,q={}){Nt(this,0,He),Object.keys(He).forEach(mt=>{un(this,!0,mt),this.controls[mt].setValue(He[mt],{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q)}patchValue(He,q={}){null!=He&&(Object.keys(He).forEach(mt=>{const ln=this.controls[mt];ln&&ln.patchValue(He[mt],{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q))}reset(He={},q={}){this._forEachChild((mt,ln)=>{mt.reset(He?He[ln]:null,{onlySelf:!0,emitEvent:q.emitEvent})}),this._updatePristine(q,this),this._updateTouched(q,this),this.updateValueAndValidity(q),!1!==q?.emitEvent&&this._events.next(new Ot(this))}getRawValue(){return this._reduceChildren({},(He,q,mt)=>(He[mt]=q.getRawValue(),He))}_syncPendingControls(){let He=this._reduceChildren(!1,(q,mt)=>!!mt._syncPendingControls()||q);return He&&this.updateValueAndValidity({onlySelf:!0}),He}_forEachChild(He){Object.keys(this.controls).forEach(q=>{const mt=this.controls[q];mt&&He(mt,q)})}_setUpControls(){this._forEachChild(He=>{He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(He){for(const[q,mt]of Object.entries(this.controls))if(this.contains(q)&&He(mt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(q,mt,ln)=>((mt.enabled||this.disabled)&&(q[ln]=mt.value),q))}_reduceChildren(He,q){let mt=He;return this._forEachChild((ln,Oi)=>{mt=q(mt,ln,Oi)}),mt}_allControlsDisabled(){for(const He of Object.keys(this.controls))if(this.controls[He].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(He){return this.controls.hasOwnProperty(He)?this.controls[He]:null}}class Tt extends xn{}const we=new v.nKC("",{providedIn:"root",factory:()=>ae}),ae="always";function Lt(Ne,He){return[...He.path,Ne]}function Ht(Ne,He,q=ae){Qi(Ne,He),He.valueAccessor.writeValue(Ne.value),(Ne.disabled||"always"===q)&&He.valueAccessor.setDisabledState?.(Ne.disabled),function It(Ne,He){He.valueAccessor.registerOnChange(q=>{Ne._pendingValue=q,Ne._pendingChange=!0,Ne._pendingDirty=!0,"change"===Ne.updateOn&&Yt(Ne,He)})}(Ne,He),function Un(Ne,He){const q=(mt,ln)=>{He.valueAccessor.writeValue(mt),ln&&He.viewToModelUpdate(mt)};Ne.registerOnChange(q),He._registerOnDestroy(()=>{Ne._unregisterOnChange(q)})}(Ne,He),function an(Ne,He){He.valueAccessor.registerOnTouched(()=>{Ne._pendingTouched=!0,"blur"===Ne.updateOn&&Ne._pendingChange&&Yt(Ne,He),"submit"!==Ne.updateOn&&Ne.markAsTouched()})}(Ne,He),function bi(Ne,He){if(He.valueAccessor.setDisabledState){const q=mt=>{He.valueAccessor.setDisabledState(mt)};Ne.registerOnDisabledChange(q),He._registerOnDestroy(()=>{Ne._unregisterOnDisabledChange(q)})}}(Ne,He)}function _n(Ne,He,q=!0){const mt=()=>{};He.valueAccessor&&(He.valueAccessor.registerOnChange(mt),He.valueAccessor.registerOnTouched(mt)),zi(Ne,He),Ne&&(He._invokeOnDestroyCallbacks(),Ne._registerOnCollectionChange(()=>{}))}function fi(Ne,He){Ne.forEach(q=>{q.registerOnValidatorChange&&q.registerOnValidatorChange(He)})}function Qi(Ne,He){const q=ot(Ne);null!==He.validator?Ne.setValidators(St(q,He.validator)):"function"==typeof q&&Ne.setValidators([q]);const mt=nt(Ne);null!==He.asyncValidator?Ne.setAsyncValidators(St(mt,He.asyncValidator)):"function"==typeof mt&&Ne.setAsyncValidators([mt]);const ln=()=>Ne.updateValueAndValidity();fi(He._rawValidators,ln),fi(He._rawAsyncValidators,ln)}function zi(Ne,He){let q=!1;if(null!==Ne){if(null!==He.validator){const ln=ot(Ne);if(Array.isArray(ln)&&ln.length>0){const Oi=ln.filter(ua=>ua!==He.validator);Oi.length!==ln.length&&(q=!0,Ne.setValidators(Oi))}}if(null!==He.asyncValidator){const ln=nt(Ne);if(Array.isArray(ln)&&ln.length>0){const Oi=ln.filter(ua=>ua!==He.asyncValidator);Oi.length!==ln.length&&(q=!0,Ne.setAsyncValidators(Oi))}}}const mt=()=>{};return fi(He._rawValidators,mt),fi(He._rawAsyncValidators,mt),q}function Yt(Ne,He){Ne._pendingDirty&&Ne.markAsDirty(),Ne.setValue(Ne._pendingValue,{emitModelToViewChange:!1}),He.viewToModelUpdate(Ne._pendingValue),Ne._pendingChange=!1}function zn(Ne,He){Qi(Ne,He)}function ii(Ne,He){if(!Ne.hasOwnProperty("model"))return!1;const q=Ne.model;return!!q.isFirstChange()||!Object.is(He,q.currentValue)}function ia(Ne,He){Ne._syncPendingControls(),He.forEach(q=>{const mt=q.control;"submit"===mt.updateOn&&mt._pendingChange&&(q.viewToModelUpdate(mt._pendingValue),mt._pendingChange=!1)})}function ra(Ne,He){if(!He)return null;let q,mt,ln;return Array.isArray(He),He.forEach(Oi=>{Oi.constructor===G?q=Oi:function Bn(Ne){return Object.getPrototypeOf(Ne.constructor)===A}(Oi)?mt=Oi:ln=Oi}),ln||mt||q||null}const qt={provide:gt,useExisting:(0,v.Rfq)(()=>Wn)},En=Promise.resolve();let Wn=(()=>{class Ne extends gt{callSetDisabledState;get submitted(){return(0,e.O8)(this.submittedReactive)}_submitted=(0,e.EW)(()=>this.submittedReactive());submittedReactive=(0,v.vPA)(!1);_directives=new Set;form;ngSubmit=new T.bkB;options;constructor(q,mt,ln){super(),this.callSetDisabledState=ln,this.form=new xn({},$(q),Vt(mt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(q){En.then(()=>{const mt=this._findContainer(q.path);q.control=mt.registerControl(q.name,q.control),Ht(q.control,q,this.callSetDisabledState),q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(q)})}getControl(q){return this.form.get(q.path)}removeControl(q){En.then(()=>{const mt=this._findContainer(q.path);mt&&mt.removeControl(q.name),this._directives.delete(q)})}addFormGroup(q){En.then(()=>{const mt=this._findContainer(q.path),ln=new xn({});zn(ln,q),mt.registerControl(q.name,ln),ln.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(q){En.then(()=>{const mt=this._findContainer(q.path);mt&&mt.removeControl(q.name)})}getFormGroup(q){return this.form.get(q.path)}updateModel(q,mt){En.then(()=>{this.form.get(q.path).setValue(mt)})}setValue(q){this.control.setValue(q)}onSubmit(q){return this.submittedReactive.set(!0),ia(this.form,this._directives),this.ngSubmit.emit(q),this.form._events.next(new Ge(this.control)),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0){this.form.reset(q),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(q){return q.pop(),q.length?this.form.get(q):this.form}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("submit",function(ua){return ln.onSubmit(ua)})("reset",function(){return ln.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([qt]),T.Vt3]})}return Ne})();function ri(Ne,He){const q=Ne.indexOf(He);q>-1&&Ne.splice(q,1)}function Rn(Ne){return"object"==typeof Ne&&null!==Ne&&2===Object.keys(Ne).length&&"value"in Ne&&"disabled"in Ne}const Hn=class extends dn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(He=null,q,mt){super(se(q),bt(mt,q)),this._applyFormState(He),this._setUpdateStrategy(q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),on(q)&&(q.nonNullable||q.initialValueIsDefault)&&(this.defaultValue=Rn(He)?He.value:He)}setValue(He,q={}){this.value=this._pendingValue=He,this._onChange.length&&!1!==q.emitModelToViewChange&&this._onChange.forEach(mt=>mt(this.value,!1!==q.emitViewToModelChange)),this.updateValueAndValidity(q)}patchValue(He,q={}){this.setValue(He,q)}reset(He=this.defaultValue,q={}){this._applyFormState(He),this.markAsPristine(q),this.markAsUntouched(q),this.setValue(this.value,q),this._pendingChange=!1,!1!==q?.emitEvent&&this._events.next(new Ot(this))}_updateValue(){}_anyControls(He){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(He){this._onChange.push(He)}_unregisterOnChange(He){ri(this._onChange,He)}registerOnDisabledChange(He){this._onDisabledChange.push(He)}_unregisterOnDisabledChange(He){ri(this._onDisabledChange,He)}_forEachChild(He){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(He){Rn(He)?(this.value=this._pendingValue=He.value,He.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=He}},Pi=Hn,Wi={provide:Gt,useExisting:(0,v.Rfq)(()=>Fe)},Ca=Promise.resolve();let Fe=(()=>{class Ne extends Gt{_changeDetectorRef;callSetDisabledState;control=new Hn;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new T.bkB;constructor(q,mt,ln,Oi,ua,Es){super(),this._changeDetectorRef=ua,this.callSetDisabledState=Es,this._parent=q,this._setValidators(mt),this._setAsyncValidators(ln),this.valueAccessor=ra(0,Oi)}ngOnChanges(q){if(this._checkForErrors(),!this._registered||"name"in q){if(this._registered&&(this._checkName(),this.formDirective)){const mt=q.name.previousValue;this.formDirective.removeControl({name:mt,path:this._getPath(mt)})}this._setUpControl()}"isDisabled"in q&&this._updateDisabled(q),ii(q,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ht(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(q){Ca.then(()=>{this.control.setValue(q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(q){const mt=q.isDisabled.currentValue,ln=0!==mt&&(0,w.L39)(mt);Ca.then(()=>{ln&&!this.control.disabled?this.control.disable():!ln&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(q){return this._parent?Lt(q,this._parent):[q]}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,9),T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(w.gRc,8),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[T.Jv_([Wi]),T.Vt3,T.OA$]})}return Ne})(),Ve=(()=>{class Ne{static \u0275fac=function(mt){return new(mt||Ne)};static \u0275dir=T.FsC({type:Ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return Ne})();const Et={provide:Pe,useExisting:(0,v.Rfq)(()=>Jt),multi:!0};let Jt=(()=>{class Ne extends A{writeValue(q){this.setProperty("value",q??"")}registerOnChange(q){this.onChange=mt=>{q(""==mt?null:parseFloat(mt))}}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("input",function(ua){return ln.onChange(ua.target.value)})("blur",function(){return ln.onTouched()})},standalone:!1,features:[T.Jv_([Et]),T.Vt3]})}return Ne})();const U=new v.nKC(""),tt={provide:Gt,useExisting:(0,v.Rfq)(()=>Ze)};let Ze=(()=>{class Ne extends Gt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(q){}model;update=new T.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(q,mt,ln,Oi,ua){super(),this._ngModelWarningConfig=Oi,this.callSetDisabledState=ua,this._setValidators(q),this._setAsyncValidators(mt),this.valueAccessor=ra(0,ln)}ngOnChanges(q){if(this._isControlChanged(q)){const mt=q.form.previousValue;mt&&_n(mt,this,!1),Ht(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ii(q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_n(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}_isControlChanged(q){return q.hasOwnProperty("form")}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(U,8),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([tt]),T.Vt3,T.OA$]})}return Ne})();const Xt={provide:gt,useExisting:(0,v.Rfq)(()=>Nn)};let Nn=(()=>{class Ne extends gt{callSetDisabledState;get submitted(){return(0,e.O8)(this._submittedReactive)}set submitted(q){this._submittedReactive.set(q)}_submitted=(0,e.EW)(()=>this._submittedReactive());_submittedReactive=(0,v.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new T.bkB;constructor(q,mt,ln){super(),this.callSetDisabledState=ln,this._setValidators(q),this._setAsyncValidators(mt)}ngOnChanges(q){q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(zi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(q){const mt=this.form.get(q.path);return Ht(mt,q,this.callSetDisabledState),mt.updateValueAndValidity({emitEvent:!1}),this.directives.push(q),mt}getControl(q){return this.form.get(q.path)}removeControl(q){_n(q.control||null,q,!1),function fa(Ne,He){const q=Ne.indexOf(He);q>-1&&Ne.splice(q,1)}(this.directives,q)}addFormGroup(q){this._setUpFormContainer(q)}removeFormGroup(q){this._cleanUpFormContainer(q)}getFormGroup(q){return this.form.get(q.path)}addFormArray(q){this._setUpFormContainer(q)}removeFormArray(q){this._cleanUpFormContainer(q)}getFormArray(q){return this.form.get(q.path)}updateModel(q,mt){this.form.get(q.path).setValue(mt)}onSubmit(q){return this._submittedReactive.set(!0),ia(this.form,this.directives),this.ngSubmit.emit(q),this.form._events.next(new Ge(this.control)),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0,mt={}){this.form.reset(q,mt),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(q=>{const mt=q.control,ln=this.form.get(q.path);mt!==ln&&(_n(mt||null,q),(Ne=>Ne instanceof Hn)(ln)&&(Ht(ln,q,this.callSetDisabledState),q.control=ln))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(q){const mt=this.form.get(q.path);zn(mt,q),mt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(q){if(this.form){const mt=this.form.get(q.path);mt&&function Fn(Ne,He){return zi(Ne,He)}(mt,q)&&mt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qi(this.form,this),this._oldForm&&zi(this._oldForm,this)}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(Ee,10),T.rXU(V,10),T.rXU(we,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formGroup",""]],hostBindings:function(mt,ln){1&mt&&T.bIt("submit",function(ua){return ln.onSubmit(ua)})("reset",function(){return ln.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[T.Jv_([Xt]),T.Vt3,T.OA$]})}return Ne})();const Ga={provide:Gt,useExisting:(0,v.Rfq)(()=>As)};let As=(()=>{class Ne extends Gt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(q){}model;update=new T.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(q,mt,ln,Oi,ua){super(),this._ngModelWarningConfig=ua,this._parent=q,this._setValidators(mt),this._setAsyncValidators(ln),this.valueAccessor=ra(0,Oi)}ngOnChanges(q){this._added||this._setUpControl(),ii(q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}get path(){return Lt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(mt){return new(mt||Ne)(T.rXU(gt,13),T.rXU(Ee,10),T.rXU(V,10),T.rXU(Pe,10),T.rXU(U,8))};static \u0275dir=T.FsC({type:Ne,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[T.Jv_([Ga]),T.Vt3,T.OA$]})}return Ne})();function kr(Ne){return"number"==typeof Ne?Ne:parseFloat(Ne)}let js=(()=>{class Ne{_validator=lt;_onChange;_enabled;ngOnChanges(q){if(this.inputName in q){const mt=this.normalizeInput(q[this.inputName].currentValue);this._enabled=this.enabled(mt),this._validator=this._enabled?this.createValidator(mt):lt,this._onChange&&this._onChange()}}validate(q){return this._validator(q)}registerOnValidatorChange(q){this._onChange=q}enabled(q){return null!=q}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275dir=T.FsC({type:Ne,features:[T.OA$]})}return Ne})();const Vo={provide:Ee,useExisting:(0,v.Rfq)(()=>Zr),multi:!0};let Zr=(()=>{class Ne extends js{max;inputName="max";normalizeInput=q=>kr(q);createValidator=q=>J(q);static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("max",ln._enabled?ln.max:null)},inputs:{max:"max"},standalone:!1,features:[T.Jv_([Vo]),T.Vt3]})}return Ne})();const qo={provide:Ee,useExisting:(0,v.Rfq)(()=>Jr),multi:!0};let Jr=(()=>{class Ne extends js{min;inputName="min";normalizeInput=q=>kr(q);createValidator=q=>ne(q);static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("min",ln._enabled?ln.min:null)},inputs:{min:"min"},standalone:!1,features:[T.Jv_([qo]),T.Vt3]})}return Ne})();const Co={provide:Ee,useExisting:(0,v.Rfq)(()=>_r),multi:!0};let _r=(()=>{class Ne extends js{required;inputName="required";normalizeInput=w.L39;createValidator=q=>De;enabled(q){return q}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275dir=T.FsC({type:Ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(mt,ln){2&mt&&T.BMQ("required",ln._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[T.Jv_([Co]),T.Vt3]})}return Ne})(),er=(()=>{class Ne{static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({})}return Ne})();class Xs extends dn{constructor(He,q,mt){super(se(q),bt(mt,q)),this.controls=He,this._initObservables(),this._setUpdateStrategy(q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(He){return this.controls[this._adjustIndex(He)]}push(He,q={}){Array.isArray(He)?He.forEach(mt=>{this.controls.push(mt),this._registerControl(mt)}):(this.controls.push(He),this._registerControl(He)),this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}insert(He,q,mt={}){this.controls.splice(He,0,q),this._registerControl(q),this.updateValueAndValidity({emitEvent:mt.emitEvent})}removeAt(He,q={}){let mt=this._adjustIndex(He);mt<0&&(mt=0),this.controls[mt]&&this.controls[mt]._registerOnCollectionChange(()=>{}),this.controls.splice(mt,1),this.updateValueAndValidity({emitEvent:q.emitEvent})}setControl(He,q,mt={}){let ln=this._adjustIndex(He);ln<0&&(ln=0),this.controls[ln]&&this.controls[ln]._registerOnCollectionChange(()=>{}),this.controls.splice(ln,1),q&&(this.controls.splice(ln,0,q),this._registerControl(q)),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(He,q={}){Nt(this,0,He),He.forEach((mt,ln)=>{un(this,!1,ln),this.at(ln).setValue(mt,{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q)}patchValue(He,q={}){null!=He&&(He.forEach((mt,ln)=>{this.at(ln)&&this.at(ln).patchValue(mt,{onlySelf:!0,emitEvent:q.emitEvent})}),this.updateValueAndValidity(q))}reset(He=[],q={}){this._forEachChild((mt,ln)=>{mt.reset(He[ln],{onlySelf:!0,emitEvent:q.emitEvent})}),this._updatePristine(q,this),this._updateTouched(q,this),this.updateValueAndValidity(q),!1!==q?.emitEvent&&this._events.next(new Ot(this))}getRawValue(){return this.controls.map(He=>He.getRawValue())}clear(He={}){this.controls.length<1||(this._forEachChild(q=>q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:He.emitEvent}))}_adjustIndex(He){return He<0?He+this.length:He}_syncPendingControls(){let He=this.controls.reduce((q,mt)=>!!mt._syncPendingControls()||q,!1);return He&&this.updateValueAndValidity({onlySelf:!0}),He}_forEachChild(He){this.controls.forEach((q,mt)=>{He(q,mt)})}_updateValue(){this.value=this.controls.filter(He=>He.enabled||this.disabled).map(He=>He.value)}_anyControls(He){return this.controls.some(q=>q.enabled&&He(q))}_setUpControls(){this._forEachChild(He=>this._registerControl(He))}_allControlsDisabled(){for(const He of this.controls)if(He.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(He){He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange)}_find(He){return this.at(He)??null}}function Za(Ne){return!!Ne&&(void 0!==Ne.asyncValidators||void 0!==Ne.validators||void 0!==Ne.updateOn)}let Or=(()=>{class Ne{useNonNullable=!1;get nonNullable(){const q=new Ne;return q.useNonNullable=!0,q}group(q,mt=null){const ln=this._reduceControls(q);let Oi={};return Za(mt)?Oi=mt:null!==mt&&(Oi.validators=mt.validator,Oi.asyncValidators=mt.asyncValidator),new xn(ln,Oi)}record(q,mt=null){const ln=this._reduceControls(q);return new Tt(ln,mt)}control(q,mt,ln){let Oi={};return this.useNonNullable?(Za(mt)?Oi=mt:(Oi.validators=mt,Oi.asyncValidators=ln),new Hn(q,{...Oi,nonNullable:!0})):new Hn(q,mt,ln)}array(q,mt,ln){const Oi=q.map(ua=>this._createControl(ua));return new Xs(Oi,mt,ln)}_reduceControls(q){const mt={};return Object.keys(q).forEach(ln=>{mt[ln]=this._createControl(q[ln])}),mt}_createControl(q){return q instanceof Hn||q instanceof dn?q:Array.isArray(q)?this.control(q[0],q.length>1?q[1]:null,q.length>2?q[2]:null):this.control(q)}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275prov=v.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Fs=(()=>{class Ne extends Or{group(q,mt=null){return super.group(q,mt)}control(q,mt,ln){return super.control(q,mt,ln)}array(q,mt,ln){return super.array(q,mt,ln)}static \u0275fac=(()=>{let q;return function(ln){return(q||(q=T.xGo(Ne)))(ln||Ne)}})();static \u0275prov=v.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Ks=(()=>{class Ne{static withConfig(q){return{ngModule:Ne,providers:[{provide:we,useValue:q.callSetDisabledState??ae}]}}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({imports:[er]})}return Ne})(),Sr=(()=>{class Ne{static withConfig(q){return{ngModule:Ne,providers:[{provide:U,useValue:q.warnOnNgModelWithFormControl??"always"},{provide:we,useValue:q.callSetDisabledState??ae}]}}static \u0275fac=function(mt){return new(mt||Ne)};static \u0275mod=T.$C({type:Ne});static \u0275inj=v.G2t({imports:[er]})}return Ne})()},1804(Zt,pe,l){"use strict";l.d(pe,{Rc:()=>u,_J:()=>f});var i=l(4330),d=l(2615),v=l(3664);const T=new d.nKC("MATERIAL_ANIMATIONS");let O=null;function f(){return(0,d.WQX)(T,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,d.WQX)(v.bc$,{optional:!0})?"di-disabled":(O??=(0,d.WQX)(i.D).matchMedia("(prefers-reduced-motion)").matches,O?"reduced-motion":"enabled")}function u(){return"enabled"!==f()}},2628(Zt,pe,l){"use strict";l.d(pe,{$3:()=>gt,jL:()=>jt,pN:()=>h});var i=l(3029),d=l(3664),v=l(2615),T=l(7705),w=l(5718),e=l(9338),O=l(9726),f=l(9090),u=l(8617),L=l(9842),C=l(4522),B=l(8359),A=l(1413),Pe=l(7786),le=l(7673),Ce=l(9030),Ae=l(1985),j=l(1804),W=l(1577),G=l(7336),re=l(438),xe=l(4330),Ee=l(9327),V=l(6939),ce=l(408),be=l(9417),ne=l(5964),J=l(6354),De=l(9172),Re=l(5558),Xe=l(8141),_e=l(3236),he=l(8793),Dt=l(6697),lt=l(3557),Le=l(3703),te=l(1397),ie=l(8750);function P(Ue,wt){return wt?pt=>(0,he.x)(wt.pipe((0,Dt.s)(1),(0,lt.w)()),pt.pipe(P(Ue))):(0,te.Z)((pt,Pt)=>(0,ie.Tg)(Ue(pt,Pt)).pipe((0,Dt.s)(1),(0,Le.u)(pt)))}var F=l(1807);function ve(Ue,wt=_e.E){const pt=(0,F.O)(Ue,wt);return P(()=>pt)}var H=l(9588),$=l(146),Ke=l(2466);const nt=["panel"],ht=["*"];function oe(Ue,wt){if(1&Ue&&(d.rj2(0,"div",1,0),d.SdG(2),d.eux()),2&Ue){const pt=wt.id,Pt=d.XpG();d.HbH(Pt._classList),d.AVh("mat-mdc-autocomplete-visible",Pt.showPanel)("mat-mdc-autocomplete-hidden",!Pt.showPanel)("mat-autocomplete-panel-animations-enabled",!Pt._animationsDisabled)("mat-primary","primary"===Pt._color)("mat-accent","accent"===Pt._color)("mat-warn","warn"===Pt._color),d.Avn("id",Pt.id),d.BMQ("aria-label",Pt.ariaLabel||null)("aria-labelledby",Pt._getPanelAriaLabelledby(pt))}}class Ye{source;option;constructor(wt,pt){this.source=wt,this.option=pt}}const fe=new v.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Qe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}});let gt=(()=>{class Ue{_changeDetectorRef=(0,v.WQX)(T.gRc);_elementRef=(0,v.WQX)(d.aKT);_defaults=(0,v.WQX)(fe);_animationsDisabled=(0,j.Rc)();_activeOptionChanges=B.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(pt){this._color=pt,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new d.bkB;opened=new d.bkB;closed=new d.bkB;optionActivated=new d.bkB;set classList(pt){this._classList=pt,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(pt){this._hideSingleSelectionIndicator=pt,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const pt of this.options)pt._changeDetectorRef.markForCheck()}id=(0,v.WQX)(O.g).getId("mat-autocomplete-");inertGroups;constructor(){const pt=(0,v.WQX)(L.O);this.inertGroups=pt?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new f.A(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(pt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[pt]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(pt){this.panel&&(this.panel.nativeElement.scrollTop=pt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(pt){const Pt=new Ye(this,pt);this.optionSelected.emit(Pt)}_getPanelAriaLabelledby(pt){return this.ariaLabel?null:this.ariaLabelledby?(pt?pt+" ":"")+this.ariaLabelledby:pt}_skipPredicate(){return!1}static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275cmp=d.VBU({type:Ue,selectors:[["mat-autocomplete"]],contentQueries:function(Pt,gn,ei){if(1&Pt&&(d.wni(ei,i.wT,5),d.wni(ei,i.QC,5)),2&Pt){let vi;d.mGM(vi=d.lsd())&&(gn.options=vi),d.mGM(vi=d.lsd())&&(gn.optionGroups=vi)}},viewQuery:function(Pt,gn){if(1&Pt&&(d.GBs(d.C4Q,7),d.GBs(nt,5)),2&Pt){let ei;d.mGM(ei=d.lsd())&&(gn.template=ei.first),d.mGM(ei=d.lsd())&&(gn.panel=ei.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",T.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",T.L39],requireSelection:[2,"requireSelection","requireSelection",T.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",T.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",T.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[d.Jv_([{provide:i.is,useExisting:Ue}])],ngContentSelectors:ht,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(Pt,gn){1&Pt&&(d.NAR(),d.PeT(0,oe,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0})}return Ue})();const rt={provide:be.kq,useExisting:(0,v.Rfq)(()=>h),multi:!0},Ft=new v.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ue=(0,v.WQX)(v.zZn);return()=>(0,e.RH)(Ue)}}),Qn={provide:Ft,deps:[],useFactory:function Sn(Ue){const wt=(0,v.WQX)(v.zZn);return()=>(0,e.RH)(wt)}};let h=(()=>{class Ue{_environmentInjector=(0,v.WQX)(v.uvJ);_element=(0,v.WQX)(d.aKT);_injector=(0,v.WQX)(v.zZn);_viewContainerRef=(0,v.WQX)(d.c1b);_zone=(0,v.WQX)(d.SKi);_changeDetectorRef=(0,v.WQX)(T.gRc);_dir=(0,v.WQX)(W.dS,{optional:!0});_formField=(0,v.WQX)(H.xb,{optional:!0,host:!0});_viewportRuler=(0,v.WQX)(w.Xj);_scrollStrategy=(0,v.WQX)(Ft);_renderer=(0,v.WQX)(d.sFG);_animationsDisabled=(0,j.Rc)();_defaults=(0,v.WQX)(fe,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new A.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=B.yU.EMPTY;_breakpointObserver=(0,v.WQX)(xe.Q);_handsetLandscapeSubscription=B.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new A.B;_overlayPanelClass=(0,ce.F)(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(pt){pt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,u.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Pe.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ne.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ne.p)(()=>this._overlayAttached)):(0,le.of)()).pipe((0,J.T)(pt=>pt instanceof i.MI?pt:null))}optionSelections=(0,Ce.v)(()=>{const pt=this.autocomplete?this.autocomplete.options:null;return pt?pt.changes.pipe((0,De.Z)(pt),(0,Re.n)(()=>(0,Pe.h)(...pt.map(Pt=>Pt.onSelectionChange)))):this._initialized.pipe((0,Re.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ae.c(pt=>{const Pt=ei=>{const vi=(0,C.Fb)(ei),Ni=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,kn=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&vi!==this._element.nativeElement&&!this._hasFocus()&&(!Ni||!Ni.contains(vi))&&(!kn||!kn.contains(vi))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(vi)&&pt.next(ei)},gn=[this._renderer.listen("document","click",Pt),this._renderer.listen("document","auxclick",Pt),this._renderer.listen("document","touchend",Pt)];return()=>{gn.forEach(ei=>ei())}})}writeValue(pt){Promise.resolve(null).then(()=>this._assignOptionValue(pt))}registerOnChange(pt){this._onChange=pt}registerOnTouched(pt){this._onTouched=pt}setDisabledState(pt){this._element.nativeElement.disabled=pt}_handleKeydown(pt){const Pt=pt,gn=Pt.keyCode,ei=(0,G.rp)(Pt);if(gn===re._f&&!ei&&Pt.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&gn===re.Fm&&this.panelOpen&&!ei)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Pt.preventDefault();else if(this.autocomplete){const vi=this.autocomplete._keyManager.activeItem,Ni=gn===re.i7||gn===re.n6;gn===re.wn||Ni&&!ei&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Pt):Ni&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Ni||this.autocomplete._keyManager.activeItem!==vi)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(pt){let Pt=pt.target,gn=Pt.value;if("number"===Pt.type&&(gn=""==gn?null:parseFloat(gn)),this._previousValue!==gn){if(this._previousValue=gn,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(gn),gn){if(this.panelOpen&&!this.autocomplete.requireSelection){const ei=this.autocomplete.options?.find(vi=>vi.selected);ei&&gn!==this._getDisplayValue(ei.value)&&ei.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const ei=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(ei)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return(0,C.vc)()===this._element.nativeElement}_floatLabel(pt=!1){this._formField&&"auto"===this._formField.floatLabel&&(pt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const pt=new Ae.c(gn=>{(0,d.mal)(()=>{gn.next()},{injector:this._environmentInjector})}),Pt=this.autocomplete.options?.changes.pipe((0,Xe.M)(()=>this._positionStrategy.reapplyLastPosition()),ve(0))??(0,le.of)();return(0,Pe.h)(pt,Pt).pipe((0,Re.n)(()=>this._zone.run(()=>{const gn=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),gn!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,Dt.s)(1)).subscribe(gn=>this._setValueAndClose(gn))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(pt){const Pt=this.autocomplete;return Pt&&Pt.displayWith?Pt.displayWith(pt):pt}_assignOptionValue(pt){const Pt=this._getDisplayValue(pt);null==pt&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(Pt??"")}_updateNativeInputValue(pt){this._formField?this._formField._control.value=pt:this._element.nativeElement.value=pt,this._previousValue=pt}_setValueAndClose(pt){const Pt=this.autocomplete,gn=pt?pt.source:this._pendingAutoselectedOption;gn?(this._clearPreviousSelectedOption(gn),this._assignOptionValue(gn.value),this._onChange(gn.value),Pt._emitSelectEvent(gn),this._element.nativeElement.focus()):Pt.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(pt,Pt){this.autocomplete?.options?.forEach(gn=>{gn!==pt&&gn.selected&&gn.deselect(Pt)})}_openPanelInternal(pt=this._element.nativeElement.value){this._attachOverlay(pt),this._floatLabel(),this._trackedModal&&(0,u.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(pt){let Pt=this._overlayRef;Pt?(this._positionStrategy.setOrigin(this._getConnectedElement()),Pt.updateSize({width:this._getPanelWidth()})):(this._portal=new V.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Pt=(0,e.Y$)(this._injector,this._getOverlayConfig()),this._overlayRef=Pt,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Pt&&Pt.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Ee.Rp.HandsetLandscape).subscribe(ei=>{ei.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),Pt&&!Pt.hasAttached()&&(Pt.attach(this._portal),this._valueOnAttach=pt,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const gn=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&gn!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=pt=>{(pt.keyCode===re._f&&!(0,G.rp)(pt)||pt.keyCode===re.i7&&(0,G.rp)(pt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),pt.stopPropagation(),pt.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const pt=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=pt.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=pt.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new e.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){const pt=(0,e.$M)(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(pt),this._positionStrategy=pt,pt}_setStrategyPositions(pt){const Pt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],gn=this._aboveClass,ei=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:gn},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:gn}];let vi;vi="above"===this.position?ei:"below"===this.position?Pt:[...Pt,...ei],pt.withPositions(vi)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const pt=this.autocomplete;if(pt.autoActiveFirstOption){let Pt=-1;for(let gn=0;gn .cdk-overlay-container [aria-modal="true"]');if(!pt)return;const Pt=this.autocomplete.id;this._trackedModal&&(0,u.Ae)(this._trackedModal,"aria-owns",Pt),(0,u.px)(pt,"aria-owns",Pt),this._trackedModal=pt}_clearFromModal(){this._trackedModal&&((0,u.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275dir=d.FsC({type:Ue,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Pt,gn){1&Pt&&d.bIt("focusin",function(){return gn._handleFocus()})("blur",function(){return gn._onTouched()})("input",function(vi){return gn._handleInput(vi)})("keydown",function(vi){return gn._handleKeydown(vi)})("click",function(){return gn._handleClick()}),2&Pt&&d.BMQ("autocomplete",gn.autocompleteAttribute)("role",gn.autocompleteDisabled?null:"combobox")("aria-autocomplete",gn.autocompleteDisabled?null:"list")("aria-activedescendant",gn.panelOpen&&gn.activeOption?gn.activeOption.id:null)("aria-expanded",gn.autocompleteDisabled?null:gn.panelOpen.toString())("aria-controls",gn.autocompleteDisabled||!gn.panelOpen||null==gn.autocomplete?null:gn.autocomplete.id)("aria-haspopup",gn.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",T.L39]},exportAs:["matAutocompleteTrigger"],features:[d.Jv_([rt]),d.OA$]})}return Ue})(),jt=(()=>{class Ue{static \u0275fac=function(Pt){return new(Pt||Ue)};static \u0275mod=d.$C({type:Ue});static \u0275inj=v.G2t({providers:[Qn],imports:[e.z_,$.S,Ke.y,w.Gj,$.S,Ke.y]})}return Ue})()},1975(Zt,pe,l){"use strict";l.d(pe,{Y:()=>Pe,k:()=>A});var i=l(8617),d=l(7094),v=l(9726),T=l(2615),w=l(3664),e=l(7705),O=l(9046),f=l(8968),u=l(1804),L=l(2466);const C="mat-badge-content";let B=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275cmp=w.VBU({type:le,selectors:[["ng-component"]],decls:0,vars:0,template:function(j,W){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,changeDetection:0})}return le})(),A=(()=>{class le{_ngZone=(0,T.WQX)(w.SKi);_elementRef=(0,T.WQX)(w.aKT);_ariaDescriber=(0,T.WQX)(i.vr);_renderer=(0,T.WQX)(w.sFG);_animationsDisabled=(0,u.Rc)();_idGenerator=(0,T.WQX)(v.g);get color(){return this._color}set color(Ae){this._setColor(Ae),this._color=Ae}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(Ae){this._updateRenderedContent(Ae)}_content;get description(){return this._description}set description(Ae){this._updateDescription(Ae)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=(0,T.WQX)(d.Z7);_document=(0,T.WQX)(T.qQL);constructor(){const Ae=(0,T.WQX)(f.l);Ae.load(B),Ae.load(O.Y)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const Ae=this._renderer.createElement("span"),j="mat-badge-active";return Ae.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),Ae.setAttribute("aria-hidden","true"),Ae.classList.add(C),this._animationsDisabled&&Ae.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(Ae),"function"!=typeof requestAnimationFrame||this._animationsDisabled?Ae.classList.add(j):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{Ae.classList.add(j)})}),Ae}_updateRenderedContent(Ae){const j=`${Ae??""}`.trim();this._isInitialized&&j&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=j),this._content=j}_updateDescription(Ae){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!Ae||this._isHostInteractive())&&this._removeInlineDescription(),this._description=Ae,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,Ae):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(Ae){const j=this._elementRef.nativeElement.classList;j.remove(`mat-badge-${this._color}`),Ae&&j.add(`mat-badge-${Ae}`)}_clearExistingBadges(){const Ae=this._elementRef.nativeElement.querySelectorAll(`:scope > .${C}`);for(const j of Array.from(Ae))j!==this._badgeElement&&j.remove()}static \u0275fac=function(j){return new(j||le)};static \u0275dir=w.FsC({type:le,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(j,W){2&j&&w.AVh("mat-badge-overlap",W.overlap)("mat-badge-above",W.isAbove())("mat-badge-below",!W.isAbove())("mat-badge-before",!W.isAfter())("mat-badge-after",W.isAfter())("mat-badge-small","small"===W.size)("mat-badge-medium","medium"===W.size)("mat-badge-large","large"===W.size)("mat-badge-hidden",W.hidden||!W.content)("mat-badge-disabled",W.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",e.L39],disabled:[2,"matBadgeDisabled","disabled",e.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",e.L39]}})}return le})(),Pe=(()=>{class le{static \u0275fac=function(j){return new(j||le)};static \u0275mod=w.$C({type:le});static \u0275inj=T.G2t({imports:[d.Pd,L.y,L.y]})}return le})()},8834(Zt,pe,l){"use strict";l.d(pe,{$0:()=>V,$z:()=>Ae,Hl:()=>ne});var w=l(2598),e=l(2615),O=l(3664),f=l(6881),u=l(2466);const L=["matButton",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],B=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Pe=["mat-mini-fab",""],Ce=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let Ae=(()=>{class J extends w.iM{get appearance(){return this._appearance}set appearance(Re){this.setAppearance(Re||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const Re=function j(J){return J.hasAttribute("mat-raised-button")?"elevated":J.hasAttribute("mat-stroked-button")?"outlined":J.hasAttribute("mat-flat-button")?"filled":J.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);Re&&this.setAppearance(Re)}setAppearance(Re){if(Re===this._appearance)return;const Xe=this._elementRef.nativeElement.classList,_e=this._appearance?Ce.get(this._appearance):null,he=Ce.get(Re);_e&&Xe.remove(..._e),Xe.add(...he),this._appearance=Re}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=O.VBU({type:J,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[O.Vt3],attrs:L,ngContentSelectors:B,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Xe,_e){1&Xe&&(O.NAR(C),O.Hgh(0,"span",0),O.SdG(1),O.rj2(2,"span",1),O.SdG(3,1),O.eux(),O.SdG(4,2),O.Hgh(5,"span",2)(6,"span",3)),2&Xe&&O.AVh("mdc-button__ripple",!_e._isFab)("mdc-fab__ripple",_e._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return J})();const G=new e.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:re});function re(){return{color:"accent"}}const xe=re();let V=(()=>{class J extends w.iM{_options=(0,e.WQX)(G,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||xe,this.color=this._options.color||xe.color}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=O.VBU({type:J,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[O.Vt3],attrs:Pe,ngContentSelectors:B,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Xe,_e){1&Xe&&(O.NAR(C),O.Hgh(0,"span",0),O.SdG(1),O.rj2(2,"span",1),O.SdG(3,1),O.eux(),O.SdG(4,2),O.Hgh(5,"span",2)(6,"span",3)),2&Xe&&O.AVh("mdc-button__ripple",!_e._isFab)("mdc-fab__ripple",_e._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\n'],encapsulation:2,changeDetection:0})}return J})(),ne=(()=>{class J{static \u0275fac=function(Xe){return new(Xe||J)};static \u0275mod=O.$C({type:J});static \u0275inj=e.G2t({imports:[u.y,f.p,u.y]})}return J})()},5596(Zt,pe,l){"use strict";l.d(pe,{Hu:()=>ce,Lc:()=>Pe,MM:()=>Ce,RN:()=>L,dh:()=>C,m2:()=>A});var i=l(2615),d=l(3664),v=l(2466);const T=["*"],O=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],u=new i.nKC("MAT_CARD_CONFIG");let L=(()=>{class be{appearance;constructor(){const J=(0,i.WQX)(u,{optional:!0});this.appearance=J?.appearance||"raised"}static \u0275fac=function(De){return new(De||be)};static \u0275cmp=d.VBU({type:be,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(De,Re){2&De&&d.AVh("mat-mdc-card-outlined","outlined"===Re.appearance)("mdc-card--outlined","outlined"===Re.appearance)("mat-mdc-card-filled","filled"===Re.appearance)("mdc-card--filled","filled"===Re.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:T,decls:1,vars:0,template:function(De,Re){1&De&&(d.NAR(),d.SdG(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],encapsulation:2,changeDetection:0})}return be})(),C=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return be})(),A=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return be})(),Pe=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275dir=d.FsC({type:be,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return be})(),Ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275cmp=d.VBU({type:be,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(De,Re){1&De&&(d.NAR(O),d.SdG(0),d.rj2(1,"div",0),d.SdG(2,1),d.eux(),d.SdG(3,2))},encapsulation:2,changeDetection:0})}return be})(),ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275mod=d.$C({type:be});static \u0275inj=i.G2t({imports:[v.y,v.y]})}return be})()},2765(Zt,pe,l){"use strict";l.d(pe,{So:()=>G,g7:()=>re});var i=l(9726),d=l(2615),v=l(3664),T=l(7705),w=l(9417),e=l(8968),O=l(3155),f=l(1804),u=l(2046),L=l(2496),C=l(2466);const B=["input"],A=["label"],Pe=["*"],le=new d.nKC("mat-checkbox-default-options",{providedIn:"root",factory:Ce});function Ce(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Ae=function(xe){return xe[xe.Init=0]="Init",xe[xe.Checked=1]="Checked",xe[xe.Unchecked=2]="Unchecked",xe[xe.Indeterminate=3]="Indeterminate",xe}(Ae||{});class j{source;checked}const W=Ce();let G=(()=>{class xe{_elementRef=(0,d.WQX)(v.aKT);_changeDetectorRef=(0,d.WQX)(T.gRc);_ngZone=(0,d.WQX)(v.SKi);_animationsDisabled=(0,f.Rc)();_options=(0,d.WQX)(le,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(V){const ce=new j;return ce.source=this,ce.checked=V,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new v.bkB;indeterminateChange=new v.bkB;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ae.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,d.WQX)(e.l).load(u.A);const V=(0,d.WQX)(new T.ES_("tabindex"),{optional:!0});this._options=this._options||W,this.color=this._options.color||W.color,this.tabIndex=null==V?0:parseInt(V)||0,this.id=this._uniqueId=(0,d.WQX)(i.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(V){V.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(V){V!=this.checked&&(this._checked=V,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(V){V!==this.disabled&&(this._disabled=V,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(V){const ce=V!=this._indeterminate();this._indeterminate.set(V),ce&&(this._transitionCheckState(V?Ae.Indeterminate:this.checked?Ae.Checked:Ae.Unchecked),this.indeterminateChange.emit(V)),this._syncIndeterminate(V)}_indeterminate=(0,d.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(V){this.checked=!!V}registerOnChange(V){this._controlValueAccessorChangeFn=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V}validate(V){return this.required&&!0!==V.value?{required:!0}:null}registerOnValidatorChange(V){this._validatorChangeFn=V}_transitionCheckState(V){let ce=this._currentCheckState,be=this._getAnimationTargetElement();if(ce!==V&&be&&(this._currentAnimationClass&&be.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,V),this._currentCheckState=V,this._currentAnimationClass.length>0)){be.classList.add(this._currentAnimationClass);const ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{be.classList.remove(ne)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const V=this._options?.clickAction;this.disabled||"noop"===V?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===V)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==V&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ae.Checked:Ae.Unchecked),this._emitChangeEvent())}_onInteractionEvent(V){V.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(V,ce){if(this._animationsDisabled)return"";switch(V){case Ae.Init:if(ce===Ae.Checked)return this._animationClasses.uncheckedToChecked;if(ce==Ae.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ae.Unchecked:return ce===Ae.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ae.Checked:return ce===Ae.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ae.Indeterminate:return ce===Ae.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(V){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=V)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(V){V.target&&this._labelElement.nativeElement.contains(V.target)&&V.stopPropagation()}static \u0275fac=function(ce){return new(ce||xe)};static \u0275cmp=v.VBU({type:xe,selectors:[["mat-checkbox"]],viewQuery:function(ce,be){if(1&ce&&(v.GBs(B,5),v.GBs(A,5)),2&ce){let ne;v.mGM(ne=v.lsd())&&(be._inputElement=ne.first),v.mGM(ne=v.lsd())&&(be._labelElement=ne.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(ce,be){2&ce&&(v.Avn("id",be.id),v.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),v.HbH(be.color?"mat-"+be.color:"mat-accent"),v.AVh("_mat-animation-noopable",be._animationsDisabled)("mdc-checkbox--disabled",be.disabled)("mat-mdc-checkbox-disabled",be.disabled)("mat-mdc-checkbox-checked",be.checked)("mat-mdc-checkbox-disabled-interactive",be.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",T.L39],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",T.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",T.L39],tabIndex:[2,"tabIndex","tabIndex",V=>null==V?void 0:(0,T.Udg)(V)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",T.L39],checked:[2,"checked","checked",T.L39],disabled:[2,"disabled","disabled",T.L39],indeterminate:[2,"indeterminate","indeterminate",T.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[v.Jv_([{provide:w.kq,useExisting:(0,d.Rfq)(()=>xe),multi:!0},{provide:w.cz,useExisting:xe,multi:!0}]),v.OA$],ngContentSelectors:Pe,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(ce,be){if(1&ce){const ne=v.RV6();v.NAR(),v.j41(0,"div",3),v.bIt("click",function(De){return d.eBV(ne),d.Njj(be._preventBubblingFromLabel(De))}),v.j41(1,"div",4,0)(3,"div",5),v.bIt("click",function(){return d.eBV(ne),d.Njj(be._onTouchTargetClick())}),v.k0s(),v.j41(4,"input",6,1),v.bIt("blur",function(){return d.eBV(ne),d.Njj(be._onBlur())})("click",function(){return d.eBV(ne),d.Njj(be._onInputClick())})("change",function(De){return d.eBV(ne),d.Njj(be._onInteractionEvent(De))}),v.k0s(),v.nrm(6,"div",7),v.j41(7,"div",8),d.qSk(),v.j41(8,"svg",9),v.nrm(9,"path",10),v.k0s(),d.joV(),v.nrm(10,"div",11),v.k0s(),v.nrm(11,"div",12),v.k0s(),v.j41(12,"label",13,2),v.SdG(14),v.k0s()()}if(2&ce){const ne=v.sdS(2);v.Y8G("labelPosition",be.labelPosition),v.R7$(4),v.AVh("mdc-checkbox--selected",be.checked),v.Y8G("checked",be.checked)("indeterminate",be.indeterminate)("disabled",be.disabled&&!be.disabledInteractive)("id",be.inputId)("required",be.required)("tabIndex",be.disabled&&!be.disabledInteractive?-1:be.tabIndex),v.BMQ("aria-label",be.ariaLabel||null)("aria-labelledby",be.ariaLabelledby)("aria-describedby",be.ariaDescribedby)("aria-checked",be.indeterminate?"mixed":null)("aria-controls",be.ariaControls)("aria-disabled",!(!be.disabled||!be.disabledInteractive)||null)("aria-expanded",be.ariaExpanded)("aria-owns",be.ariaOwns)("name",be.name)("value",be.value),v.R7$(7),v.Y8G("matRippleTrigger",ne)("matRippleDisabled",be.disableRipple||be.disabled)("matRippleCentered",!0),v.R7$(),v.Y8G("for",be.inputId)}},dependencies:[L.r6,O.t],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return xe})(),re=(()=>{class xe{static \u0275fac=function(ce){return new(ce||xe)};static \u0275mod=v.$C({type:xe});static \u0275inj=d.G2t({imports:[G,C.y,C.y]})}return xe})()},6471(Zt,pe,l){"use strict";l.d(pe,{Jl:()=>cn,YN:()=>Ni});var i=l(6838),d=l(9726),w=(l(4123),l(7336),l(438)),e=l(9046),O=l(8968),f=l(2615),u=l(3664),L=l(7705),C=l(1413),B=l(7786),A=l(2046),Pe=l(2496),le=l(1804),Ce=l(1048),xe=(l(9172),l(5558),l(6977),l(1577),l(9417),l(2709)),ce=(l(9336),l(9588),l(2466)),be=l(6881);const ne=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],J=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function De(kn,Ri){1&kn&&(u.j41(0,"span",3),u.SdG(1,1),u.k0s())}function Re(kn,Ri){1&kn&&(u.j41(0,"span",6),u.SdG(1,2),u.k0s())}const St=new f.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[w.Fm]})}),ot=new f.nKC("MatChipAvatar"),nt=new f.nKC("MatChipTrailingIcon"),ht=new f.nKC("MatChipEdit"),oe=new f.nKC("MatChipRemove"),Ye=new f.nKC("MatChip");let fe=(()=>{class kn{_elementRef=(0,f.WQX)(u.aKT);_parentChip=(0,f.WQX)(Ye);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(vt){this._disabled=vt}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){(0,f.WQX)(O.l).load(A.A),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(vt){!this.disabled&&this.isInteractive&&this._isPrimary&&(vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(vt){(vt.keyCode===w.Fm||vt.keyCode===w.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(ee){return new(ee||kn)};static \u0275dir=u.FsC({type:kn,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(ee,ye){1&ee&&u.bIt("click",function(Se){return ye._handleClick(Se)})("keydown",function(Se){return ye._handleKeydown(Se)}),2&ee&&(u.BMQ("tabindex",ye._getTabindex())("disabled",ye._getDisabledAttribute())("aria-disabled",ye.disabled),u.AVh("mdc-evolution-chip__action--primary",ye._isPrimary)("mdc-evolution-chip__action--presentational",!ye.isInteractive)("mdc-evolution-chip__action--secondary",!ye._isPrimary)("mdc-evolution-chip__action--trailing",!ye._isPrimary&&!ye._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",L.L39],tabIndex:[2,"tabIndex","tabIndex",vt=>null==vt?-1:(0,L.Udg)(vt)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return kn})(),cn=(()=>{class kn{_changeDetectorRef=(0,f.WQX)(L.gRc);_elementRef=(0,f.WQX)(u.aKT);_tagName=(0,f.WQX)(L.cCO);_ngZone=(0,f.WQX)(u.SKi);_focusMonitor=(0,f.WQX)(i.FN);_globalRippleOptions=(0,f.WQX)(Pe.$E,{optional:!0});_document=(0,f.WQX)(f.qQL);_onFocus=new C.B;_onBlur=new C.B;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=(0,le.Rc)();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=(0,f.WQX)(d.g).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(vt){this._value=vt}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(vt){this._disabled=vt}_disabled=!1;removed=new u.bkB;destroyed=new u.bkB;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=(0,f.WQX)(Ce.E);_injector=(0,f.WQX)(f.zZn);constructor(){const vt=(0,f.WQX)(O.l);vt.load(A.A),vt.load(e.Y),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,B.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(vt){(vt.keyCode===w.G_&&!vt.repeat||vt.keyCode===w.SJ)&&(vt.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(vt){return this._getActions().find(ee=>{const ye=ee._elementRef.nativeElement;return ye===vt||ye.contains(vt)})}_getActions(){const vt=[];return this.editIcon&&vt.push(this.editIcon),this.primaryAction&&vt.push(this.primaryAction),this.removeIcon&&vt.push(this.removeIcon),this.trailingIcon&&vt.push(this.trailingIcon),vt}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(vt=>vt.isInteractive)}_edit(vt){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(vt=>{const ee=null!==vt;ee!==this._hasFocusInternal&&(this._hasFocusInternal=ee,ee?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(ee){return new(ee||kn)};static \u0275cmp=u.VBU({type:kn,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ee,ye,ke){if(1&ee&&(u.wni(ke,ot,5),u.wni(ke,ht,5),u.wni(ke,nt,5),u.wni(ke,oe,5),u.wni(ke,ot,5),u.wni(ke,nt,5),u.wni(ke,ht,5),u.wni(ke,oe,5)),2&ee){let Se;u.mGM(Se=u.lsd())&&(ye.leadingIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.editIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.trailingIcon=Se.first),u.mGM(Se=u.lsd())&&(ye.removeIcon=Se.first),u.mGM(Se=u.lsd())&&(ye._allLeadingIcons=Se),u.mGM(Se=u.lsd())&&(ye._allTrailingIcons=Se),u.mGM(Se=u.lsd())&&(ye._allEditIcons=Se),u.mGM(Se=u.lsd())&&(ye._allRemoveIcons=Se)}},viewQuery:function(ee,ye){if(1&ee&&u.GBs(fe,5),2&ee){let ke;u.mGM(ke=u.lsd())&&(ye.primaryAction=ke.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(ee,ye){1&ee&&u.bIt("keydown",function(Se){return ye._handleKeydown(Se)}),2&ee&&(u.Avn("id",ye.id),u.BMQ("role",ye.role)("aria-label",ye.ariaLabel),u.HbH("mat-"+(ye.color||"primary")),u.AVh("mdc-evolution-chip",!ye._isBasicChip)("mdc-evolution-chip--disabled",ye.disabled)("mdc-evolution-chip--with-trailing-action",ye._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ye.leadingIcon)("mdc-evolution-chip--with-primary-icon",ye.leadingIcon)("mdc-evolution-chip--with-avatar",ye.leadingIcon)("mat-mdc-chip-with-avatar",ye.leadingIcon)("mat-mdc-chip-highlighted",ye.highlighted)("mat-mdc-chip-disabled",ye.disabled)("mat-mdc-basic-chip",ye._isBasicChip)("mat-mdc-standard-chip",!ye._isBasicChip)("mat-mdc-chip-with-trailing-icon",ye._hasTrailingIcon())("_mat-animation-noopable",ye._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",L.L39],highlighted:[2,"highlighted","highlighted",L.L39],disableRipple:[2,"disableRipple","disableRipple",L.L39],disabled:[2,"disabled","disabled",L.L39]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[u.Jv_([{provide:Ye,useExisting:kn}])],ngContentSelectors:J,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(ee,ye){1&ee&&(u.NAR(ne),u.nrm(0,"span",0),u.j41(1,"span",1)(2,"span",2),u.nVh(3,De,2,0,"span",3),u.j41(4,"span",4),u.SdG(5),u.nrm(6,"span",5),u.k0s()()(),u.nVh(7,Re,2,0,"span",6)),2&ee&&(u.R7$(2),u.Y8G("isInteractive",!1),u.R7$(),u.vxM(ye.leadingIcon?3:-1),u.R7$(4),u.vxM(ye._hasTrailingIcon()?7:-1))},dependencies:[fe],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}\n'],encapsulation:2,changeDetection:0})}return kn})(),Ni=(()=>{class kn{static \u0275fac=function(ee){return new(ee||kn)};static \u0275mod=u.$C({type:kn});static \u0275inj=f.G2t({providers:[xe.e,{provide:St,useValue:{separatorKeyCodes:[w.Fm]}}],imports:[ce.y,be.p,ce.y]})}return kn})()},2466(Zt,pe,l){"use strict";l.d(pe,{y:()=>e});var i=l(7094),d=l(8203),v=l(2615),T=l(3664);let e=(()=>{class O{constructor(){(0,v.WQX)(i.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(L){return new(L||O)};static \u0275mod=T.$C({type:O});static \u0275inj=v.G2t({imports:[d.jI,d.jI]})}return O})()},3(Zt,pe,l){"use strict";l.d(pe,{WX:()=>Pe,xW:()=>L});var v=l(2615),T=l(3664),w=l(9945);const O=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,f=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function u(Ce,Ae){const j=Array(Ce);for(let W=0;W{class Ce extends w.MJ{useUtcForDisplay=!1;_matDateLocale=(0,v.WQX)(w.Ju,{optional:!0});constructor(){super();const j=(0,v.WQX)(w.Ju,{optional:!0});void 0!==j&&(this._matDateLocale=j),super.setLocale(this._matDateLocale)}getYear(j){return j.getFullYear()}getMonth(j){return j.getMonth()}getDate(j){return j.getDate()}getDayOfWeek(j){return j.getDay()}getMonthNames(j){const W=new Intl.DateTimeFormat(this.locale,{month:j,timeZone:"utc"});return u(12,G=>this._format(W,new Date(2017,G,1)))}getDateNames(){const j=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return u(31,W=>this._format(j,new Date(2017,0,W+1)))}getDayOfWeekNames(j){const W=new Intl.DateTimeFormat(this.locale,{weekday:j,timeZone:"utc"});return u(7,G=>this._format(W,new Date(2017,0,G+1)))}getYearName(j){const W=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(W,j)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){const j=new Intl.Locale(this.locale),W=(j.getWeekInfo?.()||j.weekInfo)?.firstDay??0;return 7===W?0:W}return 0}getNumDaysInMonth(j){return this.getDate(this._createDateWithOverflow(this.getYear(j),this.getMonth(j)+1,0))}clone(j){return new Date(j.getTime())}createDate(j,W,G){let re=this._createDateWithOverflow(j,W,G);return re.getMonth(),re}today(){return new Date}parse(j,W){return"number"==typeof j?new Date(j):j?new Date(Date.parse(j)):null}format(j,W){if(!this.isValid(j))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,{...W,timeZone:"utc"});return this._format(G,j)}addCalendarYears(j,W){return this.addCalendarMonths(j,12*W)}addCalendarMonths(j,W){let G=this._createDateWithOverflow(this.getYear(j),this.getMonth(j)+W,this.getDate(j));return this.getMonth(G)!=((this.getMonth(j)+W)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(j,W){return this._createDateWithOverflow(this.getYear(j),this.getMonth(j),this.getDate(j)+W)}toIso8601(j){return[j.getUTCFullYear(),this._2digit(j.getUTCMonth()+1),this._2digit(j.getUTCDate())].join("-")}deserialize(j){if("string"==typeof j){if(!j)return null;if(O.test(j)){let W=new Date(j);if(this.isValid(W))return W}}return super.deserialize(j)}isDateInstance(j){return j instanceof Date}isValid(j){return!isNaN(j.getTime())}invalid(){return new Date(NaN)}setTime(j,W,G,re){const xe=this.clone(j);return xe.setHours(W,G,re,0),xe}getHours(j){return j.getHours()}getMinutes(j){return j.getMinutes()}getSeconds(j){return j.getSeconds()}parseTime(j,W){if("string"!=typeof j)return j instanceof Date?new Date(j.getTime()):null;const G=j.trim();if(0===G.length)return null;let re=this._parseTimeString(G);if(null===re){const xe=G.replace(/[^0-9:(AM|PM)]/gi,"").trim();xe.length>0&&(re=this._parseTimeString(xe))}return re||this.invalid()}addSeconds(j,W){return new Date(j.getTime()+1e3*W)}_createDateWithOverflow(j,W,G){const re=new Date;return re.setFullYear(j,W,G),re.setHours(0,0,0,0),re}_2digit(j){return("00"+j).slice(-2)}_format(j,W){const G=new Date;return G.setUTCFullYear(W.getFullYear(),W.getMonth(),W.getDate()),G.setUTCHours(W.getHours(),W.getMinutes(),W.getSeconds(),W.getMilliseconds()),j.format(G)}_parseTimeString(j){const W=j.toUpperCase().match(f);if(W){let G=parseInt(W[1]);const re=parseInt(W[2]);let xe=null==W[3]?void 0:parseInt(W[3]);const Ee=W[4];if(12===G?G="AM"===Ee?0:G:"PM"===Ee&&(G+=12),C(G,0,23)&&C(re,0,59)&&(null==xe||C(xe,0,59)))return this.setTime(this.today(),G,re,xe||0)}return null}static \u0275fac=function(W){return new(W||Ce)};static \u0275prov=v.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();function C(Ce,Ae,j){return!isNaN(Ce)&&Ce>=Ae&&Ce<=j}const B={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};let Pe=(()=>{class Ce{static \u0275fac=function(W){return new(W||Ce)};static \u0275mod=T.$C({type:Ce});static \u0275inj=v.G2t({providers:[le()]})}return Ce})();function le(Ce=B){return[{provide:w.MJ,useClass:L},{provide:w.de,useValue:Ce}]}},9945(Zt,pe,l){"use strict";l.d(pe,{Ju:()=>T,MJ:()=>O,de:()=>f});var i=l(2615),d=l(3664),v=l(1413);const T=new i.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function w(){return(0,i.WQX)(d.xe9)}}),e="Method not implemented";class O{locale;_localeChanges=new v.B;localeChanges=this._localeChanges;setTime(L,C,B,A){throw new Error(e)}getHours(L){throw new Error(e)}getMinutes(L){throw new Error(e)}getSeconds(L){throw new Error(e)}parseTime(L,C){throw new Error(e)}addSeconds(L,C){throw new Error(e)}getValidDateOrNull(L){return this.isDateInstance(L)&&this.isValid(L)?L:null}deserialize(L){return null==L||this.isDateInstance(L)&&this.isValid(L)?L:this.invalid()}setLocale(L){this.locale=L,this._localeChanges.next()}compareDate(L,C){return this.getYear(L)-this.getYear(C)||this.getMonth(L)-this.getMonth(C)||this.getDate(L)-this.getDate(C)}compareTime(L,C){return this.getHours(L)-this.getHours(C)||this.getMinutes(L)-this.getMinutes(C)||this.getSeconds(L)-this.getSeconds(C)}sameDate(L,C){if(L&&C){let B=this.isValid(L),A=this.isValid(C);return B&&A?!this.compareDate(L,C):B==A}return L==C}sameTime(L,C){if(L&&C){const B=this.isValid(L),A=this.isValid(C);return B&&A?!this.compareTime(L,C):B==A}return L==C}clampDate(L,C,B){return C&&this.compareDate(L,C)<0?C:B&&this.compareDate(L,B)>0?B:L}}const f=new i.nKC("mat-date-formats")},5084(Zt,pe,l){"use strict";l.d(pe,{Vh:()=>Wn,X6:()=>Ii,bU:()=>vn,bZ:()=>Ta});var _e=l(2615),he=l(3664),Dt=l(7705),lt=l(1413),Le=l(8359),te=l(7786),ie=l(7673),P=l(9945),F=l(6838),ve=l(7094),H=l(9726),$=l(1577),Ke=l(4085),Vt=l(7336),St=l(438),ot=l(9338),nt=l(9842),ht=l(4522),oe=l(6939),Ye=l(5964),fe=l(9172),Qe=l(6697),gt=l(2200),Gt=l(9046),rt=l(8968),cn=l(2046),Ft=l(8834),Sn=l(2598),Qn=l(455),h=l(1804),jt=l(9417),Ue=l(8010),wt=l(9588),pt=l(5718),Pt=l(2466);const gn=["mat-calendar-body",""];function ei(nn,ni){return this._trackRow(ni)}const vi=(nn,ni)=>ni.id;function Ni(nn,ni){if(1&nn&&(he.j41(0,"tr",0)(1,"td",3),he.EFF(2),he.k0s()()),2&nn){const U=he.XpG();he.R7$(),he.xc7("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),he.BMQ("colspan",U.numCols),he.R7$(),he.SpI(" ",U.label," ")}}function kn(nn,ni){if(1&nn&&(he.j41(0,"td",3),he.EFF(1),he.k0s()),2&nn){const U=he.XpG(2);he.xc7("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),he.BMQ("colspan",U._firstRowOffset),he.R7$(),he.SpI(" ",U._firstRowOffset>=U.labelMinRequiredCells?U.label:""," ")}}function Ri(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"td",6)(1,"button",7),he.bIt("click",function(Ze){const Xt=_e.eBV(U).$implicit,Nn=he.XpG(2);return _e.Njj(Nn._cellClicked(Xt,Ze))})("focus",function(Ze){const Xt=_e.eBV(U).$implicit,Nn=he.XpG(2);return _e.Njj(Nn._emitActiveDateChange(Xt,Ze))}),he.j41(2,"span",8),he.EFF(3),he.k0s(),he.nrm(4,"span",9),he.k0s()()}if(2&nn){const U=ni.$implicit,tt=ni.$index,Ze=he.XpG().$index,Xt=he.XpG();he.xc7("width",Xt._cellWidth)("padding-top",Xt._cellPadding)("padding-bottom",Xt._cellPadding),he.BMQ("data-mat-row",Ze)("data-mat-col",tt),he.R7$(),he.AVh("mat-calendar-body-disabled",!U.enabled)("mat-calendar-body-active",Xt._isActiveCell(Ze,tt))("mat-calendar-body-range-start",Xt._isRangeStart(U.compareValue))("mat-calendar-body-range-end",Xt._isRangeEnd(U.compareValue))("mat-calendar-body-in-range",Xt._isInRange(U.compareValue))("mat-calendar-body-comparison-bridge-start",Xt._isComparisonBridgeStart(U.compareValue,Ze,tt))("mat-calendar-body-comparison-bridge-end",Xt._isComparisonBridgeEnd(U.compareValue,Ze,tt))("mat-calendar-body-comparison-start",Xt._isComparisonStart(U.compareValue))("mat-calendar-body-comparison-end",Xt._isComparisonEnd(U.compareValue))("mat-calendar-body-in-comparison-range",Xt._isInComparisonRange(U.compareValue))("mat-calendar-body-preview-start",Xt._isPreviewStart(U.compareValue))("mat-calendar-body-preview-end",Xt._isPreviewEnd(U.compareValue))("mat-calendar-body-in-preview",Xt._isInPreview(U.compareValue)),he.Y8G("ngClass",U.cssClasses)("tabindex",Xt._isActiveCell(Ze,tt)?0:-1),he.BMQ("aria-label",U.ariaLabel)("aria-disabled",!U.enabled||null)("aria-pressed",Xt._isSelected(U.compareValue))("aria-current",Xt.todayValue===U.compareValue?"date":null)("aria-describedby",Xt._getDescribedby(U.compareValue)),he.R7$(),he.AVh("mat-calendar-body-selected",Xt._isSelected(U.compareValue))("mat-calendar-body-comparison-identical",Xt._isComparisonIdentical(U.compareValue))("mat-calendar-body-today",Xt.todayValue===U.compareValue),he.R7$(),he.SpI(" ",U.displayValue," ")}}function vt(nn,ni){if(1&nn&&(he.j41(0,"tr",1),he.nVh(1,kn,2,6,"td",4),he.Z7z(2,Ri,5,48,"td",5,vi),he.k0s()),2&nn){const U=ni.$implicit,tt=ni.$index,Ze=he.XpG();he.R7$(),he.vxM(0===tt&&Ze._firstRowOffset?1:-1),he.R7$(),he.Dyx(U)}}function ee(nn,ni){if(1&nn&&(he.j41(0,"th",2)(1,"span",6),he.EFF(2),he.k0s(),he.j41(3,"span",3),he.EFF(4),he.k0s()()),2&nn){const U=ni.$implicit;he.R7$(2),he.JRh(U.long),he.R7$(2),he.JRh(U.narrow)}}const ye=["*"];function ke(nn,ni){}function Se(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-month-view",4),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("_userSelection",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dateSelected(Ze))})("dragStarted",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dragStarted(Ze))})("dragEnded",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._dragEnded(Ze))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)("comparisonStart",U.comparisonStart)("comparisonEnd",U.comparisonEnd)("startDateAccessibleName",U.startDateAccessibleName)("endDateAccessibleName",U.endDateAccessibleName)("activeDrag",U._activeDrag)}}function ge(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-year-view",5),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("monthSelected",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._monthSelectedInYearView(Ze))})("selectedChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._goToDateInView(Ze,"month"))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function N(nn,ni){if(1&nn){const U=he.RV6();he.j41(0,"mat-multi-year-view",6),he.mxI("activeDateChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return he.DH7(Xt.activeDate,Ze)||(Xt.activeDate=Ze),_e.Njj(Ze)}),he.bIt("yearSelected",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._yearSelectedInMultiYearView(Ze))})("selectedChange",function(Ze){_e.eBV(U);const Xt=he.XpG();return _e.Njj(Xt._goToDateInView(Ze,"year"))}),he.k0s()}if(2&nn){const U=he.XpG();he.R50("activeDate",U.activeDate),he.Y8G("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Z(nn,ni){}const Me=["button"],at=[[["","matDatepickerToggleIcon",""]]],qe=["[matDatepickerToggleIcon]"];function pn(nn,ni){1&nn&&(_e.qSk(),he.j41(0,"svg",2),he.nrm(1,"path",3),he.k0s())}let Ot=(()=>{class nn{changes=new lt.B;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(U,tt){return`${U} \u2013 ${tt}`}formatYearRangeLabel(U,tt){return`${U} to ${tt}`}static \u0275fac=function(tt){return new(tt||nn)};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac,providedIn:"root"})}return nn})(),se=0;class We{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=se++;constructor(ni,U,tt,Ze,Xt={},Nn=ni,Ki){this.value=ni,this.displayValue=U,this.ariaLabel=tt,this.enabled=Ze,this.cssClasses=Xt,this.compareValue=Nn,this.rawValue=Ki}}const bt={passive:!1,capture:!0},tn={passive:!0,capture:!0},on={passive:!0};let un=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_ngZone=(0,_e.WQX)(he.SKi);_platform=(0,_e.WQX)(nt.O);_intl=(0,_e.WQX)(Ot);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new he.bkB;previewChange=new he.bkB;activeDateChange=new he.bkB;dragStarted=new he.bkB;dragEnded=new he.bkB;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=(0,_e.WQX)(_e.zZn);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=U=>U;constructor(){const U=(0,_e.WQX)(he.sFG),tt=(0,_e.WQX)(H.g);this._startDateLabelId=tt.getId("mat-calendar-body-start-"),this._endDateLabelId=tt.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=tt.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=tt.getId("mat-calendar-body-comparison-end-"),(0,_e.WQX)(rt.l).load(cn.A),this._ngZone.runOutsideAngular(()=>{const Ze=this._elementRef.nativeElement,Xt=[U.listen(Ze,"touchmove",this._touchmoveHandler,bt),U.listen(Ze,"mouseenter",this._enterHandler,tn),U.listen(Ze,"focus",this._enterHandler,tn),U.listen(Ze,"mouseleave",this._leaveHandler,tn),U.listen(Ze,"blur",this._leaveHandler,tn),U.listen(Ze,"mousedown",this._mousedownHandler,on),U.listen(Ze,"touchstart",this._mousedownHandler,on)];this._platform.isBrowser&&Xt.push(U.listen("window","mouseup",this._mouseupHandler),U.listen("window","touchend",this._touchendHandler)),this._eventCleanups=Xt})}_cellClicked(U,tt){this._didDragSinceMouseDown||U.enabled&&this.selectedValueChange.emit({value:U.value,event:tt})}_emitActiveDateChange(U,tt){U.enabled&&this.activeDateChange.emit({value:U.value,event:tt})}_isSelected(U){return this.startValue===U||this.endValue===U}ngOnChanges(U){const tt=U.numCols,{rows:Ze,numCols:Xt}=this;(U.rows||tt)&&(this._firstRowOffset=Ze&&Ze.length&&Ze[0].length?Xt-Ze[0].length:0),(U.cellAspectRatio||tt||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Xt+"%"),(tt||!this._cellWidth)&&(this._cellWidth=100/Xt+"%")}ngOnDestroy(){this._eventCleanups.forEach(U=>U())}_isActiveCell(U,tt){let Ze=U*this.numCols+tt;return U&&(Ze-=this._firstRowOffset),Ze==this.activeCell}_focusActiveCell(U=!0){(0,he.mal)(()=>{setTimeout(()=>{const tt=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");tt&&(U||(this._skipNextFocus=!0),tt.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(U){return xn(U,this.startValue,this.endValue)}_isRangeEnd(U){return Jn(U,this.startValue,this.endValue)}_isInRange(U){return xi(U,this.startValue,this.endValue,this.isRange)}_isComparisonStart(U){return xn(U,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(U,tt,Ze){if(!this._isComparisonStart(U)||this._isRangeStart(U)||!this._isInRange(U))return!1;let Xt=this.rows[tt][Ze-1];if(!Xt){const Nn=this.rows[tt-1];Xt=Nn&&Nn[Nn.length-1]}return Xt&&!this._isRangeEnd(Xt.compareValue)}_isComparisonBridgeEnd(U,tt,Ze){if(!this._isComparisonEnd(U)||this._isRangeEnd(U)||!this._isInRange(U))return!1;let Xt=this.rows[tt][Ze+1];if(!Xt){const Nn=this.rows[tt+1];Xt=Nn&&Nn[0]}return Xt&&!this._isRangeStart(Xt.compareValue)}_isComparisonEnd(U){return Jn(U,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(U){return xi(U,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(U){return this.comparisonStart===this.comparisonEnd&&U===this.comparisonStart}_isPreviewStart(U){return xn(U,this.previewStart,this.previewEnd)}_isPreviewEnd(U){return Jn(U,this.previewStart,this.previewEnd)}_isInPreview(U){return xi(U,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(U){if(!this.isRange)return null;if(this.startValue===U&&this.endValue===U)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===U)return this._startDateLabelId;if(this.endValue===U)return this._endDateLabelId;if(null!==this.comparisonStart&&null!==this.comparisonEnd){if(U===this.comparisonStart&&U===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(U===this.comparisonStart)return this._comparisonStartDateLabelId;if(U===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=U=>{if(this._skipNextFocus&&"focus"===U.type)this._skipNextFocus=!1;else if(U.target&&this.isRange){const tt=this._getCellFromElement(U.target);tt&&this._ngZone.run(()=>this.previewChange.emit({value:tt.enabled?tt:null,event:U}))}};_touchmoveHandler=U=>{if(!this.isRange)return;const tt=Yi(U),Ze=tt?this._getCellFromElement(tt):null;tt!==U.target&&(this._didDragSinceMouseDown=!0),dn(U.target)&&U.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Ze?.enabled?Ze:null,event:U}))};_leaveHandler=U=>{null!==this.previewEnd&&this.isRange&&("blur"!==U.type&&(this._didDragSinceMouseDown=!0),U.target&&this._getCellFromElement(U.target)&&(!U.relatedTarget||!this._getCellFromElement(U.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:U})))};_mousedownHandler=U=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const tt=U.target&&this._getCellFromElement(U.target);!tt||!this._isInRange(tt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:tt.rawValue,event:U})})};_mouseupHandler=U=>{if(!this.isRange)return;const tt=dn(U.target);tt?tt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Ze=this._getCellFromElement(tt);this.dragEnded.emit({value:Ze?.rawValue??null,event:U})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:U})})};_touchendHandler=U=>{const tt=Yi(U);tt&&this._mouseupHandler({target:tt})};_getCellFromElement(U){const tt=dn(U);if(tt){const Ze=tt.getAttribute("data-mat-row"),Xt=tt.getAttribute("data-mat-col");if(Ze&&Xt)return this.rows[parseInt(Ze)]?.[parseInt(Xt)]||null}return null}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[he.OA$],attrs:gn,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(tt,Ze){1&tt&&(he.nVh(0,Ni,3,6,"tr",0),he.Z7z(1,vt,4,1,"tr",1,ei,!0),he.j41(3,"span",2),he.EFF(4),he.k0s(),he.j41(5,"span",2),he.EFF(6),he.k0s(),he.j41(7,"span",2),he.EFF(8),he.k0s(),he.j41(9,"span",2),he.EFF(10),he.k0s()),2&tt&&(he.vxM(Ze._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],encapsulation:2,changeDetection:0})}return nn})();function Nt(nn){return"TD"===nn?.nodeName}function dn(nn){let ni;return Nt(nn)?ni=nn:Nt(nn.parentNode)?ni=nn.parentNode:Nt(nn.parentNode?.parentNode)&&(ni=nn.parentNode.parentNode),null!=ni?.getAttribute("data-mat-row")?ni:null}function xn(nn,ni,U){return null!==U&&ni!==U&&nn=ni&&nn===U}function xi(nn,ni,U,tt){return tt&&null!==ni&&null!==U&&ni!==U&&nn>=ni&&nn<=U}function Yi(nn){const ni=nn.changedTouches[0];return document.elementFromPoint(ni.clientX,ni.clientY)}class Tt{start;end;_disableStructuralEquivalency;constructor(ni,U){this.start=ni,this.end=U}}let At=(()=>{class nn{selection;_adapter;_selectionChanged=new lt.B;selectionChanged=this._selectionChanged;constructor(U,tt){this.selection=U,this._adapter=tt,this.selection=U}updateSelection(U,tt){const Ze=this.selection;this.selection=U,this._selectionChanged.next({selection:U,source:tt,oldValue:Ze})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(U){return this._adapter.isDateInstance(U)&&this._adapter.isValid(U)}static \u0275fac=function(tt){he.QTQ()};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac})}return nn})(),we=(()=>{class nn extends At{constructor(U){super(null,U)}add(U){super.updateSelection(U,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const U=new nn(this._adapter);return U.updateSelection(this.selection,this),U}static \u0275fac=function(tt){return new(tt||nn)(_e.KVO(P.MJ))};static \u0275prov=_e.jDH({token:nn,factory:nn.\u0275fac})}return nn})();const Ht={provide:At,deps:[[new he.Xx1,new he.kdw,At],P.MJ],useFactory:function Lt(nn,ni){return nn||new we(ni)}},bi=new _e.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Yt=0,Un=(()=>{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rangeStrategy=(0,_e.WQX)(bi,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){const tt=this._activeDate,Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),this._hasSameMonthAndYear(tt,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new he.bkB;_userSelection=new he.bkB;dragStarted=new he.bkB;dragEnded=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_monthLabel=(0,_e.vPA)("");_weeks=(0,_e.vPA)([]);_firstWeekOffset=(0,_e.vPA)(0);_rangeStart=(0,_e.vPA)(null);_rangeEnd=(0,_e.vPA)(null);_comparisonRangeStart=(0,_e.vPA)(null);_comparisonRangeEnd=(0,_e.vPA)(null);_previewStart=(0,_e.vPA)(null);_previewEnd=(0,_e.vPA)(null);_isRange=(0,_e.vPA)(!1);_todayDate=(0,_e.vPA)(null);_weekdays=(0,_e.vPA)([]);constructor(){(0,_e.WQX)(rt.l).load(Gt.Y),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnChanges(U){const tt=U.comparisonStart||U.comparisonEnd;tt&&!tt.firstChange&&this._setRanges(this.selected),U.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(U){const tt=U.value,Ze=this._getDateFromDayOfMonth(tt);let Xt,Nn;this._selected instanceof Tt?(Xt=this._getDateInCurrentMonth(this._selected.start),Nn=this._getDateInCurrentMonth(this._selected.end)):Xt=Nn=this._getDateInCurrentMonth(this._selected),(Xt!==tt||Nn!==tt)&&this.selectedChange.emit(Ze),this._userSelection.emit({value:Ze,event:U.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case St.w_:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case St.dB:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case St.Fm:case St.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&U.preventDefault());case St._f:return void(null!=this._previewEnd()&&!(0,Vt.rp)(U)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:U}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:U})),U.preventDefault(),U.stopPropagation()));default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let U=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((7+this._dateAdapter.getDayOfWeek(U)-this._dateAdapter.getFirstDayOfWeek())%7),this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(U){this._matCalendarBody._focusActiveCell(U)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:U,value:tt}){if(this._rangeStrategy){const Ze=tt?tt.rawValue:null,Xt=this._rangeStrategy.createPreview(Ze,this.selected,U);if(this._previewStart.set(this._getCellCompareValue(Xt.start)),this._previewEnd.set(this._getCellCompareValue(Xt.end)),this.activeDrag&&Ze){const Nn=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ze,U);Nn&&(this._previewStart.set(this._getCellCompareValue(Nn.start)),this._previewEnd.set(this._getCellCompareValue(Nn.end)))}}}_dragEnded(U){if(this.activeDrag)if(U.value){const tt=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,U.value,U.event);this.dragEnded.emit({value:tt??null,event:U.event})}else this.dragEnded.emit({value:null,event:U.event})}_getDateFromDayOfMonth(U){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),U)}_initWeekdays(){const U=this._dateAdapter.getFirstDayOfWeek(),tt=this._dateAdapter.getDayOfWeekNames("narrow"),Xt=this._dateAdapter.getDayOfWeekNames("long").map((Nn,Ki)=>({long:Nn,narrow:tt[Ki],id:Yt++}));this._weekdays.set(Xt.slice(U).concat(Xt.slice(0,U)))}_createWeekCells(){const U=this._dateAdapter.getNumDaysInMonth(this.activeDate),tt=this._dateAdapter.getDateNames(),Ze=[[]];for(let Xt=0,Nn=this._firstWeekOffset();Xt=0)&&(!this.maxDate||this._dateAdapter.compareDate(U,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(U))}_getDateInCurrentMonth(U){return U&&this._hasSameMonthAndYear(U,this.activeDate)?this._dateAdapter.getDate(U):null}_hasSameMonthAndYear(U,tt){return!(!U||!tt||this._dateAdapter.getMonth(U)!=this._dateAdapter.getMonth(tt)||this._dateAdapter.getYear(U)!=this._dateAdapter.getYear(tt))}_getCellCompareValue(U){if(U){const tt=this._dateAdapter.getYear(U),Ze=this._dateAdapter.getMonth(U),Xt=this._dateAdapter.getDate(U);return new Date(tt,Ze,Xt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(U){U instanceof Tt?(this._rangeStart.set(this._getCellCompareValue(U.start)),this._rangeEnd.set(this._getCellCompareValue(U.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(U)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(U){return!this.dateFilter||this.dateFilter(U)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-month-view"]],viewQuery:function(tt,Ze){if(1&tt&&he.GBs(un,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._matCalendarBody=Xt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[he.OA$],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(tt,Ze){1&tt&&(he.j41(0,"table",0)(1,"thead",1)(2,"tr"),he.Z7z(3,ee,5,2,"th",2,vi),he.k0s(),he.j41(5,"tr",3),he.nrm(6,"th",4),he.k0s()(),he.j41(7,"tbody",5),he.bIt("selectedValueChange",function(Nn){return Ze._dateSelected(Nn)})("activeDateChange",function(Nn){return Ze._updateActiveDate(Nn)})("previewChange",function(Nn){return Ze._previewChanged(Nn)})("dragStarted",function(Nn){return Ze.dragStarted.emit(Nn)})("dragEnded",function(Nn){return Ze._dragEnded(Nn)})("keyup",function(Nn){return Ze._handleCalendarBodyKeyup(Nn)})("keydown",function(Nn){return Ze._handleCalendarBodyKeydown(Nn)}),he.k0s()()),2&tt&&(he.R7$(3),he.Dyx(Ze._weekdays()),he.R7$(4),he.Y8G("label",Ze._monthLabel())("rows",Ze._weeks())("todayValue",Ze._todayDate())("startValue",Ze._rangeStart())("endValue",Ze._rangeEnd())("comparisonStart",Ze._comparisonRangeStart())("comparisonEnd",Ze._comparisonRangeEnd())("previewStart",Ze._previewStart())("previewEnd",Ze._previewEnd())("isRange",Ze._isRange())("labelMinRequiredCells",3)("activeCell",Ze._dateAdapter.getDate(Ze.activeDate)-1)("startDateAccessibleName",Ze.startDateAccessibleName)("endDateAccessibleName",Ze.endDateAccessibleName))},dependencies:[un],encapsulation:2,changeDetection:0})}return nn})(),ci=(()=>{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){let tt=this._activeDate;const Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),rn(this._dateAdapter,tt,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedYear(U)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;selectedChange=new he.bkB;yearSelected=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_years=(0,_e.vPA)([]);_todayYear=(0,_e.vPA)(0);_selectedYear=(0,_e.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));const tt=this._dateAdapter.getYear(this._activeDate)-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),Ze=[];for(let Xt=0,Nn=[];Xt<24;Xt++)Nn.push(tt+Xt),4==Nn.length&&(Ze.push(Nn.map(Ki=>this._createCellForYear(Ki))),Nn=[]);this._years.set(Ze),this._changeDetectorRef.markForCheck()}_yearSelected(U){const tt=U.value,Ze=this._dateAdapter.createDate(tt,0,1),Xt=this._getDateFromYear(tt);this.yearSelected.emit(Ze),this.selectedChange.emit(Xt)}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromYear(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case St.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-240:-24);break;case St.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?240:24);break;case St.Fm:case St.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_getActiveCell(){return In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(U){const tt=this._dateAdapter.getMonth(this.activeDate),Ze=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(U,tt,1));return this._dateAdapter.createDate(U,tt,Math.min(this._dateAdapter.getDate(this.activeDate),Ze))}_createCellForYear(U){const tt=this._dateAdapter.createDate(U,0,1),Ze=this._dateAdapter.getYearName(tt),Xt=this.dateClass?this.dateClass(tt,"multi-year"):void 0;return new We(U,Ze,Ze,this._shouldEnableYear(U),Xt)}_shouldEnableYear(U){if(null==U||this.maxDate&&U>this._dateAdapter.getYear(this.maxDate)||this.minDate&&U{class nn{_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_rerenderSubscription=Le.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(U){let tt=this._activeDate;const Ze=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ze,this.minDate,this.maxDate),this._dateAdapter.getYear(tt)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedMonth(U)}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;selectedChange=new he.bkB;monthSelected=new he.bkB;activeDateChange=new he.bkB;_matCalendarBody;_months=(0,_e.vPA)([]);_yearLabel=(0,_e.vPA)("");_todayMonth=(0,_e.vPA)(null);_selectedMonth=(0,_e.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,fe.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(U){const tt=U.value,Ze=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),tt,1);this.monthSelected.emit(Ze);const Xt=this._getDateFromMonth(tt);this.selectedChange.emit(Xt)}_updateActiveDate(U){const Ze=this._activeDate;this.activeDate=this._getDateFromMonth(U.value),this._dateAdapter.compareDate(Ze,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const tt=this._activeDate,Ze=this._isRtl();switch(U.keyCode){case St.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ze?1:-1);break;case St.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ze?-1:1);break;case St.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case St.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case St.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case St.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case St.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-10:-1);break;case St.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10:1);break;case St.Fm:case St.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(tt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===St.t6||U.keyCode===St.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let U=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(tt=>tt.map(Ze=>this._createCellForMonth(Ze,U[Ze])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(U){return U&&this._dateAdapter.getYear(U)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(U):null}_getDateFromMonth(U){const tt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Ze=this._dateAdapter.getNumDaysInMonth(tt);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,Math.min(this._dateAdapter.getDate(this.activeDate),Ze))}_createCellForMonth(U,tt){const Ze=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Xt=this._dateAdapter.format(Ze,this._dateFormats.display.monthYearA11yLabel),Nn=this.dateClass?this.dateClass(Ze,"year"):void 0;return new We(U,tt.toLocaleUpperCase(),Xt,this._shouldEnableMonth(U),Nn)}_shouldEnableMonth(U){const tt=this._dateAdapter.getYear(this.activeDate);if(null==U||this._isYearAndMonthAfterMaxDate(tt,U)||this._isYearAndMonthBeforeMinDate(tt,U))return!1;if(!this.dateFilter)return!0;for(let Xt=this._dateAdapter.createDate(tt,U,1);this._dateAdapter.getMonth(Xt)==U;Xt=this._dateAdapter.addCalendarDays(Xt,1))if(this.dateFilter(Xt))return!0;return!1}_isYearAndMonthAfterMaxDate(U,tt){if(this.maxDate){const Ze=this._dateAdapter.getYear(this.maxDate),Xt=this._dateAdapter.getMonth(this.maxDate);return U>Ze||U===Ze&&tt>Xt}return!1}_isYearAndMonthBeforeMinDate(U,tt){if(this.minDate){const Ze=this._dateAdapter.getYear(this.minDate),Xt=this._dateAdapter.getMonth(this.minDate);return U{class nn{_intl=(0,_e.WQX)(Ot);calendar=(0,_e.WQX)(ia);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){(0,_e.WQX)(rt.l).load(Gt.Y);const U=(0,_e.WQX)(Dt.gRc);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),U.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24))}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){const U=this.calendar,tt=this._intl,Ze=this._dateAdapter;"month"===U.currentView?(this._periodButtonText=Ze.format(U.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=Ze.format(U.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=tt.switchToMultiYearViewLabel,this._prevButtonLabel=tt.prevMonthLabel,this._nextButtonLabel=tt.nextMonthLabel):"year"===U.currentView?(this._periodButtonText=Ze.getYearName(U.activeDate),this._periodButtonDescription=Ze.getYearName(U.activeDate),this._periodButtonLabel=tt.switchToMonthViewLabel,this._prevButtonLabel=tt.prevYearLabel,this._nextButtonLabel=tt.nextYearLabel):(this._periodButtonText=tt.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=tt.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=tt.switchToMonthViewLabel,this._prevButtonLabel=tt.prevMultiYearLabel,this._nextButtonLabel=tt.nextMultiYearLabel)}_isSameView(U,tt){return"month"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(tt)&&this._dateAdapter.getMonth(U)==this._dateAdapter.getMonth(tt):"year"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(tt):rn(this._dateAdapter,U,tt,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const tt=this._dateAdapter.getYear(this.calendar.activeDate)-In(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ze=tt+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(tt,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ze,0,1))]}_periodButtonLabelId=(0,_e.WQX)(H.g).getId("mat-calendar-period-label-");static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ye,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(tt,Ze){1&tt&&(he.NAR(),he.j41(0,"div",0)(1,"div",1)(2,"span",2),he.EFF(3),he.k0s(),he.j41(4,"button",3),he.bIt("click",function(){return Ze.currentPeriodClicked()}),he.j41(5,"span",4),he.EFF(6),he.k0s(),_e.qSk(),he.j41(7,"svg",5),he.nrm(8,"polygon",6),he.k0s()(),_e.joV(),he.nrm(9,"div",7),he.SdG(10),he.j41(11,"button",8),he.bIt("click",function(){return Ze.previousClicked()}),_e.qSk(),he.j41(12,"svg",9),he.nrm(13,"path",10),he.k0s()(),_e.joV(),he.j41(14,"button",11),he.bIt("click",function(){return Ze.nextClicked()}),_e.qSk(),he.j41(15,"svg",9),he.nrm(16,"path",12),he.k0s()()()()),2&tt&&(he.R7$(2),he.Y8G("id",Ze._periodButtonLabelId),he.R7$(),he.JRh(Ze.periodButtonDescription),he.R7$(),he.BMQ("aria-label",Ze.periodButtonLabel)("aria-describedby",Ze._periodButtonLabelId),he.R7$(2),he.JRh(Ze.periodButtonText),he.R7$(),he.AVh("mat-calendar-invert","month"!==Ze.calendar.currentView),he.R7$(4),he.Y8G("disabled",!Ze.previousEnabled())("matTooltip",Ze.prevButtonLabel),he.BMQ("aria-label",Ze.prevButtonLabel),he.R7$(3),he.Y8G("disabled",!Ze.nextEnabled())("matTooltip",Ze.nextButtonLabel),he.BMQ("aria-label",Ze.nextButtonLabel))},dependencies:[Ft.$z,Sn.iY,Qn.oV],encapsulation:2,changeDetection:0})}return nn})(),ia=(()=>{class nn{_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_elementRef=(0,_e.WQX)(he.aKT);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_startAt;startView="month";get selected(){return this._selected}set selected(U){this._selected=U instanceof Tt?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_selected;get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_minDate;get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new he.bkB;yearSelected=new he.bkB;monthSelected=new he.bkB;viewChanged=new he.bkB(!0);_userSelection=new he.bkB;_userDragDrop=new he.bkB;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(U){this._clampedActiveDate=this._dateAdapter.clampDate(U,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(U){const tt=this._currentView!==U?U:null;this._currentView=U,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),tt&&(this.stateChanges.next(),this.viewChanged.emit(tt))}_currentView;_activeDrag=null;stateChanges=new lt.B;constructor(){this._intlChanges=(0,_e.WQX)(Ot).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new oe.A8(this.headerComponent||Bn),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(U){const tt=U.minDate&&!this._dateAdapter.sameDate(U.minDate.previousValue,U.minDate.currentValue)?U.minDate:void 0,Ze=U.maxDate&&!this._dateAdapter.sameDate(U.maxDate.previousValue,U.maxDate.currentValue)?U.maxDate:void 0,Xt=tt||Ze||U.dateFilter;if(Xt&&!Xt.firstChange){const Nn=this._getCurrentViewComponent();Nn&&(this._elementRef.nativeElement.contains((0,ht.vc)())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),Nn._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(U){const tt=U.value;(this.selected instanceof Tt||tt&&!this._dateAdapter.sameDate(tt,this.selected))&&this.selectedChange.emit(tt),this._userSelection.emit(U)}_yearSelectedInMultiYearView(U){this.yearSelected.emit(U)}_monthSelectedInYearView(U){this.monthSelected.emit(U)}_goToDateInView(U,tt){this.activeDate=U,this.currentView=tt}_dragStarted(U){this._activeDrag=U}_dragEnded(U){this._activeDrag&&(U.value&&this._userDragDrop.emit(U),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-calendar"]],viewQuery:function(tt,Ze){if(1&tt&&(he.GBs(Un,5),he.GBs(ii,5),he.GBs(ci,5)),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze.monthView=Xt.first),he.mGM(Xt=he.lsd())&&(Ze.yearView=Xt.first),he.mGM(Xt=he.lsd())&&(Ze.multiYearView=Xt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[he.Jv_([Ht]),he.OA$],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(tt,Ze){if(1&tt&&(he.DNE(0,ke,0,0,"ng-template",0),he.j41(1,"div",1),he.nVh(2,Se,1,11,"mat-month-view",2)(3,ge,1,6,"mat-year-view",3)(4,N,1,6,"mat-multi-year-view",3),he.k0s()),2&tt){let Xt;he.Y8G("cdkPortalOutlet",Ze._calendarHeaderPortal),he.R7$(2),he.vxM("month"===(Xt=Ze.currentView)?2:"year"===Xt?3:"multi-year"===Xt?4:-1)}},dependencies:[oe.I3,F.vR,Un,ii,ci],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return nn})();const ra=new _e.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const nn=(0,_e.WQX)(_e.zZn);return()=>(0,ot.RH)(nn)}}),ha={provide:ra,deps:[],useFactory:function fa(nn){const ni=(0,_e.WQX)(_e.zZn);return()=>(0,ot.RH)(ni)}};let qt=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_animationsDisabled=(0,h.Rc)();_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_globalModel=(0,_e.WQX)(At);_dateAdapter=(0,_e.WQX)(P.MJ);_ngZone=(0,_e.WQX)(he.SKi);_rangeSelectionStrategy=(0,_e.WQX)(bi,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new lt.B;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if((0,_e.WQX)(rt.l).load(Gt.Y),this._closeButtonText=(0,_e.WQX)(Ot).closeCalendarLabel,!this._animationsDisabled){const U=this._elementRef.nativeElement,tt=(0,_e.WQX)(he.sFG);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[tt.listen(U,"animationstart",this._handleAnimationEvent),tt.listen(U,"animationend",this._handleAnimationEvent),tt.listen(U,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(U=>U()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(U){const tt=this._model.selection,Ze=U.value,Xt=tt instanceof Tt;if(Xt&&this._rangeSelectionStrategy){const Nn=this._rangeSelectionStrategy.selectionFinished(Ze,tt,U.event);this._model.updateSelection(Nn,this)}else Ze&&(Xt||!this._dateAdapter.sameDate(Ze,tt))&&this._model.add(Ze);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(U){this._model.updateSelection(U.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=U=>{const tt=this._elementRef.nativeElement;U.target!==tt||!U.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating="animationstart"===U.type,tt.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(U,tt){this._model=U?this._globalModel.clone():this._globalModel,this._actionsPortal=U,tt&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker-content"]],viewQuery:function(tt,Ze){if(1&tt&&he.GBs(ia,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._calendar=Xt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(tt,Ze){2&tt&&(he.HbH(Ze.color?"mat-"+Ze.color:""),he.AVh("mat-datepicker-content-touch",Ze.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!Ze._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(tt,Ze){1&tt&&(he.j41(0,"div",0)(1,"mat-calendar",1),he.bIt("yearSelected",function(Nn){return Ze.datepicker._selectYear(Nn)})("monthSelected",function(Nn){return Ze.datepicker._selectMonth(Nn)})("viewChanged",function(Nn){return Ze.datepicker._viewChanged(Nn)})("_userSelection",function(Nn){return Ze._handleUserSelection(Nn)})("_userDragDrop",function(Nn){return Ze._handleUserDragDrop(Nn)}),he.k0s(),he.DNE(2,Z,0,0,"ng-template",2),he.j41(3,"button",3),he.bIt("focus",function(){return Ze._closeButtonFocused=!0})("blur",function(){return Ze._closeButtonFocused=!1})("click",function(){return Ze.datepicker.close()}),he.EFF(4),he.k0s()()),2&tt&&(he.AVh("mat-datepicker-content-container-with-custom-header",Ze.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ze._actionsPortal),he.BMQ("aria-modal",!0)("aria-labelledby",Ze._dialogLabelId??void 0),he.R7$(),he.HbH(Ze.datepicker.panelClass),he.Y8G("id",Ze.datepicker.id)("startAt",Ze.datepicker.startAt)("startView",Ze.datepicker.startView)("minDate",Ze.datepicker._getMinDate())("maxDate",Ze.datepicker._getMaxDate())("dateFilter",Ze.datepicker._getDateFilter())("headerComponent",Ze.datepicker.calendarHeaderComponent)("selected",Ze._getSelected())("dateClass",Ze.datepicker.dateClass)("comparisonStart",Ze.comparisonStart)("comparisonEnd",Ze.comparisonEnd)("startDateAccessibleName",Ze.startDateAccessibleName)("endDateAccessibleName",Ze.endDateAccessibleName),he.R7$(),he.Y8G("cdkPortalOutlet",Ze._actionsPortal),he.R7$(),he.AVh("cdk-visually-hidden",!Ze._closeButtonFocused),he.Y8G("color",Ze.color||"primary"),he.R7$(),he.JRh(Ze._closeButtonText))},dependencies:[ve.kB,ia,oe.I3,Ft.$z],styles:["@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,changeDetection:0})}return nn})(),En=(()=>{class nn{_injector=(0,_e.WQX)(_e.zZn);_viewContainerRef=(0,_e.WQX)(he.c1b);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dir=(0,_e.WQX)($.dS,{optional:!0});_model=(0,_e.WQX)(At);_animationsDisabled=(0,h.Rc)();_scrollStrategy=(0,_e.WQX)(ra);_inputStateChanges=Le.yU.EMPTY;_document=(0,_e.WQX)(_e.qQL);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(U){this._color=U}_color;touchUi=!1;get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(U){U!==this._disabled&&(this._disabled=U,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new he.bkB;monthSelected=new he.bkB;viewChanged=new he.bkB(!0);dateClass;openedStream=new he.bkB;closedStream=new he.bkB;get panelClass(){return this._panelClass}set panelClass(U){this._panelClass=(0,Ke.cc)(U)}_panelClass;get opened(){return this._opened}set opened(U){U?this.open():this.close()}_opened=!1;id=(0,_e.WQX)(H.g).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new lt.B;_changeDetectorRef=(0,_e.WQX)(Dt.gRc);constructor(){this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(U){const tt=U.xPosition||U.yPosition;if(tt&&!tt.firstChange&&this._overlayRef){const Ze=this._overlayRef.getConfig().positionStrategy;Ze instanceof ot.rW&&(this._setConnectedPositions(Ze),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(U){this._model.add(U)}_selectYear(U){this.yearSelected.emit(U)}_selectMonth(U){this.monthSelected.emit(U)}_viewChanged(U){this.viewChanged.emit(U)}registerInput(U){return this._inputStateChanges.unsubscribe(),this.datepickerInput=U,this._inputStateChanges=U.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(U){this._actionsPortal=U,this._componentRef?.instance._assignActions(U,!0)}removeActions(U){U===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,ht.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const U=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,tt=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ze,location:Xt}=this._componentRef;Ze._animationDone.pipe((0,Qe.s)(1)).subscribe(()=>{const Nn=this._document.activeElement;U&&(!Nn||Nn===this._document.activeElement||Xt.nativeElement.contains(Nn))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),Ze._startExitAnimation()}U?setTimeout(tt):tt()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(U){U.datepicker=this,U.color=this.color,U._dialogLabelId=this.datepickerInput.getOverlayLabelId(),U._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const U=this.touchUi,tt=new oe.A8(qt,this._viewContainerRef),Ze=this._overlayRef=(0,ot.Y$)(this._injector,new ot.rR({positionStrategy:U?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[U?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:U?(0,ot.gA)(this._injector):this._scrollStrategy(),panelClass:"mat-datepicker-"+(U?"dialog":"popup"),disableAnimations:this._animationsDisabled}));this._getCloseStream(Ze).subscribe(Xt=>{Xt&&Xt.preventDefault(),this.close()}),Ze.keydownEvents().subscribe(Xt=>{const Nn=Xt.keyCode;(Nn===St.i7||Nn===St.n6||Nn===St.UQ||Nn===St.LE||Nn===St.w_||Nn===St.dB)&&Xt.preventDefault()}),this._componentRef=Ze.attach(tt),this._forwardContentValues(this._componentRef.instance),U||(0,he.mal)(()=>{Ze.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return(0,ot.uA)(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){const U=(0,ot.$M)(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(U)}_setConnectedPositions(U){const tt="end"===this.xPosition?"end":"start",Ze="start"===tt?"end":"start",Xt="above"===this.yPosition?"bottom":"top",Nn="top"===Xt?"bottom":"top";return U.withPositions([{originX:tt,originY:Nn,overlayX:tt,overlayY:Xt},{originX:tt,originY:Xt,overlayX:tt,overlayY:Nn},{originX:Ze,originY:Nn,overlayX:Ze,overlayY:Xt},{originX:Ze,originY:Xt,overlayX:Ze,overlayY:Nn}])}_getCloseStream(U){const tt=["ctrlKey","shiftKey","metaKey"];return(0,te.h)(U.backdropClick(),U.detachments(),U.keydownEvents().pipe((0,Ye.p)(Ze=>Ze.keyCode===St._f&&!(0,Vt.rp)(Ze)||this.datepickerInput&&(0,Vt.rp)(Ze,"altKey")&&Ze.keyCode===St.i7&&tt.every(Xt=>!(0,Vt.rp)(Ze,Xt)))))}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Dt.L39],disabled:[2,"disabled","disabled",Dt.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Dt.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Dt.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[he.OA$]})}return nn})(),Wn=(()=>{class nn extends En{static \u0275fac=(()=>{let U;return function(Ze){return(U||(U=he.xGo(nn)))(Ze||nn)}})();static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[he.Jv_([Ht,{provide:En,useExisting:nn}]),he.Vt3],decls:0,vars:0,template:function(tt,Ze){},encapsulation:2,changeDetection:0})}return nn})();class ri{target;targetElement;value;constructor(ni,U){this.target=ni,this.targetElement=U,this.value=this.target.value}}let Rn=(()=>{class nn{_elementRef=(0,_e.WQX)(he.aKT);_dateAdapter=(0,_e.WQX)(P.MJ,{optional:!0});_dateFormats=(0,_e.WQX)(P.de,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(U){this._assignValueProgrammatically(U)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(U){const tt=U,Ze=this._elementRef.nativeElement;this._disabled!==tt&&(this._disabled=tt,this.stateChanges.next(void 0)),tt&&this._isInitialized&&Ze.blur&&Ze.blur()}_disabled;dateChange=new he.bkB;dateInput=new he.bkB;stateChanges=new lt.B;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=Le.yU.EMPTY;_localeSubscription=Le.yU.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value));return!tt||this._matchesFilter(tt)?null:{matDatepickerFilter:!0}};_minValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value)),Ze=this._getMinDate();return!Ze||!tt||this._dateAdapter.compareDate(Ze,tt)<=0?null:{matDatepickerMin:{min:Ze,actual:tt}}};_maxValidator=U=>{const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U.value)),Ze=this._getMaxDate();return!Ze||!tt||this._dateAdapter.compareDate(Ze,tt)>=0?null:{matDatepickerMax:{max:Ze,actual:tt}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(U){this._model=U,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(tt=>{if(this._shouldHandleChangeEvent(tt)){const Ze=this._getValueFromModel(tt.selection);this._lastValueValid=this._isValidValue(Ze),this._cvaOnChange(Ze),this._onTouched(),this._formatValue(Ze),this.dateInput.emit(new ri(this,this._elementRef.nativeElement)),this.dateChange.emit(new ri(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(U){(function Hn(nn,ni){const U=Object.keys(nn);for(let tt of U){const{previousValue:Ze,currentValue:Xt}=nn[tt];if(!ni.isDateInstance(Ze)||!ni.isDateInstance(Xt))return!0;if(!ni.sameDate(Ze,Xt))return!0}return!1})(U,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(U){this._validatorOnChange=U}validate(U){return this._validator?this._validator(U):null}writeValue(U){this._assignValueProgrammatically(U)}registerOnChange(U){this._cvaOnChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U}_onKeydown(U){(0,Vt.rp)(U,"altKey")&&U.keyCode===St.n6&&["ctrlKey","shiftKey","metaKey"].every(Xt=>!(0,Vt.rp)(U,Xt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),U.preventDefault())}_onInput(U){const tt=U.target.value,Ze=this._lastValueValid;let Xt=this._dateAdapter.parse(tt,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Xt),Xt=this._dateAdapter.getValidDateOrNull(Xt);const Nn=!this._dateAdapter.sameDate(Xt,this.value);!Xt||Nn?this._cvaOnChange(Xt):(tt&&!this.value&&this._cvaOnChange(Xt),Ze!==this._lastValueValid&&this._validatorOnChange()),Nn&&(this._assignValue(Xt),this.dateInput.emit(new ri(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ri(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(U){this._elementRef.nativeElement.value=null!=U?this._dateAdapter.format(U,this._dateFormats.display.dateInput):""}_assignValue(U){this._model?(this._assignValueToModel(U),this._pendingValue=null):this._pendingValue=U}_isValidValue(U){return!U||this._dateAdapter.isValid(U)}_parentDisabled(){return!1}_assignValueProgrammatically(U){U=this._dateAdapter.deserialize(U),this._lastValueValid=this._isValidValue(U),U=this._dateAdapter.getValidDateOrNull(U),this._assignValue(U),this._formatValue(U)}_matchesFilter(U){const tt=this._getDateFilter();return!tt||tt(U)}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,inputs:{value:"value",disabled:[2,"disabled","disabled",Dt.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[he.OA$]})}return nn})();const Pi={provide:jt.kq,useExisting:(0,_e.Rfq)(()=>Ta),multi:!0},da={provide:jt.cz,useExisting:(0,_e.Rfq)(()=>Ta),multi:!0};let Ta=(()=>{class nn extends Rn{_formField=(0,_e.WQX)(wt.xb,{optional:!0});_closedSubscription=Le.yU.EMPTY;_openedSubscription=Le.yU.EMPTY;set matDatepicker(U){U&&(this._datepicker=U,this._ariaOwns.set(U.opened?U.id:null),this._closedSubscription=U.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=U.openedStream.subscribe(()=>{this._ariaOwns.set(U.id)}),this._registerModel(U.registerInput(this)))}_datepicker;_ariaOwns=(0,_e.vPA)(null);get min(){return this._min}set min(U){const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(tt,this._min)||(this._min=tt,this._validatorOnChange())}_min;get max(){return this._max}set max(U){const tt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(tt,this._max)||(this._max=tt,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(U){const tt=this._matchesFilter(this.value);this._dateFilter=U,this._matchesFilter(this.value)!==tt&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=jt.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(U){return U}_assignValueToModel(U){this._model&&this._model.updateSelection(U,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(U){return U.source!==this}static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(tt,Ze){1&tt&&he.bIt("input",function(Nn){return Ze._onInput(Nn)})("change",function(){return Ze._onChange()})("blur",function(){return Ze._onBlur()})("keydown",function(Nn){return Ze._onKeydown(Nn)}),2&tt&&(he.Avn("disabled",Ze.disabled),he.BMQ("aria-haspopup",Ze._datepicker?"dialog":null)("aria-owns",Ze._ariaOwns())("min",Ze.min?Ze._dateAdapter.toIso8601(Ze.min):null)("max",Ze.max?Ze._dateAdapter.toIso8601(Ze.max):null)("data-mat-calendar",Ze._datepicker?Ze._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[he.Jv_([Pi,da,{provide:Ue.O,useExisting:nn}]),he.Vt3]})}return nn})(),en=(()=>{class nn{static \u0275fac=function(tt){return new(tt||nn)};static \u0275dir=he.FsC({type:nn,selectors:[["","matDatepickerToggleIcon",""]]})}return nn})(),vn=(()=>{class nn{_intl=(0,_e.WQX)(Ot);_changeDetectorRef=(0,_e.WQX)(Dt.gRc);_stateChanges=Le.yU.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(U){this._disabled=U}_disabled;disableRipple;_customIcon;_button;constructor(){const U=(0,_e.WQX)(new Dt.ES_("tabindex"),{optional:!0}),tt=Number(U);this.tabIndex=tt||0===tt?tt:null}ngOnChanges(U){U.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(U){this.datepicker&&!this.disabled&&(this.datepicker.open(),U.stopPropagation())}_watchStateChanges(){const U=this.datepicker?this.datepicker.stateChanges:(0,ie.of)(),tt=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ie.of)(),Ze=this.datepicker?(0,te.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ie.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,te.h)(this._intl.changes,U,tt,Ze).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(tt){return new(tt||nn)};static \u0275cmp=he.VBU({type:nn,selectors:[["mat-datepicker-toggle"]],contentQueries:function(tt,Ze,Xt){if(1&tt&&he.wni(Xt,en,5),2&tt){let Nn;he.mGM(Nn=he.lsd())&&(Ze._customIcon=Nn.first)}},viewQuery:function(tt,Ze){if(1&tt&&he.GBs(Me,5),2&tt){let Xt;he.mGM(Xt=he.lsd())&&(Ze._button=Xt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(tt,Ze){1&tt&&he.bIt("click",function(Nn){return Ze._open(Nn)}),2&tt&&(he.BMQ("tabindex",null)("data-mat-calendar",Ze.datepicker?Ze.datepicker.id:null),he.AVh("mat-datepicker-toggle-active",Ze.datepicker&&Ze.datepicker.opened)("mat-accent",Ze.datepicker&&"accent"===Ze.datepicker.color)("mat-warn",Ze.datepicker&&"warn"===Ze.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Dt.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[he.OA$],ngContentSelectors:qe,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(tt,Ze){1&tt&&(he.NAR(at),he.j41(0,"button",1,0),he.nVh(2,pn,2,0,":svg:svg",2),he.SdG(3),he.k0s()),2&tt&&(he.Y8G("tabIndex",Ze.disabled?-1:Ze.tabIndex)("disabled",Ze.disabled)("disableRipple",Ze.disableRipple),he.BMQ("aria-haspopup",Ze.datepicker?"dialog":null)("aria-label",Ze.ariaLabel||Ze._intl.openCalendarLabel)("aria-expanded",Ze.datepicker?Ze.datepicker.opened:null),he.R7$(2),he.vxM(Ze._customIcon?-1:2))},dependencies:[Sn.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0})}return nn})(),Ii=(()=>{class nn{static \u0275fac=function(tt){return new(tt||nn)};static \u0275mod=he.$C({type:nn});static \u0275inj=_e.G2t({providers:[Ot,ha],imports:[Ft.Hl,ot.z_,ve.Pd,oe.jc,Pt.y,qt,vn,Bn,pt.Gj]})}return nn})()},1585(Zt,pe,l){"use strict";l.d(pe,{Vh:()=>ht,di:()=>oe,bZ:()=>fe,tx:()=>Qe,hM:()=>Qn,CP:()=>ot});var i=l(3664),d=l(2615),v=l(7705),T=l(1413),w=l(9030),e=l(6939),O=l(7094),f=l(6838),u=l(9842),L=l(4522),C=l(438),B=l(7336),A=l(9172),Pe=l(6697),le=l(9338),Ce=l(9726),Ae=l(1577);function j(h,jt){}class W{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let re=(()=>{class h extends e.lb{_elementRef=(0,d.WQX)(i.aKT);_focusTrapFactory=(0,d.WQX)(O.GX);_config;_interactivityChecker=(0,d.WQX)(O.Z7);_ngZone=(0,d.WQX)(i.SKi);_focusMonitor=(0,d.WQX)(f.FN);_renderer=(0,d.WQX)(i.sFG);_changeDetectorRef=(0,d.WQX)(v.gRc);_injector=(0,d.WQX)(d.zZn);_platform=(0,d.WQX)(u.O);_document=(0,d.WQX)(d.qQL);_portalOutlet;_focusTrapped=new T.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,d.WQX)(W,{optional:!0})||new W,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Ue){this._ariaLabelledByQueue.push(Ue),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Ue){const wt=this._ariaLabelledByQueue.indexOf(Ue);wt>-1&&(this._ariaLabelledByQueue.splice(wt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Ue){this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachComponentPortal(Ue);return this._contentAttached(),wt}attachTemplatePortal(Ue){this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachTemplatePortal(Ue);return this._contentAttached(),wt}attachDomPortal=Ue=>{this._portalOutlet.hasAttached();const wt=this._portalOutlet.attachDomPortal(Ue);return this._contentAttached(),wt};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ue,wt){this._interactivityChecker.isFocusable(Ue)||(Ue.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const pt=()=>{Pt(),gn(),Ue.removeAttribute("tabindex")},Pt=this._renderer.listen(Ue,"blur",pt),gn=this._renderer.listen(Ue,"mousedown",pt)})),Ue.focus(wt)}_focusByCssSelector(Ue,wt){let pt=this._elementRef.nativeElement.querySelector(Ue);pt&&this._forceFocus(pt,wt)}_trapFocus(Ue){this._isDestroyed||(0,i.mal)(()=>{const wt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||wt.focus(Ue);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Ue)||this._focusDialogContainer(Ue);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Ue);break;default:this._focusByCssSelector(this._config.autoFocus,Ue)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Ue=this._config.restoreFocus;let wt=null;if("string"==typeof Ue?wt=this._document.querySelector(Ue):"boolean"==typeof Ue?wt=Ue?this._elementFocusedBeforeDialogWasOpened:null:Ue&&(wt=Ue),this._config.restoreFocus&&wt&&"function"==typeof wt.focus){const pt=(0,L.vc)(),Pt=this._elementRef.nativeElement;(!pt||pt===this._document.body||pt===Pt||Pt.contains(pt))&&(this._focusMonitor?(this._focusMonitor.focusVia(wt,this._closeInteractionType),this._closeInteractionType=null):wt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Ue){this._elementRef.nativeElement.focus?.(Ue)}_containsFocus(){const Ue=this._elementRef.nativeElement,wt=(0,L.vc)();return Ue===wt||Ue.contains(wt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,L.vc)()))}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=i.VBU({type:h,selectors:[["cdk-dialog-container"]],viewQuery:function(wt,pt){if(1&wt&&i.GBs(e.I3,7),2&wt){let Pt;i.mGM(Pt=i.lsd())&&(pt._portalOutlet=Pt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(wt,pt){2&wt&&i.BMQ("id",pt._config.id||null)("role",pt._config.role)("aria-modal",pt._config.ariaModal)("aria-labelledby",pt._config.ariaLabel?null:pt._ariaLabelledByQueue[0])("aria-label",pt._config.ariaLabel)("aria-describedby",pt._config.ariaDescribedBy||null)},features:[i.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(wt,pt){1&wt&&i.DNE(0,j,0,0,"ng-template",0)},dependencies:[e.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return h})();class xe{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new T.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(jt,Ue){this.overlayRef=jt,this.config=Ue,this.disableClose=Ue.disableClose,this.backdropClick=jt.backdropClick(),this.keydownEvents=jt.keydownEvents(),this.outsidePointerEvents=jt.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(wt=>{wt.keyCode===C._f&&!this.disableClose&&!(0,B.rp)(wt)&&(wt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=jt.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(jt,Ue){if(this._canClose(jt)){const wt=this.closed;this.containerInstance._closeInteractionType=Ue?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),wt.next(jt),wt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(jt="",Ue=""){return this.overlayRef.updateSize({width:jt,height:Ue}),this}addPanelClass(jt){return this.overlayRef.addPanelClass(jt),this}removePanelClass(jt){return this.overlayRef.removePanelClass(jt),this}_canClose(jt){const Ue=this.config;return!!this.containerInstance&&(!Ue.closePredicate||Ue.closePredicate(jt,Ue,this.componentInstance))}}const Ee=new d.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const h=(0,d.WQX)(d.zZn);return()=>(0,le.gA)(h)}}),V=new d.nKC("DialogData"),ce=new d.nKC("DefaultDialogConfig");function be(h){const jt=(0,d.vPA)(h),Ue=new i.bkB;return{valueSignal:jt,get value(){return jt()},change:Ue,ngOnDestroy(){Ue.complete()}}}let ne=(()=>{class h{_injector=(0,d.WQX)(d.zZn);_defaultOptions=(0,d.WQX)(ce,{optional:!0});_parentDialog=(0,d.WQX)(h,{optional:!0,skipSelf:!0});_overlayContainer=(0,d.WQX)(le.Sf);_idGenerator=(0,d.WQX)(Ce.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T.B;_afterOpenedAtThisLevel=new T.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,d.WQX)(Ee);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0)));constructor(){}open(Ue,wt){(wt={...this._defaultOptions||new W,...wt}).id=wt.id||this._idGenerator.getId("cdk-dialog-"),wt.id&&this.getDialogById(wt.id);const Pt=this._getOverlayConfig(wt),gn=(0,le.Y$)(this._injector,Pt),ei=new xe(gn,wt),vi=this._attachContainer(gn,ei,wt);if(ei.containerInstance=vi,!this.openDialogs.length){const Ni=this._overlayContainer.getContainerElement();vi._focusTrapped?vi._focusTrapped.pipe((0,Pe.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Ni)}):this._hideNonDialogContentFromAssistiveTechnology(Ni)}return this._attachDialogContent(Ue,ei,vi,wt),this.openDialogs.push(ei),ei.closed.subscribe(()=>this._removeOpenDialog(ei,!0)),this.afterOpened.next(ei),ei}closeAll(){J(this.openDialogs,Ue=>Ue.close())}getDialogById(Ue){return this.openDialogs.find(wt=>wt.id===Ue)}ngOnDestroy(){J(this._openDialogsAtThisLevel,Ue=>{!1===Ue.config.closeOnDestroy&&this._removeOpenDialog(Ue,!1)}),J(this._openDialogsAtThisLevel,Ue=>Ue.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ue){const wt=new le.rR({positionStrategy:Ue.positionStrategy||(0,le.uA)().centerHorizontally().centerVertically(),scrollStrategy:Ue.scrollStrategy||this._scrollStrategy(),panelClass:Ue.panelClass,hasBackdrop:Ue.hasBackdrop,direction:Ue.direction,minWidth:Ue.minWidth,minHeight:Ue.minHeight,maxWidth:Ue.maxWidth,maxHeight:Ue.maxHeight,width:Ue.width,height:Ue.height,disposeOnNavigation:Ue.closeOnNavigation,disableAnimations:Ue.disableAnimations});return Ue.backdropClass&&(wt.backdropClass=Ue.backdropClass),wt}_attachContainer(Ue,wt,pt){const Pt=pt.injector||pt.viewContainerRef?.injector,gn=[{provide:W,useValue:pt},{provide:xe,useValue:wt},{provide:le.yY,useValue:Ue}];let ei;pt.container?"function"==typeof pt.container?ei=pt.container:(ei=pt.container.type,gn.push(...pt.container.providers(pt))):ei=re;const vi=new e.A8(ei,pt.viewContainerRef,d.zZn.create({parent:Pt||this._injector,providers:gn}));return Ue.attach(vi).instance}_attachDialogContent(Ue,wt,pt,Pt){if(Ue instanceof i.C4Q){const gn=this._createInjector(Pt,wt,pt,void 0);let ei={$implicit:Pt.data,dialogRef:wt};Pt.templateContext&&(ei={...ei,..."function"==typeof Pt.templateContext?Pt.templateContext():Pt.templateContext}),pt.attachTemplatePortal(new e.VA(Ue,null,ei,gn))}else{const gn=this._createInjector(Pt,wt,pt,this._injector),ei=pt.attachComponentPortal(new e.A8(Ue,Pt.viewContainerRef,gn));wt.componentRef=ei,wt.componentInstance=ei.instance}}_createInjector(Ue,wt,pt,Pt){const gn=Ue.injector||Ue.viewContainerRef?.injector,ei=[{provide:V,useValue:Ue.data},{provide:xe,useValue:wt}];return Ue.providers&&("function"==typeof Ue.providers?ei.push(...Ue.providers(wt,Ue,pt)):ei.push(...Ue.providers)),Ue.direction&&(!gn||!gn.get(Ae.dS,null,{optional:!0}))&&ei.push({provide:Ae.dS,useValue:be(Ue.direction)}),d.zZn.create({parent:gn||Pt,providers:ei})}_removeOpenDialog(Ue,wt){const pt=this.openDialogs.indexOf(Ue);pt>-1&&(this.openDialogs.splice(pt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Pt,gn)=>{Pt?gn.setAttribute("aria-hidden",Pt):gn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),wt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Ue){if(Ue.parentElement){const wt=Ue.parentElement.children;for(let pt=wt.length-1;pt>-1;pt--){const Pt=wt[pt];Pt!==Ue&&"SCRIPT"!==Pt.nodeName&&"STYLE"!==Pt.nodeName&&!Pt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Pt,Pt.getAttribute("aria-hidden")),Pt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=d.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function J(h,jt){let Ue=h.length;for(;Ue--;)jt(h[Ue])}let De=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=i.$C({type:h});static \u0275inj=d.G2t({providers:[ne],imports:[le.z_,e.jc,O.Pd,e.jc]})}return h})();var Re=l(7847),Xe=l(1804),_e=l(7786),he=l(5964),lt=(l(5718),l(2466));function Le(h,jt){}class te{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const ie="mdc-dialog--open",P="mdc-dialog--opening",F="mdc-dialog--closing";let $=(()=>{class h extends re{_animationStateChanged=new i.bkB;_animationsEnabled=!(0,Xe.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Vt(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Vt(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ke,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(P,ie)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ie),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ie),this._animationsEnabled?(this._hostElement.style.setProperty(Ke,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(F)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Ue){this._actionSectionCount+=Ue,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(P,F)}_waitForAnimationToComplete(Ue,wt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(wt,Ue)}_requestAnimationFrame(Ue){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ue){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ue})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ue){const wt=super.attachComponentPortal(Ue);return wt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),wt}static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=i.xGo(h)))(pt||h)}})();static \u0275cmp=i.VBU({type:h,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(wt,pt){2&wt&&(i.Avn("id",pt._config.id),i.BMQ("aria-modal",pt._config.ariaModal)("role",pt._config.role)("aria-labelledby",pt._config.ariaLabel?null:pt._ariaLabelledByQueue[0])("aria-label",pt._config.ariaLabel)("aria-describedby",pt._config.ariaDescribedBy||null),i.AVh("_mat-animation-noopable",!pt._animationsEnabled)("mat-mdc-dialog-container-with-actions",pt._actionSectionCount>0))},features:[i.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(wt,pt){1&wt&&(i.j41(0,"div",0)(1,"div",1),i.DNE(2,Le,0,0,"ng-template",2),i.k0s()())},dependencies:[e.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return h})();const Ke="--mat-dialog-transition-duration";function Vt(h){return null==h?null:"number"==typeof h?h:h.endsWith("ms")?(0,Re.OE)(h.substring(0,h.length-2)):h.endsWith("s")?1e3*(0,Re.OE)(h.substring(0,h.length-1)):"0"===h?0:null}var St=function(h){return h[h.OPEN=0]="OPEN",h[h.CLOSING=1]="CLOSING",h[h.CLOSED=2]="CLOSED",h}(St||{});class ot{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new T.B;_beforeClosed=new T.B;_result;_closeFallbackTimeout;_state=St.OPEN;_closeInteractionType;constructor(jt,Ue,wt){this._ref=jt,this._config=Ue,this._containerInstance=wt,this.disableClose=Ue.disableClose,this.id=jt.id,jt.addPanelClass("mat-mdc-dialog-panel"),wt._animationStateChanged.pipe((0,he.p)(pt=>"opened"===pt.state),(0,Pe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),wt._animationStateChanged.pipe((0,he.p)(pt=>"closed"===pt.state),(0,Pe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),jt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,_e.h)(this.backdropClick(),this.keydownEvents().pipe((0,he.p)(pt=>pt.keyCode===C._f&&!this.disableClose&&!(0,B.rp)(pt)))).subscribe(pt=>{this.disableClose||(pt.preventDefault(),nt(this,"keydown"===pt.type?"keyboard":"mouse"))})}close(jt){const Ue=this._config.closePredicate;Ue&&!Ue(jt,this._config,this.componentInstance)||(this._result=jt,this._containerInstance._animationStateChanged.pipe((0,he.p)(wt=>"closing"===wt.state),(0,Pe.s)(1)).subscribe(wt=>{this._beforeClosed.next(jt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),wt.totalTime+100)}),this._state=St.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(jt){let Ue=this._ref.config.positionStrategy;return jt&&(jt.left||jt.right)?jt.left?Ue.left(jt.left):Ue.right(jt.right):Ue.centerHorizontally(),jt&&(jt.top||jt.bottom)?jt.top?Ue.top(jt.top):Ue.bottom(jt.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(jt="",Ue=""){return this._ref.updateSize(jt,Ue),this}addPanelClass(jt){return this._ref.addPanelClass(jt),this}removePanelClass(jt){return this._ref.removePanelClass(jt),this}getState(){return this._state}_finishDialogClose(){this._state=St.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function nt(h,jt,Ue){return h._closeInteractionType=jt,h.close(Ue)}const ht=new d.nKC("MatMdcDialogData"),oe=new d.nKC("mat-mdc-dialog-default-options"),Ye=new d.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const h=(0,d.WQX)(d.zZn);return()=>(0,le.gA)(h)}});let fe=(()=>{class h{_defaultOptions=(0,d.WQX)(oe,{optional:!0});_scrollStrategy=(0,d.WQX)(Ye);_parentDialog=(0,d.WQX)(h,{optional:!0,skipSelf:!0});_idGenerator=(0,d.WQX)(Ce.g);_injector=(0,d.WQX)(d.zZn);_dialog=(0,d.WQX)(ne);_animationsDisabled=(0,Xe.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T.B;_afterOpenedAtThisLevel=new T.B;dialogConfigClass=te;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0)));constructor(){this._dialogRefConstructor=ot,this._dialogContainerType=$,this._dialogDataToken=ht}open(Ue,wt){let pt;(wt={...this._defaultOptions||new te,...wt}).id=wt.id||this._idGenerator.getId("mat-mdc-dialog-"),wt.scrollStrategy=wt.scrollStrategy||this._scrollStrategy();const Pt=this._dialog.open(Ue,{...wt,positionStrategy:(0,le.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===wt.enterAnimationDuration?.toLocaleString()||"0"===wt.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:wt},{provide:W,useValue:wt}]},templateContext:()=>({dialogRef:pt}),providers:(gn,ei,vi)=>(pt=new this._dialogRefConstructor(gn,wt,vi),pt.updatePosition(wt?.position),[{provide:this._dialogContainerType,useValue:vi},{provide:this._dialogDataToken,useValue:ei.data},{provide:this._dialogRefConstructor,useValue:pt}])});return pt.componentRef=Pt.componentRef,pt.componentInstance=Pt.componentInstance,this.openDialogs.push(pt),this.afterOpened.next(pt),pt.afterClosed().subscribe(()=>{const gn=this.openDialogs.indexOf(pt);gn>-1&&(this.openDialogs.splice(gn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),pt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ue){return this.openDialogs.find(wt=>wt.id===Ue)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ue){let wt=Ue.length;for(;wt--;)Ue[wt].close()}static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=d.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),Qe=(()=>{class h{dialogRef=(0,d.WQX)(ot,{optional:!0});_elementRef=(0,d.WQX)(i.aKT);_dialog=(0,d.WQX)(fe);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=function Ft(h,jt){let Ue=h.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?jt.find(wt=>wt.id===Ue.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ue){const wt=Ue._matDialogClose||Ue._matDialogCloseResult;wt&&(this.dialogResult=wt.currentValue)}_onButtonClick(Ue){nt(this.dialogRef,0===Ue.screenX&&0===Ue.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=i.FsC({type:h,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(wt,pt){1&wt&&i.bIt("click",function(gn){return pt._onButtonClick(gn)}),2&wt&&i.BMQ("aria-label",pt.ariaLabel||null)("type",pt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.OA$]})}return h})();let Qn=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=i.$C({type:h});static \u0275inj=d.G2t({providers:[fe],imports:[De,le.z_,e.jc,lt.y,lt.y]})}return h})()},1997(Zt,pe,l){"use strict";l.d(pe,{q:()=>w,w:()=>e});var i=l(2615),d=l(3664),v=l(4085),T=l(2466);let w=(()=>{class O{get vertical(){return this._vertical}set vertical(u){this._vertical=(0,v.he)(u)}_vertical=!1;get inset(){return this._inset}set inset(u){this._inset=(0,v.he)(u)}_inset=!1;static \u0275fac=function(L){return new(L||O)};static \u0275cmp=d.VBU({type:O,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(L,C){2&L&&(d.BMQ("aria-orientation",C.vertical?"vertical":"horizontal"),d.AVh("mat-divider-vertical",C.vertical)("mat-divider-horizontal",!C.vertical)("mat-divider-inset",C.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(L,C){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0})}return O})(),e=(()=>{class O{static \u0275fac=function(L){return new(L||O)};static \u0275mod=d.$C({type:O});static \u0275inj=i.G2t({imports:[T.y,T.y]})}return O})()},2709(Zt,pe,l){"use strict";l.d(pe,{e:()=>T});var d=l(2615);let T=(()=>{class w{isErrorState(O,f){return!!(O&&O.invalid&&(O.touched||f&&f.submitted))}static \u0275fac=function(f){return new(f||w)};static \u0275prov=d.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},9336(Zt,pe,l){"use strict";l.d(pe,{X:()=>i});class i{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(v,T,w,e,O){this._defaultMatcher=v,this.ngControl=T,this._parentFormGroup=w,this._parentForm=e,this._stateChanges=O}updateErrorState(){const v=this.errorState,T=this._parentFormGroup||this._parentForm,w=this.matcher||this._defaultMatcher,e=this.ngControl?this.ngControl.control:null,O=w?.isErrorState(e,T)??!1;O!==v&&(this.errorState=O,this._stateChanges.next())}}},9454(Zt,pe,l){"use strict";l.d(pe,{BS:()=>Ke,MY:()=>Vt,GK:()=>P,Q6:()=>H,Z2:()=>ve,WN:()=>$});var i=l(3664),d=l(2615),v=l(7705),T=l(1413),w=l(8359),e=l(9726),O=l(8689);const f=new d.nKC("CdkAccordion");let u=(()=>{class nt{_stateChanges=new T.B;_openCloseAllActions=new T.B;id=(0,d.WQX)(e.g).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(oe){this._stateChanges.next(oe)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",v.L39]},exportAs:["cdkAccordion"],features:[i.Jv_([{provide:f,useExisting:nt}]),i.OA$]})}return nt})(),L=(()=>{class nt{accordion=(0,d.WQX)(f,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,d.WQX)(v.gRc);_expansionDispatcher=(0,d.WQX)(O.z);_openCloseAllSubscription=w.yU.EMPTY;closed=new i.bkB;opened=new i.bkB;destroyed=new i.bkB;expandedChange=new i.bkB;id=(0,d.WQX)(e.g).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(oe){this._expanded!==oe&&(this._expanded=oe,this.expandedChange.emit(oe),oe?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}_expanded=!1;get disabled(){return this._disabled()}set disabled(oe){this._disabled.set(oe)}_disabled=(0,d.vPA)(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((oe,Ye)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ye&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(oe=>{this.disabled||(this.expanded=oe)})}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",v.L39],disabled:[2,"disabled","disabled",v.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Jv_([{provide:f,useValue:void 0}])]})}return nt})(),C=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=i.$C({type:nt});static \u0275inj=d.G2t({})}return nt})();var B=l(6939),A=l(6838),Pe=l(4123),le=l(9172),Ce=l(5964),Ae=l(6697),j=l(438),W=l(7336),G=l(983),re=l(7786),xe=l(1804),Ee=l(8968),V=l(2046),ce=l(2466);const ne=["body"],J=["bodyWrapper"],De=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Re=["mat-expansion-panel-header","*","mat-action-row"];function Xe(nt,ht){}const _e=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],he=["mat-panel-title","mat-panel-description","*"];function Dt(nt,ht){1&nt&&(i.rj2(0,"span",1),d.qSk(),i.rj2(1,"svg",2),i.Hgh(2,"path",3),i.eux()())}const lt=new d.nKC("MAT_ACCORDION"),Le=new d.nKC("MAT_EXPANSION_PANEL");let te=(()=>{class nt{_template=(0,d.WQX)(i.C4Q);_expansionPanel=(0,d.WQX)(Le,{optional:!0});constructor(){}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["ng-template","matExpansionPanelContent",""]]})}return nt})();const ie=new d.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let P=(()=>{class nt extends L{_viewContainerRef=(0,d.WQX)(i.c1b);_animationsDisabled=(0,xe.Rc)();_document=(0,d.WQX)(d.qQL);_ngZone=(0,d.WQX)(i.SKi);_elementRef=(0,d.WQX)(i.aKT);_renderer=(0,d.WQX)(i.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(oe){this._hideToggle=oe}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(oe){this._togglePosition=oe}_togglePosition;afterExpand=new i.bkB;afterCollapse=new i.bkB;_inputChanges=new T.B;accordion=(0,d.WQX)(lt,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,d.WQX)(e.g).getId("mat-expansion-panel-header-");constructor(){super();const oe=(0,d.WQX)(ie,{optional:!0});this._expansionDispatcher=(0,d.WQX)(O.z),oe&&(this.hideToggle=oe.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,le.Z)(null),(0,Ce.p)(()=>this.expanded&&!this._portal),(0,Ae.s)(1)).subscribe(()=>{this._portal=new B.VA(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(oe){this._inputChanges.next(oe)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const oe=this._document.activeElement,Ye=this._body.nativeElement;return oe===Ye||Ye.contains(oe)}return!1}_transitionEndListener=({target:oe,propertyName:Ye})=>{oe===this._bodyWrapper?.nativeElement&&"grid-template-rows"===Ye&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const oe=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(oe,"transitionend",this._transitionEndListener),oe.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=i.VBU({type:nt,selectors:[["mat-expansion-panel"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&i.wni(Qe,te,5),2&Ye){let gt;i.mGM(gt=i.lsd())&&(fe._lazyContent=gt.first)}},viewQuery:function(Ye,fe){if(1&Ye&&(i.GBs(ne,5),i.GBs(J,5)),2&Ye){let Qe;i.mGM(Qe=i.lsd())&&(fe._body=Qe.first),i.mGM(Qe=i.lsd())&&(fe._bodyWrapper=Qe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(Ye,fe){2&Ye&&i.AVh("mat-expanded",fe.expanded)("mat-expansion-panel-spacing",fe._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",v.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Jv_([{provide:lt,useValue:void 0},{provide:Le,useExisting:nt}]),i.Vt3,i.OA$],ngContentSelectors:Re,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Ye,fe){1&Ye&&(i.NAR(De),i.SdG(0),i.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),i.SdG(6,1),i.DNE(7,Xe,0,0,"ng-template",5),i.k0s(),i.SdG(8,2),i.k0s()()),2&Ye&&(i.R7$(),i.BMQ("inert",fe.expanded?null:""),i.R7$(2),i.Y8G("id",fe.id),i.BMQ("aria-labelledby",fe._headerId),i.R7$(4),i.Y8G("cdkPortalOutlet",fe._portal))},dependencies:[B.I3],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,changeDetection:0})}return nt})(),ve=(()=>{class nt{panel=(0,d.WQX)(P,{host:!0});_element=(0,d.WQX)(i.aKT);_focusMonitor=(0,d.WQX)(A.FN);_changeDetectorRef=(0,d.WQX)(v.gRc);_parentChangeSubscription=w.yU.EMPTY;constructor(){(0,d.WQX)(Ee.l).load(V.A);const oe=this.panel,Ye=(0,d.WQX)(ie,{optional:!0}),fe=(0,d.WQX)(new v.ES_("tabindex"),{optional:!0}),Qe=oe.accordion?oe.accordion._stateChanges.pipe((0,Ce.p)(gt=>!(!gt.hideToggle&&!gt.togglePosition))):G.w;this.tabIndex=parseInt(fe||"")||0,this._parentChangeSubscription=(0,re.h)(oe.opened,oe.closed,Qe,oe._inputChanges.pipe((0,Ce.p)(gt=>!!(gt.hideToggle||gt.disabled||gt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),oe.closed.pipe((0,Ce.p)(()=>oe._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),Ye&&(this.expandedHeight=Ye.expandedHeight,this.collapsedHeight=Ye.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const oe=this._isExpanded();return oe&&this.expandedHeight?this.expandedHeight:!oe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(oe){switch(oe.keyCode){case j.t6:case j.Fm:(0,W.rp)(oe)||(oe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(oe))}}focus(oe,Ye){oe?this._focusMonitor.focusVia(this._element,oe,Ye):this._element.nativeElement.focus(Ye)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(oe=>{oe&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=i.VBU({type:nt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(Ye,fe){1&Ye&&i.bIt("click",function(){return fe._toggle()})("keydown",function(gt){return fe._keydown(gt)}),2&Ye&&(i.BMQ("id",fe.panel._headerId)("tabindex",fe.disabled?-1:fe.tabIndex)("aria-controls",fe._getPanelId())("aria-expanded",fe._isExpanded())("aria-disabled",fe.panel.disabled),i.xc7("height",fe._getHeaderHeight()),i.AVh("mat-expanded",fe._isExpanded())("mat-expansion-toggle-indicator-after","after"===fe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===fe._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",oe=>null==oe?0:(0,v.Udg)(oe)]},ngContentSelectors:he,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(Ye,fe){1&Ye&&(i.NAR(_e),i.rj2(0,"span",0),i.SdG(1),i.SdG(2,1),i.SdG(3,2),i.eux(),i.nVh(4,Dt,3,0,"span",1)),2&Ye&&(i.AVh("mat-content-hide-toggle",!fe._showToggle()),i.R7$(4),i.vxM(fe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],encapsulation:2,changeDetection:0})}return nt})(),H=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return nt})(),$=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=i.FsC({type:nt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return nt})(),Ke=(()=>{class nt extends u{_keyManager;_ownHeaders=new i.rOR;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe((0,le.Z)(this._headers)).subscribe(oe=>{this._ownHeaders.reset(oe.filter(Ye=>Ye.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Pe.B(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(oe){this._keyManager.onKeydown(oe)}_handleHeaderFocus(oe){this._keyManager.updateActiveItem(oe)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=i.xGo(nt)))(fe||nt)}})();static \u0275dir=i.FsC({type:nt,selectors:[["mat-accordion"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&i.wni(Qe,ve,5),2&Ye){let gt;i.mGM(gt=i.lsd())&&(fe._headers=gt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&i.AVh("mat-accordion-multi",fe.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",v.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i.Jv_([{provide:lt,useExisting:nt}]),i.Vt3]})}return nt})(),Vt=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=i.$C({type:nt});static \u0275inj=d.G2t({imports:[ce.y,C,B.jc]})}return nt})()},1228(Zt,pe,l){"use strict";l.d(pe,{R:()=>e});var i=l(2318),d=l(2615),v=l(3664),T=l(9588),w=l(2466);let e=(()=>{class O{static \u0275fac=function(L){return new(L||O)};static \u0275mod=v.$C({type:O});static \u0275inj=d.G2t({imports:[w.y,i.w5,T.rl,w.y]})}return O})()},9588(Zt,pe,l){"use strict";l.d(pe,{xb:()=>vi,TL:()=>fe,rl:()=>ye,qT:()=>pt,MV:()=>Qe,nJ:()=>oe,yw:()=>cn});var i=l(9726),d=l(1577),v=l(4085),T=l(9842),w=l(2200),e=l(3664),O=l(2615),f=l(7705),u=l(9295),L=l(8359),C=l(1413),B=l(7786),A=l(9172),Pe=l(6354),le=l(9974),Ce=l(4360),j=l(5964),W=l(6977),G=l(3610),re=l(1804);const Ee=["notch"],V=["matFormFieldNotchedOutline",""],ce=["*"],be=["iconPrefixContainer"],ne=["textPrefixContainer"],J=["iconSuffixContainer"],De=["textSuffixContainer"],Re=["textField"],Xe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function he(ke,Se){1&ke&&e.nrm(0,"span",21)}function Dt(ke,Se){if(1&ke&&(e.j41(0,"label",20),e.SdG(1,1),e.nVh(2,he,1,0,"span",21),e.k0s()),2&ke){const ge=e.XpG(2);e.Y8G("floating",ge._shouldLabelFloat())("monitorResize",ge._hasOutline())("id",ge._labelId),e.BMQ("for",ge._control.disableAutomaticLabeling?null:ge._control.id),e.R7$(2),e.vxM(!ge.hideRequiredMarker&&ge._control.required?2:-1)}}function lt(ke,Se){if(1&ke&&e.nVh(0,Dt,3,5,"label",20),2&ke){const ge=e.XpG();e.vxM(ge._hasFloatingLabel()?0:-1)}}function Le(ke,Se){1&ke&&e.nrm(0,"div",7)}function te(ke,Se){}function ie(ke,Se){if(1&ke&&e.DNE(0,te,0,0,"ng-template",13),2&ke){e.XpG(2);const ge=e.sdS(1);e.Y8G("ngTemplateOutlet",ge)}}function P(ke,Se){if(1&ke&&(e.j41(0,"div",9),e.nVh(1,ie,1,1,null,13),e.k0s()),2&ke){const ge=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",ge._shouldLabelFloat()),e.R7$(),e.vxM(ge._forceDisplayInfixLabel()?-1:1)}}function F(ke,Se){1&ke&&(e.j41(0,"div",10,2),e.SdG(2,2),e.k0s())}function ve(ke,Se){1&ke&&(e.j41(0,"div",11,3),e.SdG(2,3),e.k0s())}function H(ke,Se){}function $(ke,Se){if(1&ke&&e.DNE(0,H,0,0,"ng-template",13),2&ke){e.XpG();const ge=e.sdS(1);e.Y8G("ngTemplateOutlet",ge)}}function Ke(ke,Se){1&ke&&(e.j41(0,"div",14,4),e.SdG(2,4),e.k0s())}function Vt(ke,Se){1&ke&&(e.j41(0,"div",15,5),e.SdG(2,5),e.k0s())}function St(ke,Se){1&ke&&e.nrm(0,"div",16)}function ot(ke,Se){1&ke&&(e.j41(0,"div",18),e.SdG(1,6),e.k0s())}function nt(ke,Se){if(1&ke&&(e.j41(0,"mat-hint",22),e.EFF(1),e.k0s()),2&ke){const ge=e.XpG(2);e.Y8G("id",ge._hintLabelId),e.R7$(),e.JRh(ge.hintLabel)}}function ht(ke,Se){if(1&ke&&(e.j41(0,"div",19),e.nVh(1,nt,2,2,"mat-hint",22),e.SdG(2,7),e.nrm(3,"div",23),e.SdG(4,8),e.k0s()),2&ke){const ge=e.XpG();e.R7$(),e.vxM(ge.hintLabel?1:-1)}}let oe=(()=>{class ke{static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-label"]]})}return ke})();const Ye=new O.nKC("MatError");let fe=(()=>{class ke{id=(0,O.WQX)(i.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(N,Z){2&N&&e.Avn("id",Z.id)},inputs:{id:"id"},features:[e.Jv_([{provide:Ye,useExisting:ke}])]})}return ke})(),Qe=(()=>{class ke{align="start";id=(0,O.WQX)(i.g).getId("mat-mdc-hint-");static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(N,Z){2&N&&(e.Avn("id",Z.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===Z.align))},inputs:{align:"align",id:"id"}})}return ke})();const gt=new O.nKC("MatPrefix"),rt=new O.nKC("MatSuffix");let cn=(()=>{class ke{set _isTextSelector(ge){this._isText=!0}_isText=!1;static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[e.Jv_([{provide:rt,useExisting:ke}])]})}return ke})();const Ft=new O.nKC("FloatingLabelParent");let Sn=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);get floating(){return this._floating}set floating(ge){this._floating=ge,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(ge){this._monitorResize=ge,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,O.WQX)(G.a);_ngZone=(0,O.WQX)(e.SKi);_parent=(0,O.WQX)(Ft);_resizeSubscription=new L.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Qn(ke){if(null!==ke.offsetParent)return ke.scrollWidth;const ge=ke.cloneNode(!0);ge.style.setProperty("position","absolute"),ge.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(ge);const N=ge.scrollWidth;return ge.remove(),N}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(N,Z){2&N&&e.AVh("mdc-floating-label--float-above",Z.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return ke})();const h="mdc-line-ripple--active",jt="mdc-line-ripple--deactivating";let Ue=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_cleanupTransitionEnd;constructor(){const ge=(0,O.WQX)(e.SKi),N=(0,O.WQX)(e.sFG);ge.runOutsideAngular(()=>{this._cleanupTransitionEnd=N.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const ge=this._elementRef.nativeElement.classList;ge.remove(jt),ge.add(h)}deactivate(){this._elementRef.nativeElement.classList.add(jt)}_handleTransitionEnd=ge=>{const N=this._elementRef.nativeElement.classList,Z=N.contains(jt);"opacity"===ge.propertyName&&Z&&N.remove(h,jt)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return ke})(),wt=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_ngZone=(0,O.WQX)(e.SKi);open=!1;_notch;ngAfterViewInit(){const ge=this._elementRef.nativeElement,N=ge.querySelector(".mdc-floating-label");N?(ge.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(N.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>N.style.transitionDuration="")}))):ge.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(ge){this._notch.nativeElement.style.width=this.open&&ge?`calc(${ge}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(ge){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${ge}px)`)}static \u0275fac=function(N){return new(N||ke)};static \u0275cmp=e.VBU({type:ke,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(N,Z){if(1&N&&e.GBs(Ee,5),2&N){let Me;e.mGM(Me=e.lsd())&&(Z._notch=Me.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(N,Z){2&N&&e.AVh("mdc-notched-outline--notched",Z.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:V,ngContentSelectors:ce,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(N,Z){1&N&&(e.NAR(),e.Hgh(0,"div",1),e.rj2(1,"div",2,0),e.SdG(3),e.eux(),e.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return ke})(),pt=(()=>{class ke{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(N){return new(N||ke)};static \u0275dir=e.FsC({type:ke})}return ke})();const vi=new O.nKC("MatFormField"),Ni=new O.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ye=(()=>{class ke{_elementRef=(0,O.WQX)(e.aKT);_changeDetectorRef=(0,O.WQX)(f.gRc);_platform=(0,O.WQX)(T.O);_idGenerator=(0,O.WQX)(i.g);_ngZone=(0,O.WQX)(e.SKi);_defaults=(0,O.WQX)(Ni,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,f.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,f.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,f.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,f.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,u.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(ge=>ge?.nativeElement).filter(ge=>void 0!==ge));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,f.sbv)(oe);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ge){this._hideRequiredMarker=(0,v.he)(ge)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(ge){ge!==this._floatLabel&&(this._floatLabel=ge,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(ge){this._appearanceSignal.set(ge||this._defaults?.appearance||"fill")}_appearanceSignal=(0,O.vPA)("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(ge){this._subscriptSizing=ge||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(ge){this._hintLabel=ge,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(ge){this._explicitFormFieldControl=ge}_destroyed=new C.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,re.Rc)();constructor(){const ge=this._defaults,N=(0,O.WQX)(d.dS);ge&&(ge.appearance&&(this.appearance=ge.appearance),this._hideRequiredMarker=!!ge?.hideRequiredMarker,ge.color&&(this.color=ge.color)),(0,u.QZ)(()=>this._currentDirection=N.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,u.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(ge){const N=this._control,Z="mat-mdc-form-field-type-";ge&&this._elementRef.nativeElement.classList.remove(Z+ge.controlType),N.controlType&&this._elementRef.nativeElement.classList.add(Z+N.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=N.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=N.stateChanges.pipe((0,A.Z)([void 0,void 0]),(0,Pe.T)(()=>[N.errorState,N.userAriaDescribedBy]),function Ae(){return(0,le.N)((ke,Se)=>{let ge,N=!1;ke.subscribe((0,Ce._)(Se,Z=>{const Me=ge;ge=Z,N&&Se.next([Me,Z]),N=!0}))})}(),(0,j.p)(([[Me,at],[qe,pn]])=>Me!==qe||at!==pn)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),N.ngControl&&N.ngControl.valueChanges&&(this._valueChanges=N.ngControl.valueChanges.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(ge=>!ge._isText),this._hasTextPrefix=!!this._prefixChildren.find(ge=>ge._isText),this._hasIconSuffix=!!this._suffixChildren.find(ge=>!ge._isText),this._hasTextSuffix=!!this._suffixChildren.find(ge=>ge._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,B.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const ge=this._control.focused;ge&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!ge&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",ge),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",ge)}_syncOutlineLabelOffset(){(0,f.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const ge of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(ge,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:ge=>this._writeOutlinedLabelStyles(ge())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,u.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(ge){const N=this._control?this._control.ngControl:null;return N&&N[ge]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let ge=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ge.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const Me=this._hintChildren?this._hintChildren.find(qe=>"start"===qe.align):null,at=this._hintChildren?this._hintChildren.find(qe=>"end"===qe.align):null;Me?ge.push(Me.id):this._hintLabel&&ge.push(this._hintLabelId),at&&ge.push(at.id)}else this._errorChildren&&ge.push(...this._errorChildren.map(Me=>Me.id));const N=this._control.describedByIds;let Z;if(N){const Me=this._describedByIds||ge;Z=ge.concat(N.filter(at=>at&&!Me.includes(at)))}else Z=ge;this._control.setDescribedByIds(Z),this._describedByIds=ge}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const ge=this._iconPrefixContainer?.nativeElement,N=this._textPrefixContainer?.nativeElement,Z=this._iconSuffixContainer?.nativeElement,Me=this._textSuffixContainer?.nativeElement,at=ge?.getBoundingClientRect().width??0,qe=N?.getBoundingClientRect().width??0,pn=Z?.getBoundingClientRect().width??0,Je=Me?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${at+qe}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,at+qe+pn+Je]}_writeOutlinedLabelStyles(ge){if(null!==ge){const[N,Z]=ge;this._floatingLabel&&(this._floatingLabel.element.style.transform=N),null!==Z&&this._notchedOutline?._setMaxWidth(Z)}}_isAttachedToDom(){const ge=this._elementRef.nativeElement;if(ge.getRootNode){const N=ge.getRootNode();return N&&N!==ge}return document.documentElement.contains(ge)}static \u0275fac=function(N){return new(N||ke)};static \u0275cmp=e.VBU({type:ke,selectors:[["mat-form-field"]],contentQueries:function(N,Z,Me){if(1&N&&(e.C6U(Me,Z._labelChild,oe,5),e.wni(Me,pt,5),e.wni(Me,gt,5),e.wni(Me,rt,5),e.wni(Me,Ye,5),e.wni(Me,Qe,5)),2&N){let at;e.NyB(),e.mGM(at=e.lsd())&&(Z._formFieldControl=at.first),e.mGM(at=e.lsd())&&(Z._prefixChildren=at),e.mGM(at=e.lsd())&&(Z._suffixChildren=at),e.mGM(at=e.lsd())&&(Z._errorChildren=at),e.mGM(at=e.lsd())&&(Z._hintChildren=at)}},viewQuery:function(N,Z){if(1&N&&(e.wEZ(Z._iconPrefixContainerSignal,be,5),e.wEZ(Z._textPrefixContainerSignal,ne,5),e.wEZ(Z._iconSuffixContainerSignal,J,5),e.wEZ(Z._textSuffixContainerSignal,De,5),e.GBs(Re,5),e.GBs(be,5),e.GBs(ne,5),e.GBs(J,5),e.GBs(De,5),e.GBs(Sn,5),e.GBs(wt,5),e.GBs(Ue,5)),2&N){let Me;e.NyB(4),e.mGM(Me=e.lsd())&&(Z._textField=Me.first),e.mGM(Me=e.lsd())&&(Z._iconPrefixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._textPrefixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._iconSuffixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._textSuffixContainer=Me.first),e.mGM(Me=e.lsd())&&(Z._floatingLabel=Me.first),e.mGM(Me=e.lsd())&&(Z._notchedOutline=Me.first),e.mGM(Me=e.lsd())&&(Z._lineRipple=Me.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(N,Z){2&N&&e.AVh("mat-mdc-form-field-label-always-float",Z._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Z._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Z._hasIconSuffix)("mat-form-field-invalid",Z._control.errorState)("mat-form-field-disabled",Z._control.disabled)("mat-form-field-autofilled",Z._control.autofilled)("mat-form-field-appearance-fill","fill"==Z.appearance)("mat-form-field-appearance-outline","outline"==Z.appearance)("mat-form-field-hide-placeholder",Z._hasFloatingLabel()&&!Z._shouldLabelFloat())("mat-primary","accent"!==Z.color&&"warn"!==Z.color)("mat-accent","accent"===Z.color)("mat-warn","warn"===Z.color)("ng-untouched",Z._shouldForward("untouched"))("ng-touched",Z._shouldForward("touched"))("ng-pristine",Z._shouldForward("pristine"))("ng-dirty",Z._shouldForward("dirty"))("ng-valid",Z._shouldForward("valid"))("ng-invalid",Z._shouldForward("invalid"))("ng-pending",Z._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e.Jv_([{provide:vi,useExisting:ke},{provide:Ft,useExisting:ke}])],ngContentSelectors:_e,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(N,Z){if(1&N){const Me=e.RV6();e.NAR(Xe),e.DNE(0,lt,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",6,1),e.bIt("click",function(qe){return O.eBV(Me),O.Njj(Z._control.onContainerClick(qe))}),e.nVh(4,Le,1,0,"div",7),e.j41(5,"div",8),e.nVh(6,P,2,2,"div",9),e.nVh(7,F,3,0,"div",10),e.nVh(8,ve,3,0,"div",11),e.j41(9,"div",12),e.nVh(10,$,1,1,null,13),e.SdG(11),e.k0s(),e.nVh(12,Ke,3,0,"div",14),e.nVh(13,Vt,3,0,"div",15),e.k0s(),e.nVh(14,St,1,0,"div",16),e.k0s(),e.j41(15,"div",17),e.nVh(16,ot,2,0,"div",18)(17,ht,5,1,"div",19),e.k0s()}if(2&N){let Me;e.R7$(2),e.AVh("mdc-text-field--filled",!Z._hasOutline())("mdc-text-field--outlined",Z._hasOutline())("mdc-text-field--no-label",!Z._hasFloatingLabel())("mdc-text-field--disabled",Z._control.disabled)("mdc-text-field--invalid",Z._control.errorState),e.R7$(2),e.vxM(Z._hasOutline()||Z._control.disabled?-1:4),e.R7$(2),e.vxM(Z._hasOutline()?6:-1),e.R7$(),e.vxM(Z._hasIconPrefix?7:-1),e.R7$(),e.vxM(Z._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!Z._hasOutline()||Z._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(Z._hasTextSuffix?12:-1),e.R7$(),e.vxM(Z._hasIconSuffix?13:-1),e.R7$(),e.vxM(Z._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Z.subscriptSizing);const at=Z._getSubscriptMessageType();e.R7$(),e.vxM("error"===(Me=at)?16:"hint"===Me?17:-1)}},dependencies:[Sn,wt,w.T3,Ue,Qe],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return ke})()},2885(Zt,pe,l){"use strict";l.d(pe,{B_:()=>ie,Fe:()=>P,NS:()=>ce});class i{tracker;columnIndex=0;rowIndex=0;get rowCount(){return this.rowIndex+1}get rowspan(){const ve=Math.max(...this.tracker);return ve>1?this.rowCount+ve-1:this.rowCount}positions;update(ve,H){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(ve),this.tracker.fill(0,0,this.tracker.length),this.positions=H.map($=>this._trackTile($))}_trackTile(ve){const H=this._findMatchingGap(ve.colspan);return this._markTilePosition(H,ve),this.columnIndex=H+ve.colspan,new d(this.rowIndex,H)}_findMatchingGap(ve){let H=-1,$=-1;do{this.columnIndex+ve>this.tracker.length?(this._nextRow(),H=this.tracker.indexOf(0,this.columnIndex),$=this._findGapEndIndex(H)):(H=this.tracker.indexOf(0,this.columnIndex),-1!=H?($=this._findGapEndIndex(H),this.columnIndex=H+1):(this._nextRow(),H=this.tracker.indexOf(0,this.columnIndex),$=this._findGapEndIndex(H)))}while($-H{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=T.$C({type:F});static \u0275inj=w.G2t({imports:[e.y,e.y]})}return F})();var A=l(7847),Pe=l(1577);const G=["*"],V=new w.nKC("MAT_GRID_LIST");let ce=(()=>{class F{_element=(0,w.WQX)(T.aKT);_gridList=(0,w.WQX)(V,{optional:!0});_rowspan=1;_colspan=1;constructor(){}get rowspan(){return this._rowspan}set rowspan(H){this._rowspan=Math.round((0,A.OE)(H))}get colspan(){return this._colspan}set colspan(H){this._colspan=Math.round((0,A.OE)(H))}_setStyle(H,$){this._element.nativeElement.style[H]=$}static \u0275fac=function($){return new($||F)};static \u0275cmp=T.VBU({type:F,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function($,Ke){2&$&&T.BMQ("rowspan",Ke.rowspan)("colspan",Ke.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:G,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function($,Ke){1&$&&(T.NAR(),T.rj2(0,"div",0),T.SdG(1),T.eux())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0})}return F})();const Re=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Xe{_gutterSize;_rows=0;_rowspan=0;_cols;_direction;init(ve,H,$,Ke){this._gutterSize=Le(ve),this._rows=H.rowCount,this._rowspan=H.rowspan,this._cols=$,this._direction=Ke}getBaseTileSize(ve,H){return`(${ve}% - (${this._gutterSize} * ${H}))`}getTilePosition(ve,H){return 0===H?"0":lt(`(${ve} + ${this._gutterSize}) * ${H}`)}getTileSize(ve,H){return`(${ve} * ${H}) + (${H-1} * ${this._gutterSize})`}setStyle(ve,H,$){let Ke=100/this._cols,Vt=(this._cols-1)/this._cols;this.setColStyles(ve,$,Ke,Vt),this.setRowStyles(ve,H,Ke,Vt)}setColStyles(ve,H,$,Ke){let Vt=this.getBaseTileSize($,Ke);ve._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(Vt,H)),ve._setStyle("width",lt(this.getTileSize(Vt,ve.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(ve){return`${this._rowspan} * ${this.getTileSize(ve,1)}`}getComputedHeight(){return null}}class _e extends Xe{fixedRowHeight;constructor(ve){super(),this.fixedRowHeight=ve}init(ve,H,$,Ke){super.init(ve,H,$,Ke),this.fixedRowHeight=Le(this.fixedRowHeight),Re.test(this.fixedRowHeight)}setRowStyles(ve,H){ve._setStyle("top",this.getTilePosition(this.fixedRowHeight,H)),ve._setStyle("height",lt(this.getTileSize(this.fixedRowHeight,ve.rowspan)))}getComputedHeight(){return["height",lt(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(ve){ve._setListStyle(["height",null]),ve._tiles&&ve._tiles.forEach(H=>{H._setStyle("top",null),H._setStyle("height",null)})}}class he extends Xe{rowHeightRatio;baseTileHeight;constructor(ve){super(),this._parseRatio(ve)}setRowStyles(ve,H,$,Ke){this.baseTileHeight=this.getBaseTileSize($/this.rowHeightRatio,Ke),ve._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,H)),ve._setStyle("paddingTop",lt(this.getTileSize(this.baseTileHeight,ve.rowspan)))}getComputedHeight(){return["paddingBottom",lt(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(ve){ve._setListStyle(["paddingBottom",null]),ve._tiles.forEach(H=>{H._setStyle("marginTop",null),H._setStyle("paddingTop",null)})}_parseRatio(ve){const H=ve.split(":");this.rowHeightRatio=parseFloat(H[0])/parseFloat(H[1])}}class Dt extends Xe{setRowStyles(ve,H){let Vt=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);ve._setStyle("top",this.getTilePosition(Vt,H)),ve._setStyle("height",lt(this.getTileSize(Vt,ve.rowspan)))}reset(ve){ve._tiles&&ve._tiles.forEach(H=>{H._setStyle("top",null),H._setStyle("height",null)})}}function lt(F){return`calc(${F})`}function Le(F){return F.match(/([A-Za-z%]+)$/)?F:`${F}px`}let ie=(()=>{class F{_element=(0,w.WQX)(T.aKT);_dir=(0,w.WQX)(Pe.dS,{optional:!0});_cols;_tileCoordinator;_rowHeight;_gutter="1px";_tileStyler;_tiles;constructor(){}get cols(){return this._cols}set cols(H){this._cols=Math.max(1,Math.round((0,A.OE)(H)))}get gutterSize(){return this._gutter}set gutterSize(H){this._gutter=`${H??""}`}get rowHeight(){return this._rowHeight}set rowHeight(H){const $=`${H??""}`;$!==this._rowHeight&&(this._rowHeight=$,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(H){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===H?new Dt:H&&H.indexOf(":")>-1?new he(H):new _e(H)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new i);const H=this._tileCoordinator,$=this._tiles.filter(Vt=>!Vt._gridList||Vt._gridList===this),Ke=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,$),this._tileStyler.init(this.gutterSize,H,this.cols,Ke),$.forEach((Vt,St)=>{const ot=H.positions[St];this._tileStyler.setStyle(Vt,ot.row,ot.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(H){H&&(this._element.nativeElement.style[H[0]]=H[1])}static \u0275fac=function($){return new($||F)};static \u0275cmp=T.VBU({type:F,selectors:[["mat-grid-list"]],contentQueries:function($,Ke,Vt){if(1&$&&T.wni(Vt,ce,5),2&$){let St;T.mGM(St=T.lsd())&&(Ke._tiles=St)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function($,Ke){2&$&&T.BMQ("cols",Ke.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[T.Jv_([{provide:V,useExisting:F}])],ngContentSelectors:G,decls:2,vars:0,template:function($,Ke){1&$&&(T.NAR(),T.rj2(0,"div"),T.SdG(1),T.eux())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n"],encapsulation:2,changeDetection:0})}return F})(),P=(()=>{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=T.$C({type:F});static \u0275inj=w.G2t({imports:[B,e.y,B,e.y]})}return F})()},2598(Zt,pe,l){"use strict";l.d(pe,{iM:()=>A,iY:()=>Pe});var i=l(3664),d=l(7705),v=l(2615),T=l(6838),w=l(8968),e=l(1048),O=l(2046),f=l(1804);const u=["mat-icon-button",""],L=["*"],C=new v.nKC("MAT_BUTTON_CONFIG");function B(Ce){return null==Ce?void 0:(0,d.Udg)(Ce)}let A=(()=>{class Ce{_elementRef=(0,v.WQX)(i.aKT);_ngZone=(0,v.WQX)(i.SKi);_animationsDisabled=(0,f.Rc)();_config=(0,v.WQX)(C,{optional:!0});_focusMonitor=(0,v.WQX)(T.FN);_cleanupClick;_renderer=(0,v.WQX)(i.sFG);_rippleLoader=(0,v.WQX)(e.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(j){this._disableRipple=j,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(j){this._disabled=j,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(j){this.tabIndex=j}constructor(){(0,v.WQX)(w.l).load(O.A);const j=this._elementRef.nativeElement;this._isAnchor="A"===j.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(j,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(j="program",W){j?this._focusMonitor.focusVia(this._elementRef.nativeElement,j,W):this._elementRef.nativeElement.focus(W)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",j=>{this.disabled&&(j.preventDefault(),j.stopImmediatePropagation())}))}static \u0275fac=function(W){return new(W||Ce)};static \u0275dir=i.FsC({type:Ce,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(W,G){2&W&&(i.BMQ("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled())("tabindex",G._getTabIndex()),i.HbH(G.color?"mat-"+G.color:""),i.AVh("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("mat-unthemed",!G.color)("_mat-animation-noopable",G._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",d.L39],disabled:[2,"disabled","disabled",d.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",d.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",d.L39],tabIndex:[2,"tabIndex","tabIndex",B],_tabindex:[2,"tabindex","_tabindex",B]}})}return Ce})(),Pe=(()=>{class Ce extends A{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(W){return new(W||Ce)};static \u0275cmp=i.VBU({type:Ce,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[i.Vt3],attrs:u,ngContentSelectors:L,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(W,G){1&W&&(i.NAR(),i.Hgh(0,"span",0),i.SdG(1),i.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return Ce})()},2629(Zt,pe,l){"use strict";l.d(pe,{An:()=>ie,m_:()=>P});var i=l(3664),d=l(2615),v=l(7705),T=l(8359),w=l(6697),e=l(9330),O=l(345),f=l(7673),u=l(8810),L=l(7468),C=l(8141),B=l(6354),A=l(9437),Pe=l(980),le=l(7647);let Ce;function j(F){return function Ae(){if(void 0===Ce&&(Ce=null,typeof window<"u")){const F=window;void 0!==F.trustedTypes&&(Ce=F.trustedTypes.createPolicy("angular#components",{createHTML:ve=>ve}))}return Ce}()?.createHTML(F)||F}function W(F){return Error(`Unable to find icon with the name "${F}"`)}function re(F){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${F}".`)}function xe(F){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${F}".`)}class Ee{url;svgText;options;svgElement;constructor(ve,H,$){this.url=ve,this.svgText=H,this.options=$}}let V=(()=>{class F{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(H,$,Ke,Vt){this._httpClient=H,this._sanitizer=$,this._errorHandler=Vt,this._document=Ke}addSvgIcon(H,$,Ke){return this.addSvgIconInNamespace("",H,$,Ke)}addSvgIconLiteral(H,$,Ke){return this.addSvgIconLiteralInNamespace("",H,$,Ke)}addSvgIconInNamespace(H,$,Ke,Vt){return this._addSvgIconConfig(H,$,new Ee(Ke,null,Vt))}addSvgIconResolver(H){return this._resolvers.push(H),this}addSvgIconLiteralInNamespace(H,$,Ke,Vt){const St=this._sanitizer.sanitize(i.WPN.HTML,Ke);if(!St)throw xe(Ke);const ot=j(St);return this._addSvgIconConfig(H,$,new Ee("",ot,Vt))}addSvgIconSet(H,$){return this.addSvgIconSetInNamespace("",H,$)}addSvgIconSetLiteral(H,$){return this.addSvgIconSetLiteralInNamespace("",H,$)}addSvgIconSetInNamespace(H,$,Ke){return this._addSvgIconSetConfig(H,new Ee($,null,Ke))}addSvgIconSetLiteralInNamespace(H,$,Ke){const Vt=this._sanitizer.sanitize(i.WPN.HTML,$);if(!Vt)throw xe($);const St=j(Vt);return this._addSvgIconSetConfig(H,new Ee("",St,Ke))}registerFontClassAlias(H,$=H){return this._fontCssClassesByAlias.set(H,$),this}classNameForFontAlias(H){return this._fontCssClassesByAlias.get(H)||H}setDefaultFontSetClass(...H){return this._defaultFontSetClass=H,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(H){const $=this._sanitizer.sanitize(i.WPN.RESOURCE_URL,H);if(!$)throw re(H);const Ke=this._cachedIconsByUrl.get($);return Ke?(0,f.of)(ne(Ke)):this._loadSvgIconFromConfig(new Ee(H,null)).pipe((0,C.M)(Vt=>this._cachedIconsByUrl.set($,Vt)),(0,B.T)(Vt=>ne(Vt)))}getNamedSvgIcon(H,$=""){const Ke=J($,H);let Vt=this._svgIconConfigs.get(Ke);if(Vt)return this._getSvgFromConfig(Vt);if(Vt=this._getIconConfigFromResolvers($,H),Vt)return this._svgIconConfigs.set(Ke,Vt),this._getSvgFromConfig(Vt);const St=this._iconSetConfigs.get($);return St?this._getSvgFromIconSetConfigs(H,St):(0,u.$)(W(Ke))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(H){return H.svgText?(0,f.of)(ne(this._svgElementFromConfig(H))):this._loadSvgIconFromConfig(H).pipe((0,B.T)($=>ne($)))}_getSvgFromIconSetConfigs(H,$){const Ke=this._extractIconWithNameFromAnySet(H,$);if(Ke)return(0,f.of)(Ke);const Vt=$.filter(St=>!St.svgText).map(St=>this._loadSvgIconSetFromConfig(St).pipe((0,A.W)(ot=>{const ht=`Loading icon set URL: ${this._sanitizer.sanitize(i.WPN.RESOURCE_URL,St.url)} failed: ${ot.message}`;return this._errorHandler.handleError(new Error(ht)),(0,f.of)(null)})));return(0,L.p)(Vt).pipe((0,B.T)(()=>{const St=this._extractIconWithNameFromAnySet(H,$);if(!St)throw W(H);return St}))}_extractIconWithNameFromAnySet(H,$){for(let Ke=$.length-1;Ke>=0;Ke--){const Vt=$[Ke];if(Vt.svgText&&Vt.svgText.toString().indexOf(H)>-1){const St=this._svgElementFromConfig(Vt),ot=this._extractSvgIconFromSet(St,H,Vt.options);if(ot)return ot}}return null}_loadSvgIconFromConfig(H){return this._fetchIcon(H).pipe((0,C.M)($=>H.svgText=$),(0,B.T)(()=>this._svgElementFromConfig(H)))}_loadSvgIconSetFromConfig(H){return H.svgText?(0,f.of)(null):this._fetchIcon(H).pipe((0,C.M)($=>H.svgText=$))}_extractSvgIconFromSet(H,$,Ke){const Vt=H.querySelector(`[id="${$}"]`);if(!Vt)return null;const St=Vt.cloneNode(!0);if(St.removeAttribute("id"),"svg"===St.nodeName.toLowerCase())return this._setSvgAttributes(St,Ke);if("symbol"===St.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(St),Ke);const ot=this._svgElementFromString(j(""));return ot.appendChild(St),this._setSvgAttributes(ot,Ke)}_svgElementFromString(H){const $=this._document.createElement("DIV");$.innerHTML=H;const Ke=$.querySelector("svg");if(!Ke)throw Error(" tag not found");return Ke}_toSvgElement(H){const $=this._svgElementFromString(j("")),Ke=H.attributes;for(let Vt=0;Vtj(ht)),(0,Pe.j)(()=>this._inProgressUrlFetches.delete(St)),(0,le.u)());return this._inProgressUrlFetches.set(St,nt),nt}_addSvgIconConfig(H,$,Ke){return this._svgIconConfigs.set(J(H,$),Ke),this}_addSvgIconSetConfig(H,$){const Ke=this._iconSetConfigs.get(H);return Ke?Ke.push($):this._iconSetConfigs.set(H,[$]),this}_svgElementFromConfig(H){if(!H.svgElement){const $=this._svgElementFromString(H.svgText);this._setSvgAttributes($,H.options),H.svgElement=$}return H.svgElement}_getIconConfigFromResolvers(H,$){for(let Ke=0;Keve?ve.pathname+ve.search:""}}}),lt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Le=lt.map(F=>`[${F}]`).join(", "),te=/^url\(['"]?#(.*?)['"]?\)$/;let ie=(()=>{class F{_elementRef=(0,d.WQX)(i.aKT);_iconRegistry=(0,d.WQX)(V);_location=(0,d.WQX)(he);_errorHandler=(0,d.WQX)(d.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(H){this._color=H}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(H){H!==this._svgIcon&&(H?this._updateSvgIcon(H):this._svgIcon&&this._clearSvgElement(),this._svgIcon=H)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(H){const $=this._cleanupFontValue(H);$!==this._fontSet&&(this._fontSet=$,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(H){const $=this._cleanupFontValue(H);$!==this._fontIcon&&(this._fontIcon=$,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=T.yU.EMPTY;constructor(){const H=(0,d.WQX)(new v.ES_("aria-hidden"),{optional:!0}),$=(0,d.WQX)(_e,{optional:!0});$&&($.color&&(this.color=this._defaultColor=$.color),$.fontSet&&(this.fontSet=$.fontSet)),H||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(H){if(!H)return["",""];const $=H.split(":");switch($.length){case 1:return["",$[0]];case 2:return $;default:throw Error(`Invalid icon name: "${H}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const H=this._elementsWithExternalReferences;if(H&&H.size){const $=this._location.getPathname();$!==this._previousPath&&(this._previousPath=$,this._prependPathToReferences($))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(H){this._clearSvgElement();const $=this._location.getPathname();this._previousPath=$,this._cacheChildrenWithExternalReferences(H),this._prependPathToReferences($),this._elementRef.nativeElement.appendChild(H)}_clearSvgElement(){const H=this._elementRef.nativeElement;let $=H.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$--;){const Ke=H.childNodes[$];(1!==Ke.nodeType||"svg"===Ke.nodeName.toLowerCase())&&Ke.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const H=this._elementRef.nativeElement,$=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ke=>Ke.length>0);this._previousFontSetClass.forEach(Ke=>H.classList.remove(Ke)),$.forEach(Ke=>H.classList.add(Ke)),this._previousFontSetClass=$,this.fontIcon!==this._previousFontIconClass&&!$.includes("mat-ligature-font")&&(this._previousFontIconClass&&H.classList.remove(this._previousFontIconClass),this.fontIcon&&H.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(H){return"string"==typeof H?H.trim().split(" ")[0]:H}_prependPathToReferences(H){const $=this._elementsWithExternalReferences;$&&$.forEach((Ke,Vt)=>{Ke.forEach(St=>{Vt.setAttribute(St.name,`url('${H}#${St.value}')`)})})}_cacheChildrenWithExternalReferences(H){const $=H.querySelectorAll(Le),Ke=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Vt=0;Vt<$.length;Vt++)lt.forEach(St=>{const ot=$[Vt],nt=ot.getAttribute(St),ht=nt?nt.match(te):null;if(ht){let oe=Ke.get(ot);oe||(oe=[],Ke.set(ot,oe)),oe.push({name:St,value:ht[1]})}})}_updateSvgIcon(H){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),H){const[$,Ke]=this._splitIconName(H);$&&(this._svgNamespace=$),Ke&&(this._svgName=Ke),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ke,$).pipe((0,w.s)(1)).subscribe(Vt=>this._setSvgElement(Vt),Vt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$}:${Ke}! ${Vt.message}`))})}}static \u0275fac=function($){return new($||F)};static \u0275cmp=i.VBU({type:F,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function($,Ke){2&$&&(i.BMQ("data-mat-icon-type",Ke._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ke._svgName||Ke.fontIcon)("data-mat-icon-namespace",Ke._svgNamespace||Ke.fontSet)("fontIcon",Ke._usingFontIcon()?Ke.fontIcon:null),i.HbH(Ke.color?"mat-"+Ke.color:""),i.AVh("mat-icon-inline",Ke.inline)("mat-icon-no-color","primary"!==Ke.color&&"accent"!==Ke.color&&"warn"!==Ke.color))},inputs:{color:"color",inline:[2,"inline","inline",v.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Xe,decls:1,vars:0,template:function($,Ke){1&$&&(i.NAR(),i.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return F})(),P=(()=>{class F{static \u0275fac=function($){return new($||F)};static \u0275mod=i.$C({type:F});static \u0275inj=d.G2t({imports:[Re.y,Re.y]})}return F})()},8010(Zt,pe,l){"use strict";l.d(pe,{O:()=>d});const d=new(l(2615).nKC)("MAT_INPUT_VALUE_ACCESSOR")},3746(Zt,pe,l){"use strict";l.d(pe,{fg:()=>St,fS:()=>ot});var i=l(4085),d=l(9842);let w;const e=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(w)return w;if("object"!=typeof document||!document)return w=new Set(e),w;let nt=document.createElement("input");return w=new Set(e.filter(ht=>(nt.setAttribute("type",ht),nt.type===ht))),w}var f=l(3664),u=l(2615),L=l(983),C=l(1413),B=l(8968),A=l(7847);let ne=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=f.VBU({type:nt,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(Ye,fe){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return nt})();const J={passive:!0};let De=(()=>{class nt{_platform=(0,u.WQX)(d.O);_ngZone=(0,u.WQX)(f.SKi);_renderer=(0,u.WQX)(f._9s).createRenderer(null,null);_styleLoader=(0,u.WQX)(B.l);_monitoredElements=new Map;constructor(){}monitor(oe){if(!this._platform.isBrowser)return L.w;this._styleLoader.load(ne);const Ye=(0,A.i8)(oe),fe=this._monitoredElements.get(Ye);if(fe)return fe.subject;const Qe=new C.B,gt="cdk-text-field-autofilled",Gt=cn=>{"cdk-text-field-autofill-start"!==cn.animationName||Ye.classList.contains(gt)?"cdk-text-field-autofill-end"===cn.animationName&&Ye.classList.contains(gt)&&(Ye.classList.remove(gt),this._ngZone.run(()=>Qe.next({target:cn.target,isAutofilled:!1}))):(Ye.classList.add(gt),this._ngZone.run(()=>Qe.next({target:cn.target,isAutofilled:!0})))},rt=this._ngZone.runOutsideAngular(()=>(Ye.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(Ye,"animationstart",Gt,J)));return this._monitoredElements.set(Ye,{subject:Qe,unlisten:rt}),Qe}stopMonitoring(oe){const Ye=(0,A.i8)(oe),fe=this._monitoredElements.get(Ye);fe&&(fe.unlisten(),fe.subject.complete(),Ye.classList.remove("cdk-text-field-autofill-monitored"),Ye.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ye))}ngOnDestroy(){this._monitoredElements.forEach((oe,Ye)=>this.stopMonitoring(Ye))}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275prov=u.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),_e=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=f.$C({type:nt});static \u0275inj=u.G2t({})}return nt})();var he=l(9295),Dt=l(7705),lt=l(9726),Le=l(9417),te=l(8010),ie=l(9588),P=l(2709),F=l(9336),ve=l(1228),H=l(2466);const Ke=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Vt=new u.nKC("MAT_INPUT_CONFIG");let St=(()=>{class nt{_elementRef=(0,u.WQX)(f.aKT);_platform=(0,u.WQX)(d.O);ngControl=(0,u.WQX)(Le.vO,{optional:!0,self:!0});_autofillMonitor=(0,u.WQX)(De);_ngZone=(0,u.WQX)(f.SKi);_formField=(0,u.WQX)(ie.xb,{optional:!0});_renderer=(0,u.WQX)(f.sFG);_uid=(0,u.WQX)(lt.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,u.WQX)(Vt,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new C.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,i.he)(oe),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(oe){this._id=oe||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Le.k0.required)??!1}set required(oe){this._required=(0,i.he)(oe)}_required;get type(){return this._type}set type(oe){this._type=oe||"text",this._validateType(),!this._isTextarea&&O().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(oe){this._errorStateTracker.matcher=oe}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(oe){oe!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(oe):this._inputValueAccessor.value=oe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(oe){this._readonly=(0,i.he)(oe)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(oe){this._errorStateTracker.errorState=oe}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(oe=>O().has(oe));constructor(){const oe=(0,u.WQX)(Le.cV,{optional:!0}),Ye=(0,u.WQX)(Le.j4,{optional:!0}),fe=(0,u.WQX)(P.e),Qe=(0,u.WQX)(te.O,{optional:!0,self:!0}),gt=this._elementRef.nativeElement,Gt=gt.nodeName.toLowerCase();Qe?(0,u.Hps)(Qe.value)?this._signalBasedValueAccessor=Qe:this._inputValueAccessor=Qe:this._inputValueAccessor=gt,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(gt,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new F.X(fe,this.ngControl,Ye,oe,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Gt,this._isTextarea="textarea"===Gt,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=gt.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,he.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(oe=>{this.autofilled=oe.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(oe){this._elementRef.nativeElement.focus(oe)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(oe){if(oe!==this.focused){if(!this._isNativeSelect&&oe&&this.disabled&&this.disabledInteractive){const Ye=this._elementRef.nativeElement;"number"===Ye.type?(Ye.type="text",Ye.setSelectionRange(0,0),Ye.type="number"):Ye.setSelectionRange(0,0)}this.focused=oe,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const oe=this._elementRef.nativeElement.value;this._previousNativeValue!==oe&&(this._previousNativeValue=oe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const oe=this._getPlaceholder();if(oe!==this._previousPlaceholder){const Ye=this._elementRef.nativeElement;this._previousPlaceholder=oe,oe?Ye.setAttribute("placeholder",oe):Ye.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Ke.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let oe=this._elementRef.nativeElement.validity;return oe&&oe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const oe=this._elementRef.nativeElement,Ye=oe.options[0];return this.focused||oe.multiple||!this.empty||!!(oe.selectedIndex>-1&&Ye&&Ye.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(oe){const Ye=this._elementRef.nativeElement;oe.length?Ye.setAttribute("aria-describedby",oe.join(" ")):Ye.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const oe=this._elementRef.nativeElement;return this._isNativeSelect&&(oe.multiple||oe.size>1)}_iOSKeyupListener=oe=>{const Ye=oe.target;!Ye.value&&0===Ye.selectionStart&&0===Ye.selectionEnd&&(Ye.setSelectionRange(1,1),Ye.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275dir=f.FsC({type:nt,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(Ye,fe){1&Ye&&f.bIt("focus",function(){return fe._focusChanged(!0)})("blur",function(){return fe._focusChanged(!1)})("input",function(){return fe._onInput()}),2&Ye&&(f.Avn("id",fe.id)("disabled",fe.disabled&&!fe.disabledInteractive)("required",fe.required),f.BMQ("name",fe.name||null)("readonly",fe._getReadonlyAttribute())("aria-disabled",fe.disabled&&fe.disabledInteractive?"true":null)("aria-invalid",fe.empty&&fe.required?null:fe.errorState)("aria-required",fe.required)("id",fe.id),f.AVh("mat-input-server",fe._isServer)("mat-mdc-form-field-textarea-control",fe._isInFormField&&fe._isTextarea)("mat-mdc-form-field-input-control",fe._isInFormField)("mat-mdc-input-disabled-interactive",fe.disabledInteractive)("mdc-text-field__input",fe._isInFormField)("mat-mdc-native-select-inline",fe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Dt.L39]},exportAs:["matInput"],features:[f.Jv_([{provide:ie.qT,useExisting:nt}]),f.OA$]})}return nt})(),ot=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=f.$C({type:nt});static \u0275inj=u.G2t({imports:[H.y,ve.R,ve.R,_e,H.y]})}return nt})()},3155(Zt,pe,l){"use strict";l.d(pe,{t:()=>T});var i=l(3664);const d=["mat-internal-form-field",""],v=["*"];let T=(()=>{class w{labelPosition;static \u0275fac=function(f){return new(f||w)};static \u0275cmp=i.VBU({type:w,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(f,u){2&f&&i.AVh("mdc-form-field--align-end","before"===u.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:d,ngContentSelectors:v,decls:1,vars:0,template:function(f,u){1&f&&(i.NAR(),i.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return w})()},3902(Zt,pe,l){"use strict";l.d(pe,{Fg:()=>ee,YE:()=>pt,jt:()=>wt});var d=l(4085),v=l(7847),T=l(2615),w=l(3664),O=(l(7705),l(9842)),u=(l(4522),l(8968)),C=(l(1413),l(8359)),B=l(7786),A=l(2496),Pe=l(1804),le=l(2046),Ae=(l(2200),l(2318)),j=l(1997),ce=(l(4123),l(3869),l(7336),l(438),l(9417),l(6977),l(483)),be=l(2466),ne=l(6881);const J=["*"],Re=["unscopedContent"],Xe=["text"],_e=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],he=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Ye=new T.nKC("ListOption");let fe=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return ye})(),Qe=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);constructor(){}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return ye})(),gt=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return ye})(),Gt=(()=>{class ye{_listOption=(0,T.WQX)(Ye,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,hostVars:4,hostBindings:function(ge,N){2&ge&&w.AVh("mdc-list-item__start",N._isAlignedAtStart())("mdc-list-item__end",!N._isAlignedAtStart())}})}return ye})(),rt=(()=>{class ye extends Gt{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[w.Vt3]})}return ye})(),cn=(()=>{class ye extends Gt{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275dir=w.FsC({type:ye,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[w.Vt3]})}return ye})();const Ft=new T.nKC("MAT_LIST_CONFIG");let Sn=(()=>{class ye{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(Se){this._disableRipple=(0,d.he)(Se)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(Se){this._disabled.set((0,d.he)(Se))}_disabled=(0,T.vPA)(!1);_defaultOptions=(0,T.WQX)(Ft,{optional:!0});static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,hostVars:1,hostBindings:function(ge,N){2&ge&&w.BMQ("aria-disabled",N.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return ye})(),Qn=(()=>{class ye{_elementRef=(0,T.WQX)(w.aKT);_ngZone=(0,T.WQX)(w.SKi);_listBase=(0,T.WQX)(Sn,{optional:!0});_platform=(0,T.WQX)(O.O);_hostElement;_isButtonElement;_noopAnimations=(0,Pe.Rc)();_avatars;_icons;set lines(Se){this._explicitLines=(0,v.OE)(Se,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Se){this._disableRipple=(0,d.he)(Se)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(Se){this._disabled.set((0,d.he)(Se))}_disabled=(0,T.vPA)(!1);_subscriptions=new C.yU;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){(0,T.WQX)(u.l).load(le.A);const Se=(0,T.WQX)(A.$E,{optional:!0});this.rippleConfig=Se||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new A.ug(this,this._ngZone,this._hostElement,this._platform,(0,T.WQX)(T.zZn)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,B.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(Se){if(!this._lines||!this._titles||!this._unscopedContent)return;Se&&this._checkDomForUnscopedTextContent();const ge=this._explicitLines??this._inferLinesFromContent(),N=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ge<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ge<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ge),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ge),this._hasUnscopedTextContent){const Z=0===this._titles.length&&1===ge;N.classList.toggle("mdc-list-item__primary-text",Z),N.classList.toggle("mdc-list-item__secondary-text",!Z)}else N.classList.remove("mdc-list-item__primary-text"),N.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Se=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Se+=1),Se}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Se=>Se.nodeType!==Se.COMMENT_NODE).some(Se=>!(!Se.textContent||!Se.textContent.trim()))}static \u0275fac=function(ge){return new(ge||ye)};static \u0275dir=w.FsC({type:ye,contentQueries:function(ge,N,Z){if(1&ge&&(w.wni(Z,rt,4),w.wni(Z,cn,4)),2&ge){let Me;w.mGM(Me=w.lsd())&&(N._avatars=Me),w.mGM(Me=w.lsd())&&(N._icons=Me)}},hostVars:4,hostBindings:function(ge,N){2&ge&&(w.BMQ("aria-disabled",N.disabled)("disabled",N._isButtonElement&&N.disabled||null),w.AVh("mdc-list-item--disabled",N.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return ye})(),wt=(()=>{class ye extends Sn{static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275cmp=w.VBU({type:ye,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[w.Jv_([{provide:Sn,useExisting:ye}]),w.Vt3],ngContentSelectors:J,decls:1,vars:0,template:function(ge,N){1&ge&&(w.NAR(),w.SdG(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],encapsulation:2,changeDetection:0})}return ye})(),pt=(()=>{class ye extends Qn{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(Se){this._activated=(0,d.he)(Se)}_activated=!1;_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return 0!==this._meta.length&&(0!==this._avatars.length||0!==this._icons.length)}static \u0275fac=(()=>{let Se;return function(N){return(Se||(Se=w.xGo(ye)))(N||ye)}})();static \u0275cmp=w.VBU({type:ye,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ge,N,Z){if(1&ge&&(w.wni(Z,Qe,5),w.wni(Z,fe,5),w.wni(Z,gt,5)),2&ge){let Me;w.mGM(Me=w.lsd())&&(N._lines=Me),w.mGM(Me=w.lsd())&&(N._titles=Me),w.mGM(Me=w.lsd())&&(N._meta=Me)}},viewQuery:function(ge,N){if(1&ge&&(w.GBs(Re,5),w.GBs(Xe,5)),2&ge){let Z;w.mGM(Z=w.lsd())&&(N._unscopedContent=Z.first),w.mGM(Z=w.lsd())&&(N._itemText=Z.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(ge,N){2&ge&&(w.BMQ("aria-current",N._getAriaCurrent()),w.AVh("mdc-list-item--activated",N.activated)("mdc-list-item--with-leading-avatar",0!==N._avatars.length)("mdc-list-item--with-leading-icon",0!==N._icons.length)("mdc-list-item--with-trailing-meta",0!==N._meta.length)("mat-mdc-list-item-both-leading-and-trailing",N._hasBothLeadingAndTrailing())("_mat-animation-noopable",N._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[w.Vt3],ngContentSelectors:he,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(ge,N){if(1&ge){const Z=w.RV6();w.NAR(_e),w.SdG(0),w.j41(1,"span",1),w.SdG(2,1),w.SdG(3,2),w.j41(4,"span",2,0),w.bIt("cdkObserveContent",function(){return T.eBV(Z),T.Njj(N._updateItemLines(!0))}),w.SdG(6,3),w.k0s()(),w.SdG(7,4),w.SdG(8,5),w.nrm(9,"div",3)}},dependencies:[Ae.Wv],encapsulation:2,changeDetection:0})}return ye})(),ee=(()=>{class ye{static \u0275fac=function(ge){return new(ge||ye)};static \u0275mod=w.$C({type:ye});static \u0275inj=T.G2t({imports:[Ae.w5,be.y,ne.p,ce.O,j.w]})}return ye})()},9115(Zt,pe,l){"use strict";l.d(pe,{Cn:()=>vt,Cp:()=>kn,fb:()=>gt,kk:()=>wt});var W=l(2615),G=l(3664),re=l(7705),xe=l(6838),Ee=l(9726),V=l(4123),ce=l(5735),be=l(7336),ne=l(438),J=l(1413),De=l(8359),Re=l(7786),Xe=l(7673),_e=l(5964),he=l(9172),Dt=l(5558),lt=l(6697),Le=l(6977),te=l(8968),ie=l(2046),P=l(2496),F=l(6939),ve=l(1804),H=l(1577),$=l(9338),Ke=l(5718),Vt=l(6881),St=l(2466);const ot=["mat-menu-item",""],nt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],ht=["mat-icon, [matMenuItemIcon]","*"];function oe(Se,ge){1&Se&&(W.qSk(),G.j41(0,"svg",2),G.nrm(1,"polygon",3),G.k0s())}const Ye=["*"];function fe(Se,ge){if(1&Se){const N=G.RV6();G.rj2(0,"div",0),G.VwU("click",function(){W.eBV(N);const Me=G.XpG();return W.Njj(Me.closed.emit("click"))})("animationstart",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationStart(Me.animationName))})("animationend",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationDone(Me.animationName))})("animationcancel",function(Me){W.eBV(N);const at=G.XpG();return W.Njj(at._onAnimationDone(Me.animationName))}),G.rj2(1,"div",1),G.SdG(2),G.eux()()}if(2&Se){const N=G.XpG();G.HbH(N._classList),G.AVh("mat-menu-panel-animations-disabled",N._animationsDisabled)("mat-menu-panel-exit-animation","void"===N._panelAnimationState)("mat-menu-panel-animating",N._isAnimating()),G.Avn("id",N.panelId),G.BMQ("aria-label",N.ariaLabel||null)("aria-labelledby",N.ariaLabelledby||null)("aria-describedby",N.ariaDescribedby||null)}}const Qe=new W.nKC("MAT_MENU_PANEL");let gt=(()=>{class Se{_elementRef=(0,W.WQX)(G.aKT);_document=(0,W.WQX)(W.qQL);_focusMonitor=(0,W.WQX)(xe.FN);_parentMenu=(0,W.WQX)(Qe,{optional:!0});_changeDetectorRef=(0,W.WQX)(re.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new J.B;_focused=new J.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,W.WQX)(te.l).load(ie.A),this._parentMenu?.addItem?.(this)}focus(N,Z){this._focusMonitor&&N?this._focusMonitor.focusVia(this._getHostElement(),N,Z):this._getHostElement().focus(Z),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(N){this.disabled&&(N.preventDefault(),N.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const N=this._elementRef.nativeElement.cloneNode(!0),Z=N.querySelectorAll("mat-icon, .material-icons");for(let Me=0;Me{class Se{_elementRef=(0,W.WQX)(G.aKT);_changeDetectorRef=(0,W.WQX)(re.gRc);_injector=(0,W.WQX)(W.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,ve.Rc)();_allItems;_directDescendantItems=new G.rOR;_classList={};_panelAnimationState="void";_animationDone=new J.B;_isAnimating=(0,W.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(N){this._xPosition=N,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(N){this._yPosition=N,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(N){const Z=this._previousPanelClass,Me={...this._classList};Z&&Z.length&&Z.split(" ").forEach(at=>{Me[at]=!1}),this._previousPanelClass=N,N&&N.length&&(N.split(" ").forEach(at=>{Me[at]=!0}),this._elementRef.nativeElement.className=""),this._classList=Me}_previousPanelClass;get classList(){return this.panelClass}set classList(N){this.panelClass=N}closed=new G.bkB;close=this.closed;panelId=(0,W.WQX)(Ee.g).getId("mat-menu-panel-");constructor(){const N=(0,W.WQX)(Qn);this.overlayPanelClass=N.overlayPanelClass||"",this._xPosition=N.xPosition,this._yPosition=N.yPosition,this.backdropClass=N.backdropClass,this.overlapTrigger=N.overlapTrigger,this.hasBackdrop=N.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new V.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,he.Z)(this._directDescendantItems),(0,Dt.n)(N=>(0,Re.h)(...N.map(Z=>Z._focused)))).subscribe(N=>this._keyManager.updateActiveItem(N)),this._directDescendantItems.changes.subscribe(N=>{const Z=this._keyManager;if("enter"===this._panelAnimationState&&Z.activeItem?._hasFocus()){const Me=N.toArray(),at=Math.max(0,Math.min(Me.length-1,Z.activeItemIndex||0));Me[at]&&!Me[at].disabled?Z.setActiveItem(at):Z.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,he.Z)(this._directDescendantItems),(0,Dt.n)(Z=>(0,Re.h)(...Z.map(Me=>Me._hovered))))}addItem(N){}removeItem(N){}_handleKeydown(N){const Z=N.keyCode,Me=this._keyManager;switch(Z){case ne._f:(0,be.rp)(N)||(N.preventDefault(),this.closed.emit("keydown"));break;case ne.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case ne.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Z===ne.i7||Z===ne.n6)&&Me.setFocusOrigin("keyboard"),void Me.onKeydown(N)}}focusFirstItem(N="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,G.mal)(()=>{const Z=this._resolvePanel();if(!Z||!Z.contains(document.activeElement)){const Me=this._keyManager;Me.setFocusOrigin(N).setFirstItemActive(),!Me.activeItem&&Z&&Z.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(N){}setPositionClasses(N=this.xPosition,Z=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===N,"mat-menu-after":"after"===N,"mat-menu-above":"above"===Z,"mat-menu-below":"below"===Z},this._changeDetectorRef.markForCheck()}_onAnimationDone(N){const Z=N===Ue;(Z||N===jt)&&(Z&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(Z?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(N){(N===jt||N===Ue)&&this._isAnimating.set(!0)}_setIsOpen(N){if(this._panelAnimationState=N?"enter":"void",N){if(0===this._keyManager.activeItemIndex){const Z=this._resolvePanel();Z&&(Z.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Ue),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(N?jt:Ue)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,he.Z)(this._allItems)).subscribe(N=>{this._directDescendantItems.reset(N.filter(Z=>Z._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let N=null;return this._directDescendantItems.length&&(N=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),N}static \u0275fac=function(Z){return new(Z||Se)};static \u0275cmp=G.VBU({type:Se,selectors:[["mat-menu"]],contentQueries:function(Z,Me,at){if(1&Z&&(G.wni(at,Ft,5),G.wni(at,gt,5),G.wni(at,gt,4)),2&Z){let qe;G.mGM(qe=G.lsd())&&(Me.lazyContent=qe.first),G.mGM(qe=G.lsd())&&(Me._allItems=qe),G.mGM(qe=G.lsd())&&(Me.items=qe)}},viewQuery:function(Z,Me){if(1&Z&&G.GBs(G.C4Q,5),2&Z){let at;G.mGM(at=G.lsd())&&(Me.templateRef=at.first)}},hostVars:3,hostBindings:function(Z,Me){2&Z&&G.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",re.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",N=>null==N?null:(0,re.L39)(N)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[G.Jv_([{provide:Qe,useExisting:Se}])],ngContentSelectors:Ye,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(Z,Me){1&Z&&(G.NAR(),G.PeT(0,fe,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,changeDetection:0})}return Se})();const pt=new W.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Se=(0,W.WQX)(W.zZn);return()=>(0,$.RH)(Se)}}),gn={provide:pt,deps:[],useFactory:function Pt(Se){const ge=(0,W.WQX)(W.zZn);return()=>(0,$.RH)(ge)}},vi=new WeakMap;let Ni=(()=>{class Se{_canHaveBackdrop;_element=(0,W.WQX)(G.aKT);_viewContainerRef=(0,W.WQX)(G.c1b);_menuItemInstance=(0,W.WQX)(gt,{optional:!0,self:!0});_dir=(0,W.WQX)(H.dS,{optional:!0});_focusMonitor=(0,W.WQX)(xe.FN);_ngZone=(0,W.WQX)(G.SKi);_injector=(0,W.WQX)(W.zZn);_scrollStrategy=(0,W.WQX)(pt);_changeDetectorRef=(0,W.WQX)(re.gRc);_animationsDisabled=(0,ve.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=De.yU.EMPTY;_menuCloseSubscription=De.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(N){N!==this._menuInternal&&(this._menuInternal=N,this._menuCloseSubscription.unsubscribe(),N&&(this._menuCloseSubscription=N.close.subscribe(Z=>{this._destroyMenu(Z),("click"===Z||"tab"===Z)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Z)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(N){this._canHaveBackdrop=N;const Z=(0,W.WQX)(Qe,{optional:!0});this._parentMaterialMenu=Z instanceof wt?Z:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&vi.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(N){const Z=this._menu;if(this._menuOpen||!Z)return;this._pendingRemoval?.unsubscribe();const Me=vi.get(Z);vi.set(Z,this),Me&&Me!==this&&Me._closeMenu();const at=this._createOverlay(Z),qe=at.getConfig(),pn=qe.positionStrategy;this._setPosition(Z,pn),qe.hasBackdrop=!!this._canHaveBackdrop&&(null==Z.hasBackdrop?!this._triggersSubmenu():Z.hasBackdrop),at.hasAttached()||(at.attach(this._getPortal(Z)),Z.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),Z.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,Z.direction=this.dir,N&&Z.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),Z instanceof wt&&(Z._setIsOpen(!0),Z._directDescendantItems.changes.pipe((0,Le.Q)(Z.close)).subscribe(()=>{pn.withLockedPosition(!1).reapplyLastPosition(),pn.withLockedPosition(!0)}))}focus(N,Z){this._focusMonitor&&N?this._focusMonitor.focusVia(this._element,N,Z):this._element.nativeElement.focus(Z)}_destroyMenu(N){const Z=this._overlayRef,Me=this._menu;!Z||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Me instanceof wt&&this._ownsMenu(Me)?(this._pendingRemoval=Me._animationDone.pipe((0,lt.s)(1)).subscribe(()=>{Z.detach(),vi.has(Me)||Me.lazyContent?.detach()}),Me._setIsOpen(!1)):(Z.detach(),Me?.lazyContent?.detach()),Me&&this._ownsMenu(Me)&&vi.delete(Me),this.restoreFocus&&("keydown"===N||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(N){N!==this._menuOpen&&(this._menuOpen=N,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(N),this._changeDetectorRef.markForCheck())}_createOverlay(N){if(!this._overlayRef){const Z=this._getOverlayConfig(N);this._subscribeToPositions(N,Z.positionStrategy),this._overlayRef=(0,$.Y$)(this._injector,Z),this._overlayRef.keydownEvents().subscribe(Me=>{this._menu instanceof wt&&this._menu._handleKeydown(Me)})}return this._overlayRef}_getOverlayConfig(N){return new $.rR({positionStrategy:(0,$.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:N.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:N.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(N,Z){N.setPositionClasses&&Z.positionChanges.subscribe(Me=>{this._ngZone.run(()=>{N.setPositionClasses("start"===Me.connectionPair.overlayX?"after":"before","top"===Me.connectionPair.overlayY?"below":"above")})})}_setPosition(N,Z){let[Me,at]="before"===N.xPosition?["end","start"]:["start","end"],[qe,pn]="above"===N.yPosition?["bottom","top"]:["top","bottom"],[Je,Be]=[qe,pn],[ut,Ge]=[Me,at],Ot=0;if(this._triggersSubmenu()){if(Ge=Me="before"===N.xPosition?"start":"end",at=ut="end"===Me?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const se=this._parentMaterialMenu.items.first;this._parentInnerPadding=se?se._getHostElement().offsetTop:0}Ot="bottom"===qe?this._parentInnerPadding:-this._parentInnerPadding}}else N.overlapTrigger||(Je="top"===qe?"bottom":"top",Be="top"===pn?"bottom":"top");Z.withPositions([{originX:Me,originY:Je,overlayX:ut,overlayY:qe,offsetY:Ot},{originX:at,originY:Je,overlayX:Ge,overlayY:qe,offsetY:Ot},{originX:Me,originY:Be,overlayX:ut,overlayY:pn,offsetY:-Ot},{originX:at,originY:Be,overlayX:Ge,overlayY:pn,offsetY:-Ot}])}_menuClosingActions(){const N=this._getOutsideClickStream(this._overlayRef),Z=this._overlayRef.detachments(),Me=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Xe.of)(),at=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,_e.p)(qe=>this._menuOpen&&qe!==this._menuItemInstance)):(0,Xe.of)();return(0,Re.h)(N,Me,at,Z)}_getPortal(N){return(!this._portal||this._portal.templateRef!==N.templateRef)&&(this._portal=new F.VA(N.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(N){return vi.get(N)===this}static \u0275fac=function(Z){G.QTQ()};static \u0275dir=G.FsC({type:Se})}return Se})(),kn=(()=>{class Se extends Ni{_cleanupTouchstart;_hoverSubscription=De.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(N){this.menu=N}get menu(){return this._menu}set menu(N){this._menu=N}menuData;restoreFocus=!0;menuOpened=new G.bkB;onMenuOpen=this.menuOpened;menuClosed=new G.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const N=(0,W.WQX)(G.sFG);this._cleanupTouchstart=N.listen(this._element.nativeElement,"touchstart",Z=>{(0,ce.w)(Z)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(N){return N.backdropClick()}_handleMousedown(N){(0,ce._)(N)||(this._openedBy=0===N.button?"mouse":void 0,this.triggersSubmenu()&&N.preventDefault())}_handleKeydown(N){const Z=N.keyCode;(Z===ne.Fm||Z===ne.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Z===ne.LE&&"ltr"===this.dir||Z===ne.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(N){this.triggersSubmenu()?(N.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(N=>{N===this._menuItemInstance&&!N.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(Z){return new(Z||Se)};static \u0275dir=G.FsC({type:Se,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Z,Me){1&Z&&G.bIt("click",function(qe){return Me._handleClick(qe)})("mousedown",function(qe){return Me._handleMousedown(qe)})("keydown",function(qe){return Me._handleKeydown(qe)}),2&Z&&G.BMQ("aria-haspopup",Me.menu?"menu":null)("aria-expanded",Me.menuOpen)("aria-controls",Me.menuOpen?null==Me.menu?null:Me.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[G.Vt3]})}return Se})(),vt=(()=>{class Se{static \u0275fac=function(Z){return new(Z||Se)};static \u0275mod=G.$C({type:Se});static \u0275inj=W.G2t({providers:[gn],imports:[Vt.p,St.y,$.z_,Ke.Gj,St.y]})}return Se})()},146(Zt,pe,l){"use strict";l.d(pe,{S:()=>O});var i=l(2615),d=l(3664),v=l(6881),T=l(483),w=l(2466),e=l(3029);let O=(()=>{class f{static \u0275fac=function(C){return new(C||f)};static \u0275mod=d.$C({type:f});static \u0275inj=i.G2t({imports:[v.p,w.y,T.O,e.wT]})}return f})()},3029(Zt,pe,l){"use strict";l.d(pe,{MI:()=>J,QC:()=>be,TL:()=>Xe,is:()=>ce,jb:()=>Re,wT:()=>De});var w=l(9726),e=l(7336),O=l(438),f=l(3664),u=l(7705),L=l(2615),C=l(1413),B=l(2496),A=l(3386),Pe=l(2046),le=l(9046),Ce=l(8968);const W=["text"],G=[[["mat-icon"]],"*"],re=["mat-icon","*"];function xe(_e,he){if(1&_e&&f.nrm(0,"mat-pseudo-checkbox",1),2&_e){const Dt=f.XpG();f.Y8G("disabled",Dt.disabled)("state",Dt.selected?"checked":"unchecked")}}function Ee(_e,he){if(1&_e&&f.nrm(0,"mat-pseudo-checkbox",3),2&_e){const Dt=f.XpG();f.Y8G("disabled",Dt.disabled)}}function V(_e,he){if(1&_e&&(f.j41(0,"span",4),f.EFF(1),f.k0s()),2&_e){const Dt=f.XpG();f.R7$(),f.SpI("(",Dt.group.label,")")}}const ce=new L.nKC("MAT_OPTION_PARENT_COMPONENT"),be=new L.nKC("MatOptgroup");class J{source;isUserInput;constructor(he,Dt=!1){this.source=he,this.isUserInput=Dt}}let De=(()=>{class _e{_element=(0,L.WQX)(f.aKT);_changeDetectorRef=(0,L.WQX)(u.gRc);_parent=(0,L.WQX)(ce,{optional:!0});group=(0,L.WQX)(be,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,L.WQX)(w.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(Dt){this._disabled.set(Dt)}_disabled=(0,L.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new f.bkB;_text;_stateChanges=new C.B;constructor(){const Dt=(0,L.WQX)(Ce.l);Dt.load(Pe.A),Dt.load(le.Y),this._signalDisableRipple=!!this._parent&&(0,L.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Dt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Dt&&this._emitSelectionChangeEvent())}deselect(Dt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Dt&&this._emitSelectionChangeEvent())}focus(Dt,lt){const Le=this._getHostElement();"function"==typeof Le.focus&&Le.focus(lt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Dt){(Dt.keyCode===O.Fm||Dt.keyCode===O.t6)&&!(0,e.rp)(Dt)&&(this._selectViaInteraction(),Dt.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Dt=this.viewValue;Dt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Dt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Dt=!1){this.onSelectionChange.emit(new J(this,Dt))}static \u0275fac=function(lt){return new(lt||_e)};static \u0275cmp=f.VBU({type:_e,selectors:[["mat-option"]],viewQuery:function(lt,Le){if(1<&&f.GBs(W,7),2<){let te;f.mGM(te=f.lsd())&&(Le._text=te.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(lt,Le){1<&&f.bIt("click",function(){return Le._selectViaInteraction()})("keydown",function(ie){return Le._handleKeydown(ie)}),2<&&(f.Avn("id",Le.id),f.BMQ("aria-selected",Le.selected)("aria-disabled",Le.disabled.toString()),f.AVh("mdc-list-item--selected",Le.selected)("mat-mdc-option-multiple",Le.multiple)("mat-mdc-option-active",Le.active)("mdc-list-item--disabled",Le.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",u.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:re,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(lt,Le){1<&&(f.NAR(G),f.nVh(0,xe,1,2,"mat-pseudo-checkbox",1),f.SdG(1),f.j41(2,"span",2,0),f.SdG(4,1),f.k0s(),f.nVh(5,Ee,1,1,"mat-pseudo-checkbox",3),f.nVh(6,V,2,1,"span",4),f.nrm(7,"div",5)),2<&&(f.vxM(Le.multiple?0:-1),f.R7$(5),f.vxM(Le.multiple||!Le.selected||Le.hideSingleSelectionIndicator?-1:5),f.R7$(),f.vxM(Le.group&&Le.group._inert?6:-1),f.R7$(),f.Y8G("matRippleTrigger",Le._getHostElement())("matRippleDisabled",Le.disabled||Le.disableRipple))},dependencies:[A.w,B.r6],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return _e})();function Re(_e,he,Dt){if(Dt.length){let lt=he.toArray(),Le=Dt.toArray(),te=0;for(let ie=0;ie<_e+1;ie++)lt[ie].group&<[ie].group===Le[te]&&te++;return te}return 0}function Xe(_e,he,Dt,lt){return _eDt+lt?Math.max(0,_e-lt+he):Dt}},6695(Zt,pe,l){"use strict";l.d(pe,{Ou:()=>ne,iy:()=>be,xX:()=>G});var i=l(2615),d=l(3664),v=l(7705),T=l(1413),w=l(2771),e=l(9726),O=l(9588),f=l(6183),u=l(3029),L=l(2598),C=l(455),B=l(6156),A=l(8834);function Pe(J,De){if(1&J&&(d.j41(0,"mat-option",17),d.EFF(1),d.k0s()),2&J){const Re=De.$implicit;d.Y8G("value",Re),d.R7$(),d.SpI(" ",Re," ")}}function le(J,De){if(1&J){const Re=d.RV6();d.j41(0,"mat-form-field",14)(1,"mat-select",16,0),d.bIt("selectionChange",function(_e){i.eBV(Re);const he=d.XpG(2);return i.Njj(he._changePageSize(_e.value))}),d.Z7z(3,Pe,2,2,"mat-option",17,d.fX1),d.k0s(),d.j41(5,"div",18),d.bIt("click",function(){i.eBV(Re);const _e=d.sdS(2);return i.Njj(_e.open())}),d.k0s()()}if(2&J){const Re=d.XpG(2);d.Y8G("appearance",Re._formFieldAppearance)("color",Re.color),d.R7$(),d.Y8G("value",Re.pageSize)("disabled",Re.disabled),d.jOp("aria-labelledby",Re._pageSizeLabelId),d.Y8G("panelClass",Re.selectConfig.panelClass||"")("disableOptionCentering",Re.selectConfig.disableOptionCentering),d.R7$(2),d.Dyx(Re._displayedPageSizeOptions)}}function Ce(J,De){if(1&J&&(d.j41(0,"div",15),d.EFF(1),d.k0s()),2&J){const Re=d.XpG(2);d.R7$(),d.JRh(Re.pageSize)}}function Ae(J,De){if(1&J&&(d.j41(0,"div",3)(1,"div",13),d.EFF(2),d.k0s(),d.nVh(3,le,6,7,"mat-form-field",14),d.nVh(4,Ce,2,1,"div",15),d.k0s()),2&J){const Re=d.XpG();d.R7$(),d.BMQ("id",Re._pageSizeLabelId),d.R7$(),d.SpI(" ",Re._intl.itemsPerPageLabel," "),d.R7$(),d.vxM(Re._displayedPageSizeOptions.length>1?3:-1),d.R7$(),d.vxM(Re._displayedPageSizeOptions.length<=1?4:-1)}}function j(J,De){if(1&J){const Re=d.RV6();d.j41(0,"button",19),d.bIt("click",function(){i.eBV(Re);const _e=d.XpG();return i.Njj(_e._buttonClicked(0,_e._previousButtonsDisabled()))}),i.qSk(),d.j41(1,"svg",8),d.nrm(2,"path",20),d.k0s()()}if(2&J){const Re=d.XpG();d.Y8G("matTooltip",Re._intl.firstPageLabel)("matTooltipDisabled",Re._previousButtonsDisabled())("disabled",Re._previousButtonsDisabled())("tabindex",Re._previousButtonsDisabled()?-1:null),d.BMQ("aria-label",Re._intl.firstPageLabel)}}function W(J,De){if(1&J){const Re=d.RV6();d.j41(0,"button",21),d.bIt("click",function(){i.eBV(Re);const _e=d.XpG();return i.Njj(_e._buttonClicked(_e.getNumberOfPages()-1,_e._nextButtonsDisabled()))}),i.qSk(),d.j41(1,"svg",8),d.nrm(2,"path",22),d.k0s()()}if(2&J){const Re=d.XpG();d.Y8G("matTooltip",Re._intl.lastPageLabel)("matTooltipDisabled",Re._nextButtonsDisabled())("disabled",Re._nextButtonsDisabled())("tabindex",Re._nextButtonsDisabled()?-1:null),d.BMQ("aria-label",Re._intl.lastPageLabel)}}let G=(()=>{class J{changes=new T.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(Re,Xe,_e)=>{if(0==_e||0==Xe)return`0 of ${_e}`;const he=Re*Xe;return`${he+1} \u2013 ${he<(_e=Math.max(_e,0))?Math.min(he+Xe,_e):he+Xe} of ${_e}`};static \u0275fac=function(Xe){return new(Xe||J)};static \u0275prov=i.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const xe={provide:G,deps:[[new d.Xx1,new d.kdw,G]],useFactory:function re(J){return J||new G}},ce=new i.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let be=(()=>{class J{_intl=(0,i.WQX)(G);_changeDetectorRef=(0,i.WQX)(v.gRc);_formFieldAppearance;_pageSizeLabelId=(0,i.WQX)(e.g).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new w.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(Re){this._pageIndex=Math.max(Re||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(Re){this._length=Re||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(Re){this._pageSize=Math.max(Re||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Re){this._pageSizeOptions=(Re||[]).map(Xe=>(0,v.Udg)(Xe,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new d.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const Re=this._intl,Xe=(0,i.WQX)(ce,{optional:!0});if(this._intlChanges=Re.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Xe){const{pageSize:_e,pageSizeOptions:he,hidePageSize:Dt,showFirstLastButtons:lt}=Xe;null!=_e&&(this._pageSize=_e),null!=he&&(this._pageSizeOptions=he),null!=Dt&&(this.hidePageSize=Dt),null!=lt&&(this.showFirstLastButtons=lt)}this._formFieldAppearance=Xe?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Re=this.getNumberOfPages()-1;return this.pageIndexRe-Xe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Re){this.page.emit({previousPageIndex:Re,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(Re){const Xe=this.pageIndex;Re!==Xe&&(this.pageIndex=Re,this._emitPageEvent(Xe))}_buttonClicked(Re,Xe){Xe||this._navigate(Re)}static \u0275fac=function(Xe){return new(Xe||J)};static \u0275cmp=d.VBU({type:J,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",v.Udg],length:[2,"length","length",v.Udg],pageSize:[2,"pageSize","pageSize",v.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",v.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",v.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",v.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Xe,_e){1&Xe&&(d.j41(0,"div",1)(1,"div",2),d.nVh(2,Ae,5,4,"div",3),d.j41(3,"div",4)(4,"div",5),d.EFF(5),d.k0s(),d.nVh(6,j,3,5,"button",6),d.j41(7,"button",7),d.bIt("click",function(){return _e._buttonClicked(_e.pageIndex-1,_e._previousButtonsDisabled())}),i.qSk(),d.j41(8,"svg",8),d.nrm(9,"path",9),d.k0s()(),i.joV(),d.j41(10,"button",10),d.bIt("click",function(){return _e._buttonClicked(_e.pageIndex+1,_e._nextButtonsDisabled())}),i.qSk(),d.j41(11,"svg",8),d.nrm(12,"path",11),d.k0s()(),d.nVh(13,W,3,5,"button",12),d.k0s()()()),2&Xe&&(d.R7$(2),d.vxM(_e.hidePageSize?-1:2),d.R7$(3),d.SpI(" ",_e._intl.getRangeLabel(_e.pageIndex,_e.pageSize,_e.length)," "),d.R7$(),d.vxM(_e.showFirstLastButtons?6:-1),d.R7$(),d.Y8G("matTooltip",_e._intl.previousPageLabel)("matTooltipDisabled",_e._previousButtonsDisabled())("disabled",_e._previousButtonsDisabled())("tabindex",_e._previousButtonsDisabled()?-1:null),d.BMQ("aria-label",_e._intl.previousPageLabel),d.R7$(3),d.Y8G("matTooltip",_e._intl.nextPageLabel)("matTooltipDisabled",_e._nextButtonsDisabled())("disabled",_e._nextButtonsDisabled())("tabindex",_e._nextButtonsDisabled()?-1:null),d.BMQ("aria-label",_e._intl.nextPageLabel),d.R7$(3),d.vxM(_e.showFirstLastButtons?13:-1))},dependencies:[O.rl,f.VO,u.wT,L.iY,C.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],encapsulation:2,changeDetection:0})}return J})(),ne=(()=>{class J{static \u0275fac=function(Xe){return new(Xe||J)};static \u0275mod=d.$C({type:J});static \u0275inj=i.G2t({providers:[xe],imports:[A.Hl,f.Ve,B.u,be]})}return J})()},7575(Zt,pe,l){"use strict";l.d(pe,{HM:()=>L,PO:()=>B});var i=l(2615),d=l(3664),v=l(7705),T=l(1804),w=l(2466);function e(A,Pe){1&A&&d.Hgh(0,"div",2)}const O=new i.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let L=(()=>{class A{_elementRef=(0,i.WQX)(d.aKT);_ngZone=(0,i.WQX)(d.SKi);_changeDetectorRef=(0,i.WQX)(v.gRc);_renderer=(0,i.WQX)(d.sFG);_cleanupTransitionEnd;constructor(){const le=(0,T._J)(),Ce=(0,i.WQX)(O,{optional:!0});this._isNoopAnimation="di-disabled"===le,"reduced-motion"===le&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),Ce&&(Ce.color&&(this.color=this._defaultColor=Ce.color),this.mode=Ce.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(le){this._color=le}_color;_defaultColor="primary";get value(){return this._value}set value(le){this._value=C(le||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(le){this._bufferValue=C(le||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new d.bkB;get mode(){return this._mode}set mode(le){this._mode=le,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}_transitionendHandler=le=>{0===this.animationEnd.observers.length||!le.target||!le.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(Ce){return new(Ce||A)};static \u0275cmp=d.VBU({type:A,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(Ce,Ae){2&Ce&&(d.BMQ("aria-valuenow",Ae._isIndeterminate()?null:Ae.value)("mode",Ae.mode),d.HbH("mat-"+Ae.color),d.AVh("_mat-animation-noopable",Ae._isNoopAnimation)("mdc-linear-progress--animation-ready",!Ae._isNoopAnimation)("mdc-linear-progress--indeterminate",Ae._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",v.Udg],bufferValue:[2,"bufferValue","bufferValue",v.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(Ce,Ae){1&Ce&&(d.rj2(0,"div",0),d.Hgh(1,"div",1),d.nVh(2,e,1,0,"div",2),d.eux(),d.rj2(3,"div",3),d.Hgh(4,"span",4),d.eux(),d.rj2(5,"div",5),d.Hgh(6,"span",4),d.eux()),2&Ce&&(d.R7$(),d.xc7("flex-basis",Ae._getBufferBarFlexBasis()),d.R7$(),d.vxM("buffer"===Ae.mode?2:-1),d.R7$(),d.xc7("transform",Ae._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],encapsulation:2,changeDetection:0})}return A})();function C(A,Pe=0,le=100){return Math.max(Pe,Math.min(le,A))}let B=(()=>{class A{static \u0275fac=function(Ce){return new(Ce||A)};static \u0275mod=d.$C({type:A});static \u0275inj=i.G2t({imports:[w.y]})}return A})()},9183(Zt,pe,l){"use strict";l.d(pe,{D6:()=>le,LG:()=>A});var i=l(2615),d=l(3664),v=l(7705),T=l(2200),w=l(1804),e=l(2466);const O=["determinateSpinner"];function f(Ce,Ae){if(1&Ce&&(i.qSk(),d.j41(0,"svg",11),d.nrm(1,"circle",12),d.k0s()),2&Ce){const j=d.XpG();d.BMQ("viewBox",j._viewBox()),d.R7$(),d.xc7("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),d.BMQ("r",j._circleRadius())}}const u=new i.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function L(){return{diameter:C}}}),C=100;let A=(()=>{class Ce{_elementRef=(0,i.WQX)(d.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(j){this._color=j}_color;_defaultColor="primary";_determinateCircle;constructor(){const j=(0,i.WQX)(u),W=(0,w._J)(),G=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===W&&!!j&&!j._forceAnimations,this.mode="mat-spinner"===G.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===W&&G.classList.add("mat-progress-spinner-reduced-motion"),j&&(j.color&&(this.color=this._defaultColor=j.color),j.diameter&&(this.diameter=j.diameter),j.strokeWidth&&(this.strokeWidth=j.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,j||0))}_value=0;get diameter(){return this._diameter}set diameter(j){this._diameter=j||0}_diameter=C;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=j||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(W){return new(W||Ce)};static \u0275cmp=d.VBU({type:Ce,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,G){if(1&W&&d.GBs(O,5),2&W){let re;d.mGM(re=d.lsd())&&(G._determinateCircle=re.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(W,G){2&W&&(d.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===G.mode?G.value:null)("mode",G.mode),d.HbH("mat-"+G.color),d.xc7("width",G.diameter,"px")("height",G.diameter,"px")("--mat-progress-spinner-size",G.diameter+"px")("--mat-progress-spinner-active-indicator-width",G.diameter+"px"),d.AVh("_mat-animation-noopable",G._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===G.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",v.Udg],diameter:[2,"diameter","diameter",v.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",v.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(W,G){if(1&W&&(d.DNE(0,f,2,8,"ng-template",null,0,d.C5r),d.j41(2,"div",2,1),i.qSk(),d.j41(4,"svg",3),d.nrm(5,"circle",4),d.k0s()(),i.joV(),d.j41(6,"div",5)(7,"div",6)(8,"div",7),d.eu8(9,8),d.k0s(),d.j41(10,"div",9),d.eu8(11,8),d.k0s(),d.j41(12,"div",10),d.eu8(13,8),d.k0s()()()),2&W){const re=d.sdS(1);d.R7$(4),d.BMQ("viewBox",G._viewBox()),d.R7$(),d.xc7("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeDashOffset(),"px")("stroke-width",G._circleStrokeWidth(),"%"),d.BMQ("r",G._circleRadius()),d.R7$(4),d.Y8G("ngTemplateOutlet",re),d.R7$(2),d.Y8G("ngTemplateOutlet",re),d.R7$(2),d.Y8G("ngTemplateOutlet",re)}},dependencies:[T.T3],styles:[".mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}\n"],encapsulation:2,changeDetection:0})}return Ce})(),le=(()=>{class Ce{static \u0275fac=function(W){return new(W||Ce)};static \u0275mod=d.$C({type:Ce});static \u0275inj=i.G2t({imports:[e.y]})}return Ce})()},483(Zt,pe,l){"use strict";l.d(pe,{O:()=>T});var i=l(2615),d=l(3664),v=l(2466);let T=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({imports:[v.y]})}return w})()},3386(Zt,pe,l){"use strict";l.d(pe,{w:()=>v});var i=l(3664),d=l(1804);let v=(()=>{class T{_animationsDisabled=(0,d.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(O){return new(O||T)};static \u0275cmp=i.VBU({type:T,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(O,f){2&O&&i.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===f.state)("mat-pseudo-checkbox-checked","checked"===f.state)("mat-pseudo-checkbox-disabled",f.disabled)("mat-pseudo-checkbox-minimal","minimal"===f.appearance)("mat-pseudo-checkbox-full","full"===f.appearance)("_mat-animation-noopable",f._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(O,f){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return T})()},5951(Zt,pe,l){"use strict";l.d(pe,{VT:()=>Ee,Wk:()=>ce,_g:()=>V});var i=l(6838),d=l(9726),v=l(8689),T=l(2615),w=l(3664),e=l(7705),O=l(9417),f=l(8968),u=l(1804),L=l(2046),C=l(2496),B=l(3155),A=l(2466),Pe=l(6881);const le=["input"],Ce=["formField"],Ae=["*"];class j{source;value;constructor(ne,J){this.source=ne,this.value=J}}const W={provide:O.kq,useExisting:(0,T.Rfq)(()=>Ee),multi:!0},G=new T.nKC("MatRadioGroup"),re=new T.nKC("mat-radio-default-options",{providedIn:"root",factory:function xe(){return{color:"accent",disabledInteractive:!1}}});let Ee=(()=>{class be{_changeDetector=(0,T.WQX)(e.gRc);_value=null;_name=(0,T.WQX)(d.g).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new w.bkB;_radios;color;get name(){return this._name}set name(J){this._name=J,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(J){this._labelPosition="before"===J?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(J){this._value!==J&&(this._value=J,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(J){this._selected=J,this.value=J?J.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(J){this._disabled=J,this._markRadiosForCheck()}get required(){return this._required}set required(J){this._required=J,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(J){this._disabledInteractive=J,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(J=>J===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(J=>{J.name=this.name,J._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(De=>{De.checked=this.value===De.value,De.checked&&(this._selected=De)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new j(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(J=>J._markForCheck())}writeValue(J){this.value=J,this._changeDetector.markForCheck()}registerOnChange(J){this._controlValueAccessorChangeFn=J}registerOnTouched(J){this.onTouched=J}setDisabledState(J){this.disabled=J,this._changeDetector.markForCheck()}static \u0275fac=function(De){return new(De||be)};static \u0275dir=w.FsC({type:be,selectors:[["mat-radio-group"]],contentQueries:function(De,Re,Xe){if(1&De&&w.wni(Xe,V,5),2&De){let _e;w.mGM(_e=w.lsd())&&(Re._radios=_e)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[w.Jv_([W,{provide:G,useExisting:be}])]})}return be})(),V=(()=>{class be{_elementRef=(0,T.WQX)(w.aKT);_changeDetector=(0,T.WQX)(e.gRc);_focusMonitor=(0,T.WQX)(i.FN);_radioDispatcher=(0,T.WQX)(v.z);_defaultOptions=(0,T.WQX)(re,{optional:!0});_ngZone=(0,T.WQX)(w.SKi);_renderer=(0,T.WQX)(w.sFG);_uniqueId=(0,T.WQX)(d.g).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(J){this._checked!==J&&(this._checked=J,J&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!J&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),J&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(J){this._value!==J&&(this._value=J,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===J),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(J){this._labelPosition=J}_labelPosition;get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(J){this._setDisabled(J)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(J){J!==this._required&&this._changeDetector.markForCheck(),this._required=J}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(J){this._color=J}_color;get disabledInteractive(){return this._disabledInteractive||null!==this.radioGroup&&this.radioGroup.disabledInteractive}set disabledInteractive(J){this._disabledInteractive=J}_disabledInteractive;change=new w.bkB;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=(0,u.Rc)();_injector=(0,T.WQX)(T.zZn);constructor(){(0,T.WQX)(f.l).load(L.A);const J=(0,T.WQX)(G,{optional:!0}),De=(0,T.WQX)(new e.ES_("tabindex"),{optional:!0});this.radioGroup=J,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,De&&(this.tabIndex=(0,e.Udg)(De,0))}focus(J,De){De?this._focusMonitor.focusVia(this._inputElement,De,J):this._inputElement.nativeElement.focus(J)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((J,De)=>{J!==this.id&&De===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(J=>{!J&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new j(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(J){if(J.stopPropagation(),!this.checked&&!this.disabled){const De=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),De&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(J){this._onInputInteraction(J),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(J){this._disabled!==J&&(this._disabled=J,this._changeDetector.markForCheck())}_onInputClick=J=>{this.disabled&&this.disabledInteractive&&J.preventDefault()};_updateTabIndex(){const J=this.radioGroup;let De;if(De=J&&J.selected&&!this.disabled?J.selected===this?this.tabIndex:-1:this.tabIndex,De!==this._previousTabIndex){const Re=this._inputElement?.nativeElement;Re&&(Re.setAttribute("tabindex",De+""),this._previousTabIndex=De,(0,w.mal)(()=>{queueMicrotask(()=>{J&&J.selected&&J.selected!==this&&document.activeElement===Re&&(J.selected?._inputElement.nativeElement.focus(),document.activeElement===Re&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(De){return new(De||be)};static \u0275cmp=w.VBU({type:be,selectors:[["mat-radio-button"]],viewQuery:function(De,Re){if(1&De&&(w.GBs(le,5),w.GBs(Ce,7,w.aKT)),2&De){let Xe;w.mGM(Xe=w.lsd())&&(Re._inputElement=Xe.first),w.mGM(Xe=w.lsd())&&(Re._rippleTrigger=Xe.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(De,Re){1&De&&w.bIt("focus",function(){return Re._inputElement.nativeElement.focus()}),2&De&&(w.BMQ("id",Re.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),w.AVh("mat-primary","primary"===Re.color)("mat-accent","accent"===Re.color)("mat-warn","warn"===Re.color)("mat-mdc-radio-checked",Re.checked)("mat-mdc-radio-disabled",Re.disabled)("mat-mdc-radio-disabled-interactive",Re.disabledInteractive)("_mat-animation-noopable",Re._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",J=>null==J?0:(0,e.Udg)(J)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:Ae,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(De,Re){if(1&De){const Xe=w.RV6();w.NAR(),w.j41(0,"div",2,0)(2,"div",3)(3,"div",4),w.bIt("click",function(he){return T.eBV(Xe),T.Njj(Re._onTouchTargetClick(he))}),w.k0s(),w.j41(4,"input",5,1),w.bIt("change",function(he){return T.eBV(Xe),T.Njj(Re._onInputInteraction(he))}),w.k0s(),w.j41(6,"div",6),w.nrm(7,"div",7)(8,"div",8),w.k0s(),w.j41(9,"div",9),w.nrm(10,"div",10),w.k0s()(),w.j41(11,"label",11),w.SdG(12),w.k0s()()}2&De&&(w.Y8G("labelPosition",Re.labelPosition),w.R7$(2),w.AVh("mdc-radio--disabled",Re.disabled),w.R7$(2),w.Y8G("id",Re.inputId)("checked",Re.checked)("disabled",Re.disabled&&!Re.disabledInteractive)("required",Re.required),w.BMQ("name",Re.name)("value",Re.value)("aria-label",Re.ariaLabel)("aria-labelledby",Re.ariaLabelledby)("aria-describedby",Re.ariaDescribedby)("aria-disabled",Re.disabled&&Re.disabledInteractive?"true":null),w.R7$(5),w.Y8G("matRippleTrigger",Re._rippleTrigger.nativeElement)("matRippleDisabled",Re._isRippleDisabled())("matRippleCentered",!0),w.R7$(2),w.Y8G("for",Re.inputId))},dependencies:[C.r6,B.t],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return be})(),ce=(()=>{class be{static \u0275fac=function(De){return new(De||be)};static \u0275mod=w.$C({type:be});static \u0275inj=T.G2t({imports:[A.y,Pe.p,V,A.y]})}return be})()},1048(Zt,pe,l){"use strict";l.d(pe,{E:()=>A});var i=l(2615),d=l(3664),v=l(9842),T=l(4522),w=l(1804),e=l(2496);const O={capture:!0},f=["focus","mousedown","mouseenter","touchstart"],u="mat-ripple-loader-uninitialized",L="mat-ripple-loader-class-name",C="mat-ripple-loader-centered",B="mat-ripple-loader-disabled";let A=(()=>{class Pe{_document=(0,i.WQX)(i.qQL);_animationsDisabled=(0,w.Rc)();_globalRippleOptions=(0,i.WQX)(e.$E,{optional:!0});_platform=(0,i.WQX)(v.O);_ngZone=(0,i.WQX)(d.SKi);_injector=(0,i.WQX)(i.zZn);_eventCleanups;_hosts=new Map;constructor(){const Ce=(0,i.WQX)(d._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>f.map(Ae=>Ce.listen(this._document,Ae,this._onInteraction,O)))}ngOnDestroy(){const Ce=this._hosts.keys();for(const Ae of Ce)this.destroyRipple(Ae);this._eventCleanups.forEach(Ae=>Ae())}configureRipple(Ce,Ae){Ce.setAttribute(u,this._globalRippleOptions?.namespace??""),(Ae.className||!Ce.hasAttribute(L))&&Ce.setAttribute(L,Ae.className||""),Ae.centered&&Ce.setAttribute(C,""),Ae.disabled&&Ce.setAttribute(B,"")}setDisabled(Ce,Ae){const j=this._hosts.get(Ce);j?(j.target.rippleDisabled=Ae,!Ae&&!j.hasSetUpEvents&&(j.hasSetUpEvents=!0,j.renderer.setupTriggerEvents(Ce))):Ae?Ce.setAttribute(B,""):Ce.removeAttribute(B)}_onInteraction=Ce=>{const Ae=(0,T.Fb)(Ce);if(Ae instanceof HTMLElement){const j=Ae.closest(`[${u}="${this._globalRippleOptions?.namespace??""}"]`);j&&this._createRipple(j)}};_createRipple(Ce){if(!this._document||this._hosts.has(Ce))return;Ce.querySelector(".mat-ripple")?.remove();const Ae=this._document.createElement("span");Ae.classList.add("mat-ripple",Ce.getAttribute(L)),Ce.append(Ae);const j=this._globalRippleOptions,W=this._animationsDisabled?0:j?.animation?.enterDuration??e.EX.enterDuration,G=this._animationsDisabled?0:j?.animation?.exitDuration??e.EX.exitDuration,re={rippleDisabled:this._animationsDisabled||j?.disabled||Ce.hasAttribute(B),rippleConfig:{centered:Ce.hasAttribute(C),terminateOnPointerUp:j?.terminateOnPointerUp,animation:{enterDuration:W,exitDuration:G}}},xe=new e.ug(re,this._ngZone,Ae,this._platform,this._injector),Ee=!re.rippleDisabled;Ee&&xe.setupTriggerEvents(Ce),this._hosts.set(Ce,{target:re,renderer:xe,hasSetUpEvents:Ee}),Ce.removeAttribute(u)}destroyRipple(Ce){const Ae=this._hosts.get(Ce);Ae&&(Ae.renderer._removeTriggerEvents(),this._hosts.delete(Ce))}static \u0275fac=function(Ae){return new(Ae||Pe)};static \u0275prov=i.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})()},6881(Zt,pe,l){"use strict";l.d(pe,{p:()=>T});var i=l(2615),d=l(3664),v=l(2466);let T=(()=>{class w{static \u0275fac=function(f){return new(f||w)};static \u0275mod=d.$C({type:w});static \u0275inj=i.G2t({imports:[v.y,v.y]})}return w})()},2496(Zt,pe,l){"use strict";l.d(pe,{$E:()=>xe,EX:()=>Pe,r6:()=>Ee,ug:()=>G});var i=l(9842),d=l(3300),v=l(4522),T=l(3664),w=l(2615),e=l(5735),O=l(7847),f=l(8968),u=l(1804),L=function(V){return V[V.FADING_IN=0]="FADING_IN",V[V.VISIBLE=1]="VISIBLE",V[V.FADING_OUT=2]="FADING_OUT",V[V.HIDDEN=3]="HIDDEN",V}(L||{});class C{_renderer;element;config;_animationForciblyDisabledThroughCss;state=L.HIDDEN;constructor(ce,be,ne,J=!1){this._renderer=ce,this.element=be,this.config=ne,this._animationForciblyDisabledThroughCss=J}fadeOut(){this._renderer.fadeOutRipple(this)}}const B=(0,d.B)({passive:!0,capture:!0});class A{_events=new Map;addHandler(ce,be,ne,J){const De=this._events.get(be);if(De){const Re=De.get(ne);Re?Re.add(J):De.set(ne,new Set([J]))}else this._events.set(be,new Map([[ne,new Set([J])]])),ce.runOutsideAngular(()=>{document.addEventListener(be,this._delegateEventHandler,B)})}removeHandler(ce,be,ne){const J=this._events.get(ce);if(!J)return;const De=J.get(be);De&&(De.delete(ne),0===De.size&&J.delete(be),0===J.size&&(this._events.delete(ce),document.removeEventListener(ce,this._delegateEventHandler,B)))}_delegateEventHandler=ce=>{const be=(0,v.Fb)(ce);be&&this._events.get(ce.type)?.forEach((ne,J)=>{(J===be||J.contains(be))&&ne.forEach(De=>De.handleEvent(ce))})}}const Pe={enterDuration:225,exitDuration:150},Ce=(0,d.B)({passive:!0,capture:!0}),Ae=["mousedown","touchstart"],j=["mouseup","mouseleave","touchend","touchcancel"];let W=(()=>{class V{static \u0275fac=function(ne){return new(ne||V)};static \u0275cmp=T.VBU({type:V,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(ne,J){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return V})();class G{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new A;constructor(ce,be,ne,J,De){this._target=ce,this._ngZone=be,this._platform=J,J.isBrowser&&(this._containerElement=(0,O.i8)(ne)),De&&De.get(f.l).load(W)}fadeInRipple(ce,be,ne={}){const J=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),De={...Pe,...ne.animation};ne.centered&&(ce=J.left+J.width/2,be=J.top+J.height/2);const Re=ne.radius||function re(V,ce,be){const ne=Math.max(Math.abs(V-be.left),Math.abs(V-be.right)),J=Math.max(Math.abs(ce-be.top),Math.abs(ce-be.bottom));return Math.sqrt(ne*ne+J*J)}(ce,be,J),Xe=ce-J.left,_e=be-J.top,he=De.enterDuration,Dt=document.createElement("div");Dt.classList.add("mat-ripple-element"),Dt.style.left=Xe-Re+"px",Dt.style.top=_e-Re+"px",Dt.style.height=2*Re+"px",Dt.style.width=2*Re+"px",null!=ne.color&&(Dt.style.backgroundColor=ne.color),Dt.style.transitionDuration=`${he}ms`,this._containerElement.appendChild(Dt);const lt=window.getComputedStyle(Dt),te=lt.transitionDuration,ie="none"===lt.transitionProperty||"0s"===te||"0s, 0s"===te||0===J.width&&0===J.height,P=new C(this,Dt,ne,ie);Dt.style.transform="scale3d(1, 1, 1)",P.state=L.FADING_IN,ne.persistent||(this._mostRecentTransientRipple=P);let F=null;return!ie&&(he||De.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ve=()=>{F&&(F.fallbackTimer=null),clearTimeout($),this._finishRippleTransition(P)},H=()=>this._destroyRipple(P),$=setTimeout(H,he+100);Dt.addEventListener("transitionend",ve),Dt.addEventListener("transitioncancel",H),F={onTransitionEnd:ve,onTransitionCancel:H,fallbackTimer:$}}),this._activeRipples.set(P,F),(ie||!he)&&this._finishRippleTransition(P),P}fadeOutRipple(ce){if(ce.state===L.FADING_OUT||ce.state===L.HIDDEN)return;const be=ce.element,ne={...Pe,...ce.config.animation};be.style.transitionDuration=`${ne.exitDuration}ms`,be.style.opacity="0",ce.state=L.FADING_OUT,(ce._animationForciblyDisabledThroughCss||!ne.exitDuration)&&this._finishRippleTransition(ce)}fadeOutAll(){this._getActiveRipples().forEach(ce=>ce.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ce=>{ce.config.persistent||ce.fadeOut()})}setupTriggerEvents(ce){const be=(0,O.i8)(ce);!this._platform.isBrowser||!be||be===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=be,Ae.forEach(ne=>{G._eventManager.addHandler(this._ngZone,ne,be,this)}))}handleEvent(ce){"mousedown"===ce.type?this._onMousedown(ce):"touchstart"===ce.type?this._onTouchStart(ce):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{j.forEach(be=>{this._triggerElement.addEventListener(be,this,Ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ce){ce.state===L.FADING_IN?this._startFadeOutTransition(ce):ce.state===L.FADING_OUT&&this._destroyRipple(ce)}_startFadeOutTransition(ce){const be=ce===this._mostRecentTransientRipple,{persistent:ne}=ce.config;ce.state=L.VISIBLE,!ne&&(!be||!this._isPointerDown)&&ce.fadeOut()}_destroyRipple(ce){const be=this._activeRipples.get(ce)??null;this._activeRipples.delete(ce),this._activeRipples.size||(this._containerRect=null),ce===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ce.state=L.HIDDEN,null!==be&&(ce.element.removeEventListener("transitionend",be.onTransitionEnd),ce.element.removeEventListener("transitioncancel",be.onTransitionCancel),null!==be.fallbackTimer&&clearTimeout(be.fallbackTimer)),ce.element.remove()}_onMousedown(ce){const be=(0,e._)(ce),ne=this._lastTouchStartEvent&&Date.now(){!ce.config.persistent&&(ce.state===L.VISIBLE||ce.config.terminateOnPointerUp&&ce.state===L.FADING_IN)&&ce.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ce=this._triggerElement;ce&&(Ae.forEach(be=>G._eventManager.removeHandler(be,ce,this)),this._pointerUpEventsRegistered&&(j.forEach(be=>ce.removeEventListener(be,this,Ce)),this._pointerUpEventsRegistered=!1))}}const xe=new w.nKC("mat-ripple-global-options");let Ee=(()=>{class V{_elementRef=(0,w.WQX)(T.aKT);_animationsDisabled=(0,u.Rc)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(be){be&&this.fadeOutAllNonPersistent(),this._disabled=be,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(be){this._trigger=be,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const be=(0,w.WQX)(T.SKi),ne=(0,w.WQX)(i.O),J=(0,w.WQX)(xe,{optional:!0}),De=(0,w.WQX)(w.zZn);this._globalOptions=J||{},this._rippleRenderer=new G(this,be,this._elementRef,ne,De)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(be,ne=0,J){return"number"==typeof be?this._rippleRenderer.fadeInRipple(be,ne,{...this.rippleConfig,...J}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...be})}static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ne,J){2&ne&&T.AVh("mat-ripple-unbounded",J.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return V})()},6183(Zt,pe,l){"use strict";l.d(pe,{$2:()=>fe,JO:()=>ot,VO:()=>Ye,Ve:()=>Qe});var i=l(9338),d=l(2615),v=l(3664),T=l(7705),w=l(5718),e=l(8617),O=l(7094),f=l(9726),u=l(9090),L=l(1577),C=l(3869),B=l(7336),A=l(438),Pe=l(9417),le=l(1413),Ce=l(9030),Ae=l(7786),j=l(5964),W=l(6354),G=l(9172),re=l(5558),xe=l(6697),Ee=l(6977),V=l(2200),ce=l(9588),be=l(1804),ne=l(3029),J=l(2709),De=l(9336),Re=l(146),Xe=l(2466),_e=l(1228);const he=["trigger"],Dt=["panel"],lt=[[["mat-select-trigger"]],"*"],Le=["mat-select-trigger","*"];function te(gt,Gt){if(1>&&(v.j41(0,"span",4),v.EFF(1),v.k0s()),2>){const rt=v.XpG();v.R7$(),v.JRh(rt.placeholder)}}function ie(gt,Gt){1>&&v.SdG(0)}function P(gt,Gt){if(1>&&(v.j41(0,"span",11),v.EFF(1),v.k0s()),2>){const rt=v.XpG(2);v.R7$(),v.JRh(rt.triggerValue)}}function F(gt,Gt){if(1>&&(v.j41(0,"span",5),v.nVh(1,ie,1,0)(2,P,2,1,"span",11),v.k0s()),2>){const rt=v.XpG();v.R7$(),v.vxM(rt.customTrigger?1:2)}}function ve(gt,Gt){if(1>){const rt=v.RV6();v.j41(0,"div",12,1),v.bIt("keydown",function(Ft){d.eBV(rt);const Sn=v.XpG();return d.Njj(Sn._handleKeydown(Ft))}),v.SdG(2,1),v.k0s()}if(2>){const rt=v.XpG();v.HbH(v.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",rt._getPanelTheme())),v.AVh("mat-select-panel-animations-enabled",!rt._animationsDisabled),v.Y8G("ngClass",rt.panelClass),v.BMQ("id",rt.id+"-panel")("aria-multiselectable",rt.multiple)("aria-label",rt.ariaLabel||null)("aria-labelledby",rt._getPanelAriaLabelledby())}}const Vt=new d.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const gt=(0,d.WQX)(d.zZn);return()=>(0,i.RH)(gt)}}),ot=new d.nKC("MAT_SELECT_CONFIG"),nt={provide:Vt,deps:[],useFactory:function St(gt){const Gt=(0,d.WQX)(d.zZn);return()=>(0,i.RH)(Gt)}},ht=new d.nKC("MatSelectTrigger");class oe{source;value;constructor(Gt,rt){this.source=Gt,this.value=rt}}let Ye=(()=>{class gt{_viewportRuler=(0,d.WQX)(w.Xj);_changeDetectorRef=(0,d.WQX)(T.gRc);_elementRef=(0,d.WQX)(v.aKT);_dir=(0,d.WQX)(L.dS,{optional:!0});_idGenerator=(0,d.WQX)(f.g);_renderer=(0,d.WQX)(v.sFG);_parentFormField=(0,d.WQX)(ce.xb,{optional:!0});ngControl=(0,d.WQX)(Pe.vO,{self:!0,optional:!0});_liveAnnouncer=(0,d.WQX)(O.Ai);_defaultOptions=(0,d.WQX)(ot,{optional:!0});_animationsDisabled=(0,be.Rc)();_initialized=new le.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(rt){const cn=this.options.toArray()[rt];if(cn){const Ft=this.panel.nativeElement,Sn=(0,ne.jb)(rt,this.options,this.optionGroups),Qn=cn._getHostElement();Ft.scrollTop=0===rt&&1===Sn?0:(0,ne.TL)(Qn.offsetTop,Qn.offsetHeight,Ft.scrollTop,Ft.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(rt){return new oe(this,rt)}_scrollStrategyFactory=(0,d.WQX)(Vt);_panelOpen=!1;_compareWith=(rt,cn)=>rt===cn;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new le.B;_errorStateTracker;stateChanges=new le.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(rt){this._disableRipple.set(rt)}_disableRipple=(0,d.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(rt){this._hideSingleSelectionIndicator=rt,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(rt){this._placeholder=rt,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Pe.k0.required)??!1}set required(rt){this._required=rt,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(rt){this._multiple=rt}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(rt){this._compareWith=rt,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(rt){this._assignValue(rt)&&this._onChange(rt)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(rt){this._errorStateTracker.matcher=rt}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(rt){this._id=rt||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(rt){this._errorStateTracker.errorState=rt}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,Ce.v)(()=>{const rt=this.options;return rt?rt.changes.pipe((0,G.Z)(rt),(0,re.n)(()=>(0,Ae.h)(...rt.map(cn=>cn.onSelectionChange)))):this._initialized.pipe((0,re.n)(()=>this.optionSelectionChanges))});openedChange=new v.bkB;_openedStream=this.openedChange.pipe((0,j.p)(rt=>rt),(0,W.T)(()=>{}));_closedStream=this.openedChange.pipe((0,j.p)(rt=>!rt),(0,W.T)(()=>{}));selectionChange=new v.bkB;valueChange=new v.bkB;constructor(){const rt=(0,d.WQX)(J.e),cn=(0,d.WQX)(Pe.cV,{optional:!0}),Ft=(0,d.WQX)(Pe.j4,{optional:!0}),Sn=(0,d.WQX)(new T.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new De.X(rt,this.ngControl,Ft,cn,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Sn?0:parseInt(Sn)||0,this.id=this.id}ngOnInit(){this._selectionModel=new C.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,Ee.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,Ee.Q)(this._destroy)).subscribe(rt=>{rt.added.forEach(cn=>cn.select()),rt.removed.forEach(cn=>cn.deselect())}),this.options.changes.pipe((0,G.Z)(null),(0,Ee.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const rt=this._getTriggerAriaLabelledby(),cn=this.ngControl;if(rt!==this._triggerAriaLabelledBy){const Ft=this._elementRef.nativeElement;this._triggerAriaLabelledBy=rt,rt?Ft.setAttribute("aria-labelledby",rt):Ft.removeAttribute("aria-labelledby")}cn&&(this._previousControl!==cn.control&&(void 0!==this._previousControl&&null!==cn.disabled&&cn.disabled!==this.disabled&&(this.disabled=cn.disabled),this._previousControl=cn.control),this.updateErrorState())}ngOnChanges(rt){(rt.disabled||rt.userAriaDescribedBy)&&this.stateChanges.next(),rt.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,xe.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const rt=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!rt)return;const cn=`${this.id}-panel`;this._trackedModal&&(0,e.Ae)(this._trackedModal,"aria-owns",cn),(0,e.px)(rt,"aria-owns",cn),this._trackedModal=rt}_clearFromModal(){this._trackedModal&&((0,e.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{cn(),clearTimeout(Ft),this._cleanupDetach=void 0};const rt=this.panel.nativeElement,cn=this._renderer.listen(rt,"animationend",Sn=>{"_mat-select-exit"===Sn.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Ft=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);rt.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(rt){this._assignValue(rt)}registerOnChange(rt){this._onChange=rt}registerOnTouched(rt){this._onTouched=rt}setDisabledState(rt){this.disabled=rt,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const rt=this._selectionModel.selected.map(cn=>cn.viewValue);return this._isRtl()&&rt.reverse(),rt.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(rt){this.disabled||(this.panelOpen?this._handleOpenKeydown(rt):this._handleClosedKeydown(rt))}_handleClosedKeydown(rt){const cn=rt.keyCode,Ft=cn===A.n6||cn===A.i7||cn===A.UQ||cn===A.LE,Sn=cn===A.Fm||cn===A.t6,Qn=this._keyManager;if(!Qn.isTyping()&&Sn&&!(0,B.rp)(rt)||(this.multiple||rt.altKey)&&Ft)rt.preventDefault(),this.open();else if(!this.multiple){const h=this.selected;Qn.onKeydown(rt);const jt=this.selected;jt&&h!==jt&&this._liveAnnouncer.announce(jt.viewValue,1e4)}}_handleOpenKeydown(rt){const cn=this._keyManager,Ft=rt.keyCode,Sn=Ft===A.n6||Ft===A.i7,Qn=cn.isTyping();if(Sn&&rt.altKey)rt.preventDefault(),this.close();else if(Qn||Ft!==A.Fm&&Ft!==A.t6||!cn.activeItem||(0,B.rp)(rt))if(!Qn&&this._multiple&&Ft===A.A&&rt.ctrlKey){rt.preventDefault();const h=this.options.some(jt=>!jt.disabled&&!jt.selected);this.options.forEach(jt=>{jt.disabled||(h?jt.select():jt.deselect())})}else{const h=cn.activeItemIndex;cn.onKeydown(rt),this._multiple&&Sn&&rt.shiftKey&&cn.activeItem&&cn.activeItemIndex!==h&&cn.activeItem._selectViaInteraction()}else rt.preventDefault(),cn.activeItem._selectViaInteraction()}_handleOverlayKeydown(rt){rt.keyCode===A._f&&!(0,B.rp)(rt)&&(rt.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(rt){if(this.options.forEach(cn=>cn.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&rt)Array.isArray(rt),rt.forEach(cn=>this._selectOptionByValue(cn)),this._sortValues();else{const cn=this._selectOptionByValue(rt);cn?this._keyManager.updateActiveItem(cn):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(rt){const cn=this.options.find(Ft=>{if(this._selectionModel.isSelected(Ft))return!1;try{return(null!=Ft.value||this.canSelectNullableOptions)&&this._compareWith(Ft.value,rt)}catch{return!1}});return cn&&this._selectionModel.select(cn),cn}_assignValue(rt){return!!(rt!==this._value||this._multiple&&Array.isArray(rt))&&(this.options&&this._setSelectionByValue(rt),this._value=rt,!0)}_skipPredicate=rt=>!this.panelOpen&&rt.disabled;_getOverlayWidth(rt){return"auto"===this.panelWidth?(rt instanceof i.$Q?rt.elementRef:rt||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const rt of this.options)rt._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new u.A(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const rt=(0,Ae.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ee.Q)(rt)).subscribe(cn=>{this._onSelect(cn.source,cn.isUserInput),cn.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ae.h)(...this.options.map(cn=>cn._stateChanges)).pipe((0,Ee.Q)(rt)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(rt,cn){const Ft=this._selectionModel.isSelected(rt);this.canSelectNullableOptions||null!=rt.value||this._multiple?(Ft!==rt.selected&&(rt.selected?this._selectionModel.select(rt):this._selectionModel.deselect(rt)),cn&&this._keyManager.setActiveItem(rt),this.multiple&&(this._sortValues(),cn&&this.focus())):(rt.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(rt.value)),Ft!==this._selectionModel.isSelected(rt)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const rt=this.options.toArray();this._selectionModel.sort((cn,Ft)=>this.sortComparator?this.sortComparator(cn,Ft,rt):rt.indexOf(cn)-rt.indexOf(Ft)),this.stateChanges.next()}}_propagateChanges(rt){let cn;cn=this.multiple?this.selected.map(Ft=>Ft.value):this.selected?this.selected.value:rt,this._value=cn,this.valueChange.emit(cn),this._onChange(cn),this.selectionChange.emit(this._getChangeEvent(cn)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let rt=-1;for(let cn=0;cn0&&!!this._overlayDir}focus(rt){this._elementRef.nativeElement.focus(rt)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const rt=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(rt?rt+" ":"")+this.ariaLabelledby:rt}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let rt=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(rt+=" "+this.ariaLabelledby),rt||(rt=this._valueId),rt}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(rt){rt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",rt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(cn){return new(cn||gt)};static \u0275cmp=v.VBU({type:gt,selectors:[["mat-select"]],contentQueries:function(cn,Ft,Sn){if(1&cn&&(v.wni(Sn,ht,5),v.wni(Sn,ne.wT,5),v.wni(Sn,ne.QC,5)),2&cn){let Qn;v.mGM(Qn=v.lsd())&&(Ft.customTrigger=Qn.first),v.mGM(Qn=v.lsd())&&(Ft.options=Qn),v.mGM(Qn=v.lsd())&&(Ft.optionGroups=Qn)}},viewQuery:function(cn,Ft){if(1&cn&&(v.GBs(he,5),v.GBs(Dt,5),v.GBs(i.WB,5)),2&cn){let Sn;v.mGM(Sn=v.lsd())&&(Ft.trigger=Sn.first),v.mGM(Sn=v.lsd())&&(Ft.panel=Sn.first),v.mGM(Sn=v.lsd())&&(Ft._overlayDir=Sn.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(cn,Ft){1&cn&&v.bIt("keydown",function(Qn){return Ft._handleKeydown(Qn)})("focus",function(){return Ft._onFocus()})("blur",function(){return Ft._onBlur()}),2&cn&&(v.BMQ("id",Ft.id)("tabindex",Ft.disabled?-1:Ft.tabIndex)("aria-controls",Ft.panelOpen?Ft.id+"-panel":null)("aria-expanded",Ft.panelOpen)("aria-label",Ft.ariaLabel||null)("aria-required",Ft.required.toString())("aria-disabled",Ft.disabled.toString())("aria-invalid",Ft.errorState)("aria-activedescendant",Ft._getAriaActiveDescendant()),v.AVh("mat-mdc-select-disabled",Ft.disabled)("mat-mdc-select-invalid",Ft.errorState)("mat-mdc-select-required",Ft.required)("mat-mdc-select-empty",Ft.empty)("mat-mdc-select-multiple",Ft.multiple)("mat-select-open",Ft.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",T.L39],disableRipple:[2,"disableRipple","disableRipple",T.L39],tabIndex:[2,"tabIndex","tabIndex",rt=>null==rt?0:(0,T.Udg)(rt)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",T.L39],placeholder:"placeholder",required:[2,"required","required",T.L39],multiple:[2,"multiple","multiple",T.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",T.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",T.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",T.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[v.Jv_([{provide:ce.qT,useExisting:gt},{provide:ne.is,useExisting:gt}]),v.OA$],ngContentSelectors:Le,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(cn,Ft){if(1&cn){const Sn=v.RV6();v.NAR(lt),v.j41(0,"div",2,0),v.bIt("click",function(){return d.eBV(Sn),d.Njj(Ft.open())}),v.j41(3,"div",3),v.nVh(4,te,2,1,"span",4)(5,F,3,1,"span",5),v.k0s(),v.j41(6,"div",6)(7,"div",7),d.qSk(),v.j41(8,"svg",8),v.nrm(9,"path",9),v.k0s()()()(),v.DNE(10,ve,3,10,"ng-template",10),v.bIt("detach",function(){return d.eBV(Sn),d.Njj(Ft.close())})("backdropClick",function(){return d.eBV(Sn),d.Njj(Ft.close())})("overlayKeydown",function(h){return d.eBV(Sn),d.Njj(Ft._handleOverlayKeydown(h))})}if(2&cn){const Sn=v.sdS(1);v.R7$(3),v.BMQ("id",Ft._valueId),v.R7$(),v.vxM(Ft.empty?4:5),v.R7$(6),v.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Ft._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ft._scrollStrategy)("cdkConnectedOverlayOrigin",Ft._preferredOverlayOrigin||Sn)("cdkConnectedOverlayPositions",Ft._positions)("cdkConnectedOverlayWidth",Ft._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[i.$Q,i.WB,V.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return gt})(),fe=(()=>{class gt{static \u0275fac=function(cn){return new(cn||gt)};static \u0275dir=v.FsC({type:gt,selectors:[["mat-select-trigger"]],features:[v.Jv_([{provide:ht,useExisting:gt}])]})}return gt})(),Qe=(()=>{class gt{static \u0275fac=function(cn){return new(cn||gt)};static \u0275mod=v.$C({type:gt});static \u0275inj=d.G2t({providers:[nt],imports:[i.z_,Re.S,Xe.y,w.Gj,_e.R,Re.S,Xe.y]})}return gt})()},882(Zt,pe,l){"use strict";l.d(pe,{El:()=>$,LG:()=>Ke,US:()=>Vt,vg:()=>St});var i=l(6838),d=l(7094),v=l(1577),T=l(4085),w=l(7847),e=l(7336),O=l(438),f=l(9842),u=l(5718),L=l(2615),C=l(3664),B=l(7705),A=l(1413),Pe=l(3726),le=l(7786),Ce=l(152),Ae=l(5964),j=l(6354),W=l(3703),G=l(9172),re=l(6697),xe=l(6977),Ee=l(1804),V=l(2466);const ce=["*"],be=["content"],ne=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],J=["mat-drawer","mat-drawer-content","*"];function De(nt,ht){if(1&nt){const oe=C.RV6();C.j41(0,"div",1),C.bIt("click",function(){L.eBV(oe);const fe=C.XpG();return L.Njj(fe._onBackdropClicked())}),C.k0s()}if(2&nt){const oe=C.XpG();C.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function Re(nt,ht){1&nt&&(C.j41(0,"mat-drawer-content"),C.SdG(1,2),C.k0s())}const Xe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],_e=["mat-sidenav","mat-sidenav-content","*"];function he(nt,ht){if(1&nt){const oe=C.RV6();C.j41(0,"div",1),C.bIt("click",function(){L.eBV(oe);const fe=C.XpG();return L.Njj(fe._onBackdropClicked())}),C.k0s()}if(2&nt){const oe=C.XpG();C.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function Dt(nt,ht){1&nt&&(C.j41(0,"mat-sidenav-content"),C.SdG(1,2),C.k0s())}const te=new L.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function P(){return!1}}),ie=new L.nKC("MAT_DRAWER_CONTAINER");let F=(()=>{class nt extends u.uv{_platform=(0,L.WQX)(f.O);_changeDetectorRef=(0,L.WQX)(B.gRc);_container=(0,L.WQX)(H);constructor(){super((0,L.WQX)(C.aKT),(0,L.WQX)(u.R),(0,L.WQX)(C.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:oe,end:Ye}=this._container;return null!=oe&&"over"!==oe.mode&&oe.opened||null!=Ye&&"over"!==Ye.mode&&Ye.opened}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(Ye,fe){2&Ye&&(C.xc7("margin-left",fe._container._contentMargins.left,"px")("margin-right",fe._container._contentMargins.right,"px"),C.AVh("mat-drawer-content-hidden",fe._shouldBeHidden()))},features:[C.Jv_([{provide:u.uv,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:1,vars:0,template:function(Ye,fe){1&Ye&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return nt})(),ve=(()=>{class nt{_elementRef=(0,L.WQX)(C.aKT);_focusTrapFactory=(0,L.WQX)(d.GX);_focusMonitor=(0,L.WQX)(i.FN);_platform=(0,L.WQX)(f.O);_ngZone=(0,L.WQX)(C.SKi);_renderer=(0,L.WQX)(C.sFG);_interactivityChecker=(0,L.WQX)(d.Z7);_doc=(0,L.WQX)(L.qQL);_container=(0,L.WQX)(ie,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(oe){(oe="end"===oe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(oe),this._position=oe,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(oe){this._mode=oe,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(oe){this._disableClose=(0,T.he)(oe)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(oe){("true"===oe||"false"===oe||null==oe)&&(oe=(0,T.he)(oe)),this._autoFocus=oe}_autoFocus;get opened(){return this._opened()}set opened(oe){this.toggle((0,T.he)(oe))}_opened=(0,L.vPA)(!1);_openedVia;_animationStarted=new A.B;_animationEnd=new A.B;openedChange=new C.bkB(!0);_openedStream=this.openedChange.pipe((0,Ae.p)(oe=>oe),(0,j.T)(()=>{}));openedStart=this._animationStarted.pipe((0,Ae.p)(()=>this.opened),(0,W.u)(void 0));_closedStream=this.openedChange.pipe((0,Ae.p)(oe=>!oe),(0,j.T)(()=>{}));closedStart=this._animationStarted.pipe((0,Ae.p)(()=>!this.opened),(0,W.u)(void 0));_destroyed=new A.B;onPositionChanged=new C.bkB;_content;_modeChanged=new A.B;_injector=(0,L.WQX)(L.zZn);_changeDetectorRef=(0,L.WQX)(B.gRc);constructor(){this.openedChange.pipe((0,xe.Q)(this._destroyed)).subscribe(oe=>{oe?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{const oe=this._elementRef.nativeElement;(0,Pe.R)(oe,"keydown").pipe((0,Ae.p)(Ye=>Ye.keyCode===O._f&&!this.disableClose&&!(0,e.rp)(Ye)),(0,xe.Q)(this._destroyed)).subscribe(Ye=>this._ngZone.run(()=>{this.close(),Ye.stopPropagation(),Ye.preventDefault()})),this._eventCleanups=[this._renderer.listen(oe,"transitionrun",this._handleTransitionEvent),this._renderer.listen(oe,"transitionend",this._handleTransitionEvent),this._renderer.listen(oe,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(oe,Ye){this._interactivityChecker.isFocusable(oe)||(oe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const fe=()=>{Qe(),gt(),oe.removeAttribute("tabindex")},Qe=this._renderer.listen(oe,"blur",fe),gt=this._renderer.listen(oe,"mousedown",fe)})),oe.focus(Ye)}_focusByCssSelector(oe,Ye){let fe=this._elementRef.nativeElement.querySelector(oe);fe&&this._forceFocus(fe,Ye)}_takeFocus(){if(!this._focusTrap)return;const oe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,C.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof oe.focus&&oe.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(oe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,oe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const oe=this._doc.activeElement;return!!oe&&this._elementRef.nativeElement.contains(oe)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(oe=>oe()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(oe){return this.toggle(!0,oe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(oe=!this.opened,Ye){oe&&Ye&&(this._openedVia=Ye);const fe=this._setOpen(oe,!oe&&this._isFocusWithinDrawer(),this._openedVia||"program");return oe||(this._openedVia=null),fe}_setOpen(oe,Ye,fe){return oe===this.opened?Promise.resolve(oe?"open":"close"):(this._opened.set(oe),this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",oe),!oe&&Ye&&this._restoreFocus(fe),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Qe=>{this.openedChange.pipe((0,re.s)(1)).subscribe(gt=>Qe(gt?"open":"close"))}))}_setIsAnimating(oe){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",oe)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(oe){if(!this._platform.isBrowser)return;const Ye=this._elementRef.nativeElement,fe=Ye.parentNode;"end"===oe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),fe.insertBefore(this._anchor,Ye)),fe.appendChild(Ye)):this._anchor&&this._anchor.parentNode.insertBefore(Ye,this._anchor)}_handleTransitionEvent=oe=>{oe.target===this._elementRef.nativeElement&&this._ngZone.run(()=>{"transitionrun"===oe.type?this._animationStarted.next(oe):("transitionend"===oe.type&&this._setIsAnimating(!1),this._animationEnd.next(oe))})};static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer"]],viewQuery:function(Ye,fe){if(1&Ye&&C.GBs(be,5),2&Ye){let Qe;C.mGM(Qe=C.lsd())&&(fe._content=Qe.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(Ye,fe){2&Ye&&(C.BMQ("align",null)("tabIndex","side"!==fe.mode?"-1":null),C.xc7("visibility",fe._container||fe.opened?null:"hidden"),C.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:ce,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,fe){1&Ye&&(C.NAR(),C.j41(0,"div",1,0),C.SdG(2),C.k0s())},dependencies:[u.uv],encapsulation:2,changeDetection:0})}return nt})(),H=(()=>{class nt{_dir=(0,L.WQX)(v.dS,{optional:!0});_element=(0,L.WQX)(C.aKT);_ngZone=(0,L.WQX)(C.SKi);_changeDetectorRef=(0,L.WQX)(B.gRc);_animationDisabled=(0,Ee.Rc)();_transitionsEnabled=!1;_allDrawers;_drawers=new C.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(oe){this._autosize=(0,T.he)(oe)}_autosize=(0,L.WQX)(te);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(oe){this._backdropOverride=null==oe?null:(0,T.he)(oe)}_backdropOverride;backdropClick=new C.bkB;_start;_end;_left;_right;_destroyed=new A.B;_doCheckSubject=new A.B;_contentMargins={left:null,right:null};_contentMarginChanges=new A.B;get scrollable(){return this._userContent||this._content}_injector=(0,L.WQX)(L.zZn);constructor(){const oe=(0,L.WQX)(f.O),Ye=(0,L.WQX)(u.Xj);this._dir?.change.pipe((0,xe.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ye.change().pipe((0,xe.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&oe.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe((0,G.Z)(this._allDrawers),(0,xe.Q)(this._destroyed)).subscribe(oe=>{this._drawers.reset(oe.filter(Ye=>!Ye._container||Ye._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,G.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(oe=>{this._watchDrawerToggle(oe),this._watchDrawerPosition(oe),this._watchDrawerMode(oe)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Ce.B)(10),(0,xe.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(oe=>oe.open())}close(){this._drawers.forEach(oe=>oe.close())}updateContentMargins(){let oe=0,Ye=0;if(this._left&&this._left.opened)if("side"==this._left.mode)oe+=this._left._getWidth();else if("push"==this._left.mode){const fe=this._left._getWidth();oe+=fe,Ye-=fe}if(this._right&&this._right.opened)if("side"==this._right.mode)Ye+=this._right._getWidth();else if("push"==this._right.mode){const fe=this._right._getWidth();Ye+=fe,oe-=fe}oe=oe||null,Ye=Ye||null,(oe!==this._contentMargins.left||Ye!==this._contentMargins.right)&&(this._contentMargins={left:oe,right:Ye},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(oe){oe._animationStarted.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==oe.mode&&oe.openedChange.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(oe.opened))}_watchDrawerPosition(oe){oe.onPositionChanged.pipe((0,xe.Q)(this._drawers.changes)).subscribe(()=>{(0,C.mal)({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(oe){oe._modeChanged.pipe((0,xe.Q)((0,le.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(oe){const Ye=this._element.nativeElement.classList,fe="mat-drawer-container-has-open";oe?Ye.add(fe):Ye.remove(fe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(oe=>{"end"==oe.position?this._end=oe:this._start=oe}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(oe=>oe&&!oe.disableClose&&this._drawerHasBackdrop(oe)).forEach(oe=>oe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(oe){return null!=oe&&oe.opened}_drawerHasBackdrop(oe){return null==this._backdropOverride?!!oe&&"side"!==oe.mode:this._backdropOverride}static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275cmp=C.VBU({type:nt,selectors:[["mat-drawer-container"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&(C.wni(Qe,F,5),C.wni(Qe,ve,5)),2&Ye){let gt;C.mGM(gt=C.lsd())&&(fe._content=gt.first),C.mGM(gt=C.lsd())&&(fe._allDrawers=gt)}},viewQuery:function(Ye,fe){if(1&Ye&&C.GBs(F,5),2&Ye){let Qe;C.mGM(Qe=C.lsd())&&(fe._userContent=Qe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&C.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[C.Jv_([{provide:ie,useExisting:nt}])],ngContentSelectors:J,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,fe){1&Ye&&(C.NAR(ne),C.nVh(0,De,1,2,"div",0),C.SdG(1),C.SdG(2,1),C.nVh(3,Re,2,0,"mat-drawer-content")),2&Ye&&(C.vxM(fe.hasBackdrop?0:-1),C.R7$(3),C.vxM(fe._content?-1:3))},dependencies:[F],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return nt})(),$=(()=>{class nt extends F{static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[C.Jv_([{provide:u.uv,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:1,vars:0,template:function(Ye,fe){1&Ye&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return nt})(),Ke=(()=>{class nt extends ve{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(oe){this._fixedInViewport=(0,T.he)(oe)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(oe){this._fixedTopGap=(0,w.OE)(oe)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(oe){this._fixedBottomGap=(0,w.OE)(oe)}_fixedBottomGap=0;static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(Ye,fe){2&Ye&&(C.BMQ("tabIndex","side"!==fe.mode?"-1":null)("align",null),C.xc7("top",fe.fixedInViewport?fe.fixedTopGap:null,"px")("bottom",fe.fixedInViewport?fe.fixedBottomGap:null,"px"),C.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode)("mat-sidenav-fixed",fe.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[C.Jv_([{provide:ve,useExisting:nt}]),C.Vt3],ngContentSelectors:ce,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,fe){1&Ye&&(C.NAR(),C.j41(0,"div",1,0),C.SdG(2),C.k0s())},dependencies:[u.uv],encapsulation:2,changeDetection:0})}return nt})(),Vt=(()=>{class nt extends H{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=C.xGo(nt)))(fe||nt)}})();static \u0275cmp=C.VBU({type:nt,selectors:[["mat-sidenav-container"]],contentQueries:function(Ye,fe,Qe){if(1&Ye&&(C.wni(Qe,$,5),C.wni(Qe,Ke,5)),2&Ye){let gt;C.mGM(gt=C.lsd())&&(fe._content=gt.first),C.mGM(gt=C.lsd())&&(fe._allDrawers=gt)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Ye,fe){2&Ye&&C.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},exportAs:["matSidenavContainer"],features:[C.Jv_([{provide:ie,useExisting:nt},{provide:H,useExisting:nt}]),C.Vt3],ngContentSelectors:_e,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,fe){1&Ye&&(C.NAR(Xe),C.nVh(0,he,1,2,"div",0),C.SdG(1),C.SdG(2,1),C.nVh(3,Dt,2,0,"mat-sidenav-content")),2&Ye&&(C.vxM(fe.hasBackdrop?0:-1),C.R7$(3),C.vxM(fe._content?-1:3))},dependencies:[$],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return nt})(),St=(()=>{class nt{static \u0275fac=function(Ye){return new(Ye||nt)};static \u0275mod=C.$C({type:nt});static \u0275inj=L.G2t({imports:[V.y,u.Gj,u.Gj,V.y]})}return nt})()},450(Zt,pe,l){"use strict";l.d(pe,{mV:()=>W,sG:()=>j});var i=l(2615),d=l(3664),v=l(7705),T=l(9417),w=l(6838),e=l(9726),O=l(8968),f=l(1804),u=l(2046),L=l(2496),C=l(3155),B=l(2466);const A=["switch"],Pe=["*"];function le(G,re){1&G&&(d.j41(0,"span",11),i.qSk(),d.j41(1,"svg",13),d.nrm(2,"path",14),d.k0s(),d.j41(3,"svg",15),d.nrm(4,"path",16),d.k0s()())}const Ce=new i.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})});class Ae{source;checked;constructor(re,xe){this.source=re,this.checked=xe}}let j=(()=>{class G{_elementRef=(0,i.WQX)(d.aKT);_focusMonitor=(0,i.WQX)(w.FN);_changeDetectorRef=(0,i.WQX)(v.gRc);defaults=(0,i.WQX)(Ce);_onChange=xe=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(xe){return new Ae(this,xe)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=(0,f.Rc)();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(xe){this._checked=xe,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new d.bkB;toggleChange=new d.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,i.WQX)(O.l).load(u.A);const xe=(0,i.WQX)(new v.ES_("tabindex"),{optional:!0}),Ee=this.defaults;this.tabIndex=null==xe?0:parseInt(xe)||0,this.color=Ee.color||"accent",this.id=this._uniqueId=(0,i.WQX)(e.g).getId("mat-mdc-slide-toggle-"),this.hideIcon=Ee.hideIcon??!1,this.disabledInteractive=Ee.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(xe=>{"keyboard"===xe||"program"===xe?(this._focused=!0,this._changeDetectorRef.markForCheck()):xe||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(xe){xe.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(xe){this.checked=!!xe}registerOnChange(xe){this._onChange=xe}registerOnTouched(xe){this._onTouched=xe}validate(xe){return this.required&&!0!==xe.value?{required:!0}:null}registerOnValidatorChange(xe){this._validatorOnChange=xe}setDisabledState(xe){this.disabled=xe,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Ae(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(Ee){return new(Ee||G)};static \u0275cmp=d.VBU({type:G,selectors:[["mat-slide-toggle"]],viewQuery:function(Ee,V){if(1&Ee&&d.GBs(A,5),2&Ee){let ce;d.mGM(ce=d.lsd())&&(V._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(Ee,V){2&Ee&&(d.Avn("id",V.id),d.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),d.HbH(V.color?"mat-"+V.color:""),d.AVh("mat-mdc-slide-toggle-focused",V._focused)("mat-mdc-slide-toggle-checked",V.checked)("_mat-animation-noopable",V._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",v.L39],color:"color",disabled:[2,"disabled","disabled",v.L39],disableRipple:[2,"disableRipple","disableRipple",v.L39],tabIndex:[2,"tabIndex","tabIndex",xe=>null==xe?0:(0,v.Udg)(xe)],checked:[2,"checked","checked",v.L39],hideIcon:[2,"hideIcon","hideIcon",v.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",v.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[d.Jv_([{provide:T.kq,useExisting:(0,i.Rfq)(()=>G),multi:!0},{provide:T.cz,useExisting:G,multi:!0}]),d.OA$],ngContentSelectors:Pe,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(Ee,V){if(1&Ee){const ce=d.RV6();d.NAR(),d.j41(0,"div",1)(1,"button",2,0),d.bIt("click",function(){return i.eBV(ce),i.Njj(V._handleClick())}),d.nrm(3,"div",3)(4,"span",4),d.j41(5,"span",5)(6,"span",6)(7,"span",7),d.nrm(8,"span",8),d.k0s(),d.j41(9,"span",9),d.nrm(10,"span",10),d.k0s(),d.nVh(11,le,5,0,"span",11),d.k0s()()(),d.j41(12,"label",12),d.bIt("click",function(ne){return i.eBV(ce),i.Njj(ne.stopPropagation())}),d.SdG(13),d.k0s()()}if(2&Ee){const ce=d.sdS(2);d.Y8G("labelPosition",V.labelPosition),d.R7$(),d.AVh("mdc-switch--selected",V.checked)("mdc-switch--unselected",!V.checked)("mdc-switch--checked",V.checked)("mdc-switch--disabled",V.disabled)("mat-mdc-slide-toggle-disabled-interactive",V.disabledInteractive),d.Y8G("tabIndex",V.disabled&&!V.disabledInteractive?-1:V.tabIndex)("disabled",V.disabled&&!V.disabledInteractive),d.BMQ("id",V.buttonId)("name",V.name)("aria-label",V.ariaLabel)("aria-labelledby",V._getAriaLabelledBy())("aria-describedby",V.ariaDescribedby)("aria-required",V.required||null)("aria-checked",V.checked)("aria-disabled",V.disabled&&V.disabledInteractive?"true":null),d.R7$(9),d.Y8G("matRippleTrigger",ce)("matRippleDisabled",V.disableRipple||V.disabled)("matRippleCentered",!0),d.R7$(),d.vxM(V.hideIcon?-1:11),d.R7$(),d.Y8G("for",V.buttonId),d.BMQ("id",V._labelId)}},dependencies:[L.r6,C.t],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return G})(),W=(()=>{class G{static \u0275fac=function(Ee){return new(Ee||G)};static \u0275mod=d.$C({type:G});static \u0275inj=i.G2t({imports:[j,B.y,B.y]})}return G})()},5416(Zt,pe,l){"use strict";l.d(pe,{UG:()=>he,_T:()=>lt,x6:()=>_e});var i=l(2615),d=l(3664),v=l(7705),T=l(1413),w=l(7673),e=l(8834),O=l(7094),f=l(9726),u=l(9842),L=l(6939),C=l(1804),B=l(9327),A=l(4330),Pe=l(9338),le=l(6977),Ce=l(2466);function Ae(te,ie){if(1&te){const P=d.RV6();d.j41(0,"div",1)(1,"button",2),d.bIt("click",function(){i.eBV(P);const ve=d.XpG();return i.Njj(ve.action())}),d.EFF(2),d.k0s()()}if(2&te){const P=d.XpG();d.R7$(2),d.SpI(" ",P.data.action," ")}}const j=["label"];function W(te,ie){}const G=Math.pow(2,31)-1;class re{_overlayRef;instance;containerInstance;_afterDismissed=new T.B;_afterOpened=new T.B;_onAction=new T.B;_durationTimeoutId;_dismissedByAction=!1;constructor(ie,P){this._overlayRef=P,this.containerInstance=ie,ie._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(ie){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(ie,G))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const xe=new i.nKC("MatSnackBarData");class Ee{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let V=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return te})(),ce=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return te})(),be=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275dir=d.FsC({type:te,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return te})(),ne=(()=>{class te{snackBarRef=(0,i.WQX)(re);data=(0,i.WQX)(xe);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=d.VBU({type:te,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(F,ve){1&F&&(d.j41(0,"div",0),d.EFF(1),d.k0s(),d.nVh(2,Ae,3,1,"div",1)),2&F&&(d.R7$(),d.SpI(" ",ve.data.message,"\n"),d.R7$(),d.vxM(ve.hasAction?2:-1))},dependencies:[e.$z,V,ce,be],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],encapsulation:2,changeDetection:0})}return te})();const J="_mat-snack-bar-enter",De="_mat-snack-bar-exit";let Re=(()=>{class te extends L.lb{_ngZone=(0,i.WQX)(d.SKi);_elementRef=(0,i.WQX)(d.aKT);_changeDetectorRef=(0,i.WQX)(v.gRc);_platform=(0,i.WQX)(u.O);_animationsDisabled=(0,C.Rc)();snackBarConfig=(0,i.WQX)(Ee);_document=(0,i.WQX)(i.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,i.WQX)(i.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new T.B;_onExit=new T.B;_onEnter=new T.B;_animationState="void";_live;_label;_role;_liveElementId=(0,i.WQX)(f.g).getId("mat-snack-bar-container-live-");constructor(){super();const P=this.snackBarConfig;this._live="assertive"!==P.politeness||P.announcementMessage?"off"===P.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(P){this._assertNotAttached();const F=this._portalOutlet.attachComponentPortal(P);return this._afterPortalAttached(),F}attachTemplatePortal(P){this._assertNotAttached();const F=this._portalOutlet.attachTemplatePortal(P);return this._afterPortalAttached(),F}attachDomPortal=P=>{this._assertNotAttached();const F=this._portalOutlet.attachDomPortal(P);return this._afterPortalAttached(),F};onAnimationEnd(P){P===De?this._completeExit():P===J&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,d.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(J)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(J)},200)))}exit(){return this._destroyed?(0,w.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,d.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(De)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(De),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const P=this._elementRef.nativeElement,F=this.snackBarConfig.panelClass;F&&(Array.isArray(F)?F.forEach($=>P.classList.add($)):P.classList.add(F)),this._exposeToModals();const ve=this._label.nativeElement,H="mdc-snackbar__label";ve.classList.toggle(H,!ve.querySelector(`.${H}`))}_exposeToModals(){const P=this._liveElementId,F=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ve=0;ve{const F=P.getAttribute("aria-owns");if(F){const ve=F.replace(this._liveElementId,"").trim();ve.length>0?P.setAttribute("aria-owns",ve):P.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const P=this._elementRef.nativeElement,F=P.querySelector("[aria-hidden]"),ve=P.querySelector("[aria-live]");if(F&&ve){let H=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&F.contains(document.activeElement)&&(H=document.activeElement),F.removeAttribute("aria-hidden"),ve.appendChild(F),H?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=d.VBU({type:te,selectors:[["mat-snack-bar-container"]],viewQuery:function(F,ve){if(1&F&&(d.GBs(L.I3,7),d.GBs(j,7)),2&F){let H;d.mGM(H=d.lsd())&&(ve._portalOutlet=H.first),d.mGM(H=d.lsd())&&(ve._label=H.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(F,ve){1&F&&d.bIt("animationend",function($){return ve.onAnimationEnd($.animationName)})("animationcancel",function($){return ve.onAnimationEnd($.animationName)}),2&F&&d.AVh("mat-snack-bar-container-enter","visible"===ve._animationState)("mat-snack-bar-container-exit","hidden"===ve._animationState)("mat-snack-bar-container-animations-enabled",!ve._animationsDisabled)},features:[d.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(F,ve){1&F&&(d.j41(0,"div",1)(1,"div",2,0)(3,"div",3),d.DNE(4,W,0,0,"ng-template",4),d.k0s(),d.nrm(5,"div"),d.k0s()()),2&F&&(d.R7$(5),d.BMQ("aria-live",ve._live)("role",ve._role)("id",ve._liveElementId))},dependencies:[L.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return te})();const _e=new i.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Xe(){return new Ee}});let he=(()=>{class te{_live=(0,i.WQX)(O.Ai);_injector=(0,i.WQX)(i.zZn);_breakpointObserver=(0,i.WQX)(A.Q);_parentSnackBar=(0,i.WQX)(te,{optional:!0,skipSelf:!0});_defaultConfig=(0,i.WQX)(_e);_animationsDisabled=(0,C.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=ne;snackBarContainerComponent=Re;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const P=this._parentSnackBar;return P?P._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(P){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=P:this._snackBarRefAtThisLevel=P}constructor(){}openFromComponent(P,F){return this._attach(P,F)}openFromTemplate(P,F){return this._attach(P,F)}open(P,F="",ve){const H={...this._defaultConfig,...ve};return H.data={message:P,action:F},H.announcementMessage===P&&(H.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,H)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(P,F){const H=i.zZn.create({parent:F&&F.viewContainerRef&&F.viewContainerRef.injector||this._injector,providers:[{provide:Ee,useValue:F}]}),$=new L.A8(this.snackBarContainerComponent,F.viewContainerRef,H),Ke=P.attach($);return Ke.instance.snackBarConfig=F,Ke.instance}_attach(P,F){const ve={...new Ee,...this._defaultConfig,...F},H=this._createOverlay(ve),$=this._attachSnackBarContainer(H,ve),Ke=new re($,H);if(P instanceof d.C4Q){const Vt=new L.VA(P,null,{$implicit:ve.data,snackBarRef:Ke});Ke.instance=$.attachTemplatePortal(Vt)}else{const Vt=this._createInjector(ve,Ke),St=new L.A8(P,void 0,Vt),ot=$.attachComponentPortal(St);Ke.instance=ot.instance}return this._breakpointObserver.observe(B.Rp.HandsetPortrait).pipe((0,le.Q)(H.detachments())).subscribe(Vt=>{H.overlayElement.classList.toggle(this.handsetCssClass,Vt.matches)}),ve.announcementMessage&&$._onAnnounce.subscribe(()=>{this._live.announce(ve.announcementMessage,ve.politeness)}),this._animateSnackBar(Ke,ve),this._openedSnackBarRef=Ke,this._openedSnackBarRef}_animateSnackBar(P,F){P.afterDismissed().subscribe(()=>{this._openedSnackBarRef==P&&(this._openedSnackBarRef=null),F.announcementMessage&&this._live.clear()}),F.duration&&F.duration>0&&P.afterOpened().subscribe(()=>P._dismissAfter(F.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{P.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):P.containerInstance.enter()}_createOverlay(P){const F=new Pe.rR;F.direction=P.direction;const ve=(0,Pe.uA)(this._injector),H="rtl"===P.direction,$="left"===P.horizontalPosition||"start"===P.horizontalPosition&&!H||"end"===P.horizontalPosition&&H,Ke=!$&&"center"!==P.horizontalPosition;return $?ve.left("0"):Ke?ve.right("0"):ve.centerHorizontally(),"top"===P.verticalPosition?ve.top("0"):ve.bottom("0"),F.positionStrategy=ve,F.disableAnimations=this._animationsDisabled,(0,Pe.Y$)(this._injector,F)}_createInjector(P,F){return i.zZn.create({parent:P&&P.viewContainerRef&&P.viewContainerRef.injector||this._injector,providers:[{provide:re,useValue:F},{provide:xe,useValue:P.data}]})}static \u0275fac=function(F){return new(F||te)};static \u0275prov=i.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),lt=(()=>{class te{static \u0275fac=function(F){return new(F||te)};static \u0275mod=d.$C({type:te});static \u0275inj=i.G2t({providers:[he],imports:[Pe.z_,L.jc,e.Hl,Ce.y,ne,Ce.y]})}return te})()},2042(Zt,pe,l){"use strict";l.d(pe,{B4:()=>xe,NQ:()=>J,aE:()=>ne});var i=l(2615),d=l(3664),v=l(7705),T=l(8617),w=l(6838),e=l(438),O=l(1413),f=l(2771),u=l(7786),L=l(8968),C=l(1804),B=l(2046),A=l(2466);const Pe=["mat-sort-header",""],le=["*"];function Ce(Re,Xe){1&Re&&(d.rj2(0,"div",2),i.qSk(),d.rj2(1,"svg",3),d.Hgh(2,"path",4),d.eux()())}const re=new i.nKC("MAT_SORT_DEFAULT_OPTIONS");let xe=(()=>{class Re{_defaultOptions;_initializedStream=new f.m(1);sortables=new Map;_stateChanges=new O.B;active;start="asc";get direction(){return this._direction}set direction(_e){this._direction=_e}_direction="";disableClear;disabled=!1;sortChange=new d.bkB;initialized=this._initializedStream;constructor(_e){this._defaultOptions=_e}register(_e){this.sortables.set(_e.id,_e)}deregister(_e){this.sortables.delete(_e.id)}sort(_e){this.active!=_e.id?(this.active=_e.id,this.direction=_e.start?_e.start:this.start):this.direction=this.getNextSortDirection(_e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(_e){if(!_e)return"";let Dt=function Ee(Re,Xe){let _e=["asc","desc"];return"desc"==Re&&_e.reverse(),Xe||_e.push(""),_e}(_e.start||this.start,_e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),lt=Dt.indexOf(this.direction)+1;return lt>=Dt.length&&(lt=0),Dt[lt]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(he){return new(he||Re)(d.rXU(re,8))};static \u0275dir=d.FsC({type:Re,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",v.L39],disabled:[2,"matSortDisabled","disabled",v.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[d.OA$]})}return Re})(),V=(()=>{class Re{changes=new O.B;static \u0275fac=function(he){return new(he||Re)};static \u0275prov=i.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();const be={provide:V,deps:[[new d.Xx1,new d.kdw,V]],useFactory:function ce(Re){return Re||new V}};let ne=(()=>{class Re{_intl=(0,i.WQX)(V);_sort=(0,i.WQX)(xe,{optional:!0});_columnDef=(0,i.WQX)("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=(0,i.WQX)(v.gRc);_focusMonitor=(0,i.WQX)(w.FN);_elementRef=(0,i.WQX)(d.aKT);_ariaDescriber=(0,i.WQX)(T.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,C.Rc)();_recentlyCleared=(0,i.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(_e){this._updateSortActionDescription(_e)}_sortActionDescription="Sort";disableClear;constructor(){(0,i.WQX)(L.l).load(B.A);const _e=(0,i.WQX)(re,{optional:!0});_e?.arrowPosition&&(this.arrowPosition=_e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,u.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const _e=this._isSorted(),he=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(_e&&!this._isSorted()?he:null)}}_handleKeydown(_e){(_e.keyCode===e.t6||_e.keyCode===e.Fm)&&(_e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(_e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,_e)),this._sortActionDescription=_e}static \u0275fac=function(he){return new(he||Re)};static \u0275cmp=d.VBU({type:Re,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(he,Dt){1&he&&d.bIt("click",function(){return Dt._toggleOnInteraction()})("keydown",function(Le){return Dt._handleKeydown(Le)})("mouseleave",function(){return Dt._recentlyCleared.set(null)}),2&he&&(d.BMQ("aria-sort",Dt._getAriaSortAttribute()),d.AVh("mat-sort-header-disabled",Dt._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",v.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",v.L39]},exportAs:["matSortHeader"],attrs:Pe,ngContentSelectors:le,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(he,Dt){1&he&&(d.NAR(),d.rj2(0,"div",0)(1,"div",1),d.SdG(2),d.eux(),d.nVh(3,Ce,3,0,"div",2),d.eux()),2&he&&(d.AVh("mat-sort-header-sorted",Dt._isSorted())("mat-sort-header-position-before","before"===Dt.arrowPosition)("mat-sort-header-descending","desc"===Dt._sort.direction)("mat-sort-header-ascending","asc"===Dt._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===Dt._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===Dt._recentlyCleared())("mat-sort-header-animations-disabled",Dt._animationsDisabled),d.BMQ("tabindex",Dt._isDisabled()?null:0)("role",Dt._isDisabled()?null:"button"),d.R7$(3),d.vxM(Dt._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"],encapsulation:2,changeDetection:0})}return Re})(),J=(()=>{class Re{static \u0275fac=function(he){return new(he||Re)};static \u0275mod=d.$C({type:Re});static \u0275inj=i.G2t({providers:[be],imports:[A.y]})}return Re})()},6013(Zt,pe,l){"use strict";l.d(pe,{F7:()=>cn,FR:()=>Ft,M6:()=>rt,Ti:()=>nt,V5:()=>Gt,aP:()=>Sn,xJ:()=>Qe});var i=l(6939),d=l(7768),v=l(2615),T=l(3664),w=l(7705),e=l(6838),O=l(1413),f=l(8359),u=l(2200),L=l(9046),C=l(8968),B=l(2629),A=l(2046),Pe=l(2496),le=l(9842),Ce=l(6354),Ae=l(9172),j=l(5558),W=l(6977),G=l(2709),re=l(1804),xe=l(2466),Ee=l(6881);const V=(h,jt,Ue)=>({index:h,active:jt,optional:Ue});function ce(h,jt){if(1&h&&T.eu8(0,2),2&h){const Ue=T.XpG();T.Y8G("ngTemplateOutlet",Ue.iconOverrides[Ue.state])("ngTemplateOutletContext",T.sMw(2,V,Ue.index,Ue.active,Ue.optional))}}function be(h,jt){if(1&h&&(T.j41(0,"span",7),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(2);T.R7$(),T.JRh(Ue._getDefaultTextForState(Ue.state))}}function ne(h,jt){if(1&h&&(T.j41(0,"span",8),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(3);T.R7$(),T.JRh(Ue._intl.completedLabel)}}function J(h,jt){if(1&h&&(T.j41(0,"span",8),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG(3);T.R7$(),T.JRh(Ue._intl.editableLabel)}}function De(h,jt){if(1&h&&(T.nVh(0,ne,2,1,"span",8)(1,J,2,1,"span",8),T.j41(2,"mat-icon",7),T.EFF(3),T.k0s()),2&h){const Ue=T.XpG(2);T.vxM("done"===Ue.state?0:"edit"===Ue.state?1:-1),T.R7$(3),T.JRh(Ue._getDefaultTextForState(Ue.state))}}function Re(h,jt){if(1&h&&T.nVh(0,be,2,1,"span",7)(1,De,4,2),2&h){let Ue;const wt=T.XpG();T.vxM("number"===(Ue=wt.state)?0:1)}}function Xe(h,jt){1&h&&(T.j41(0,"div",4),T.eu8(1,9),T.k0s()),2&h&&(T.R7$(),T.Y8G("ngTemplateOutlet",jt.template))}function _e(h,jt){if(1&h&&(T.j41(0,"div",4),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue.label)}}function he(h,jt){if(1&h&&(T.j41(0,"div",5),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue._intl.optionalLabel)}}function Dt(h,jt){if(1&h&&(T.j41(0,"div",6),T.EFF(1),T.k0s()),2&h){const Ue=T.XpG();T.R7$(),T.JRh(Ue.errorMessage)}}const lt=["*"];function Le(h,jt){}function te(h,jt){if(1&h&&(T.SdG(0),T.DNE(1,Le,0,0,"ng-template",0)),2&h){const Ue=T.XpG();T.R7$(),T.Y8G("cdkPortalOutlet",Ue._portal)}}const ie=["animatedContainer"],P=h=>({step:h});function F(h,jt){1&h&&T.SdG(0)}function ve(h,jt){1&h&&T.nrm(0,"div",7)}function H(h,jt){if(1&h&&(T.eu8(0,6),T.nVh(1,ve,1,0,"div",7)),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=jt.$count;T.XpG(2);const Pt=T.sdS(4);T.Y8G("ngTemplateOutlet",Pt)("ngTemplateOutletContext",T.eq3(3,P,Ue)),T.R7$(),T.vxM(wt!==pt-1?1:-1)}}function $(h,jt){if(1&h&&(T.j41(0,"div",8,1),T.eu8(2,9),T.k0s()),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=T.XpG(2);T.HbH("mat-horizontal-stepper-content-"+pt._getAnimationDirection(wt)),T.Y8G("id",pt._getStepContentId(wt)),T.BMQ("aria-labelledby",pt._getStepLabelId(wt))("inert",pt.selectedIndex===wt?null:""),T.R7$(2),T.Y8G("ngTemplateOutlet",Ue.content)}}function Ke(h,jt){if(1&h&&(T.j41(0,"div",2)(1,"div",3),T.Z7z(2,H,2,5,null,null,T.fX1),T.k0s(),T.j41(4,"div",4),T.Z7z(5,$,3,6,"div",5,T.fX1),T.k0s()()),2&h){const Ue=T.XpG();T.R7$(2),T.Dyx(Ue.steps),T.R7$(3),T.Dyx(Ue.steps)}}function Vt(h,jt){if(1&h&&(T.j41(0,"div",10),T.eu8(1,6),T.j41(2,"div",11,1)(4,"div",12)(5,"div",13),T.eu8(6,9),T.k0s()()()()),2&h){const Ue=jt.$implicit,wt=jt.$index,pt=jt.$index,Pt=jt.$count,gn=T.XpG(2),ei=T.sdS(4);T.R7$(),T.Y8G("ngTemplateOutlet",ei)("ngTemplateOutletContext",T.eq3(10,P,Ue)),T.R7$(),T.AVh("mat-stepper-vertical-line",pt!==Pt-1)("mat-vertical-content-container-active",gn.selectedIndex===wt),T.BMQ("inert",gn.selectedIndex===wt?null:""),T.R7$(2),T.Y8G("id",gn._getStepContentId(wt)),T.BMQ("aria-labelledby",gn._getStepLabelId(wt)),T.R7$(2),T.Y8G("ngTemplateOutlet",Ue.content)}}function St(h,jt){if(1&h&&T.Z7z(0,Vt,7,12,"div",10,T.fX1),2&h){const Ue=T.XpG();T.Dyx(Ue.steps)}}function ot(h,jt){if(1&h){const Ue=T.RV6();T.j41(0,"mat-step-header",14),T.bIt("click",function(){const pt=v.eBV(Ue).step;return v.Njj(pt.select())})("keydown",function(pt){v.eBV(Ue);const Pt=T.XpG();return v.Njj(Pt._onKeydown(pt))}),T.k0s()}if(2&h){const Ue=jt.step,wt=T.XpG();T.AVh("mat-horizontal-stepper-header","horizontal"===wt.orientation)("mat-vertical-stepper-header","vertical"===wt.orientation),T.Y8G("tabIndex",wt._getFocusIndex()===Ue.index()?0:-1)("id",wt._getStepLabelId(Ue.index()))("index",Ue.index())("state",Ue.indicatorType())("label",Ue.stepLabel||Ue.label)("selected",Ue.isSelected())("active",Ue.isNavigable())("optional",Ue.optional)("errorMessage",Ue.errorMessage)("iconOverrides",wt._iconOverrides)("disableRipple",wt.disableRipple||!Ue.isNavigable())("color",Ue.color||wt.color),T.BMQ("aria-posinset",Ue.index()+1)("aria-setsize",wt.steps.length)("aria-controls",wt._getStepContentId(Ue.index()))("aria-selected",Ue.isSelected())("aria-label",Ue.ariaLabel||null)("aria-labelledby",!Ue.ariaLabel&&Ue.ariaLabelledby?Ue.ariaLabelledby:null)("aria-disabled",!Ue.isNavigable()||null)}}let nt=(()=>{class h extends d.nb{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["","matStepLabel",""]],features:[T.Vt3]})}return h})(),ht=(()=>{class h{changes=new O.B;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(wt){return new(wt||h)};static \u0275prov=v.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Ye={provide:ht,deps:[[new T.Xx1,new T.kdw,ht]],useFactory:function oe(h){return h||new ht}};let fe=(()=>{class h extends d.oX{_intl=(0,v.WQX)(ht);_focusMonitor=(0,v.WQX)(e.FN);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();const Ue=(0,v.WQX)(C.l);Ue.load(A.A),Ue.load(L.Y);const wt=(0,v.WQX)(w.gRc);this._intlSubscription=this._intl.changes.subscribe(()=>wt.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ue,wt){Ue?this._focusMonitor.focusVia(this._elementRef,Ue,wt):this._elementRef.nativeElement.focus(wt)}_stringLabel(){return this.label instanceof nt?null:this.label}_templateLabel(){return this.label instanceof nt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(Ue){return"number"==Ue?`${this.index+1}`:"edit"==Ue?"create":"error"==Ue?"warning":Ue}_hasEmptyLabel(){return!(this._stringLabel()||this._templateLabel()||this._hasOptionalLabel()||this._hasErrorLabel())}_hasOptionalLabel(){return this.optional&&"error"!==this.state}_hasErrorLabel(){return"error"===this.state}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=T.VBU({type:h,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:4,hostBindings:function(wt,pt){2&wt&&(T.HbH("mat-"+(pt.color||"primary")),T.AVh("mat-step-header-empty-label",pt._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[T.Vt3],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(wt,pt){if(1&wt&&(T.nrm(0,"div",0),T.j41(1,"div")(2,"div",1),T.nVh(3,ce,1,6,"ng-container",2)(4,Re,2,1),T.k0s()(),T.j41(5,"div",3),T.nVh(6,Xe,2,1,"div",4)(7,_e,2,1,"div",4),T.nVh(8,he,2,1,"div",5),T.nVh(9,Dt,2,1,"div",6),T.k0s()),2&wt){let Pt;T.Y8G("matRippleTrigger",pt._getHostElement())("matRippleDisabled",pt.disableRipple),T.R7$(),T.HbH(T.VkB("mat-step-icon-state-",pt.state," mat-step-icon")),T.AVh("mat-step-icon-selected",pt.selected),T.R7$(2),T.vxM(pt.iconOverrides&&pt.iconOverrides[pt.state]?3:4),T.R7$(2),T.AVh("mat-step-label-active",pt.active)("mat-step-label-selected",pt.selected)("mat-step-label-error","error"==pt.state),T.R7$(),T.vxM((Pt=pt._templateLabel())?6:pt._stringLabel()?7:-1,Pt),T.R7$(2),T.vxM(pt._hasOptionalLabel()?8:-1),T.R7$(),T.vxM(pt._hasErrorLabel()?9:-1)}},dependencies:[Pe.r6,u.T3,B.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],encapsulation:2,changeDetection:0})}return h})(),Qe=(()=>{class h{templateRef=(0,v.WQX)(T.C4Q);name;constructor(){}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=T.FsC({type:h,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return h})(),gt=(()=>{class h{_template=(0,v.WQX)(T.C4Q);constructor(){}static \u0275fac=function(wt){return new(wt||h)};static \u0275dir=T.FsC({type:h,selectors:[["ng-template","matStepContent",""]]})}return h})(),Gt=(()=>{class h extends d.VI{_errorStateMatcher=(0,v.WQX)(G.e,{skipSelf:!0});_viewContainerRef=(0,v.WQX)(T.c1b);_isSelected=f.yU.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,j.n)(()=>this._stepper.selectionChange.pipe((0,Ce.T)(Ue=>Ue.selectedStep===this),(0,Ae.Z)(this._stepper.selected===this)))).subscribe(Ue=>{Ue&&this._lazyContent&&!this._portal&&(this._portal=new i.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Ue,wt){return this._errorStateMatcher.isErrorState(Ue,wt)||!!(Ue&&Ue.invalid&&this.interacted)}static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275cmp=T.VBU({type:h,selectors:[["mat-step"]],contentQueries:function(wt,pt,Pt){if(1&wt&&(T.wni(Pt,nt,5),T.wni(Pt,gt,5)),2&wt){let gn;T.mGM(gn=T.lsd())&&(pt.stepLabel=gn.first),T.mGM(gn=T.lsd())&&(pt._lazyContent=gn.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[T.Jv_([{provide:G.e,useExisting:h},{provide:d.VI,useExisting:h}]),T.Vt3],ngContentSelectors:lt,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(wt,pt){1&wt&&(T.NAR(),T.DNE(0,te,2,1,"ng-template"))},dependencies:[i.I3],encapsulation:2,changeDetection:0})}return h})(),rt=(()=>{class h extends d.Up{_ngZone=(0,v.WQX)(T.SKi);_renderer=(0,v.WQX)(T.sFG);_animationsDisabled=(0,re.Rc)();_cleanupTransition;_isAnimating=(0,v.vPA)(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new T.rOR;_icons;animationDone=new T.bkB;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(Ue){this._animationDuration=/^\d+$/.test(Ue)?Ue+"ms":Ue}_animationDuration="";_isServer=!(0,v.WQX)(le.O).isBrowser;constructor(){super();const wt=(0,v.WQX)(T.aKT).nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===wt?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Ue,templateRef:wt})=>this._iconOverrides[Ue]=wt),this.steps.changes.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe((0,W.Q)(this._destroyed)).subscribe(()=>{const Ue=this._getAnimationDuration();"0ms"===Ue||"0s"===Ue?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),"function"==typeof queueMicrotask){let Ue=!1;this._animatedContainers.changes.pipe((0,Ae.Z)(null),(0,W.Q)(this._destroyed)).subscribe(()=>queueMicrotask(()=>{Ue||(Ue=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}_handleTransitionend=Ue=>{const wt=Ue.target;if(!wt)return;const pt="horizontal"===this.orientation&&"transform"===Ue.propertyName&&wt.classList.contains("mat-horizontal-stepper-content-current"),Pt="vertical"===this.orientation&&"grid-template-rows"===Ue.propertyName&&wt.classList.contains("mat-vertical-content-container-active");(pt||Pt)&&this._animatedContainers.find(ei=>ei.nativeElement===wt)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(wt){return new(wt||h)};static \u0275cmp=T.VBU({type:h,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(wt,pt,Pt){if(1&wt&&(T.wni(Pt,Gt,5),T.wni(Pt,Qe,5)),2&wt){let gn;T.mGM(gn=T.lsd())&&(pt._steps=gn),T.mGM(gn=T.lsd())&&(pt._icons=gn)}},viewQuery:function(wt,pt){if(1&wt&&(T.GBs(fe,5),T.GBs(ie,5)),2&wt){let Pt;T.mGM(Pt=T.lsd())&&(pt._stepHeader=Pt),T.mGM(Pt=T.lsd())&&(pt._animatedContainers=Pt)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(wt,pt){2&wt&&(T.BMQ("aria-orientation",pt.orientation),T.xc7("--mat-stepper-animation-duration",pt._getAnimationDuration()),T.AVh("mat-stepper-horizontal","horizontal"===pt.orientation)("mat-stepper-vertical","vertical"===pt.orientation)("mat-stepper-label-position-end","horizontal"===pt.orientation&&"end"==pt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===pt.orientation&&"bottom"==pt.labelPosition)("mat-stepper-header-position-bottom","bottom"===pt.headerPosition)("mat-stepper-animating",pt._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[T.Jv_([{provide:d.Up,useExisting:h}]),T.Vt3],ngContentSelectors:lt,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(wt,pt){if(1&wt&&(T.NAR(),T.nVh(0,F,1,0),T.nVh(1,Ke,7,0,"div",2)(2,St,2,0),T.DNE(3,ot,1,23,"ng-template",null,0,T.C5r)),2&wt){let Pt;T.vxM(pt._isServer?0:-1),T.R7$(),T.vxM("horizontal"===(Pt=pt.orientation)?1:"vertical"===Pt?2:-1)}},dependencies:[u.T3,fe],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],encapsulation:2,changeDetection:0})}return h})(),cn=(()=>{class h extends d.v5{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(wt,pt){2&wt&&T.Avn("type",pt.type)},features:[T.Vt3]})}return h})(),Ft=(()=>{class h extends d.FK{static \u0275fac=(()=>{let Ue;return function(pt){return(Ue||(Ue=T.xGo(h)))(pt||h)}})();static \u0275dir=T.FsC({type:h,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(wt,pt){2&wt&&T.Avn("type",pt.type)},features:[T.Vt3]})}return h})(),Sn=(()=>{class h{static \u0275fac=function(wt){return new(wt||h)};static \u0275mod=T.$C({type:h});static \u0275inj=v.G2t({providers:[Ye,G.e],imports:[xe.y,i.jc,d.uY,B.m_,Ee.p,rt,fe,xe.y]})}return h})()},2046(Zt,pe,l){"use strict";l.d(pe,{A:()=>d});var i=l(3664);let d=(()=>{class v{static \u0275fac=function(e){return new(e||v)};static \u0275cmp=i.VBU({type:v,selectors:[["structural-styles"]],decls:0,vars:0,template:function(e,O){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return v})()},1676(Zt,pe,l){"use strict";l.d(pe,{$R:()=>Ge,YV:()=>at,cC:()=>Je,Qo:()=>ut,Zq:()=>pn,iF:()=>on,xW:()=>We,KS:()=>Be,tL:()=>qe,YZ:()=>tn,ji:()=>se,NB:()=>un,iL:()=>bt,Zl:()=>Me,I6:()=>Yi,tP:()=>Jn});var i=l(3664),d=l(2615),v=l(7705),T=l(4117),w=l(1413),e=l(4412),O=l(4402),f=l(7673),u=l(6977),C=function(Tt){return Tt[Tt.REPLACED=0]="REPLACED",Tt[Tt.INSERTED=1]="INSERTED",Tt[Tt.MOVED=2]="MOVED",Tt[Tt.REMOVED=3]="REMOVED",Tt}(C||{});const B=new d.nKC("_ViewRepeater");class Pe{applyChanges(At,we,ae,Lt,Ht){At.forEachOperation((_n,fi,bi)=>{let Qi,zi;if(null==_n.previousIndex){const It=ae(_n,fi,bi);Qi=we.createEmbeddedView(It.templateRef,It.context,It.index),zi=C.INSERTED}else null==bi?(we.remove(fi),zi=C.REMOVED):(Qi=we.get(fi),we.move(Qi,bi),zi=C.MOVED);Ht&&Ht({context:Qi?.context,operation:zi,record:_n})})}detach(){}}var le=l(1577),Ce=l(9842),Ae=l(5718);const j=[[["caption"]],[["colgroup"],["col"]],"*"],W=["caption","colgroup, col","*"];function G(Tt,At){1&Tt&&i.SdG(0,2)}function re(Tt,At){1&Tt&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",0),i.eu8(3,2)(4,3),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,4),i.k0s())}function xe(Tt,At){1&Tt&&i.eu8(0,1)(1,2)(2,3)(3,4)}const ce=new d.nKC("CDK_TABLE");let ne=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkCellDef",""]]})}return Tt})(),J=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkHeaderCellDef",""]]})}return Tt})(),De=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkFooterCellDef",""]]})}return Tt})(),Re=(()=>{class Tt{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(we){this._setNameInput(we)}_name;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(we){we!==this._stickyEnd&&(this._stickyEnd=we,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(we){we&&(this._name=we,this.cssClassFriendlyName=we.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkColumnDef",""]],contentQueries:function(ae,Lt,Ht){if(1&ae&&(i.wni(Ht,ne,5),i.wni(Ht,J,5),i.wni(Ht,De,5)),2&ae){let _n;i.mGM(_n=i.lsd())&&(Lt.cell=_n.first),i.mGM(_n=i.lsd())&&(Lt.headerCell=_n.first),i.mGM(_n=i.lsd())&&(Lt.footerCell=_n.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",v.L39],stickyEnd:[2,"stickyEnd","stickyEnd",v.L39]},features:[i.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Tt}])]})}return Tt})();class Xe{constructor(At,we){we.nativeElement.classList.add(...At._columnCssClassName)}}let _e=(()=>{class Tt extends Xe{constructor(){super((0,d.WQX)(Re),(0,d.WQX)(i.aKT))}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.Vt3]})}return Tt})(),he=(()=>{class Tt extends Xe{constructor(){const we=(0,d.WQX)(Re),ae=(0,d.WQX)(i.aKT);super(we,ae);const Lt=we._table?._getCellRole();Lt&&ae.nativeElement.setAttribute("role",Lt)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.Vt3]})}return Tt})(),Dt=(()=>{class Tt extends Xe{constructor(){const we=(0,d.WQX)(Re),ae=(0,d.WQX)(i.aKT);super(we,ae);const Lt=we._table?._getCellRole();Lt&&ae.nativeElement.setAttribute("role",Lt)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.Vt3]})}return Tt})(),Le=(()=>{class Tt{template=(0,d.WQX)(i.C4Q);_differs=(0,d.WQX)(v._q3);columns;_columnsDiffer;constructor(){}ngOnChanges(we){if(!this._columnsDiffer){const ae=we.columns&&we.columns.currentValue||[];this._columnsDiffer=this._differs.find(ae).create(),this._columnsDiffer.diff(ae)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(we){return this instanceof te?we.headerCell.template:this instanceof ie?we.footerCell.template:we.cell.template}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,features:[i.OA$]})}return Tt})(),te=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}ngOnChanges(we){super.ngOnChanges(we)}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",v.L39]},features:[i.Vt3,i.OA$]})}return Tt})(),ie=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(we){we!==this._sticky&&(this._sticky=we,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}ngOnChanges(we){super.ngOnChanges(we)}hasStickyChanged(){const we=this._hasStickyChanged;return this.resetStickyChanged(),we}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",v.L39]},features:[i.Vt3,i.OA$]})}return Tt})(),P=(()=>{class Tt extends Le{_table=(0,d.WQX)(ce,{optional:!0});when;constructor(){super((0,d.WQX)(i.C4Q),(0,d.WQX)(v._q3))}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[i.Vt3]})}return Tt})(),F=(()=>{class Tt{_viewContainer=(0,d.WQX)(i.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){Tt.mostRecentCellOutlet=this}ngOnDestroy(){Tt.mostRecentCellOutlet===this&&(Tt.mostRecentCellOutlet=null)}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","cdkCellOutlet",""]]})}return Tt})(),ve=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),H=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),$=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275cmp=i.VBU({type:Tt,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),Ke=(()=>{class Tt{templateRef=(0,d.WQX)(i.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["ng-template","cdkNoDataRow",""]]})}return Tt})();const Vt=["top","bottom","left","right"];class St{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(At=>this._updateCachedSizes(At)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(At,we,ae=!0,Lt=!0,Ht,_n,fi){this._isNativeHtmlTable=At,this._stickCellCss=we,this._isBrowser=ae,this._needsPositionStickyOnElement=Lt,this.direction=Ht,this._positionListener=_n,this._tableInjector=fi,this._borderCellCss={top:`${we}-border-elem-top`,bottom:`${we}-border-elem-bottom`,left:`${we}-border-elem-left`,right:`${we}-border-elem-right`}}clearStickyPositioning(At,we){(we.includes("left")||we.includes("right"))&&this._removeFromStickyColumnReplayQueue(At);const ae=[];for(const Lt of At)Lt.nodeType===Lt.ELEMENT_NODE&&ae.push(Lt,...Array.from(Lt.children));(0,i.mal)({write:()=>{for(const Lt of ae)this._removeStickyStyle(Lt,we)}},{injector:this._tableInjector})}updateStickyColumns(At,we,ae,Lt=!0,Ht=!0){if(!At.length||!this._isBrowser||!we.some(Fn=>Fn)&&!ae.some(Fn=>Fn))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const _n=At[0],fi=_n.children.length,bi="rtl"===this.direction,Qi=bi?"right":"left",zi=bi?"left":"right",It=we.lastIndexOf(!0),an=ae.indexOf(!0);let Yt,Un,zn;Ht&&this._updateStickyColumnReplayQueue({rows:[...At],stickyStartStates:[...we],stickyEndStates:[...ae]}),(0,i.mal)({earlyRead:()=>{Yt=this._getCellWidths(_n,Lt),Un=this._getStickyStartColumnPositions(Yt,we),zn=this._getStickyEndColumnPositions(Yt,ae)},write:()=>{for(const Fn of At)for(let ci=0;ci!!Fn)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===It?[]:Yt.slice(0,It+1).map((Fn,ci)=>we[ci]?Fn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===an?[]:Yt.slice(an).map((Fn,ci)=>ae[ci+an]?Fn:null).reverse()}))}},{injector:this._tableInjector})}stickRows(At,we,ae){if(!this._isBrowser)return;const Lt="bottom"===ae?At.slice().reverse():At,Ht="bottom"===ae?we.slice().reverse():we,_n=[],fi=[],bi=[];(0,i.mal)({earlyRead:()=>{for(let Qi=0,zi=0;Qi{const Qi=Ht.lastIndexOf(!0);for(let zi=0;zi{const ae=At.querySelector("tfoot");ae&&(we.some(Lt=>!Lt)?this._removeStickyStyle(ae,["bottom"]):this._addStickyStyle(ae,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(At,we){if(At.classList.contains(this._stickCellCss)){for(const Lt of we)At.style[Lt]="",At.classList.remove(this._borderCellCss[Lt]);Vt.some(Lt=>-1===we.indexOf(Lt)&&At.style[Lt])?At.style.zIndex=this._getCalculatedZIndex(At):(At.style.zIndex="",this._needsPositionStickyOnElement&&(At.style.position=""),At.classList.remove(this._stickCellCss))}}_addStickyStyle(At,we,ae,Lt){At.classList.add(this._stickCellCss),Lt&&At.classList.add(this._borderCellCss[we]),At.style[we]=`${ae}px`,At.style.zIndex=this._getCalculatedZIndex(At),this._needsPositionStickyOnElement&&(At.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(At){const we={top:100,bottom:10,left:1,right:1};let ae=0;for(const Lt of Vt)At.style[Lt]&&(ae+=we[Lt]);return ae?`${ae}`:""}_getCellWidths(At,we=!0){if(!we&&this._cachedCellWidths.length)return this._cachedCellWidths;const ae=[],Lt=At.children;for(let Ht=0;Ht0;Ht--)we[Ht]&&(ae[Ht]=Lt,Lt+=At[Ht]);return ae}_retrieveElementSize(At){const we=this._elemSizeCache.get(At);if(we)return we;const ae=At.getBoundingClientRect(),Lt={width:ae.width,height:ae.height};return this._resizeObserver&&(this._elemSizeCache.set(At,Lt),this._resizeObserver.observe(At,{box:"border-box"})),Lt}_updateStickyColumnReplayQueue(At){this._removeFromStickyColumnReplayQueue(At.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(At)}_removeFromStickyColumnReplayQueue(At){const we=new Set(At);for(const ae of this._updatedStickyColumnsParamsToReplay)ae.rows=ae.rows.filter(Lt=>!we.has(Lt));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(ae=>!!ae.rows.length)}_updateCachedSizes(At){let we=!1;for(const ae of At){const Lt=ae.borderBoxSize?.length?{width:ae.borderBoxSize[0].inlineSize,height:ae.borderBoxSize[0].blockSize}:{width:ae.contentRect.width,height:ae.contentRect.height};Lt.width!==this._elemSizeCache.get(ae.target)?.width&&ot(ae.target)&&(we=!0),this._elemSizeCache.set(ae.target,Lt)}we&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const ae of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(ae.rows,ae.stickyStartStates,ae.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function ot(Tt){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(At=>Tt.classList.contains(At))}const rt=new d.nKC("CDK_SPL");let Ft=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._rowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","rowOutlet",""]]})}return Tt})(),Sn=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._headerRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","headerRowOutlet",""]]})}return Tt})(),Qn=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._footerRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","footerRowOutlet",""]]})}return Tt})(),h=(()=>{class Tt{viewContainer=(0,d.WQX)(i.c1b);elementRef=(0,d.WQX)(i.aKT);constructor(){const we=(0,d.WQX)(ce);we._noDataRowOutlet=this,we._outletAssigned()}static \u0275fac=function(ae){return new(ae||Tt)};static \u0275dir=i.FsC({type:Tt,selectors:[["","noDataRowOutlet",""]]})}return Tt})(),jt=(()=>{class Tt{_differs=(0,d.WQX)(v._q3);_changeDetectorRef=(0,d.WQX)(v.gRc);_elementRef=(0,d.WQX)(i.aKT);_dir=(0,d.WQX)(le.dS,{optional:!0});_platform=(0,d.WQX)(Ce.O);_viewRepeater=(0,d.WQX)(B);_viewportRuler=(0,d.WQX)(Ae.Xj);_stickyPositioningListener=(0,d.WQX)(rt,{optional:!0,skipSelf:!0});_document=(0,d.WQX)(d.qQL);_data;_onDestroy=new w.B;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const we=this._elementRef.nativeElement.getAttribute("role");return"grid"===we||"treegrid"===we?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(we){this._trackByFn=we}_trackByFn;get dataSource(){return this._dataSource}set dataSource(we){this._dataSource!==we&&this._switchDataSource(we)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(we){this._multiTemplateDataRows=we,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(we){this._fixedLayout=we,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new i.bkB;viewChange=new e.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=(0,d.WQX)(d.zZn);constructor(){(0,d.WQX)(new v.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((ae,Lt)=>this.trackBy?this.trackBy(Lt.dataIndex,Lt.data):Lt)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,u.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(we=>{we?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,T.y)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const we=this._dataDiffer.diff(this._renderRows);if(!we)return this._updateNoDataRow(),void this.contentChanged.next();const ae=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(we,ae,(Lt,Ht,_n)=>this._getEmbeddedViewArgs(Lt.item,_n),Lt=>Lt.item.data,Lt=>{Lt.operation===C.INSERTED&&Lt.context&&this._renderCellTemplateForItem(Lt.record.item.rowDef,Lt.context)}),this._updateRowIndexContext(),we.forEachIdentityChange(Lt=>{ae.get(Lt.currentIndex).context.$implicit=Lt.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(we){this._customColumnDefs.add(we)}removeColumnDef(we){this._customColumnDefs.delete(we)}addRowDef(we){this._customRowDefs.add(we)}removeRowDef(we){this._customRowDefs.delete(we)}addHeaderRowDef(we){this._customHeaderRowDefs.add(we),this._headerRowDefChanged=!0}removeHeaderRowDef(we){this._customHeaderRowDefs.delete(we),this._headerRowDefChanged=!0}addFooterRowDef(we){this._customFooterRowDefs.add(we),this._footerRowDefChanged=!0}removeFooterRowDef(we){this._customFooterRowDefs.delete(we),this._footerRowDefChanged=!0}setNoDataRow(we){this._customNoDataRow=we}updateStickyHeaderRowStyles(){const we=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Lt=wt(this._headerRowOutlet,"thead");Lt&&(Lt.style.display=we.length?"":"none")}const ae=this._headerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["top"]),this._stickyStyler.stickRows(we,ae,"top"),this._headerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyFooterRowStyles(){const we=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Lt=wt(this._footerRowOutlet,"tfoot");Lt&&(Lt.style.display=we.length?"":"none")}const ae=this._footerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["bottom"]),this._stickyStyler.stickRows(we,ae,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,ae),this._footerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyColumnStyles(){const we=this._getRenderedRows(this._headerRowOutlet),ae=this._getRenderedRows(this._rowOutlet),Lt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...we,...ae,...Lt],["left","right"]),this._stickyColumnStylesNeedReset=!1),we.forEach((Ht,_n)=>{this._addStickyColumnStyles([Ht],this._headerRowDefs[_n])}),this._rowDefs.forEach(Ht=>{const _n=[];for(let fi=0;fi{this._addStickyColumnStyles([Ht],this._footerRowDefs[_n])}),Array.from(this._columnDefsByName.values()).forEach(Ht=>Ht.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const ae=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ae,this._forceRecalculateCellWidths=ae,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const we=[],ae=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return we;for(let Lt=0;Lt{const fi=Lt&&Lt.has(_n)?Lt.get(_n):[];if(fi.length){const bi=fi.shift();return bi.dataIndex=ae,bi}return{data:we,rowDef:_n,dataIndex:ae}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ue(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ae=>{this._columnDefsByName.has(ae.name),this._columnDefsByName.set(ae.name,ae)})}_cacheRowDefs(){this._headerRowDefs=Ue(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ue(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ue(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const we=this._rowDefs.filter(ae=>!ae.when);this._defaultRowDef=we[0]}_renderUpdatedColumns(){const we=(_n,fi)=>{const bi=!!fi.getColumnsDiff();return _n||bi},ae=this._rowDefs.reduce(we,!1);ae&&this._forceRenderDataRows();const Lt=this._headerRowDefs.reduce(we,!1);Lt&&this._forceRenderHeaderRows();const Ht=this._footerRowDefs.reduce(we,!1);return Ht&&this._forceRenderFooterRows(),ae||Lt||Ht}_switchDataSource(we){this._data=[],(0,T.y)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),we||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=we}_observeRenderChanges(){if(!this.dataSource)return;let we;(0,T.y)(this.dataSource)?we=this.dataSource.connect(this):(0,O.A)(this.dataSource)?we=this.dataSource:Array.isArray(this.dataSource)&&(we=(0,f.of)(this.dataSource)),this._renderChangeSubscription=we.pipe((0,u.Q)(this._onDestroy)).subscribe(ae=>{this._data=ae||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((we,ae)=>this._renderRow(this._headerRowOutlet,we,ae)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((we,ae)=>this._renderRow(this._footerRowOutlet,we,ae)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(we,ae){const Lt=Array.from(ae?.columns||[]).map(fi=>this._columnDefsByName.get(fi)),Ht=Lt.map(fi=>fi.sticky),_n=Lt.map(fi=>fi.stickyEnd);this._stickyStyler.updateStickyColumns(we,Ht,_n,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(we){const ae=[];for(let Lt=0;Lt!Ht.when||Ht.when(ae,we));else{let Ht=this._rowDefs.find(_n=>_n.when&&_n.when(ae,we))||this._defaultRowDef;Ht&&Lt.push(Ht)}return Lt}_getEmbeddedViewArgs(we,ae){return{templateRef:we.rowDef.template,context:{$implicit:we.data},index:ae}}_renderRow(we,ae,Lt,Ht={}){const _n=we.viewContainer.createEmbeddedView(ae.template,Ht,Lt);return this._renderCellTemplateForItem(ae,Ht),_n}_renderCellTemplateForItem(we,ae){for(let Lt of this._getCellTemplates(we))F.mostRecentCellOutlet&&F.mostRecentCellOutlet._viewContainer.createEmbeddedView(Lt,ae);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const we=this._rowOutlet.viewContainer;for(let ae=0,Lt=we.length;ae{const Lt=this._columnDefsByName.get(ae);return we.extractCellTemplate(Lt)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const we=(ae,Lt)=>ae||Lt.hasStickyChanged();this._headerRowDefs.reduce(we,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(we,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(we,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new St(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:(0,f.of)()).pipe((0,u.Q)(this._onDestroy)).subscribe(ae=>{this._stickyStyler.direction=ae,this.updateStickyColumnStyles()})}_getOwnDefs(we){return we.filter(ae=>!ae._table||ae._table===this)}_updateNoDataRow(){const we=this._customNoDataRow||this._noDataRow;if(!we)return;const ae=0===this._rowOutlet.viewContainer.length;if(ae===this._isShowingNoDataRow)return;const Lt=this._noDataRowOutlet.viewContainer;if(ae){const Ht=Lt.createEmbeddedView(we.templateRef),_n=Ht.rootNodes[0];if(1===Ht.rootNodes.length&&_n?.nodeType===this._document.ELEMENT_NODE){_n.setAttribute("role","row"),_n.classList.add(...we._contentClassNames);const fi=_n.querySelectorAll(we._cellSelector);for(let bi=0;bi{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275mod=i.$C({type:Tt});static \u0275inj=d.G2t({imports:[Ae.E9]})}return Tt})();var ei=l(2466),vi=l(7786),Ni=l(4572),kn=l(7847),Ri=l(6354);const vt=[[["caption"]],[["colgroup"],["col"]],"*"],ee=["caption","colgroup, col","*"];function ye(Tt,At){1&Tt&&i.SdG(0,2)}function ke(Tt,At){1&Tt&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",2),i.eu8(3,3)(4,4),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,5),i.k0s())}function Se(Tt,At){1&Tt&&i.eu8(0,1)(1,3)(2,4)(3,5)}let Me=(()=>{class Tt extends jt{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ae,Lt){2&ae&&i.AVh("mdc-table-fixed-layout",Lt.fixedLayout)},exportAs:["matTable"],features:[i.Jv_([{provide:jt,useExisting:Tt},{provide:ce,useExisting:Tt},{provide:B,useClass:Pe},{provide:rt,useValue:null}]),i.Vt3],ngContentSelectors:ee,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ae,Lt){1&ae&&(i.NAR(vt),i.SdG(0),i.SdG(1,1),i.nVh(2,ye,1,0),i.nVh(3,ke,7,0)(4,Se,4,0)),2&ae&&(i.R7$(2),i.vxM(Lt._isServer?2:-1),i.R7$(),i.vxM(Lt._isNativeHtmlTable?3:4))},dependencies:[Sn,Ft,h,Qn],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],encapsulation:2})}return Tt})(),at=(()=>{class Tt extends ne{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matCellDef",""]],features:[i.Jv_([{provide:ne,useExisting:Tt}]),i.Vt3]})}return Tt})(),qe=(()=>{class Tt extends J{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matHeaderCellDef",""]],features:[i.Jv_([{provide:J,useExisting:Tt}]),i.Vt3]})}return Tt})(),pn=(()=>{class Tt extends De{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matFooterCellDef",""]],features:[i.Jv_([{provide:De,useExisting:Tt}]),i.Vt3]})}return Tt})(),Je=(()=>{class Tt extends Re{get name(){return this._name}set name(we){this._setNameInput(we)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[i.Jv_([{provide:Re,useExisting:Tt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Tt}]),i.Vt3]})}return Tt})(),Be=(()=>{class Tt extends _e{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[i.Vt3]})}return Tt})(),ut=(()=>{class Tt extends he{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[i.Vt3]})}return Tt})(),Ge=(()=>{class Tt extends Dt{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[i.Vt3]})}return Tt})(),se=(()=>{class Tt extends te{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",v.L39]},features:[i.Jv_([{provide:te,useExisting:Tt}]),i.Vt3]})}return Tt})(),We=(()=>{class Tt extends ie{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",v.L39]},features:[i.Jv_([{provide:ie,useExisting:Tt}]),i.Vt3]})}return Tt})(),bt=(()=>{class Tt extends P{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275dir=i.FsC({type:Tt,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[i.Jv_([{provide:P,useExisting:Tt}]),i.Vt3]})}return Tt})(),tn=(()=>{class Tt extends ve{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[i.Jv_([{provide:ve,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),on=(()=>{class Tt extends H{static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[i.Jv_([{provide:H,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),un=(()=>{class Tt extends ${static \u0275fac=(()=>{let we;return function(Lt){return(we||(we=i.xGo(Tt)))(Lt||Tt)}})();static \u0275cmp=i.VBU({type:Tt,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[i.Jv_([{provide:$,useExisting:Tt}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ae,Lt){1&ae&&i.eu8(0,0)},dependencies:[F],encapsulation:2})}return Tt})(),Jn=(()=>{class Tt{static \u0275fac=function(ae){return new(ae||Tt)};static \u0275mod=i.$C({type:Tt});static \u0275inj=d.G2t({imports:[ei.y,gn,ei.y]})}return Tt})();class Yi extends T.q{_data;_renderData=new e.t([]);_filter=new e.t("");_internalPageChanges=new w.B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(At){At=Array.isArray(At)?At:[],this._data.next(At),this._renderChangesSubscription||this._filterData(At)}get filter(){return this._filter.value}set filter(At){this._filter.next(At),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(At){this._sort=At,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(At){this._paginator=At,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(At,we)=>{const ae=At[we];if((0,kn.o1)(ae)){const Lt=Number(ae);return Lt<9007199254740991?Lt:ae}return ae};sortData=(At,we)=>{const ae=we.active,Lt=we.direction;return ae&&""!=Lt?At.sort((Ht,_n)=>{let fi=this.sortingDataAccessor(Ht,ae),bi=this.sortingDataAccessor(_n,ae);const Qi=typeof fi,zi=typeof bi;Qi!==zi&&("number"===Qi&&(fi+=""),"number"===zi&&(bi+=""));let It=0;return null!=fi&&null!=bi?fi>bi?It=1:fi{const ae=we.trim().toLowerCase();return Object.values(At).some(Lt=>`${Lt}`.toLowerCase().includes(ae))};constructor(At=[]){super(),this._data=new e.t(At),this._updateChangeSubscription()}_updateChangeSubscription(){const At=this._sort?(0,vi.h)(this._sort.sortChange,this._sort.initialized):(0,f.of)(null),we=this._paginator?(0,vi.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,f.of)(null),Lt=(0,Ni.z)([this._data,this._filter]).pipe((0,Ri.T)(([fi])=>this._filterData(fi))),Ht=(0,Ni.z)([Lt,At]).pipe((0,Ri.T)(([fi])=>this._orderData(fi))),_n=(0,Ni.z)([Ht,we]).pipe((0,Ri.T)(([fi])=>this._pageData(fi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=_n.subscribe(fi=>this._renderData.next(fi))}_filterData(At){return this.filteredData=null==this.filter||""===this.filter?At:At.filter(we=>this.filterPredicate(we,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(At){return this.sort?this.sortData(At.slice(),this.sort):At}_pageData(At){if(!this.paginator)return At;const we=this.paginator.pageIndex*this.paginator.pageSize;return At.slice(we,we+this.paginator.pageSize)}_updatePaginator(At){Promise.resolve().then(()=>{const we=this.paginator;if(we&&(we.length=At,we.pageIndex>0)){const ae=Math.ceil(we.length/we.pageSize)-1||0,Lt=Math.min(we.pageIndex,ae);Lt!==we.pageIndex&&(we.pageIndex=Lt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850(Zt,pe,l){"use strict";l.d(pe,{Bu:()=>ge,ES:()=>Ft,Ql:()=>N,RI:()=>Me,T8:()=>ke,hQ:()=>Z,mq:()=>Qn});var i=l(6838),d=l(9726),v=l(4123),T=l(1577),w=l(7336),e=l(438),O=l(3610),f=l(9842),u=l(5718),L=l(2615),C=l(3664),B=l(7705),A=l(9295),Pe=l(1985),le=l(1413),Ce=l(4412),Ae=l(8359),j=l(7786),W=l(7673),G=l(1807),re=l(983),xe=l(152),Ee=l(5964),V=l(5245),ce=l(9172),be=l(5558),ne=l(6977),J=l(1804),De=l(6939),Re=l(8968),Xe=l(2046),_e=l(2318),he=l(2496),Dt=l(2466);const lt=["*"];function Le(qe,pn){1&qe&&C.SdG(0)}const te=["tabListContainer"],ie=["tabList"],P=["tabListInner"],F=["nextPaginator"],ve=["previousPaginator"],H=["content"];function $(qe,pn){}const Ke=["tabBodyWrapper"],Vt=["tabHeader"];function St(qe,pn){}function ot(qe,pn){if(1&qe&&C.DNE(0,St,0,0,"ng-template",12),2&qe){const Je=C.XpG().$implicit;C.Y8G("cdkPortalOutlet",Je.templateLabel)}}function nt(qe,pn){if(1&qe&&C.EFF(0),2&qe){const Je=C.XpG().$implicit;C.JRh(Je.textLabel)}}function ht(qe,pn){if(1&qe){const Je=C.RV6();C.j41(0,"div",7,2),C.bIt("click",function(){const ut=L.eBV(Je),Ge=ut.$implicit,Ot=ut.$index,se=C.XpG(),We=C.sdS(1);return L.Njj(se._handleClick(Ge,We,Ot))})("cdkFocusChange",function(ut){const Ge=L.eBV(Je).$index,Ot=C.XpG();return L.Njj(Ot._tabFocusChanged(ut,Ge))}),C.nrm(2,"span",8)(3,"div",9),C.j41(4,"span",10)(5,"span",11),C.nVh(6,ot,1,1,null,12)(7,nt,1,1),C.k0s()()()}if(2&qe){const Je=pn.$implicit,Be=pn.$index,ut=C.sdS(1),Ge=C.XpG();C.HbH(Je.labelClass),C.AVh("mdc-tab--active",Ge.selectedIndex===Be),C.Y8G("id",Ge._getTabLabelId(Je,Be))("disabled",Je.disabled)("fitInkBarToContent",Ge.fitInkBarToContent),C.BMQ("tabIndex",Ge._getTabIndex(Be))("aria-posinset",Be+1)("aria-setsize",Ge._tabs.length)("aria-controls",Ge._getTabContentId(Be))("aria-selected",Ge.selectedIndex===Be)("aria-label",Je.ariaLabel||null)("aria-labelledby",!Je.ariaLabel&&Je.ariaLabelledby?Je.ariaLabelledby:null),C.R7$(3),C.Y8G("matRippleTrigger",ut)("matRippleDisabled",Je.disabled||Ge.disableRipple),C.R7$(3),C.vxM(Je.templateLabel?6:7)}}function oe(qe,pn){1&qe&&C.SdG(0)}function Ye(qe,pn){if(1&qe){const Je=C.RV6();C.j41(0,"mat-tab-body",13),C.bIt("_onCentered",function(){L.eBV(Je);const ut=C.XpG();return L.Njj(ut._removeTabBodyWrapperHeight())})("_onCentering",function(ut){L.eBV(Je);const Ge=C.XpG();return L.Njj(Ge._setTabBodyWrapperHeight(ut))})("_beforeCentering",function(ut){L.eBV(Je);const Ge=C.XpG();return L.Njj(Ge._bodyCentered(ut))}),C.k0s()}if(2&qe){const Je=pn.$implicit,Be=pn.$index,ut=C.XpG();C.HbH(Je.bodyClass),C.Y8G("id",ut._getTabContentId(Be))("content",Je.content)("position",Je.position)("animationDuration",ut.animationDuration)("preserveContent",ut.preserveContent),C.BMQ("tabindex",null!=ut.contentTabIndex&&ut.selectedIndex===Be?ut.contentTabIndex:null)("aria-labelledby",ut._getTabLabelId(Je,Be))("aria-hidden",ut.selectedIndex!==Be)}}const fe=["mat-tab-nav-bar",""],Qe=["mat-tab-link",""],gt=new L.nKC("MatTabContent");let Gt=(()=>{class qe{template=(0,L.WQX)(C.C4Q);constructor(){}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,selectors:[["","matTabContent",""]],features:[C.Jv_([{provide:gt,useExisting:qe}])]})}return qe})();const rt=new L.nKC("MatTabLabel"),cn=new L.nKC("MAT_TAB");let Ft=(()=>{class qe extends De.bV{_closestTab=(0,L.WQX)(cn,{optional:!0});static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275dir=C.FsC({type:qe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[C.Jv_([{provide:rt,useExisting:qe}]),C.Vt3]})}return qe})();const Sn=new L.nKC("MAT_TAB_GROUP");let Qn=(()=>{class qe{_viewContainerRef=(0,L.WQX)(C.c1b);_closestTabGroup=(0,L.WQX)(Sn,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(Je){this._setTemplateLabelInput(Je)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new le.B;position=null;origin=null;isActive=!1;constructor(){(0,L.WQX)(Re.l).load(Xe.A)}ngOnChanges(Je){(Je.hasOwnProperty("textLabel")||Je.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new De.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Je){Je&&Je._closestTab===this&&(this._templateLabel=Je)}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab"]],contentQueries:function(Be,ut,Ge){if(1&Be&&(C.wni(Ge,Ft,5),C.wni(Ge,Gt,7,C.C4Q)),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut.templateLabel=Ot.first),C.mGM(Ot=C.lsd())&&(ut._explicitContent=Ot.first)}},viewQuery:function(Be,ut){if(1&Be&&C.GBs(C.C4Q,7),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._implicitContent=Ge.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(Be,ut){2&Be&&C.BMQ("id",null)},inputs:{disabled:[2,"disabled","disabled",B.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[C.Jv_([{provide:cn,useExisting:qe}]),C.OA$],ngContentSelectors:lt,decls:1,vars:0,template:function(Be,ut){1&Be&&(C.NAR(),C.PeT(0,Le,1,0,"ng-template"))},encapsulation:2})}return qe})();const h="mdc-tab-indicator--active",jt="mdc-tab-indicator--no-transition";class Ue{_items;_currentItem;constructor(pn){this._items=pn}hide(){this._items.forEach(pn=>pn.deactivateInkBar()),this._currentItem=void 0}alignToElement(pn){const Je=this._items.find(ut=>ut.elementRef.nativeElement===pn),Be=this._currentItem;if(Je!==Be&&(Be?.deactivateInkBar(),Je)){const ut=Be?.elementRef.nativeElement.getBoundingClientRect?.();Je.activateInkBar(ut),this._currentItem=Je}}}let wt=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Je){this._fitToContent!==Je&&(this._fitToContent=Je,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Je){const Be=this._elementRef.nativeElement;if(!Je||!Be.getBoundingClientRect||!this._inkBarContentElement)return void Be.classList.add(h);const ut=Be.getBoundingClientRect(),Ge=Je.width/ut.width,Ot=Je.left-ut.left;Be.classList.add(jt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ot}px) scaleX(${Ge})`),Be.getBoundingClientRect(),Be.classList.remove(jt),Be.classList.add(h),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(h)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Je=this._elementRef.nativeElement.ownerDocument||document,Be=this._inkBarElement=Je.createElement("span"),ut=this._inkBarContentElement=Je.createElement("span");Be.className="mdc-tab-indicator",ut.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Be.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B.L39]}})}return qe})(),gn=(()=>{class qe extends wt{elementRef=(0,L.WQX)(C.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275dir=C.FsC({type:qe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Be,ut){2&Be&&(C.BMQ("aria-disabled",!!ut.disabled),C.AVh("mat-mdc-tab-disabled",ut.disabled))},inputs:{disabled:[2,"disabled","disabled",B.L39]},features:[C.Vt3]})}return qe})();const ei={passive:!0};let kn=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_changeDetectorRef=(0,L.WQX)(B.gRc);_viewportRuler=(0,L.WQX)(u.Xj);_dir=(0,L.WQX)(T.dS,{optional:!0});_ngZone=(0,L.WQX)(C.SKi);_platform=(0,L.WQX)(f.O);_sharedResizeObserver=(0,L.WQX)(O.a);_injector=(0,L.WQX)(L.zZn);_renderer=(0,L.WQX)(C.sFG);_animationsDisabled=(0,J.Rc)();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new le.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new le.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Je){const Be=isNaN(Je)?0:Je;this._selectedIndex!=Be&&(this._selectedIndexChanged=!0,this._selectedIndex=Be,this._keyManager&&this._keyManager.updateActiveItem(Be))}_selectedIndex=0;selectFocusedIndex=new C.bkB;indexFocused=new C.bkB;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),ei),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),ei))}ngAfterContentInit(){const Je=this._dir?this._dir.change:(0,W.of)("ltr"),Be=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe((0,xe.B)(32),(0,ne.Q)(this._destroyed)),ut=this._viewportRuler.change(150).pipe((0,ne.Q)(this._destroyed)),Ge=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new v.B(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),(0,C.mal)(Ge,{injector:this._injector}),(0,j.h)(Je,ut,Be,this._items.changes,this._itemsResized()).pipe((0,ne.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ge()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ot=>{this.indexFocused.emit(Ot),this._setTabFocus(Ot)})}_itemsResized(){return"function"!=typeof ResizeObserver?re.w:this._items.changes.pipe((0,ce.Z)(this._items),(0,be.n)(Je=>new Pe.c(Be=>this._ngZone.runOutsideAngular(()=>{const ut=new ResizeObserver(Ge=>Be.next(Ge));return Je.forEach(Ge=>ut.observe(Ge.elementRef.nativeElement)),()=>{ut.disconnect()}}))),(0,V.i)(1),(0,Ee.p)(Je=>Je.some(Be=>Be.contentRect.width>0&&Be.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(Je=>Je()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Je){if(!(0,w.rp)(Je))switch(Je.keyCode){case e.Fm:case e.t6:if(this.focusIndex!==this.selectedIndex){const Be=this._items.get(this.focusIndex);Be&&!Be.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Je))}break;default:this._keyManager?.onKeydown(Je)}}_onContentChanges(){const Je=this._elementRef.nativeElement.textContent;Je!==this._currentTextContent&&(this._currentTextContent=Je||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Je){!this._isValidIndex(Je)||this.focusIndex===Je||!this._keyManager||this._keyManager.setActiveItem(Je)}_isValidIndex(Je){return!this._items||!!this._items.toArray()[Je]}_setTabFocus(Je){if(this._showPaginationControls&&this._scrollToLabel(Je),this._items&&this._items.length){this._items.toArray()[Je].focus();const Be=this._tabListContainer.nativeElement;Be.scrollLeft="ltr"==this._getLayoutDirection()?0:Be.scrollWidth-Be.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Je=this.scrollDistance,Be="ltr"===this._getLayoutDirection()?-Je:Je;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Be)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Je){this._scrollTo(Je)}_scrollHeader(Je){return this._scrollTo(this._scrollDistance+("before"==Je?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Je){this._stopInterval(),this._scrollHeader(Je)}_scrollToLabel(Je){if(this.disablePagination)return;const Be=this._items?this._items.toArray()[Je]:null;if(!Be)return;const ut=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ge,offsetWidth:Ot}=Be.elementRef.nativeElement;let se,We;"ltr"==this._getLayoutDirection()?(se=Ge,We=se+Ot):(We=this._tabListInner.nativeElement.offsetWidth-Ge,se=We-Ot);const bt=this.scrollDistance,tn=this.scrollDistance+ut;setn&&(this.scrollDistance+=Math.min(We-tn,se-bt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ut=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;ut||(this.scrollDistance=0),ut!==this._showPaginationControls&&(this._showPaginationControls=ut,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Je=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Be=Je?Je.elementRef.nativeElement:null;Be?this._inkBar.alignToElement(Be):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Je,Be){Be&&null!=Be.button&&0!==Be.button||(this._stopInterval(),(0,G.O)(650,100).pipe((0,ne.Q)((0,j.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ut,distance:Ge}=this._scrollHeader(Je);(0===Ge||Ge>=ut)&&this._stopInterval()}))}_scrollTo(Je){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Be=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Be,Je)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Be,distance:this._scrollDistance}}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,inputs:{disablePagination:[2,"disablePagination","disablePagination",B.L39],selectedIndex:[2,"selectedIndex","selectedIndex",B.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return qe})(),Ri=(()=>{class qe extends kn{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Ue(this._items),super.ngAfterContentInit()}_itemSelected(Je){Je.preventDefault()}static \u0275fac=(()=>{let Je;return function(ut){return(Je||(Je=C.xGo(qe)))(ut||qe)}})();static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-header"]],contentQueries:function(Be,ut,Ge){if(1&Be&&C.wni(Ge,gn,4),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut._items=Ot)}},viewQuery:function(Be,ut){if(1&Be&&(C.GBs(te,7),C.GBs(ie,7),C.GBs(P,7),C.GBs(F,5),C.GBs(ve,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._tabListContainer=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabList=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabListInner=Ge.first),C.mGM(Ge=C.lsd())&&(ut._nextPaginator=Ge.first),C.mGM(Ge=C.lsd())&&(ut._previousPaginator=Ge.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Be,ut){2&Be&&C.AVh("mat-mdc-tab-header-pagination-controls-enabled",ut._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ut._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",B.L39]},features:[C.Vt3],ngContentSelectors:lt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(Be,ut){if(1&Be){const Ge=C.RV6();C.NAR(),C.j41(0,"div",5,0),C.bIt("click",function(){return L.eBV(Ge),L.Njj(ut._handlePaginatorClick("before"))})("mousedown",function(se){return L.eBV(Ge),L.Njj(ut._handlePaginatorPress("before",se))})("touchend",function(){return L.eBV(Ge),L.Njj(ut._stopInterval())}),C.nrm(2,"div",6),C.k0s(),C.j41(3,"div",7,1),C.bIt("keydown",function(se){return L.eBV(Ge),L.Njj(ut._handleKeydown(se))}),C.j41(5,"div",8,2),C.bIt("cdkObserveContent",function(){return L.eBV(Ge),L.Njj(ut._onContentChanges())}),C.j41(7,"div",9,3),C.SdG(9),C.k0s()()(),C.j41(10,"div",10,4),C.bIt("mousedown",function(se){return L.eBV(Ge),L.Njj(ut._handlePaginatorPress("after",se))})("click",function(){return L.eBV(Ge),L.Njj(ut._handlePaginatorClick("after"))})("touchend",function(){return L.eBV(Ge),L.Njj(ut._stopInterval())}),C.nrm(12,"div",6),C.k0s()}2&Be&&(C.AVh("mat-mdc-tab-header-pagination-disabled",ut._disableScrollBefore),C.Y8G("matRippleDisabled",ut._disableScrollBefore||ut.disableRipple),C.R7$(3),C.AVh("_mat-animation-noopable",ut._animationsDisabled),C.R7$(2),C.BMQ("aria-label",ut.ariaLabel||null)("aria-labelledby",ut.ariaLabelledby||null),C.R7$(5),C.AVh("mat-mdc-tab-header-pagination-disabled",ut._disableScrollAfter),C.Y8G("matRippleDisabled",ut._disableScrollAfter||ut.disableRipple))},dependencies:[he.r6,_e.Wv],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],encapsulation:2})}return qe})();const vt=new L.nKC("MAT_TABS_CONFIG");let ee=(()=>{class qe extends De.I3{_host=(0,L.WQX)(ye);_ngZone=(0,L.WQX)(C.SKi);_centeringSub=Ae.yU.EMPTY;_leavingSub=Ae.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ce.Z)(this._host._isCenterPosition())).subscribe(Je=>{this._host._content&&Je&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(Be){return new(Be||qe)};static \u0275dir=C.FsC({type:qe,selectors:[["","matTabBodyHost",""]],features:[C.Vt3]})}return qe})(),ye=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_dir=(0,L.WQX)(T.dS,{optional:!0});_ngZone=(0,L.WQX)(C.SKi);_injector=(0,L.WQX)(L.zZn);_renderer=(0,L.WQX)(C.sFG);_diAnimationsDisabled=(0,J.Rc)();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=Ae.yU.EMPTY;_position;_previousPosition;_onCentering=new C.bkB;_beforeCentering=new C.bkB;_afterLeavingCenter=new C.bkB;_onCentered=new C.bkB(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(Je){this._positionIndex=Je,this._computePositionAnimationState()}constructor(){if(this._dir){const Je=(0,L.WQX)(B.gRc);this._dirChangeSubscription=this._dir.change.subscribe(Be=>{this._computePositionAnimationState(Be),Je.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),"center"===this._position&&(this._setActiveClass(!0),(0,C.mal)(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(Je=>Je()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{const Je=this._elementRef.nativeElement,Be=ut=>{ut.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),"transitionend"===ut.type&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(Je,"transitionstart",ut=>{ut.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(Je,"transitionend",Be),this._renderer.listen(Je,"transitioncancel",Be)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);const Je="center"===this._position;this._beforeCentering.emit(Je),Je&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){"center"===this._position?this._onCentered.emit():"center"===this._previousPosition&&this._afterLeavingCenter.emit()}_setActiveClass(Je){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",Je)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(){return 0===this._positionIndex}_computePositionAnimationState(Je=this._getLayoutDirection()){this._previousPosition=this._position,this._position=this._positionIndex<0?"ltr"==Je?"left":"right":this._positionIndex>0?"ltr"==Je?"right":"left":"center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&("center"===this._position||"center"===this._previousPosition)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),(0,C.mal)(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||"0ms"===this.animationDuration||"0s"===this.animationDuration}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-body"]],viewQuery:function(Be,ut){if(1&Be&&(C.GBs(ee,5),C.GBs(H,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._portalHost=Ge.first),C.mGM(Ge=C.lsd())&&(ut._contentElement=Ge.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(Be,ut){2&Be&&C.BMQ("inert","center"===ut._position?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Be,ut){1&Be&&(C.j41(0,"div",1,0),C.DNE(2,$,0,0,"ng-template",2),C.k0s()),2&Be&&C.AVh("mat-tab-body-content-left","left"===ut._position)("mat-tab-body-content-right","right"===ut._position)("mat-tab-body-content-can-animate","center"===ut._position||"center"===ut._previousPosition)},dependencies:[ee,u.uv],styles:[".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}\n"],encapsulation:2})}return qe})(),ke=(()=>{class qe{_elementRef=(0,L.WQX)(C.aKT);_changeDetectorRef=(0,L.WQX)(B.gRc);_ngZone=(0,L.WQX)(C.SKi);_tabsSubscription=Ae.yU.EMPTY;_tabLabelSubscription=Ae.yU.EMPTY;_tabBodySubscription=Ae.yU.EMPTY;_diAnimationsDisabled=(0,J.Rc)();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new C.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Je){this._fitInkBarToContent=Je,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Je){this._indexToSelect=isNaN(Je)?null:Je}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(Je){const Be=Je+"";this._animationDuration=/^\d+$/.test(Be)?Je+"ms":Be}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Je){this._contentTabIndex=isNaN(Je)?null:Je}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(Je){const Be=this._elementRef.nativeElement.classList;Be.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Je&&Be.add("mat-tabs-with-background",`mat-background-${Je}`),this._backgroundColor=Je}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new C.bkB;focusChange=new C.bkB;animationDone=new C.bkB;selectedTabChange=new C.bkB(!0);_groupId;_isServer=!(0,L.WQX)(f.O).isBrowser;constructor(){const Je=(0,L.WQX)(vt,{optional:!0});this._groupId=(0,L.WQX)(d.g).getId("mat-tab-group-"),this.animationDuration=Je&&Je.animationDuration?Je.animationDuration:"500ms",this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.dynamicHeight=!(!Je||null==Je.dynamicHeight)&&Je.dynamicHeight,null!=Je?.contentTabIndex&&(this.contentTabIndex=Je.contentTabIndex),this.preserveContent=!!Je?.preserveContent,this.fitInkBarToContent=!(!Je||null==Je.fitInkBarToContent)&&Je.fitInkBarToContent,this.stretchTabs=!Je||null==Je.stretchTabs||Je.stretchTabs,this.alignTabs=Je&&null!=Je.alignTabs?Je.alignTabs:null}ngAfterContentChecked(){const Je=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Je){const Be=null==this._selectedIndex;if(!Be){this.selectedTabChange.emit(this._createChangeEvent(Je));const ut=this._tabBodyWrapper.nativeElement;ut.style.minHeight=ut.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ut,Ge)=>ut.isActive=Ge===Je),Be||(this.selectedIndexChange.emit(Je),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Be,ut)=>{Be.position=ut-Je,null!=this._selectedIndex&&0==Be.position&&!Be.origin&&(Be.origin=Je-this._selectedIndex)}),this._selectedIndex!==Je&&(this._selectedIndex=Je,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Je=this._clampTabIndex(this._indexToSelect);if(Je===this._selectedIndex){const Be=this._tabs.toArray();let ut;for(let Ge=0;Ge{Be[Je].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Je))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ce.Z)(this._allTabs)).subscribe(Je=>{this._tabs.reset(Je.filter(Be=>Be._closestTabGroup===this||!Be._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Je){const Be=this._tabHeader;Be&&(Be.focusIndex=Je)}_focusChanged(Je){this._lastFocusedTabIndex=Je,this.focusChange.emit(this._createChangeEvent(Je))}_createChangeEvent(Je){const Be=new Se;return Be.index=Je,this._tabs&&this._tabs.length&&(Be.tab=this._tabs.toArray()[Je]),Be}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,j.h)(...this._tabs.map(Je=>Je._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Je){return Math.min(this._tabs.length-1,Math.max(Je||0,0))}_getTabLabelId(Je,Be){return Je.id||`${this._groupId}-label-${Be}`}_getTabContentId(Je){return`${this._groupId}-content-${Je}`}_setTabBodyWrapperHeight(Je){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return void(this._tabBodyWrapperHeight=Je);const Be=this._tabBodyWrapper.nativeElement;Be.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Be.style.height=Je+"px")}_removeTabBodyWrapperHeight(){const Je=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Je.clientHeight,Je.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(Je,Be,ut){Be.focusIndex=ut,Je.disabled||(this.selectedIndex=ut)}_getTabIndex(Je){return Je===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Je,Be){Je&&"mouse"!==Je&&"touch"!==Je&&(this._tabHeader.focusIndex=Be)}_bodyCentered(Je){Je&&this._tabBodies?.forEach((Be,ut)=>Be._setActiveClass(ut===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||"0"===this.animationDuration||"0ms"===this.animationDuration}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-group"]],contentQueries:function(Be,ut,Ge){if(1&Be&&C.wni(Ge,Qn,5),2&Be){let Ot;C.mGM(Ot=C.lsd())&&(ut._allTabs=Ot)}},viewQuery:function(Be,ut){if(1&Be&&(C.GBs(Ke,5),C.GBs(Vt,5),C.GBs(ye,5)),2&Be){let Ge;C.mGM(Ge=C.lsd())&&(ut._tabBodyWrapper=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabHeader=Ge.first),C.mGM(Ge=C.lsd())&&(ut._tabBodies=Ge)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(Be,ut){2&Be&&(C.BMQ("mat-align-tabs",ut.alignTabs),C.HbH("mat-"+(ut.color||"primary")),C.xc7("--mat-tab-animation-duration",ut.animationDuration),C.AVh("mat-mdc-tab-group-dynamic-height",ut.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ut.headerPosition)("mat-mdc-tab-group-stretch-tabs",ut.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",B.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",B.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",B.L39],selectedIndex:[2,"selectedIndex","selectedIndex",B.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",B.Udg],disablePagination:[2,"disablePagination","disablePagination",B.L39],disableRipple:[2,"disableRipple","disableRipple",B.L39],preserveContent:[2,"preserveContent","preserveContent",B.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[C.Jv_([{provide:Sn,useExisting:qe}])],ngContentSelectors:lt,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(Be,ut){if(1&Be){const Ge=C.RV6();C.NAR(),C.j41(0,"mat-tab-header",3,0),C.bIt("indexFocused",function(se){return L.eBV(Ge),L.Njj(ut._focusChanged(se))})("selectFocusedIndex",function(se){return L.eBV(Ge),L.Njj(ut.selectedIndex=se)}),C.Z7z(2,ht,8,17,"div",4,C.fX1),C.k0s(),C.nVh(4,oe,1,0),C.j41(5,"div",5,1),C.Z7z(7,Ye,1,10,"mat-tab-body",6,C.fX1),C.k0s()}2&Be&&(C.Y8G("selectedIndex",ut.selectedIndex||0)("disableRipple",ut.disableRipple)("disablePagination",ut.disablePagination),C.jOp("aria-label",ut.ariaLabel)("aria-labelledby",ut.ariaLabelledby),C.R7$(2),C.Dyx(ut._tabs),C.R7$(2),C.vxM(ut._isServer?4:-1),C.R7$(),C.AVh("_mat-animation-noopable",ut._animationsDisabled()),C.R7$(2),C.Dyx(ut._tabs))},dependencies:[Ri,gn,i.vR,he.r6,De.I3,ye],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],encapsulation:2})}return qe})();class Se{index;tab}let ge=(()=>{class qe extends kn{_focusedItem=(0,L.vPA)(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Je){this._fitInkBarToContent.next(Je),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new Ce.t(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(Je){const Be=Je+"";this._animationDuration=/^\d+$/.test(Be)?Je+"ms":Be}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(Je){const Be=this._elementRef.nativeElement.classList;Be.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Je&&Be.add("mat-tabs-with-background",`mat-background-${Je}`),this._backgroundColor=Je}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(Je){this._disableRipple.set(Je)}_disableRipple=(0,L.vPA)(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){const Je=(0,L.WQX)(vt,{optional:!0});super(),this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.fitInkBarToContent=!(!Je||null==Je.fitInkBarToContent)&&Je.fitInkBarToContent,this.stretchTabs=!Je||null==Je.stretchTabs||Je.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Ue(this._items),this._items.changes.pipe((0,ce.Z)(null),(0,ne.Q)(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe((0,ce.Z)(null),(0,ne.Q)(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Je=this._items.toArray();for(let Be=0;Be.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}\n"],encapsulation:2})}return qe})(),N=(()=>{class qe extends wt{_tabNavBar=(0,L.WQX)(ge);elementRef=(0,L.WQX)(C.aKT);_focusMonitor=(0,L.WQX)(i.FN);_destroyed=new le.B;_isActive=!1;_tabIndex=(0,A.EW)(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(Je){Je!==this._isActive&&(this._isActive=Je,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(Je){this._disableRipple.set(Je)}_disableRipple=(0,L.vPA)(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=(0,L.WQX)(d.g).getId("mat-tab-link-");constructor(){super(),(0,L.WQX)(Re.l).load(Xe.A);const Je=(0,L.WQX)(he.$E,{optional:!0}),Be=(0,L.WQX)(new B.ES_("tabindex"),{optional:!0});this.rippleConfig=Je||{},this.tabIndex=null==Be?0:parseInt(Be)||0,(0,J.Rc)()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe((0,ne.Q)(this._destroyed)).subscribe(ut=>{this.fitInkBarToContent=ut})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Je){(Je.keyCode===e.t6||Je.keyCode===e.Fm)&&(this.disabled?Je.preventDefault():this._tabNavBar.tabPanel&&(Je.keyCode===e.t6&&Je.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(Be,ut){1&Be&&C.bIt("focus",function(){return ut._handleFocus()})("keydown",function(Ot){return ut._handleKeydown(Ot)}),2&Be&&(C.BMQ("aria-controls",ut._getAriaControls())("aria-current",ut._getAriaCurrent())("aria-disabled",ut.disabled)("aria-selected",ut._getAriaSelected())("id",ut.id)("tabIndex",ut._tabIndex())("role",ut._getRole()),C.AVh("mat-mdc-tab-disabled",ut.disabled)("mdc-tab--active",ut.active))},inputs:{active:[2,"active","active",B.L39],disabled:[2,"disabled","disabled",B.L39],disableRipple:[2,"disableRipple","disableRipple",B.L39],tabIndex:[2,"tabIndex","tabIndex",Je=>null==Je?0:(0,B.Udg)(Je)],id:"id"},exportAs:["matTabLink"],features:[C.Vt3],attrs:Qe,ngContentSelectors:lt,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(Be,ut){1&Be&&(C.NAR(),C.nrm(0,"span",0)(1,"div",1),C.j41(2,"span",2)(3,"span",3),C.SdG(4),C.k0s()()),2&Be&&(C.R7$(),C.Y8G("matRippleTrigger",ut.elementRef.nativeElement)("matRippleDisabled",ut.rippleDisabled))},dependencies:[he.r6],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],encapsulation:2,changeDetection:0})}return qe})(),Z=(()=>{class qe{id=(0,L.WQX)(d.g).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(Be){return new(Be||qe)};static \u0275cmp=C.VBU({type:qe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Be,ut){2&Be&&C.BMQ("aria-labelledby",ut._activeTabId)("id",ut.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:lt,decls:1,vars:0,template:function(Be,ut){1&Be&&(C.NAR(),C.SdG(0))},encapsulation:2,changeDetection:0})}return qe})(),Me=(()=>{class qe{static \u0275fac=function(Be){return new(Be||qe)};static \u0275mod=C.$C({type:qe});static \u0275inj=L.G2t({imports:[Dt.y,Dt.y]})}return qe})()},5911(Zt,pe,l){"use strict";l.d(pe,{KQ:()=>f,s5:()=>L});var i=l(2615),d=l(3664),v=l(9842),T=l(2466);const w=["*",[["mat-toolbar-row"]]],e=["*","mat-toolbar-row"];let O=(()=>{class C{static \u0275fac=function(Pe){return new(Pe||C)};static \u0275dir=d.FsC({type:C,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return C})(),f=(()=>{class C{_elementRef=(0,i.WQX)(d.aKT);_platform=(0,i.WQX)(v.O);_document=(0,i.WQX)(i.qQL);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(Pe){return new(Pe||C)};static \u0275cmp=d.VBU({type:C,selectors:[["mat-toolbar"]],contentQueries:function(Pe,le,Ce){if(1&Pe&&d.wni(Ce,O,5),2&Pe){let Ae;d.mGM(Ae=d.lsd())&&(le._toolbarRows=Ae)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(Pe,le){2&Pe&&(d.HbH(le.color?"mat-"+le.color:""),d.AVh("mat-toolbar-multiple-rows",le._toolbarRows.length>0)("mat-toolbar-single-row",0===le._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:e,decls:2,vars:0,template:function(Pe,le){1&Pe&&(d.NAR(w),d.SdG(0),d.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}\n"],encapsulation:2,changeDetection:0})}return C})(),L=(()=>{class C{static \u0275fac=function(Pe){return new(Pe||C)};static \u0275mod=d.$C({type:C});static \u0275inj=i.G2t({imports:[T.y,T.y]})}return C})()},6156(Zt,pe,l){"use strict";l.d(pe,{u:()=>f});var i=l(2615),d=l(3664),v=l(7094),T=l(9338),w=l(5718),e=l(455),O=l(2466);let f=(()=>{class u{static \u0275fac=function(B){return new(B||u)};static \u0275mod=d.$C({type:u});static \u0275inj=i.G2t({providers:[e.YZ],imports:[v.Pd,T.z_,O.y,O.y,w.Gj]})}return u})()},455(Zt,pe,l){"use strict";l.d(pe,{YZ:()=>ce,oV:()=>lt});var i=l(6977),d=l(4085),v=l(7847),T=l(7336),w=l(438),e=l(2615),O=l(3664),f=l(7705),u=l(2200),L=l(9842),C=l(3300),B=l(8617),A=l(6838),Pe=l(1577),le=l(9338),Ce=l(5718),Ae=l(6939),j=l(1413),W=l(1804);const G=["tooltip"],Ee=new e.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const te=(0,e.WQX)(e.zZn);return()=>(0,le.RH)(te,{scrollThrottle:20})}}),ce={provide:Ee,deps:[],useFactory:function V(te){const ie=(0,e.WQX)(e.zZn);return()=>(0,le.RH)(ie,{scrollThrottle:20})}},ne=new e.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function be(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),De="tooltip-panel",Re=(0,C.B)({passive:!0});let lt=(()=>{class te{_elementRef=(0,e.WQX)(O.aKT);_ngZone=(0,e.WQX)(O.SKi);_platform=(0,e.WQX)(L.O);_ariaDescriber=(0,e.WQX)(B.vr);_focusMonitor=(0,e.WQX)(A.FN);_dir=(0,e.WQX)(Pe.dS);_injector=(0,e.WQX)(e.zZn);_viewContainerRef=(0,e.WQX)(O.c1b);_animationsDisabled=(0,W.Rc)();_defaultOptions=(0,e.WQX)(ne,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Le;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(P){P!==this._position&&(this._position=P,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(P){this._positionAtOrigin=(0,d.he)(P),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(P){const F=(0,d.he)(P);this._disabled!==F&&(this._disabled=F,F?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(P){this._showDelay=(0,v.OE)(P)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(P){this._hideDelay=(0,v.OE)(P),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(P){const F=this._message;this._message=null!=P?String(P).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(F)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(P){this._tooltipClass=P,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new j.B;_isDestroyed=!1;constructor(){const P=this._defaultOptions;P&&(this._showDelay=P.showDelay,this._hideDelay=P.hideDelay,P.position&&(this.position=P.position),P.positionAtOrigin&&(this.positionAtOrigin=P.positionAtOrigin),P.touchGestures&&(this.touchGestures=P.touchGestures),P.tooltipClass&&(this.tooltipClass=P.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,i.Q)(this._destroyed)).subscribe(P=>{P?"keyboard"===P&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const P=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([F,ve])=>{P.removeEventListener(F,ve,Re)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(P,this.message,"tooltip"),this._focusMonitor.stopMonitoring(P)}show(P=this.showDelay,F){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ve=this._createOverlay(F);this._detach(),this._portal=this._portal||new Ae.A8(this._tooltipComponent,this._viewContainerRef);const H=this._tooltipInstance=ve.attach(this._portal).instance;H._triggerElement=this._elementRef.nativeElement,H._mouseLeaveHideDelay=this._hideDelay,H.afterHidden().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),H.show(P)}hide(P=this.hideDelay){const F=this._tooltipInstance;F&&(F.isVisible()?F.hide(P):(F._cancelPendingAnimations(),this._detach()))}toggle(P){this._isTooltipVisible()?this.hide():this.show(void 0,P)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(P){if(this._overlayRef){const $=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!P)&&$._origin instanceof O.aKT)return this._overlayRef;this._detach()}const F=this._injector.get(Ce.R).getAncestorScrollContainers(this._elementRef),ve=`${this._cssClassPrefix}-${De}`,H=(0,le.$M)(this._injector,this.positionAtOrigin&&P||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(F);return H.positionChanges.pipe((0,i.Q)(this._destroyed)).subscribe($=>{this._updateCurrentPositionClass($.connectionPair),this._tooltipInstance&&$.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,le.Y$)(this._injector,{direction:this._dir,positionStrategy:H,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,ve]:ve,scrollStrategy:this._injector.get(Ee)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,i.Q)(this._destroyed)).subscribe($=>{this._isTooltipVisible()&&$.keyCode===w._f&&!(0,T.rp)($)&&($.preventDefault(),$.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,i.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(P){const F=P.getConfig().positionStrategy,ve=this._getOrigin(),H=this._getOverlayPosition();F.withPositions([this._addOffset({...ve.main,...H.main}),this._addOffset({...ve.fallback,...H.fallback})])}_addOffset(P){const ve=!this._dir||"ltr"==this._dir.value;return"top"===P.originY?P.offsetY=-8:"bottom"===P.originY?P.offsetY=8:"start"===P.originX?P.offsetX=ve?-8:8:"end"===P.originX&&(P.offsetX=ve?8:-8),P}_getOrigin(){const P=!this._dir||"ltr"==this._dir.value,F=this.position;let ve;"above"==F||"below"==F?ve={originX:"center",originY:"above"==F?"top":"bottom"}:"before"==F||"left"==F&&P||"right"==F&&!P?ve={originX:"start",originY:"center"}:("after"==F||"right"==F&&P||"left"==F&&!P)&&(ve={originX:"end",originY:"center"});const{x:H,y:$}=this._invertPosition(ve.originX,ve.originY);return{main:ve,fallback:{originX:H,originY:$}}}_getOverlayPosition(){const P=!this._dir||"ltr"==this._dir.value,F=this.position;let ve;"above"==F?ve={overlayX:"center",overlayY:"bottom"}:"below"==F?ve={overlayX:"center",overlayY:"top"}:"before"==F||"left"==F&&P||"right"==F&&!P?ve={overlayX:"end",overlayY:"center"}:("after"==F||"right"==F&&P||"left"==F&&!P)&&(ve={overlayX:"start",overlayY:"center"});const{x:H,y:$}=this._invertPosition(ve.overlayX,ve.overlayY);return{main:ve,fallback:{overlayX:H,overlayY:$}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,O.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(P){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=P,this._tooltipInstance._markForCheck())}_invertPosition(P,F){return"above"===this.position||"below"===this.position?"top"===F?F="bottom":"bottom"===F&&(F="top"):"end"===P?P="start":"start"===P&&(P="end"),{x:P,y:F}}_updateCurrentPositionClass(P){const{overlayY:F,originX:ve,originY:H}=P;let $;if($="center"===F?this._dir&&"rtl"===this._dir.value?"end"===ve?"left":"right":"start"===ve?"left":"right":"bottom"===F&&"top"===H?"above":"below",$!==this._currentPosition){const Ke=this._overlayRef;if(Ke){const Vt=`${this._cssClassPrefix}-${De}-`;Ke.removePanelClass(Vt+this._currentPosition),Ke.addPanelClass(Vt+$)}this._currentPosition=$}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",P=>{let F;this._setupPointerExitEventsIfNeeded(),void 0!==P.x&&void 0!==P.y&&(F=P),this.show(void 0,F)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",P=>{const F=P.targetTouches?.[0],ve=F?{x:F.clientX,y:F.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,ve)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const P=[];if(this._platformSupportsMouseEvents())P.push(["mouseleave",F=>{const ve=F.relatedTarget;(!ve||!this._overlayRef?.overlayElement.contains(ve))&&this.hide()}],["wheel",F=>this._wheelListener(F)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const F=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};P.push(["touchend",F],["touchcancel",F])}this._addListeners(P),this._passiveListeners.push(...P)}_addListeners(P){P.forEach(([F,ve])=>{this._elementRef.nativeElement.addEventListener(F,ve,Re)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(P){if(this._isTooltipVisible()){const F=this._injector.get(e.qQL).elementFromPoint(P.clientX,P.clientY),ve=this._elementRef.nativeElement;F!==ve&&!ve.contains(F)&&this.hide()}}_disableNativeGesturesIfNecessary(){const P=this.touchGestures;if("off"!==P){const F=this._elementRef.nativeElement,ve=F.style;("on"===P||"INPUT"!==F.nodeName&&"TEXTAREA"!==F.nodeName)&&(ve.userSelect=ve.msUserSelect=ve.webkitUserSelect=ve.MozUserSelect="none"),("on"===P||!F.draggable)&&(ve.webkitUserDrag="none"),ve.touchAction="none",ve.webkitTapHighlightColor="transparent"}}_syncAriaDescription(P){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,P,"tooltip"),this._isDestroyed||(0,O.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(F){return new(F||te)};static \u0275dir=O.FsC({type:te,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(F,ve){2&F&&O.AVh("mat-mdc-tooltip-disabled",ve.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return te})(),Le=(()=>{class te{_changeDetectorRef=(0,e.WQX)(f.gRc);_elementRef=(0,e.WQX)(O.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,W.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new j.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(P){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},P)}hide(P){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},P)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:P}){(!P||!this._triggerElement.contains(P))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const P=this._elementRef.nativeElement.getBoundingClientRect();return P.height>24&&P.width>=200}_handleAnimationEnd({animationName:P}){(P===this._showAnimation||P===this._hideAnimation)&&this._finalizeAnimation(P===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(P){P?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(P){const F=this._tooltip.nativeElement,ve=this._showAnimation,H=this._hideAnimation;if(F.classList.remove(P?H:ve),F.classList.add(P?ve:H),this._isVisible!==P&&(this._isVisible=P,this._changeDetectorRef.markForCheck()),P&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const $=getComputedStyle(F);("0s"===$.getPropertyValue("animation-duration")||"none"===$.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}P&&this._onShow(),this._animationsDisabled&&(F.classList.add("_mat-animation-noopable"),this._finalizeAnimation(P))}static \u0275fac=function(F){return new(F||te)};static \u0275cmp=O.VBU({type:te,selectors:[["mat-tooltip-component"]],viewQuery:function(F,ve){if(1&F&&O.GBs(G,7),2&F){let H;O.mGM(H=O.lsd())&&(ve._tooltip=H.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(F,ve){1&F&&O.bIt("mouseleave",function($){return ve._handleMouseLeave($)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(F,ve){if(1&F){const H=O.RV6();O.j41(0,"div",1,0),O.bIt("animationend",function(Ke){return e.eBV(H),e.Njj(ve._handleAnimationEnd(Ke))}),O.j41(2,"div",2),O.EFF(3),O.k0s()()}2&F&&(O.AVh("mdc-tooltip--multiline",ve._isMultiline),O.Y8G("ngClass",ve.tooltipClass),O.R7$(3),O.JRh(ve.message))},dependencies:[u.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],encapsulation:2,changeDetection:0})}return te})()},7358(Zt,pe,l){"use strict";l.d(pe,{Zh:()=>Ee,d6:()=>B,jH:()=>G,lQ:()=>Ae,pO:()=>j,q1:()=>Pe,wx:()=>Ce,yI:()=>A});var d=l(2279),v=l(2615),T=l(3664),w=l(7705),e=l(2466),O=l(4117),f=l(4412),u=l(7786),L=l(6354);let B=(()=>{class V extends d.xn{get tabIndexInputBinding(){return this._tabIndexInputBinding}set tabIndexInputBinding(be){this._tabIndexInputBinding=be}_tabIndexInputBinding;defaultTabIndex=0;_getTabindexAttribute(){return function C(V){return!!V._isNoopTreeKeyManager}(this._tree._keyManager)?this.tabIndexInputBinding:this._tabindex}get disabled(){return this.isDisabled}set disabled(be){this.isDisabled=be}constructor(){super();const be=(0,v.WQX)(new w.ES_("tabindex"),{optional:!0});this.tabIndexInputBinding=Number(be)||this.defaultTabIndex}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:5,hostBindings:function(ne,J){1&ne&&T.bIt("click",function(){return J._focusItem()}),2&ne&&(T.Avn("tabIndex",J._getTabindexAttribute()),T.BMQ("aria-expanded",J._getAriaExpanded())("aria-level",J.level+1)("aria-posinset",J._getPositionInSet())("aria-setsize",J._getSetSize()))},inputs:{tabIndexInputBinding:[2,"tabIndex","tabIndexInputBinding",be=>null==be?0:(0,w.Udg)(be)],disabled:[2,"disabled","disabled",w.L39]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matTreeNode"],features:[T.Jv_([{provide:d.xn,useExisting:V}]),T.Vt3]})}return V})(),A=(()=>{class V extends d.Sz{data;static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},features:[T.Jv_([{provide:d.Sz,useExisting:V}]),T.Vt3]})}return V})(),Pe=(()=>{class V extends d.s3{node;get disabled(){return this.isDisabled}set disabled(be){this.isDisabled=be}get tabIndex(){return this.isDisabled?-1:this._tabIndex}set tabIndex(be){this._tabIndex=be}_tabIndex;ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",w.L39],tabIndex:[2,"tabIndex","tabIndex",be=>null==be?0:(0,w.Udg)(be)]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matNestedTreeNode"],features:[T.Jv_([{provide:d.s3,useExisting:V},{provide:d.xn,useExisting:V},{provide:d.kZ,useExisting:V}]),T.Vt3]})}return V})(),Ce=(()=>{class V{viewContainer=(0,v.WQX)(T.c1b);_node=(0,v.WQX)(d.kZ,{optional:!0});static \u0275fac=function(ne){return new(ne||V)};static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeOutlet",""]],features:[T.Jv_([{provide:d.a$,useExisting:V}])]})}return V})(),Ae=(()=>{class V extends d.NL{_nodeOutlet=void 0;static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275cmp=T.VBU({type:V,selectors:[["mat-tree"]],viewQuery:function(ne,J){if(1&ne&&T.GBs(Ce,7),2&ne){let De;T.mGM(De=T.lsd())&&(J._nodeOutlet=De.first)}},hostAttrs:[1,"mat-tree"],exportAs:["matTree"],features:[T.Jv_([{provide:d.NL,useExisting:V}]),T.Vt3],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ne,J){1&ne&&T.eu8(0,0)},dependencies:[Ce],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-sys-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-sys-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-sys-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height, 48px)}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2})}return V})(),j=(()=>{class V extends d.Hy{static \u0275fac=(()=>{let be;return function(J){return(be||(be=T.xGo(V)))(J||V)}})();static \u0275dir=T.FsC({type:V,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},features:[T.Jv_([{provide:d.Hy,useExisting:V}]),T.Vt3]})}return V})(),G=(()=>{class V{static \u0275fac=function(ne){return new(ne||V)};static \u0275mod=T.$C({type:V});static \u0275inj=v.G2t({imports:[d.Dc,e.y,e.y]})}return V})();class Ee extends O.q{get data(){return this._data.value}set data(ce){this._data.next(ce)}_data=new f.t([]);connect(ce){return(0,u.h)(ce.viewChange,this._data).pipe((0,L.T)(()=>this.data))}disconnect(){}}},3393(Zt,pe,l){"use strict";l.d(pe,{CI:()=>A,EU:()=>O,Hl:()=>T,Q5:()=>e,jd:()=>w,mE:()=>ne});var i=l(2615),d=l(7303),v=l(3664);class T{_doc;constructor(Le){this._doc=Le}manager}let w=(()=>{class lt extends T{constructor(te){super(te)}supports(te){return!0}addEventListener(te,ie,P,F){return te.addEventListener(ie,P,F),()=>this.removeEventListener(te,ie,P,F)}removeEventListener(te,ie,P,F){return te.removeEventListener(ie,P,F)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(i.qQL))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const e=new i.nKC("");let O=(()=>{class lt{_zone;_plugins;_eventNameToPlugin=new Map;constructor(te,ie){this._zone=ie,te.forEach(ve=>{ve.manager=this});const P=te.filter(ve=>!(ve instanceof w));this._plugins=P.slice().reverse();const F=te.find(ve=>ve instanceof w);F&&this._plugins.push(F)}addEventListener(te,ie,P,F){return this._findPluginFor(ie).addEventListener(te,ie,P,F)}getZone(){return this._zone}_findPluginFor(te){let ie=this._eventNameToPlugin.get(te);if(ie)return ie;if(ie=this._plugins.find(F=>F.supports(te)),!ie)throw new i.buA(5101,!1);return this._eventNameToPlugin.set(te,ie),ie}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(e),i.KVO(v.SKi))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const f="ng-app-id";function u(lt){for(const Le of lt)Le.remove()}function L(lt,Le){const te=Le.createElement("style");return te.textContent=lt,te}function B(lt,Le){const te=Le.createElement("link");return te.setAttribute("rel","stylesheet"),te.setAttribute("href",lt),te}let A=(()=>{class lt{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(te,ie,P,F={}){this.doc=te,this.appId=ie,this.nonce=P,function C(lt,Le,te,ie){const P=lt.head?.querySelectorAll(`style[${f}="${Le}"],link[${f}="${Le}"]`);if(P)for(const F of P)F.removeAttribute(f),F instanceof HTMLLinkElement?ie.set(F.href.slice(F.href.lastIndexOf("/")+1),{usage:0,elements:[F]}):F.textContent&&te.set(F.textContent,{usage:0,elements:[F]})}(te,ie,this.inline,this.external),this.hosts.add(te.head)}addStyles(te,ie){for(const P of te)this.addUsage(P,this.inline,L);ie?.forEach(P=>this.addUsage(P,this.external,B))}removeStyles(te,ie){for(const P of te)this.removeUsage(P,this.inline);ie?.forEach(P=>this.removeUsage(P,this.external))}addUsage(te,ie,P){const F=ie.get(te);F?F.usage++:ie.set(te,{usage:1,elements:[...this.hosts].map(ve=>this.addElement(ve,P(te,this.doc)))})}removeUsage(te,ie){const P=ie.get(te);P&&(P.usage--,P.usage<=0&&(u(P.elements),ie.delete(te)))}ngOnDestroy(){for(const[,{elements:te}]of[...this.inline,...this.external])u(te);this.hosts.clear()}addHost(te){this.hosts.add(te);for(const[ie,{elements:P}]of this.inline)P.push(this.addElement(te,L(ie,this.doc)));for(const[ie,{elements:P}]of this.external)P.push(this.addElement(te,B(ie,this.doc)))}removeHost(te){this.hosts.delete(te)}addElement(te,ie){return this.nonce&&ie.setAttribute("nonce",this.nonce),te.appendChild(ie)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(i.qQL),i.KVO(v.sZ2),i.KVO(v.BIS,8),i.KVO(v.Agw))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const Pe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},le=/%COMP%/g,j="%COMP%",W=`_nghost-${j}`,G=`_ngcontent-${j}`,xe=new i.nKC("",{providedIn:"root",factory:()=>!0});function ce(lt,Le){return Le.map(te=>te.replace(le,lt))}let ne=(()=>{class lt{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(te,ie,P,F,ve,H,$=null,Ke=null){this.eventManager=te,this.sharedStylesHost=ie,this.appId=P,this.removeStylesOnCompDestroy=F,this.doc=ve,this.ngZone=H,this.nonce=$,this.tracingService=Ke,this.platformIsServer=!1,this.defaultRenderer=new J(te,ve,H,this.platformIsServer,this.tracingService)}createRenderer(te,ie){if(!te||!ie)return this.defaultRenderer;const P=this.getOrCreateRenderer(te,ie);return P instanceof Dt?P.applyToHost(te):P instanceof he&&P.applyStyles(),P}getOrCreateRenderer(te,ie){const P=this.rendererByCompId;let F=P.get(ie.id);if(!F){const ve=this.doc,H=this.ngZone,$=this.eventManager,Ke=this.sharedStylesHost,Vt=this.removeStylesOnCompDestroy,St=this.platformIsServer,ot=this.tracingService;switch(ie.encapsulation){case v.gXe.Emulated:F=new Dt($,Ke,ie,this.appId,Vt,ve,H,St,ot);break;case v.gXe.ShadowDom:return new _e($,Ke,te,ie,ve,H,this.nonce,St,ot);default:F=new he($,Ke,ie,Vt,ve,H,St,ot)}P.set(ie.id,F)}return F}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(te){this.rendererByCompId.delete(te)}static \u0275fac=function(ie){return new(ie||lt)(i.KVO(O),i.KVO(A),i.KVO(v.sZ2),i.KVO(xe),i.KVO(i.qQL),i.KVO(v.SKi),i.KVO(v.BIS),i.KVO(v.a8H,8))};static \u0275prov=i.jDH({token:lt,factory:lt.\u0275fac})}return lt})();class J{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Le,te,ie,P,F){this.eventManager=Le,this.doc=te,this.ngZone=ie,this.platformIsServer=P,this.tracingService=F}destroy(){}destroyNode=null;createElement(Le,te){return te?this.doc.createElementNS(Pe[te]||te,Le):this.doc.createElement(Le)}createComment(Le){return this.doc.createComment(Le)}createText(Le){return this.doc.createTextNode(Le)}appendChild(Le,te){(Xe(Le)?Le.content:Le).appendChild(te)}insertBefore(Le,te,ie){Le&&(Xe(Le)?Le.content:Le).insertBefore(te,ie)}removeChild(Le,te){te.remove()}selectRootElement(Le,te){let ie="string"==typeof Le?this.doc.querySelector(Le):Le;if(!ie)throw new i.buA(-5104,!1);return te||(ie.textContent=""),ie}parentNode(Le){return Le.parentNode}nextSibling(Le){return Le.nextSibling}setAttribute(Le,te,ie,P){if(P){te=P+":"+te;const F=Pe[P];F?Le.setAttributeNS(F,te,ie):Le.setAttribute(te,ie)}else Le.setAttribute(te,ie)}removeAttribute(Le,te,ie){if(ie){const P=Pe[ie];P?Le.removeAttributeNS(P,te):Le.removeAttribute(`${ie}:${te}`)}else Le.removeAttribute(te)}addClass(Le,te){Le.classList.add(te)}removeClass(Le,te){Le.classList.remove(te)}setStyle(Le,te,ie,P){P&(v.czy.DashCase|v.czy.Important)?Le.style.setProperty(te,ie,P&v.czy.Important?"important":""):Le.style[te]=ie}removeStyle(Le,te,ie){ie&v.czy.DashCase?Le.style.removeProperty(te):Le.style[te]=""}setProperty(Le,te,ie){null!=Le&&(Le[te]=ie)}setValue(Le,te){Le.nodeValue=te}listen(Le,te,ie,P){if("string"==typeof Le&&!(Le=(0,d.rb)().getGlobalEventTarget(this.doc,Le)))throw new i.buA(5102,!1);let F=this.decoratePreventDefault(ie);return this.tracingService?.wrapEventListener&&(F=this.tracingService.wrapEventListener(Le,te,F)),this.eventManager.addEventListener(Le,te,F,P)}decoratePreventDefault(Le){return te=>{if("__ngUnwrap__"===te)return Le;!1===Le(te)&&te.preventDefault()}}}function Xe(lt){return"TEMPLATE"===lt.tagName&&void 0!==lt.content}class _e extends J{sharedStylesHost;hostEl;shadowRoot;constructor(Le,te,ie,P,F,ve,H,$,Ke){super(Le,F,ve,$,Ke),this.sharedStylesHost=te,this.hostEl=ie,this.shadowRoot=ie.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Vt=P.styles;Vt=ce(P.id,Vt);for(const ot of Vt){const nt=document.createElement("style");H&&nt.setAttribute("nonce",H),nt.textContent=ot,this.shadowRoot.appendChild(nt)}const St=P.getExternalStyles?.();if(St)for(const ot of St){const nt=B(ot,F);H&&nt.setAttribute("nonce",H),this.shadowRoot.appendChild(nt)}}nodeOrShadowRoot(Le){return Le===this.hostEl?this.shadowRoot:Le}appendChild(Le,te){return super.appendChild(this.nodeOrShadowRoot(Le),te)}insertBefore(Le,te,ie){return super.insertBefore(this.nodeOrShadowRoot(Le),te,ie)}removeChild(Le,te){return super.removeChild(null,te)}parentNode(Le){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Le)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class he extends J{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Le,te,ie,P,F,ve,H,$,Ke){super(Le,F,ve,H,$),this.sharedStylesHost=te,this.removeStylesOnCompDestroy=P;let Vt=ie.styles;this.styles=Ke?ce(Ke,Vt):Vt,this.styleUrls=ie.getExternalStyles?.(Ke)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===v.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Dt extends he{contentAttr;hostAttr;constructor(Le,te,ie,P,F,ve,H,$,Ke){const Vt=P+"-"+ie.id;super(Le,te,ie,F,ve,H,$,Ke,Vt),this.contentAttr=function Ee(lt){return G.replace(le,lt)}(Vt),this.hostAttr=function V(lt){return W.replace(le,lt)}(Vt)}applyToHost(Le){this.applyStyles(),this.setAttribute(Le,this.hostAttr,"")}createElement(Le,te){const ie=super.createElement(Le,te);return super.setAttribute(ie,this.contentAttr,""),ie}}},345(Zt,pe,l){"use strict";l.d(pe,{fM:()=>P,hE:()=>ce,up:()=>F});var G=l(2615),re=l(3664),xe=l(3393);let ce=(()=>{class Qe{_doc;constructor(Gt){this._doc=Gt}getTitle(){return this._doc.title}setTitle(Gt){this._doc.title=Gt||""}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();const Dt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},lt=new G.nKC(""),Le=new G.nKC("");let te=(()=>{class Qe{events=[];overrides={};options;buildHammer(Gt){const rt=new Hammer(Gt,this.options);rt.get("pinch").set({enable:!0}),rt.get("rotate").set({enable:!0});for(const cn in this.overrides)rt.get(cn).set(this.overrides[cn]);return rt}static \u0275fac=function(rt){return new(rt||Qe)};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),ie=(()=>{class Qe extends xe.Hl{_config;_injector;loader;_loaderPromise=null;constructor(Gt,rt,cn,Ft){super(Gt),this._config=rt,this._injector=cn,this.loader=Ft}supports(Gt){return!(!Dt.hasOwnProperty(Gt.toLowerCase())&&!this.isCustomEvent(Gt)||!window.Hammer&&!this.loader)}addEventListener(Gt,rt,cn){const Ft=this.manager.getZone();if(rt=rt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ft.runOutsideAngular(()=>this.loader());let Sn=!1,Qn=()=>{Sn=!0};return Ft.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Sn||(Qn=this.addEventListener(Gt,rt,cn)):Qn=()=>{}}).catch(()=>{Qn=()=>{}})),()=>{Qn()}}return Ft.runOutsideAngular(()=>{const Sn=this._config.buildHammer(Gt),Qn=function(h){Ft.runGuarded(function(){cn(h)})};return Sn.on(rt,Qn),()=>{Sn.off(rt,Qn),"function"==typeof Sn.destroy&&Sn.destroy()}})}isCustomEvent(Gt){return this._config.events.indexOf(Gt)>-1}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL),G.KVO(lt),G.KVO(G.zZn),G.KVO(Le,8))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),P=(()=>{class Qe{static \u0275fac=function(rt){return new(rt||Qe)};static \u0275mod=re.$C({type:Qe});static \u0275inj=G.G2t({providers:[{provide:xe.Q5,useClass:ie,multi:!0,deps:[G.qQL,lt,G.zZn,[new re.Xx1,Le]]},{provide:lt,useClass:te}]})}return Qe})(),F=(()=>{class Qe{static \u0275fac=function(rt){return new(rt||Qe)};static \u0275prov=G.jDH({token:Qe,factory:function(rt){let cn=null;return cn=rt?new(rt||Qe):G.KVO(ve),cn},providedIn:"root"})}return Qe})(),ve=(()=>{class Qe extends F{_doc;constructor(Gt){super(),this._doc=Gt}sanitize(Gt,rt){if(null==rt)return null;switch(Gt){case re.WPN.NONE:return rt;case re.WPN.HTML:return(0,re.iWE)(rt,"HTML")?(0,re.aCM)(rt):(0,re.wr$)(this._doc,String(rt)).toString();case re.WPN.STYLE:return(0,re.iWE)(rt,"Style")?(0,re.aCM)(rt):rt;case re.WPN.SCRIPT:if((0,re.iWE)(rt,"Script"))return(0,re.aCM)(rt);throw new G.buA(5200,!1);case re.WPN.URL:return(0,re.iWE)(rt,"URL")?(0,re.aCM)(rt):(0,re.gil)(String(rt));case re.WPN.RESOURCE_URL:if((0,re.iWE)(rt,"ResourceURL"))return(0,re.aCM)(rt);throw new G.buA(5201,!1);default:throw new G.buA(5202,!1)}}bypassSecurityTrustHtml(Gt){return(0,re.PYC)(Gt)}bypassSecurityTrustStyle(Gt){return(0,re.rAh)(Gt)}bypassSecurityTrustScript(Gt){return(0,re.p2i)(Gt)}bypassSecurityTrustUrl(Gt){return(0,re.B1s)(Gt)}bypassSecurityTrustResourceUrl(Gt){return(0,re.RPW)(Gt)}static \u0275fac=function(rt){return new(rt||Qe)(G.KVO(G.qQL))};static \u0275prov=G.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})()},3694(Zt,pe,l){"use strict";l.d(pe,{nX:()=>Ze,Pu:()=>io,Zp:()=>Jt,nU:()=>Ni,wU:()=>Un,c1:()=>fr,XR:()=>Wr,j5:()=>Vn,wF:()=>rn,L6:()=>Bn,lW:()=>ii,mo:()=>Mn,Z:()=>ci,J2:()=>ao,J_:()=>So,bw:()=>fo,gx:()=>qt,tD:()=>zo,Ix:()=>Wo,D$:()=>To,n3:()=>hr,OY:()=>da,Sd:()=>vi,bK:()=>Ys,gk:()=>Ll,Lg:()=>Dr,wO:()=>un,Us:()=>oi,we:()=>pr});var i=l(2615),d=l(7303),v=l(3664),T=l(7705),w=l(9295),e=l(4402),O=l(2806),f=l(7673),u=l(4412),L=l(4572),C=l(9350),B=l(8793),A=l(9030),Pe=l(1203),le=l(8810),Ce=l(983),Ae=l(17),j=l(1413),W=l(1985),G=l(8359),re=l(6354),xe=l(5558),Ee=l(6697),V=l(9172),ce=l(5964),be=l(1397),ne=l(1594),J=l(274),De=l(8141),Re=l(9437),Xe=l(1943),_e=l(9901),he=l(9974),Dt=l(4360);function lt(X){return X<=0?()=>Ce.w:(0,he.N)((de,Q)=>{let me=[];de.subscribe((0,Dt._)(Q,et=>{me.push(et),X{for(const et of me)Q.next(et);Q.complete()},void 0,()=>{me=null}))})}var Le=l(3774),te=l(3669),P=l(980),F=l(9898),ve=l(6977),H=l(345);const $="primary",Ke=Symbol("RouteTitle");class Vt{params;constructor(de){this.params=de||{}}has(de){return Object.prototype.hasOwnProperty.call(this.params,de)}get(de){if(this.has(de)){const Q=this.params[de];return Array.isArray(Q)?Q[0]:Q}return null}getAll(de){if(this.has(de)){const Q=this.params[de];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function St(X){return new Vt(X)}function ot(X,de,Q){const me=Q.path.split("/");if(me.length>X.length||"full"===Q.pathMatch&&(de.hasChildren()||me.lengthme[Mt]===et)}return X===de}function fe(X){return X.length>0?X[X.length-1]:null}function Qe(X){return(0,e.A)(X)?X:(0,v.yLl)(X)?(0,O.H)(Promise.resolve(X)):(0,f.of)(X)}const gt={exact:function Ft(X,de,Q){if(!gn(X.segments,de.segments)||!jt(X.segments,de.segments,Q)||X.numberOfChildren!==de.numberOfChildren)return!1;for(const me in de.children)if(!X.children[me]||!Ft(X.children[me],de.children[me],Q))return!1;return!0},subset:Qn},Gt={exact:function cn(X,de){return ht(X,de)},subset:function Sn(X,de){return Object.keys(de).length<=Object.keys(X).length&&Object.keys(de).every(Q=>Ye(X[Q],de[Q]))},ignored:()=>!0};function rt(X,de,Q){return gt[Q.paths](X.root,de.root,Q.matrixParams)&&Gt[Q.queryParams](X.queryParams,de.queryParams)&&!("exact"===Q.fragment&&X.fragment!==de.fragment)}function Qn(X,de,Q){return h(X,de,de.segments,Q)}function h(X,de,Q,me){if(X.segments.length>Q.length){const et=X.segments.slice(0,Q.length);return!(!gn(et,Q)||de.hasChildren()||!jt(et,Q,me))}if(X.segments.length===Q.length){if(!gn(X.segments,Q)||!jt(X.segments,Q,me))return!1;for(const et in de.children)if(!X.children[et]||!Qn(X.children[et],de.children[et],me))return!1;return!0}{const et=Q.slice(0,X.segments.length),Mt=Q.slice(X.segments.length);return!!(gn(X.segments,et)&&jt(X.segments,et,me)&&X.children[$])&&h(X.children[$],de,Mt,me)}}function jt(X,de,Q){return de.every((me,et)=>Gt[Q](X[et].parameters,me.parameters))}class Ue{root;queryParams;fragment;_queryParamMap;constructor(de=new wt([],{}),Q={},me=null){this.root=de,this.queryParams=Q,this.fragment=me}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return kn.serialize(this)}}class wt{segments;children;parent=null;constructor(de,Q){this.segments=de,this.children=Q,Object.values(Q).forEach(me=>me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ri(this)}}class pt{path;parameters;_parameterMap;constructor(de,Q){this.path=de,this.parameters=Q}get parameterMap(){return this._parameterMap??=St(this.parameters),this._parameterMap}toString(){return Z(this)}}function gn(X,de){return X.length===de.length&&X.every((Q,me)=>Q.path===de[me].path)}let vi=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>new Ni,providedIn:"root"})}return X})();class Ni{parse(de){const Q=new We(de);return new Ue(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(de){const Q=`/${vt(de.root,!0)}`,me=function at(X){const de=Object.entries(X).map(([Q,me])=>Array.isArray(me)?me.map(et=>`${ye(Q)}=${ye(et)}`).join("&"):`${ye(Q)}=${ye(me)}`).filter(Q=>Q);return de.length?`?${de.join("&")}`:""}(de.queryParams);return`${Q}${me}${"string"==typeof de.fragment?`#${function ke(X){return encodeURI(X)}(de.fragment)}`:""}`}}const kn=new Ni;function Ri(X){return X.segments.map(de=>Z(de)).join("/")}function vt(X,de){if(!X.hasChildren())return Ri(X);if(de){const Q=X.children[$]?vt(X.children[$],!1):"",me=[];return Object.entries(X.children).forEach(([et,Mt])=>{et!==$&&me.push(`${et}:${vt(Mt,!1)}`)}),me.length>0?`${Q}(${me.join("//")})`:Q}{const Q=function ei(X,de){let Q=[];return Object.entries(X.children).forEach(([me,et])=>{me===$&&(Q=Q.concat(de(et,me)))}),Object.entries(X.children).forEach(([me,et])=>{me!==$&&(Q=Q.concat(de(et,me)))}),Q}(X,(me,et)=>et===$?[vt(X.children[$],!1)]:[`${et}:${vt(me,!1)}`]);return 1===Object.keys(X.children).length&&null!=X.children[$]?`${Ri(X)}/${Q[0]}`:`${Ri(X)}/(${Q.join("//")})`}}function ee(X){return encodeURIComponent(X).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ye(X){return ee(X).replace(/%3B/gi,";")}function Se(X){return ee(X).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ge(X){return decodeURIComponent(X)}function N(X){return ge(X.replace(/\+/g,"%20"))}function Z(X){return`${Se(X.path)}${function Me(X){return Object.entries(X).map(([de,Q])=>`;${Se(de)}=${Se(Q)}`).join("")}(X.parameters)}`}const qe=/^[^\/()?;#]+/;function pn(X){const de=X.match(qe);return de?de[0]:""}const Je=/^[^\/()?;=#]+/,ut=/^[^=?&#]+/,Ot=/^[^&#]+/;class We{url;remaining;constructor(de){this.url=de,this.remaining=de}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const de={};if(this.consumeOptional("?"))do{this.parseQueryParam(de)}while(this.consumeOptional("&"));return de}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const de=[];for(this.peekStartsWith("(")||de.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),de.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let me={};return this.peekStartsWith("(")&&(me=this.parseParens(!1)),(de.length>0||Object.keys(Q).length>0)&&(me[$]=new wt(de,Q)),me}parseSegment(){const de=pn(this.remaining);if(""===de&&this.peekStartsWith(";"))throw new i.buA(4009,!1);return this.capture(de),new pt(ge(de),this.parseMatrixParams())}parseMatrixParams(){const de={};for(;this.consumeOptional(";");)this.parseParam(de);return de}parseParam(de){const Q=function Be(X){const de=X.match(Je);return de?de[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let me="";if(this.consumeOptional("=")){const et=pn(this.remaining);et&&(me=et,this.capture(me))}de[ge(Q)]=ge(me)}parseQueryParam(de){const Q=function Ge(X){const de=X.match(ut);return de?de[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let me="";if(this.consumeOptional("=")){const Kt=function se(X){const de=X.match(Ot);return de?de[0]:""}(this.remaining);Kt&&(me=Kt,this.capture(me))}const et=N(Q),Mt=N(me);if(de.hasOwnProperty(et)){let Kt=de[et];Array.isArray(Kt)||(Kt=[Kt],de[et]=Kt),Kt.push(Mt)}else de[et]=Mt}parseParens(de){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const me=pn(this.remaining),et=this.remaining[me.length];if("/"!==et&&")"!==et&&";"!==et)throw new i.buA(4010,!1);let Mt;me.indexOf(":")>-1?(Mt=me.slice(0,me.indexOf(":")),this.capture(Mt),this.capture(":")):de&&(Mt=$);const Kt=this.parseChildren();Q[Mt??$]=1===Object.keys(Kt).length&&Kt[$]?Kt[$]:new wt([],Kt),this.consumeOptional("//")}return Q}peekStartsWith(de){return this.remaining.startsWith(de)}consumeOptional(de){return!!this.peekStartsWith(de)&&(this.remaining=this.remaining.substring(de.length),!0)}capture(de){if(!this.consumeOptional(de))throw new i.buA(4011,!1)}}function bt(X){return X.segments.length>0?new wt([],{[$]:X}):X}function tn(X){const de={};for(const[me,et]of Object.entries(X.children)){const Mt=tn(et);if(me===$&&0===Mt.segments.length&&Mt.hasChildren())for(const[Kt,Tn]of Object.entries(Mt.children))de[Kt]=Tn;else(Mt.segments.length>0||Mt.hasChildren())&&(de[me]=Mt)}return function on(X){if(1===X.numberOfChildren&&X.children[$]){const de=X.children[$];return new wt(X.segments.concat(de.segments),de.children)}return X}(new wt(X.segments,de))}function un(X){return X instanceof Ue}function dn(X){let de;const et=bt(function Q(Mt){const Kt={};for(const ai of Mt.children){const Gi=Q(ai);Kt[ai.outlet]=Gi}const Tn=new wt(Mt.url,Kt);return Mt===X&&(de=Tn),Tn}(X.root));return de??et}function xn(X,de,Q,me){let et=X;for(;et.parent;)et=et.parent;if(0===de.length)return Yi(et,et,et,Q,me);const Mt=function we(X){if("string"==typeof X[0]&&1===X.length&&"/"===X[0])return new At(!0,0,X);let de=0,Q=!1;const me=X.reduce((et,Mt,Kt)=>{if("object"==typeof Mt&&null!=Mt){if(Mt.outlets){const Tn={};return Object.entries(Mt.outlets).forEach(([ai,Gi])=>{Tn[ai]="string"==typeof Gi?Gi.split("/"):Gi}),[...et,{outlets:Tn}]}if(Mt.segmentPath)return[...et,Mt.segmentPath]}return"string"!=typeof Mt?[...et,Mt]:0===Kt?(Mt.split("/").forEach((Tn,ai)=>{0==ai&&"."===Tn||(0==ai&&""===Tn?Q=!0:".."===Tn?de++:""!=Tn&&et.push(Tn))}),et):[...et,Mt]},[]);return new At(Q,de,me)}(de);if(Mt.toRoot())return Yi(et,et,new wt([],{}),Q,me);const Kt=function Lt(X,de,Q){if(X.isAbsolute)return new ae(de,!0,0);if(!Q)return new ae(de,!1,NaN);if(null===Q.parent)return new ae(Q,!0,0);const me=Jn(X.commands[0])?0:1;return function Ht(X,de,Q){let me=X,et=de,Mt=Q;for(;Mt>et;){if(Mt-=et,me=me.parent,!me)throw new i.buA(4005,!1);et=me.segments.length}return new ae(me,!1,et-Mt)}(Q,Q.segments.length-1+me,X.numberOfDoubleDots)}(Mt,et,X),Tn=Kt.processChildren?bi(Kt.segmentGroup,Kt.index,Mt.commands):fi(Kt.segmentGroup,Kt.index,Mt.commands);return Yi(et,Kt.segmentGroup,Tn,Q,me)}function Jn(X){return"object"==typeof X&&null!=X&&!X.outlets&&!X.segmentPath}function xi(X){return"object"==typeof X&&null!=X&&X.outlets}function Yi(X,de,Q,me,et){let Kt,Mt={};me&&Object.entries(me).forEach(([ai,Gi])=>{Mt[ai]=Array.isArray(Gi)?Gi.map(La=>`${La}`):`${Gi}`}),Kt=X===de?Q:Tt(X,de,Q);const Tn=bt(tn(Kt));return new Ue(Tn,Mt,et)}function Tt(X,de,Q){const me={};return Object.entries(X.children).forEach(([et,Mt])=>{me[et]=Mt===de?Q:Tt(Mt,de,Q)}),new wt(X.segments,me)}class At{isAbsolute;numberOfDoubleDots;commands;constructor(de,Q,me){if(this.isAbsolute=de,this.numberOfDoubleDots=Q,this.commands=me,de&&me.length>0&&Jn(me[0]))throw new i.buA(4003,!1);const et=me.find(xi);if(et&&et!==fe(me))throw new i.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ae{segmentGroup;processChildren;index;constructor(de,Q,me){this.segmentGroup=de,this.processChildren=Q,this.index=me}}function fi(X,de,Q){if(X??=new wt([],{}),0===X.segments.length&&X.hasChildren())return bi(X,de,Q);const me=function Qi(X,de,Q){let me=0,et=de;const Mt={match:!1,pathIndex:0,commandIndex:0};for(;et=Q.length)return Mt;const Kt=X.segments[et],Tn=Q[me];if(xi(Tn))break;const ai=`${Tn}`,Gi=me0&&void 0===ai)break;if(ai&&Gi&&"object"==typeof Gi&&void 0===Gi.outlets){if(!Yt(ai,Gi,Kt))return Mt;me+=2}else{if(!Yt(ai,{},Kt))return Mt;me++}et++}return{match:!0,pathIndex:et,commandIndex:me}}(X,de,Q),et=Q.slice(me.commandIndex);if(me.match&&me.pathIndexMt!==$)&&X.children[$]&&1===X.numberOfChildren&&0===X.children[$].segments.length){const Mt=bi(X.children[$],de,Q);return new wt(X.segments,Mt.children)}return Object.entries(me).forEach(([Mt,Kt])=>{"string"==typeof Kt&&(Kt=[Kt]),null!==Kt&&(et[Mt]=fi(X.children[Mt],de,Kt))}),Object.entries(X.children).forEach(([Mt,Kt])=>{void 0===me[Mt]&&(et[Mt]=Kt)}),new wt(X.segments,et)}}function zi(X,de,Q){const me=X.segments.slice(0,de);let et=0;for(;et{"string"==typeof me&&(me=[me]),null!==me&&(de[Q]=zi(new wt([],{}),0,me))}),de}function an(X){const de={};return Object.entries(X).forEach(([Q,me])=>de[Q]=`${me}`),de}function Yt(X,de,Q){return X==Q.path&&ht(de,Q.parameters)}const Un="imperative";var zn=function(X){return X[X.NavigationStart=0]="NavigationStart",X[X.NavigationEnd=1]="NavigationEnd",X[X.NavigationCancel=2]="NavigationCancel",X[X.NavigationError=3]="NavigationError",X[X.RoutesRecognized=4]="RoutesRecognized",X[X.ResolveStart=5]="ResolveStart",X[X.ResolveEnd=6]="ResolveEnd",X[X.GuardsCheckStart=7]="GuardsCheckStart",X[X.GuardsCheckEnd=8]="GuardsCheckEnd",X[X.RouteConfigLoadStart=9]="RouteConfigLoadStart",X[X.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",X[X.ChildActivationStart=11]="ChildActivationStart",X[X.ChildActivationEnd=12]="ChildActivationEnd",X[X.ActivationStart=13]="ActivationStart",X[X.ActivationEnd=14]="ActivationEnd",X[X.Scroll=15]="Scroll",X[X.NavigationSkipped=16]="NavigationSkipped",X}(zn||{});class Fn{id;url;constructor(de,Q){this.id=de,this.url=Q}}class ci extends Fn{type=zn.NavigationStart;navigationTrigger;restoredState;constructor(de,Q,me="imperative",et=null){super(de,Q),this.navigationTrigger=me,this.restoredState=et}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rn extends Fn{urlAfterRedirects;type=zn.NavigationEnd;constructor(de,Q,me){super(de,Q),this.urlAfterRedirects=me}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var In=function(X){return X[X.Redirect=0]="Redirect",X[X.SupersededByNewNavigation=1]="SupersededByNewNavigation",X[X.NoDataFromResolver=2]="NoDataFromResolver",X[X.GuardRejected=3]="GuardRejected",X[X.Aborted=4]="Aborted",X}(In||{}),Mn=function(X){return X[X.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",X[X.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",X}(Mn||{});class Vn extends Fn{reason;code;type=zn.NavigationCancel;constructor(de,Q,me,et){super(de,Q),this.reason=me,this.code=et}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ii extends Fn{reason;code;type=zn.NavigationSkipped;constructor(de,Q,me,et){super(de,Q),this.reason=me,this.code=et}}class Bn extends Fn{error;target;type=zn.NavigationError;constructor(de,Q,me,et){super(de,Q),this.error=me,this.target=et}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ia extends Fn{urlAfterRedirects;state;type=zn.RoutesRecognized;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ra extends Fn{urlAfterRedirects;state;type=zn.GuardsCheckStart;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fa extends Fn{urlAfterRedirects;state;shouldActivate;type=zn.GuardsCheckEnd;constructor(de,Q,me,et,Mt){super(de,Q),this.urlAfterRedirects=me,this.state=et,this.shouldActivate=Mt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ha extends Fn{urlAfterRedirects;state;type=zn.ResolveStart;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qt extends Fn{urlAfterRedirects;state;type=zn.ResolveEnd;constructor(de,Q,me,et){super(de,Q),this.urlAfterRedirects=me,this.state=et}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class En{route;type=zn.RouteConfigLoadStart;constructor(de){this.route=de}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Wn{route;type=zn.RouteConfigLoadEnd;constructor(de){this.route=de}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ri{snapshot;type=zn.ChildActivationStart;constructor(de){this.snapshot=de}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rn{snapshot;type=zn.ChildActivationEnd;constructor(de){this.snapshot=de}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hn{snapshot;type=zn.ActivationStart;constructor(de){this.snapshot=de}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pi{snapshot;type=zn.ActivationEnd;constructor(de){this.snapshot=de}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class da{routerEvent;position;anchor;type=zn.Scroll;constructor(de,Q,me){this.routerEvent=de,this.position=Q,this.anchor=me}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ta{}class en{url;navigationBehaviorOptions;constructor(de,Q){this.url=de,this.navigationBehaviorOptions=Q}}function oi(X){switch(X.type){case zn.ActivationEnd:return`ActivationEnd(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ActivationStart:return`ActivationStart(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ChildActivationEnd:return`ChildActivationEnd(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.ChildActivationStart:return`ChildActivationStart(path: '${X.snapshot.routeConfig?.path||""}')`;case zn.GuardsCheckEnd:return`GuardsCheckEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state}, shouldActivate: ${X.shouldActivate})`;case zn.GuardsCheckStart:return`GuardsCheckStart(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.NavigationCancel:return`NavigationCancel(id: ${X.id}, url: '${X.url}')`;case zn.NavigationSkipped:return`NavigationSkipped(id: ${X.id}, url: '${X.url}')`;case zn.NavigationEnd:return`NavigationEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}')`;case zn.NavigationError:return`NavigationError(id: ${X.id}, url: '${X.url}', error: ${X.error})`;case zn.NavigationStart:return`NavigationStart(id: ${X.id}, url: '${X.url}')`;case zn.ResolveEnd:return`ResolveEnd(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.ResolveStart:return`ResolveStart(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${X.route.path})`;case zn.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${X.route.path})`;case zn.RoutesRecognized:return`RoutesRecognized(id: ${X.id}, url: '${X.url}', urlAfterRedirects: '${X.urlAfterRedirects}', state: ${X.state})`;case zn.Scroll:return`Scroll(anchor: '${X.anchor}', position: '${X.position?`${X.position[0]}, ${X.position[1]}`:null}')`}}function Fe(X){return X.outlet||$}function Ve(X){if(!X)return null;if(X.routeConfig?._injector)return X.routeConfig._injector;for(let de=X.parent;de;de=de.parent){const Q=de.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class Et{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ve(this.route?.snapshot)??this.rootInjector}constructor(de){this.rootInjector=de,this.children=new Jt(this.rootInjector)}}let Jt=(()=>{class X{rootInjector;contexts=new Map;constructor(Q){this.rootInjector=Q}onChildOutletCreated(Q,me){const et=this.getOrCreateContext(Q);et.outlet=me,this.contexts.set(Q,et)}onChildOutletDestroyed(Q){const me=this.getContext(Q);me&&(me.outlet=null,me.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let me=this.getContext(Q);return me||(me=new Et(this.rootInjector),this.contexts.set(Q,me)),me}getContext(Q){return this.contexts.get(Q)||null}static \u0275fac=function(me){return new(me||X)(i.KVO(i.uvJ))};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();class ti{_root;constructor(de){this._root=de}get root(){return this._root.value}parent(de){const Q=this.pathFromRoot(de);return Q.length>1?Q[Q.length-2]:null}children(de){const Q=di(de,this._root);return Q?Q.children.map(me=>me.value):[]}firstChild(de){const Q=di(de,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(de){const Q=Ii(de,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(et=>et.value).filter(et=>et!==de)}pathFromRoot(de){return Ii(de,this._root).map(Q=>Q.value)}}function di(X,de){if(X===de.value)return de;for(const Q of de.children){const me=di(X,Q);if(me)return me}return null}function Ii(X,de){if(X===de.value)return[de];for(const Q of de.children){const me=Ii(X,Q);if(me.length)return me.unshift(de),me}return[]}class ca{value;children;constructor(de,Q){this.value=de,this.children=Q}toString(){return`TreeNode(${this.value})`}}function nn(X){const de={};return X&&X.children.forEach(Q=>de[Q.value.outlet]=Q),de}class ni extends ti{snapshot;constructor(de,Q){super(de),this.snapshot=Q,_a(this,de)}toString(){return this.snapshot.toString()}}function U(X){const de=function tt(X){const Mt=new Nn([],{},{},"",{},$,X,null,{});return new Ki("",new ca(Mt,[]))}(X),Q=new u.t([new pt("",{})]),me=new u.t({}),et=new u.t({}),Mt=new u.t({}),Kt=new u.t(""),Tn=new Ze(Q,me,Mt,Kt,et,$,X,de.root);return Tn.snapshot=de.root,new ni(new ca(Tn,[]),de)}class Ze{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(de,Q,me,et,Mt,Kt,Tn,ai){this.urlSubject=de,this.paramsSubject=Q,this.queryParamsSubject=me,this.fragmentSubject=et,this.dataSubject=Mt,this.outlet=Kt,this.component=Tn,this._futureSnapshot=ai,this.title=this.dataSubject?.pipe((0,re.T)(Gi=>Gi[Ke]))??(0,f.of)(void 0),this.url=de,this.params=Q,this.queryParams=me,this.fragment=et,this.data=Mt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,re.T)(de=>St(de))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,re.T)(de=>St(de))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(X,de,Q="emptyOnly"){let me;const{routeConfig:et}=X;return me=null===de||"always"!==Q&&""!==et?.path&&(de.component||de.routeConfig?.loadComponent)?{params:{...X.params},data:{...X.data},resolve:{...X.data,...X._resolvedData??{}}}:{params:{...de.params,...X.params},data:{...de.data,...X.data},resolve:{...X.data,...de.data,...et?.data,...X._resolvedData}},et&&Ga(et)&&(me.resolve[Ke]=et.title),me}class Nn{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ke]}constructor(de,Q,me,et,Mt,Kt,Tn,ai,Gi){this.url=de,this.params=Q,this.queryParams=me,this.fragment=et,this.data=Mt,this.outlet=Kt,this.component=Tn,this.routeConfig=ai,this._resolve=Gi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=St(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=St(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(me=>me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ki extends ti{url;constructor(de,Q){super(Q),this.url=de,_a(this,Q)}toString(){return Ua(this._root)}}function _a(X,de){de.value._routerState=X,de.children.forEach(Q=>_a(X,Q))}function Ua(X){const de=X.children.length>0?` { ${X.children.map(Ua).join(", ")} } `:"";return`${X.value}${de}`}function $a(X){if(X.snapshot){const de=X.snapshot,Q=X._futureSnapshot;X.snapshot=Q,ht(de.queryParams,Q.queryParams)||X.queryParamsSubject.next(Q.queryParams),de.fragment!==Q.fragment&&X.fragmentSubject.next(Q.fragment),ht(de.params,Q.params)||X.paramsSubject.next(Q.params),function nt(X,de){if(X.length!==de.length)return!1;for(let Q=0;Qht(Q.parameters,de[me].parameters))}(X.url,de.url);return Q&&!(!X.parent!=!de.parent)&&(!X.parent||ns(X.parent,de.parent))}function Ga(X){return"string"==typeof X.title||null===X.title}const As=new i.nKC("");let hr=(()=>{class X{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new v.bkB;deactivateEvents=new v.bkB;attachEvents=new v.bkB;detachEvents=new v.bkB;routerOutletData=(0,T.hFB)();parentContexts=(0,i.WQX)(Jt);location=(0,i.WQX)(v.c1b);changeDetector=(0,i.WQX)(T.gRc);inputBinder=(0,i.WQX)(fr,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(Q){if(Q.name){const{firstChange:me,previousValue:et}=Q.name;if(me)return;this.isTrackedInParentContexts(et)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(et)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Q){return this.parentContexts.getContext(Q)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Q=this.parentContexts.getContext(this.name);Q?.route&&(Q.attachRef?this.attach(Q.attachRef,Q.route):this.activateWith(Q.route,Q.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.buA(4012,!1);this.location.detach();const Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,me){this.activated=Q,this._activatedRoute=me,this.location.insert(Q.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Q.instance)}deactivate(){if(this.activated){const Q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Q)}}activateWith(Q,me){if(this.isActivated)throw new i.buA(4013,!1);this._activatedRoute=Q;const et=this.location,Kt=Q.snapshot.component,Tn=this.parentContexts.getOrCreateContext(this.name).children,ai=new mr(Q,Tn,et.injector,this.routerOutletData);this.activated=et.createComponent(Kt,{index:et.length,injector:ai,environmentInjector:me}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(me){return new(me||X)};static \u0275dir=v.FsC({type:X,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[v.OA$]})}return X})();class mr{route;childContexts;parent;outletData;constructor(de,Q,me,et){this.route=de,this.childContexts=Q,this.parent=me,this.outletData=et}get(de,Q){return de===Ze?this.route:de===Jt?this.childContexts:de===As?this.outletData:this.parent.get(de,Q)}}const fr=new i.nKC("");let zo=(()=>{class X{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(Q){this.unsubscribeFromRouteData(Q),this.subscribeToRouteData(Q)}unsubscribeFromRouteData(Q){this.outletDataSubscriptions.get(Q)?.unsubscribe(),this.outletDataSubscriptions.delete(Q)}subscribeToRouteData(Q){const{activatedRoute:me}=Q,et=(0,L.z)([me.queryParams,me.params,me.data]).pipe((0,xe.n)(([Mt,Kt,Tn],ai)=>(Tn={...Mt,...Kt,...Tn},0===ai?(0,f.of)(Tn):Promise.resolve(Tn)))).subscribe(Mt=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==me||null===me.component)return void this.unsubscribeFromRouteData(Q);const Kt=(0,T.HJs)(me.component);if(Kt)for(const{templateName:Tn}of Kt.inputs)Q.activatedComponentRef.setInput(Tn,Mt[Tn]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,et)}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac})}return X})(),pr=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275cmp=v.VBU({type:X,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(me,et){1&me&&v.nrm(0,"router-outlet")},dependencies:[hr],encapsulation:2})}return X})();function gr(X){const de=X.children&&X.children.map(gr),Q=de?{...X,children:de}:{...X};return!Q.component&&!Q.loadComponent&&(de||Q.loadChildren)&&Q.outlet&&Q.outlet!==$&&(Q.component=pr),Q}function Zs(X,de,Q){if(Q&&X.shouldReuseRoute(de.value,Q.value.snapshot)){const me=Q.value;me._futureSnapshot=de.value;const et=function jr(X,de,Q){return de.children.map(me=>{for(const et of Q.children)if(X.shouldReuseRoute(me.value,et.value.snapshot))return Zs(X,me,et);return Zs(X,me)})}(X,de,Q);return new ca(me,et)}{if(X.shouldAttach(de.value)){const Mt=X.retrieve(de.value);if(null!==Mt){const Kt=Mt.route;return Kt.value._futureSnapshot=de.value,Kt.children=de.children.map(Tn=>Zs(X,Tn)),Kt}}const me=function Er(X){return new Ze(new u.t(X.url),new u.t(X.params),new u.t(X.queryParams),new u.t(X.fragment),new u.t(X.data),X.outlet,X.component,X)}(de.value),et=de.children.map(Mt=>Zs(X,Mt));return new ca(me,et)}}class Ka{redirectTo;navigationBehaviorOptions;constructor(de,Q){this.redirectTo=de,this.navigationBehaviorOptions=Q}}const Ps="ngNavigationCancelingError";function kr(X,de){const{redirectTo:Q,navigationBehaviorOptions:me}=un(de)?{redirectTo:de,navigationBehaviorOptions:void 0}:de,et=js(!1,In.Redirect);return et.url=Q,et.navigationBehaviorOptions=me,et}function js(X,de){const Q=new Error(`NavigationCancelingError: ${X||""}`);return Q[Ps]=!0,Q.cancellationCode=de,Q}function Zr(X){return!!X&&X[Ps]}class Co{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(de,Q,me,et,Mt){this.routeReuseStrategy=de,this.futureState=Q,this.currState=me,this.forwardEvent=et,this.inputBindingEnabled=Mt}activate(de){const Q=this.futureState._root,me=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,me,de),$a(this.futureState.root),this.activateChildRoutes(Q,me,de)}deactivateChildRoutes(de,Q,me){const et=nn(Q);de.children.forEach(Mt=>{const Kt=Mt.value.outlet;this.deactivateRoutes(Mt,et[Kt],me),delete et[Kt]}),Object.values(et).forEach(Mt=>{this.deactivateRouteAndItsChildren(Mt,me)})}deactivateRoutes(de,Q,me){const et=de.value,Mt=Q?Q.value:null;if(et===Mt)if(et.component){const Kt=me.getContext(et.outlet);Kt&&this.deactivateChildRoutes(de,Q,Kt.children)}else this.deactivateChildRoutes(de,Q,me);else Mt&&this.deactivateRouteAndItsChildren(Q,me)}deactivateRouteAndItsChildren(de,Q){de.value.component&&this.routeReuseStrategy.shouldDetach(de.value.snapshot)?this.detachAndStoreRouteSubtree(de,Q):this.deactivateRouteAndOutlet(de,Q)}detachAndStoreRouteSubtree(de,Q){const me=Q.getContext(de.value.outlet),et=me&&de.value.component?me.children:Q,Mt=nn(de);for(const Kt of Object.values(Mt))this.deactivateRouteAndItsChildren(Kt,et);if(me&&me.outlet){const Kt=me.outlet.detach(),Tn=me.children.onOutletDeactivated();this.routeReuseStrategy.store(de.value.snapshot,{componentRef:Kt,route:de,contexts:Tn})}}deactivateRouteAndOutlet(de,Q){const me=Q.getContext(de.value.outlet),et=me&&de.value.component?me.children:Q,Mt=nn(de);for(const Kt of Object.values(Mt))this.deactivateRouteAndItsChildren(Kt,et);me&&(me.outlet&&(me.outlet.deactivate(),me.children.onOutletDeactivated()),me.attachRef=null,me.route=null)}activateChildRoutes(de,Q,me){const et=nn(Q);de.children.forEach(Mt=>{this.activateRoutes(Mt,et[Mt.value.outlet],me),this.forwardEvent(new Pi(Mt.value.snapshot))}),de.children.length&&this.forwardEvent(new Rn(de.value.snapshot))}activateRoutes(de,Q,me){const et=de.value,Mt=Q?Q.value:null;if($a(et),et===Mt)if(et.component){const Kt=me.getOrCreateContext(et.outlet);this.activateChildRoutes(de,Q,Kt.children)}else this.activateChildRoutes(de,Q,me);else if(et.component){const Kt=me.getOrCreateContext(et.outlet);if(this.routeReuseStrategy.shouldAttach(et.snapshot)){const Tn=this.routeReuseStrategy.retrieve(et.snapshot);this.routeReuseStrategy.store(et.snapshot,null),Kt.children.onOutletReAttached(Tn.contexts),Kt.attachRef=Tn.componentRef,Kt.route=Tn.route.value,Kt.outlet&&Kt.outlet.attach(Tn.componentRef,Tn.route.value),$a(Tn.route.value),this.activateChildRoutes(de,null,Kt.children)}else Kt.attachRef=null,Kt.route=et,Kt.outlet&&Kt.outlet.activateWith(et,Kt.injector),this.activateChildRoutes(de,null,Kt.children)}else this.activateChildRoutes(de,null,me)}}class Js{path;route;constructor(de){this.path=de,this.route=this.path[this.path.length-1]}}class _r{component;route;constructor(de,Q){this.component=de,this.route=Q}}function rs(X,de,Q){const me=X._root;return Hs(me,de?de._root:null,Q,[me.value])}function is(X,de){const Q=Symbol(),me=de.get(X,Q);return me===Q?"function"!=typeof X||(0,i.muV)(X)?de.get(X):X:me}function Hs(X,de,Q,me,et={canDeactivateChecks:[],canActivateChecks:[]}){const Mt=nn(de);return X.children.forEach(Kt=>{(function Ws(X,de,Q,me,et={canDeactivateChecks:[],canActivateChecks:[]}){const Mt=X.value,Kt=de?de.value:null,Tn=Q?Q.getContext(X.value.outlet):null;if(Kt&&Mt.routeConfig===Kt.routeConfig){const ai=function Mr(X,de,Q){if("function"==typeof Q)return Q(X,de);switch(Q){case"pathParamsChange":return!gn(X.url,de.url);case"pathParamsOrQueryParamsChange":return!gn(X.url,de.url)||!ht(X.queryParams,de.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ns(X,de)||!ht(X.queryParams,de.queryParams);default:return!ns(X,de)}}(Kt,Mt,Mt.routeConfig.runGuardsAndResolvers);ai?et.canActivateChecks.push(new Js(me)):(Mt.data=Kt.data,Mt._resolvedData=Kt._resolvedData),Hs(X,de,Mt.component?Tn?Tn.children:null:Q,me,et),ai&&Tn&&Tn.outlet&&Tn.outlet.isActivated&&et.canDeactivateChecks.push(new _r(Tn.outlet.component,Kt))}else Kt&&Ui(de,Tn,et),et.canActivateChecks.push(new Js(me)),Hs(X,null,Mt.component?Tn?Tn.children:null:Q,me,et)})(Kt,Mt[Kt.value.outlet],Q,me.concat([Kt.value]),et),delete Mt[Kt.value.outlet]}),Object.entries(Mt).forEach(([Kt,Tn])=>Ui(Tn,Q.getContext(Kt),et)),et}function Ui(X,de,Q){const me=nn(X),et=X.value;Object.entries(me).forEach(([Mt,Kt])=>{Ui(Kt,et.component?de?de.children.getContext(Mt):null:de,Q)}),Q.canDeactivateChecks.push(new _r(et.component&&de&&de.outlet&&de.outlet.isActivated?de.outlet.component:null,et))}function xs(X){return"function"==typeof X}function wa(X){return X instanceof C.G||"EmptyError"===X?.name}const ja=Symbol("INITIAL_VALUE");function Za(){return(0,xe.n)(X=>(0,L.z)(X.map(de=>de.pipe((0,Ee.s)(1),(0,V.Z)(ja)))).pipe((0,re.T)(de=>{for(const Q of de)if(!0!==Q){if(Q===ja)return ja;if(!1===Q||Or(Q))return Q}return!0}),(0,ce.p)(de=>de!==ja),(0,Ee.s)(1)))}function Or(X){return un(X)||X instanceof Ka}function ln(X){return(0,Pe.F)((0,De.M)(de=>{if("boolean"!=typeof de)throw kr(0,de)}),(0,re.T)(de=>!0===de))}class ua{segmentGroup;constructor(de){this.segmentGroup=de||null}}class Es extends Error{urlTree;constructor(de){super(),this.urlTree=de}}function kt(X){return(0,le.$)(new ua(X))}function On(X){return(0,le.$)(new i.buA(4e3,!1))}class mn{urlSerializer;urlTree;constructor(de,Q){this.urlSerializer=de,this.urlTree=Q}lineralizeSegments(de,Q){let me=[],et=Q.root;for(;;){if(me=me.concat(et.segments),0===et.numberOfChildren)return(0,f.of)(me);if(et.numberOfChildren>1||!et.children[$])return On();et=et.children[$]}}applyRedirectCommands(de,Q,me,et,Mt){return function Ln(X,de,Q){if("string"==typeof X)return(0,f.of)(X);const me=X,{queryParams:et,fragment:Mt,routeConfig:Kt,url:Tn,outlet:ai,params:Gi,data:La,title:as}=de;return Qe((0,i.N4e)(Q,()=>me({params:Gi,data:La,queryParams:et,fragment:Mt,routeConfig:Kt,url:Tn,outlet:ai,title:as})))}(Q,et,Mt).pipe((0,re.T)(Kt=>{if(Kt instanceof Ue)throw new Es(Kt);const Tn=this.applyRedirectCreateUrlTree(Kt,this.urlSerializer.parse(Kt),de,me);if("/"===Kt[0])throw new Es(Tn);return Tn}))}applyRedirectCreateUrlTree(de,Q,me,et){const Mt=this.createSegmentGroup(de,Q.root,me,et);return new Ue(Mt,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(de,Q){const me={};return Object.entries(de).forEach(([et,Mt])=>{if("string"==typeof Mt&&":"===Mt[0]){const Tn=Mt.substring(1);me[et]=Q[Tn]}else me[et]=Mt}),me}createSegmentGroup(de,Q,me,et){const Mt=this.createSegments(de,Q.segments,me,et);let Kt={};return Object.entries(Q.children).forEach(([Tn,ai])=>{Kt[Tn]=this.createSegmentGroup(de,ai,me,et)}),new wt(Mt,Kt)}createSegments(de,Q,me,et){return Q.map(Mt=>":"===Mt.path[0]?this.findPosParam(de,Mt,et):this.findOrReturn(Mt,me))}findPosParam(de,Q,me){const et=me[Q.path.substring(1)];if(!et)throw new i.buA(4001,!1);return et}findOrReturn(de,Q){let me=0;for(const et of Q){if(et.path===de.path)return Q.splice(me),et;me++}return de}}const Ei={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xa(X,de,Q,me,et){const Mt=cs(X,de,Q);return Mt.matched?(me=function bn(X,de){return X.providers&&!X._injector&&(X._injector=(0,v.Ol2)(X.providers,de,`Route: ${X.path}`)),X._injector??de}(de,me),function Oi(X,de,Q,me){const et=de.canMatch;if(!et||0===et.length)return(0,f.of)(!0);const Mt=et.map(Kt=>{const Tn=is(Kt,X);return Qe(function Xs(X){return X&&xs(X.canMatch)}(Tn)?Tn.canMatch(de,Q):(0,i.N4e)(X,()=>Tn(de,Q)))});return(0,f.of)(Mt).pipe(Za(),ln())}(me,de,Q).pipe((0,re.T)(Kt=>!0===Kt?Mt:{...Ei}))):(0,f.of)(Mt)}function cs(X,de,Q){if("**"===de.path)return function qr(X){return{matched:!0,parameters:X.length>0?fe(X).parameters:{},consumedSegments:X,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===de.path)return"full"===de.pathMatch&&(X.hasChildren()||Q.length>0)?{...Ei}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const et=(de.matcher||ot)(Q,X,de);if(!et)return{...Ei};const Mt={};Object.entries(et.posParams??{}).forEach(([Tn,ai])=>{Mt[Tn]=ai.path});const Kt=et.consumed.length>0?{...Mt,...et.consumed[et.consumed.length-1].parameters}:Mt;return{matched:!0,consumedSegments:et.consumed,remainingSegments:Q.slice(et.consumed.length),parameters:Kt,positionalParamSegments:et.posParams??{}}}function xo(X,de,Q,me){return Q.length>0&&function Ml(X,de,Q){return Q.some(me=>tr(X,de,me)&&Fe(me)!==$)}(X,Q,me)?{segmentGroup:new wt(de,el(me,new wt(Q,X.children))),slicedSegments:[]}:0===Q.length&&function Ss(X,de,Q){return Q.some(me=>tr(X,de,me))}(X,Q,me)?{segmentGroup:new wt(X.segments,Ms(X,Q,me,X.children)),slicedSegments:Q}:{segmentGroup:new wt(X.segments,X.children),slicedSegments:Q}}function Ms(X,de,Q,me){const et={};for(const Mt of Q)if(tr(X,de,Mt)&&!me[Fe(Mt)]){const Kt=new wt([],{});et[Fe(Mt)]=Kt}return{...me,...et}}function el(X,de){const Q={};Q[$]=de;for(const me of X)if(""===me.path&&Fe(me)!==$){const et=new wt([],{});Q[Fe(me)]=et}return Q}function tr(X,de,Q){return(!(X.hasChildren()||de.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Mo{}class zl{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(de,Q,me,et,Mt,Kt,Tn){this.injector=de,this.configLoader=Q,this.rootComponentType=me,this.config=et,this.urlTree=Mt,this.paramsInheritanceStrategy=Kt,this.urlSerializer=Tn,this.applyRedirects=new mn(this.urlSerializer,this.urlTree)}noMatchError(de){return new i.buA(4002,`'${de.segmentGroup}'`)}recognize(){const de=xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(de).pipe((0,re.T)(({children:Q,rootSnapshot:me})=>{const et=new ca(me,Q),Mt=new Ki("",et),Kt=function Nt(X,de,Q=null,me=null){return xn(dn(X),de,Q,me)}(me,[],this.urlTree.queryParams,this.urlTree.fragment);return Kt.queryParams=this.urlTree.queryParams,Mt.url=this.urlSerializer.serialize(Kt),{state:Mt,tree:Kt}}))}match(de){const Q=new Nn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,de,$,Q).pipe((0,re.T)(me=>({children:me,rootSnapshot:Q})),(0,Re.W)(me=>{if(me instanceof Es)return this.urlTree=me.urlTree,this.match(me.urlTree.root);throw me instanceof ua?this.noMatchError(me):me}))}processSegmentGroup(de,Q,me,et,Mt){return 0===me.segments.length&&me.hasChildren()?this.processChildren(de,Q,me,Mt):this.processSegment(de,Q,me,me.segments,et,!0,Mt).pipe((0,re.T)(Kt=>Kt instanceof ca?[Kt]:[]))}processChildren(de,Q,me,et){const Mt=[];for(const Kt of Object.keys(me.children))"primary"===Kt?Mt.unshift(Kt):Mt.push(Kt);return(0,O.H)(Mt).pipe((0,J.H)(Kt=>{const Tn=me.children[Kt],ai=function Wt(X,de){const Q=X.filter(me=>Fe(me)===de);return Q.push(...X.filter(me=>Fe(me)!==de)),Q}(Q,Kt);return this.processSegmentGroup(de,ai,Tn,Kt,et)}),(0,Xe.S)((Kt,Tn)=>(Kt.push(...Tn),Kt)),(0,_e.U)(null),function ie(X,de){const Q=arguments.length>=2;return me=>me.pipe(X?(0,ce.p)((et,Mt)=>X(et,Mt,me)):te.D,lt(1),Q?(0,_e.U)(de):(0,Le.v)(()=>new C.G))}(),(0,be.Z)(Kt=>{if(null===Kt)return kt(me);const Tn=mi(Kt);return function ds(X){X.sort((de,Q)=>de.value.outlet===$?-1:Q.value.outlet===$?1:de.value.outlet.localeCompare(Q.value.outlet))}(Tn),(0,f.of)(Tn)}))}processSegment(de,Q,me,et,Mt,Kt,Tn){return(0,O.H)(Q).pipe((0,J.H)(ai=>this.processSegmentAgainstRoute(ai._injector??de,Q,ai,me,et,Mt,Kt,Tn).pipe((0,Re.W)(Gi=>{if(Gi instanceof ua)return(0,f.of)(null);throw Gi}))),(0,ne.$)(ai=>!!ai),(0,Re.W)(ai=>{if(wa(ai))return function Eo(X,de,Q){return 0===de.length&&!X.children[Q]}(me,et,Mt)?(0,f.of)(new Mo):kt(me);throw ai}))}processSegmentAgainstRoute(de,Q,me,et,Mt,Kt,Tn,ai){return Fe(me)===Kt||Kt!==$&&tr(et,Mt,me)?void 0===me.redirectTo?this.matchSegmentAgainstRoute(de,et,me,Mt,Kt,ai):this.allowRedirects&&Tn?this.expandSegmentAgainstRouteUsingRedirect(de,et,Q,me,Mt,Kt,ai):kt(et):kt(et)}expandSegmentAgainstRouteUsingRedirect(de,Q,me,et,Mt,Kt,Tn){const{matched:ai,parameters:Gi,consumedSegments:La,positionalParamSegments:as,remainingSegments:Ns}=cs(Q,et,Mt);if(!ai)return kt(Q);"string"==typeof et.redirectTo&&"/"===et.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const il=new Nn(Mt,Gi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Go(et),Fe(et),et.component??et._loadedComponent??null,et,gl(et)),ar=Xt(il,Tn,this.paramsInheritanceStrategy);return il.params=Object.freeze(ar.params),il.data=Object.freeze(ar.data),this.applyRedirects.applyRedirectCommands(La,et.redirectTo,as,il,de).pipe((0,xe.n)(oo=>this.applyRedirects.lineralizeSegments(et,oo)),(0,be.Z)(oo=>this.processSegment(de,me,Q,oo.concat(Ns),Kt,!1,Tn)))}matchSegmentAgainstRoute(de,Q,me,et,Mt,Kt){const Tn=xa(Q,me,et,de);return"**"===me.path&&(Q.children={}),Tn.pipe((0,xe.n)(ai=>ai.matched?this.getChildConfig(de=me._injector??de,me,et).pipe((0,xe.n)(({routes:Gi})=>{const La=me._loadedInjector??de,{parameters:as,consumedSegments:Ns,remainingSegments:il}=ai,ar=new Nn(Ns,as,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Go(me),Fe(me),me.component??me._loadedComponent??null,me,gl(me)),ro=Xt(ar,Kt,this.paramsInheritanceStrategy);ar.params=Object.freeze(ro.params),ar.data=Object.freeze(ro.data);const{segmentGroup:oo,slicedSegments:Il}=xo(Q,Ns,il,Gi);if(0===Il.length&&oo.hasChildren())return this.processChildren(La,Gi,oo,ar).pipe((0,re.T)(ec=>new ca(ar,ec)));if(0===Gi.length&&0===Il.length)return(0,f.of)(new ca(ar,[]));const mc=Fe(me)===Mt;return this.processSegment(La,Gi,oo,Il,mc?$:Mt,!0,ar).pipe((0,re.T)(ec=>new ca(ar,ec instanceof ca?[ec]:[])))})):kt(Q)))}getChildConfig(de,Q,me){return Q.children?(0,f.of)({routes:Q.children,injector:de}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,f.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function mt(X,de,Q,me){const et=de.canLoad;if(void 0===et||0===et.length)return(0,f.of)(!0);const Mt=et.map(Kt=>{const Tn=is(Kt,X);return Qe(function qs(X){return X&&xs(X.canLoad)}(Tn)?Tn.canLoad(de,Q):(0,i.N4e)(X,()=>Tn(de,Q)))});return(0,f.of)(Mt).pipe(Za(),ln())}(de,Q,me).pipe((0,be.Z)(et=>et?this.configLoader.loadChildren(de,Q).pipe((0,De.M)(Mt=>{Q._loadedRoutes=Mt.routes,Q._loadedInjector=Mt.injector})):function $e(){return(0,le.$)(js(!1,In.GuardRejected))}())):(0,f.of)({routes:[],injector:de})}}function nr(X){const de=X.value.routeConfig;return de&&""===de.path}function mi(X){const de=[],Q=new Set;for(const me of X){if(!nr(me)){de.push(me);continue}const et=de.find(Mt=>me.value.routeConfig===Mt.value.routeConfig);void 0!==et?(et.children.push(...me.children),Q.add(et)):de.push(me)}for(const me of Q){const et=mi(me.children);de.push(new ca(me.value,et))}return de.filter(me=>!Q.has(me))}function Go(X){return X.data||{}}function gl(X){return X.resolve||{}}function mo(X){const de=X.children.map(Q=>mo(Q)).flat();return[X,...de]}function us(X){return(0,xe.n)(de=>{const Q=X(de);return Q?(0,O.H)(Q).pipe((0,re.T)(()=>de)):(0,f.of)(de)})}let Dl=(()=>{class X{buildTitle(Q){let me,et=Q.root;for(;void 0!==et;)me=this.getResolvedTitleForRoute(et)??me,et=et.children.find(Mt=>Mt.outlet===$);return me}getResolvedTitleForRoute(Q){return Q.data[Ke]}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(eo),providedIn:"root"})}return X})(),eo=(()=>{class X extends Dl{title;constructor(Q){super(),this.title=Q}updateTitle(Q){const me=this.buildTitle(Q);void 0!==me&&this.title.setTitle(me)}static \u0275fac=function(me){return new(me||X)(i.KVO(H.hE))};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const So=new i.nKC("",{providedIn:"root",factory:()=>({})}),fo=new i.nKC("");let To=(()=>{class X{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,i.WQX)(v.Ql9);loadComponent(Q,me){if(this.componentLoaders.get(me))return this.componentLoaders.get(me);if(me._loadedComponent)return(0,f.of)(me._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(me);const et=Qe((0,i.N4e)(Q,()=>me.loadComponent())).pipe((0,re.T)(to),(0,xe.n)(wl),(0,De.M)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(me),me._loadedComponent=Kt}),(0,P.j)(()=>{this.componentLoaders.delete(me)})),Mt=new Ae.G(et,()=>new j.B).pipe((0,F.B)());return this.componentLoaders.set(me,Mt),Mt}loadChildren(Q,me){if(this.childrenLoaders.get(me))return this.childrenLoaders.get(me);if(me._loadedRoutes)return(0,f.of)({routes:me._loadedRoutes,injector:me._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(me);const Mt=function Ho(X,de,Q,me){return Qe((0,i.N4e)(Q,()=>X.loadChildren())).pipe((0,re.T)(to),(0,xe.n)(wl),(0,be.Z)(et=>et instanceof v.PYt||Array.isArray(et)?(0,f.of)(et):(0,O.H)(de.compileModuleAsync(et))),(0,re.T)(et=>{me&&me(X);let Mt,Kt,Tn=!1;return Array.isArray(et)?(Kt=et,!0):(Mt=et.create(Q).injector,Kt=Mt.get(fo,[],{optional:!0,self:!0}).flat()),{routes:Kt.map(gr),injector:Mt}}))}(me,this.compiler,Q,this.onLoadEndListener).pipe((0,P.j)(()=>{this.childrenLoaders.delete(me)})),Kt=new Ae.G(Mt,()=>new j.B).pipe((0,F.B)());return this.childrenLoaders.set(me,Kt),Kt}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function to(X){return function _l(X){return X&&"object"==typeof X&&"default"in X}(X)?X.default:X}function wl(X){return(0,f.of)(X)}let no=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Al),providedIn:"root"})}return X})(),Al=(()=>{class X{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,me){return Q}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const io=new i.nKC(""),Ys=new i.nKC("");function Dr(X,de,Q){const me=X.get(Ys),et=X.get(i.qQL);if(!et.startViewTransition||me.skipNextTransition)return me.skipNextTransition=!1,new Promise(Gi=>setTimeout(Gi));let Mt;const Kt=new Promise(Gi=>{Mt=Gi}),Tn=et.startViewTransition(()=>(Mt(),function li(X){return new Promise(de=>{(0,v.mal)({read:()=>setTimeout(de)},{injector:X})})}(X)));Tn.ready.catch(Gi=>{});const{onViewTransitionCreated:ai}=me;return ai&&(0,i.N4e)(X,()=>ai({transition:Tn,from:de,to:Q})),Kt}const Wr=new i.nKC("");let ao=(()=>{class X{currentNavigation=(0,i.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new j.B;transitionAbortWithErrorSubject=new j.B;configLoader=(0,i.WQX)(To);environmentInjector=(0,i.WQX)(i.uvJ);destroyRef=(0,i.WQX)(i.abz);urlSerializer=(0,i.WQX)(vi);rootContexts=(0,i.WQX)(Jt);location=(0,i.WQX)(d.aZ);inputBindingEnabled=null!==(0,i.WQX)(fr,{optional:!0});titleStrategy=(0,i.WQX)(Dl);options=(0,i.WQX)(So,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,i.WQX)(no);createViewTransition=(0,i.WQX)(io,{optional:!0});navigationErrorHandler=(0,i.WQX)(Wr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,f.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=et=>this.events.next(new Wn(et)),this.configLoader.onLoadStartListener=et=>this.events.next(new En(et)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const me=++this.navigationId;(0,w.O8)(()=>{this.transitions?.next({...Q,extractedUrl:this.urlHandlingStrategy.extract(Q.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:me})})}setupNavigations(Q){return this.transitions=new u.t(null),this.transitions.pipe((0,ce.p)(me=>null!==me),(0,xe.n)(me=>{let et=!1;return(0,f.of)(me).pipe((0,xe.n)(Mt=>{if(this.navigationId>me.id)return this.cancelNavigationTransition(me,"",In.SupersededByNewNavigation),Ce.w;this.currentTransition=me,this.currentNavigation.set({id:Mt.id,initialUrl:Mt.rawUrl,extractedUrl:Mt.extractedUrl,targetBrowserUrl:"string"==typeof Mt.extras.browserUrl?this.urlSerializer.parse(Mt.extras.browserUrl):Mt.extras.browserUrl,trigger:Mt.source,extras:Mt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Mt.abortController.abort()});const Kt=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Kt&&"reload"!==(Mt.extras.onSameUrlNavigation??Q.onSameUrlNavigation))return this.events.next(new ii(Mt.id,this.urlSerializer.serialize(Mt.rawUrl),"",Mn.IgnoredSameUrlNavigation)),Mt.resolve(!1),Ce.w;if(this.urlHandlingStrategy.shouldProcessUrl(Mt.rawUrl))return(0,f.of)(Mt).pipe((0,xe.n)(ai=>(this.events.next(new ci(ai.id,this.urlSerializer.serialize(ai.extractedUrl),ai.source,ai.restoredState)),ai.id!==this.navigationId?Ce.w:Promise.resolve(ai))),function Tr(X,de,Q,me,et,Mt){return(0,be.Z)(Kt=>function Sl(X,de,Q,me,et,Mt,Kt="emptyOnly"){return new zl(X,de,Q,me,et,Kt,Mt).recognize()}(X,de,Q,me,Kt.extractedUrl,et,Mt).pipe((0,re.T)(({state:Tn,tree:ai})=>({...Kt,targetSnapshot:Tn,urlAfterRedirects:ai}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,De.M)(ai=>{me.targetSnapshot=ai.targetSnapshot,me.urlAfterRedirects=ai.urlAfterRedirects,this.currentNavigation.update(La=>(La.finalUrl=ai.urlAfterRedirects,La));const Gi=new ia(ai.id,this.urlSerializer.serialize(ai.extractedUrl),this.urlSerializer.serialize(ai.urlAfterRedirects),ai.targetSnapshot);this.events.next(Gi)}));if(Kt&&this.urlHandlingStrategy.shouldProcessUrl(Mt.currentRawUrl)){const{id:ai,extractedUrl:Gi,source:La,restoredState:as,extras:Ns}=Mt,il=new ci(ai,this.urlSerializer.serialize(Gi),La,as);this.events.next(il);const ar=U(this.rootComponentType).snapshot;return this.currentTransition=me={...Mt,targetSnapshot:ar,urlAfterRedirects:Gi,extras:{...Ns,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(ro=>(ro.finalUrl=Gi,ro)),(0,f.of)(me)}return this.events.next(new ii(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),"",Mn.IgnoredByUrlHandlingStrategy)),Mt.resolve(!1),Ce.w}),(0,De.M)(Mt=>{const Kt=new ra(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(Kt)}),(0,re.T)(Mt=>(this.currentTransition=me={...Mt,guards:rs(Mt.targetSnapshot,Mt.currentSnapshot,this.rootContexts)},me)),function Rr(X,de){return(0,be.Z)(Q=>{const{targetSnapshot:me,currentSnapshot:et,guards:{canActivateChecks:Mt,canDeactivateChecks:Kt}}=Q;return 0===Kt.length&&0===Mt.length?(0,f.of)({...Q,guardsResult:!0}):function Fs(X,de,Q,me){return(0,O.H)(X).pipe((0,be.Z)(et=>function q(X,de,Q,me,et){const Mt=de&&de.routeConfig?de.routeConfig.canDeactivate:null;if(!Mt||0===Mt.length)return(0,f.of)(!0);const Kt=Mt.map(Tn=>{const ai=Ve(de)??et,Gi=is(Tn,ai);return Qe(function er(X){return X&&xs(X.canDeactivate)}(Gi)?Gi.canDeactivate(X,de,Q,me):(0,i.N4e)(ai,()=>Gi(X,de,Q,me))).pipe((0,ne.$)())});return(0,f.of)(Kt).pipe(Za())}(et.component,et.route,Q,de,me)),(0,ne.$)(et=>!0!==et,!0))}(Kt,me,et,X).pipe((0,be.Z)(Tn=>Tn&&function vr(X){return"boolean"==typeof X}(Tn)?function Hr(X,de,Q,me){return(0,O.H)(de).pipe((0,J.H)(et=>(0,B.x)(function Sr(X,de){return null!==X&&de&&de(new ri(X)),(0,f.of)(!0)}(et.route.parent,me),function Ks(X,de){return null!==X&&de&&de(new Hn(X)),(0,f.of)(!0)}(et.route,me),function He(X,de,Q){const me=de[de.length-1],Mt=de.slice(0,de.length-1).reverse().map(Kt=>function ls(X){const de=X.routeConfig?X.routeConfig.canActivateChild:null;return de&&0!==de.length?{node:X,guards:de}:null}(Kt)).filter(Kt=>null!==Kt).map(Kt=>(0,A.v)(()=>{const Tn=Kt.guards.map(ai=>{const Gi=Ve(Kt.node)??Q,La=is(ai,Gi);return Qe(function yr(X){return X&&xs(X.canActivateChild)}(La)?La.canActivateChild(me,X):(0,i.N4e)(Gi,()=>La(me,X))).pipe((0,ne.$)())});return(0,f.of)(Tn).pipe(Za())}));return(0,f.of)(Mt).pipe(Za())}(X,et.path,Q),function Ne(X,de,Q){const me=de.routeConfig?de.routeConfig.canActivate:null;if(!me||0===me.length)return(0,f.of)(!0);const et=me.map(Mt=>(0,A.v)(()=>{const Kt=Ve(de)??Q,Tn=is(Mt,Kt);return Qe(function Pa(X){return X&&xs(X.canActivate)}(Tn)?Tn.canActivate(de,X):(0,i.N4e)(Kt,()=>Tn(de,X))).pipe((0,ne.$)())}));return(0,f.of)(et).pipe(Za())}(X,et.route,Q))),(0,ne.$)(et=>!0!==et,!0))}(me,Mt,X,de):(0,f.of)(Tn)),(0,re.T)(Tn=>({...Q,guardsResult:Tn})))})}(this.environmentInjector,Mt=>this.events.next(Mt)),(0,De.M)(Mt=>{if(me.guardsResult=Mt.guardsResult,Mt.guardsResult&&"boolean"!=typeof Mt.guardsResult)throw kr(0,Mt.guardsResult);const Kt=new fa(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot,!!Mt.guardsResult);this.events.next(Kt)}),(0,ce.p)(Mt=>!!Mt.guardsResult||(this.cancelNavigationTransition(Mt,"",In.GuardRejected),!1)),us(Mt=>{if(0!==Mt.guards.canActivateChecks.length)return(0,f.of)(Mt).pipe((0,De.M)(Kt=>{const Tn=new ha(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(Tn)}),(0,xe.n)(Kt=>{let Tn=!1;return(0,f.of)(Kt).pipe(function jo(X,de){return(0,be.Z)(Q=>{const{targetSnapshot:me,guards:{canActivateChecks:et}}=Q;if(!et.length)return(0,f.of)(Q);const Mt=new Set(et.map(ai=>ai.route)),Kt=new Set;for(const ai of Mt)if(!Kt.has(ai))for(const Gi of mo(ai))Kt.add(Gi);let Tn=0;return(0,O.H)(Kt).pipe((0,J.H)(ai=>Mt.has(ai)?function Tl(X,de,Q,me){const et=X.routeConfig,Mt=X._resolve;return void 0!==et?.title&&!Ga(et)&&(Mt[Ke]=et.title),(0,A.v)(()=>(X.data=Xt(X,X.parent,Q).resolve,function Vl(X,de,Q,me){const et=oe(X);if(0===et.length)return(0,f.of)({});const Mt={};return(0,O.H)(et).pipe((0,be.Z)(Kt=>function za(X,de,Q,me){const et=Ve(de)??me,Mt=is(X,et);return Qe(Mt.resolve?Mt.resolve(de,Q):(0,i.N4e)(et,()=>Mt(de,Q)))}(X[Kt],de,Q,me).pipe((0,ne.$)(),(0,De.M)(Tn=>{if(Tn instanceof Ka)throw kr(new Ni,Tn);Mt[Kt]=Tn}))),lt(1),(0,re.T)(()=>Mt),(0,Re.W)(Kt=>wa(Kt)?Ce.w:(0,le.$)(Kt)))}(Mt,X,de,me).pipe((0,re.T)(Kt=>(X._resolvedData=Kt,X.data={...X.data,...Kt},null)))))}(ai,me,X,de):(ai.data=Xt(ai,ai.parent,X).resolve,(0,f.of)(void 0))),(0,De.M)(()=>Tn++),lt(1),(0,be.Z)(ai=>Tn===Kt.size?(0,f.of)(Q):Ce.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,De.M)({next:()=>Tn=!0,complete:()=>{Tn||this.cancelNavigationTransition(Kt,"",In.NoDataFromResolver)}}))}),(0,De.M)(Kt=>{const Tn=new qt(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(Tn)}))}),us(Mt=>{const Kt=Tn=>{const ai=[];if(Tn.routeConfig?.loadComponent){const Gi=Ve(Tn)??this.environmentInjector;ai.push(this.configLoader.loadComponent(Gi,Tn.routeConfig).pipe((0,De.M)(La=>{Tn.component=La}),(0,re.T)(()=>{})))}for(const Gi of Tn.children)ai.push(...Kt(Gi));return ai};return(0,L.z)(Kt(Mt.targetSnapshot.root)).pipe((0,_e.U)(null),(0,Ee.s)(1))}),us(()=>this.afterPreactivation()),(0,xe.n)(()=>{const{currentSnapshot:Mt,targetSnapshot:Kt}=me,Tn=this.createViewTransition?.(this.environmentInjector,Mt.root,Kt.root);return Tn?(0,O.H)(Tn).pipe((0,re.T)(()=>me)):(0,f.of)(me)}),(0,re.T)(Mt=>{const Kt=function bo(X,de,Q){const me=Zs(X,de._root,Q?Q._root:void 0);return new ni(me,de)}(Q.routeReuseStrategy,Mt.targetSnapshot,Mt.currentRouterState);return this.currentTransition=me={...Mt,targetRouterState:Kt},this.currentNavigation.update(Tn=>(Tn.targetRouterState=Kt,Tn)),me}),(0,De.M)(()=>{this.events.next(new Ta)}),((X,de,Q,me)=>(0,re.T)(et=>(new Co(de,et.targetRouterState,et.currentRouterState,Q,me).activate(X),et)))(this.rootContexts,Q.routeReuseStrategy,Mt=>this.events.next(Mt),this.inputBindingEnabled),(0,Ee.s)(1),(0,ve.Q)(new W.c(Mt=>{const Kt=me.abortController.signal,Tn=()=>Mt.next();return Kt.addEventListener("abort",Tn),()=>Kt.removeEventListener("abort",Tn)}).pipe((0,ce.p)(()=>!et&&!me.targetRouterState),(0,De.M)(()=>{this.cancelNavigationTransition(me,me.abortController.signal.reason+"",In.Aborted)}))),(0,De.M)({next:Mt=>{et=!0,this.lastSuccessfulNavigation=(0,w.O8)(this.currentNavigation),this.events.next(new rn(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Mt.targetRouterState.snapshot),Mt.resolve(!0)},complete:()=>{et=!0}}),(0,ve.Q)(this.transitionAbortWithErrorSubject.pipe((0,De.M)(Mt=>{throw Mt}))),(0,P.j)(()=>{et||this.cancelNavigationTransition(me,"",In.SupersededByNewNavigation),this.currentTransition?.id===me.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,Re.W)(Mt=>{if(this.destroyed)return me.resolve(!1),Ce.w;if(et=!0,Zr(Mt))this.events.next(new Vn(me.id,this.urlSerializer.serialize(me.extractedUrl),Mt.message,Mt.cancellationCode)),function Vo(X){return Zr(X)&&un(X.url)}(Mt)?this.events.next(new en(Mt.url,Mt.navigationBehaviorOptions)):me.resolve(!1);else{const Kt=new Bn(me.id,this.urlSerializer.serialize(me.extractedUrl),Mt,me.targetSnapshot??void 0);try{const Tn=(0,i.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Kt));if(!(Tn instanceof Ka))throw this.events.next(Kt),Mt;{const{message:ai,cancellationCode:Gi}=kr(0,Tn);this.events.next(new Vn(me.id,this.urlSerializer.serialize(me.extractedUrl),ai,Gi)),this.events.next(new en(Tn.redirectTo,Tn.navigationBehaviorOptions))}}catch(Tn){this.options.resolveNavigationPromiseOnError?me.resolve(!1):me.reject(Tn)}}return Ce.w}))}))}cancelNavigationTransition(Q,me,et){const Mt=new Vn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),me,et);this.events.next(Mt),Q.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const Q=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),me=(0,w.O8)(this.currentNavigation),et=me?.targetBrowserUrl??me?.extractedUrl;return Q.toString()!==et?.toString()&&!me?.extras.skipLocationChange}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function Pr(X){return X!==Un}let so=(()=>{class X{static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Ul),providedIn:"root"})}return X})();class tl{shouldDetach(de){return!1}store(de,Q){}shouldAttach(de){return!1}retrieve(de){return null}shouldReuseRoute(de,Q){return de.routeConfig===Q.routeConfig}}let Ul=(()=>{class X extends tl{static \u0275fac=(()=>{let Q;return function(et){return(Q||(Q=v.xGo(X)))(et||X)}})();static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),Do=(()=>{class X{urlSerializer=(0,i.WQX)(vi);options=(0,i.WQX)(So,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,i.WQX)(d.aZ);urlHandlingStrategy=(0,i.WQX)(no);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ue;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:Q,initialUrl:me,targetBrowserUrl:et}){const Mt=void 0!==Q?this.urlHandlingStrategy.merge(Q,me):me,Kt=et??Mt;return Kt instanceof Ue?this.urlSerializer.serialize(Kt):Kt}commitTransition({targetRouterState:Q,finalUrl:me,initialUrl:et}){me&&Q?(this.currentUrlTree=me,this.rawUrlTree=this.urlHandlingStrategy.merge(me,et),this.routerState=Q):this.rawUrlTree=et}routerState=U(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:Q}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Q??this.rawUrlTree)}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:()=>(0,i.WQX)(Jl),providedIn:"root"})}return X})(),Jl=(()=>{class X extends Do{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(Q){return this.location.subscribe(me=>{"popstate"===me.type&&setTimeout(()=>{Q(me.url,me.state,"popstate")})})}handleRouterEvent(Q,me){Q instanceof ci?this.updateStateMemento():Q instanceof ii?this.commitTransition(me):Q instanceof ia?"eager"===this.urlUpdateStrategy&&(me.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(me),me)):Q instanceof Ta?(this.commitTransition(me),"deferred"===this.urlUpdateStrategy&&!me.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(me),me)):Q instanceof Vn&&Q.code!==In.SupersededByNewNavigation&&Q.code!==In.Redirect?this.restoreHistory(me):Q instanceof Bn?this.restoreHistory(me,!0):Q instanceof rn&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,{extras:me,id:et}){const{replaceUrl:Mt,state:Kt}=me;if(this.location.isCurrentPathEqualTo(Q)||Mt){const Tn=this.browserPageId,ai={...Kt,...this.generateNgRouterState(et,Tn)};this.location.replaceState(Q,"",ai)}else{const Tn={...Kt,...this.generateNgRouterState(et,this.browserPageId+1)};this.location.go(Q,"",Tn)}}restoreHistory(Q,me=!1){if("computed"===this.canceledNavigationResolution){const Mt=this.currentPageId-this.browserPageId;0!==Mt?this.location.historyGo(Mt):this.getCurrentUrlTree()===Q.finalUrl&&0===Mt&&(this.resetInternalState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(me&&this.resetInternalState(Q),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Q,me){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:me}:{navigationId:Q}}static \u0275fac=(()=>{let Q;return function(et){return(Q||(Q=v.xGo(X)))(et||X)}})();static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();function Ll(X,de){X.events.pipe((0,ce.p)(Q=>Q instanceof rn||Q instanceof Vn||Q instanceof Bn||Q instanceof ii),(0,re.T)(Q=>Q instanceof rn||Q instanceof ii?0:Q instanceof Vn&&(Q.code===In.Redirect||Q.code===In.SupersededByNewNavigation)?2:1),(0,ce.p)(Q=>2!==Q),(0,Ee.s)(1)).subscribe(()=>{de()})}const ir={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ql={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Wo=(()=>{class X{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,i.WQX)(v.C7A);stateManager=(0,i.WQX)(Do);options=(0,i.WQX)(So,{optional:!0})||{};pendingTasks=(0,i.WQX)(i.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,i.WQX)(ao);urlSerializer=(0,i.WQX)(vi);location=(0,i.WQX)(d.aZ);urlHandlingStrategy=(0,i.WQX)(no);injector=(0,i.WQX)(i.uvJ);_events=new j.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,i.WQX)(so);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,i.WQX)(fo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,i.WQX)(fr,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:Q=>{this.console.warn(Q)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G.yU;subscribeToNavigationEvents(){const Q=this.navigationTransitions.events.subscribe(me=>{try{const et=this.navigationTransitions.currentTransition,Mt=(0,w.O8)(this.navigationTransitions.currentNavigation);if(null!==et&&null!==Mt)if(this.stateManager.handleRouterEvent(me,Mt),me instanceof Vn&&me.code!==In.Redirect&&me.code!==In.SupersededByNewNavigation)this.navigated=!0;else if(me instanceof rn)this.navigated=!0;else if(me instanceof en){const Kt=me.navigationBehaviorOptions,Tn=this.urlHandlingStrategy.merge(me.url,et.currentRawUrl),ai={browserUrl:et.extras.browserUrl,info:et.extras.info,skipLocationChange:et.extras.skipLocationChange,replaceUrl:et.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Pr(et.source),...Kt};this.scheduleNavigation(Tn,Un,null,ai,{resolve:et.resolve,reject:et.reject,promise:et.promise})}(function vn(X){return!(X instanceof Ta||X instanceof en)})(me)&&this._events.next(me)}catch(et){this.navigationTransitions.transitionAbortWithErrorSubject.next(et)}});this.eventsSubscription.add(Q)}resetRootComponentType(Q){this.routerState.root.component=Q,this.navigationTransitions.rootComponentType=Q}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Un,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,me,et)=>{this.navigateToSyncWithBrowser(Q,et,me)})}navigateToSyncWithBrowser(Q,me,et){const Mt={replaceUrl:!0},Kt=et?.navigationId?et:null;if(et){const ai={...et};delete ai.navigationId,delete ai.\u0275routerPageId,0!==Object.keys(ai).length&&(Mt.state=ai)}const Tn=this.parseUrl(Q);this.scheduleNavigation(Tn,me,Kt,Mt).catch(ai=>{this.disposed||this.injector.get(i.ZTf)(ai)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,w.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(gr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Q,me={}){const{relativeTo:et,queryParams:Mt,fragment:Kt,queryParamsHandling:Tn,preserveFragment:ai}=me,Gi=ai?this.currentUrlTree.fragment:Kt;let as,La=null;switch(Tn??this.options.defaultQueryParamsHandling){case"merge":La={...this.currentUrlTree.queryParams,...Mt};break;case"preserve":La=this.currentUrlTree.queryParams;break;default:La=Mt||null}null!==La&&(La=this.removeEmptyProps(La));try{as=dn(et?et.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||"/"!==Q[0][0])&&(Q=[]),as=this.currentUrlTree.root}return xn(as,Q,La,Gi??null)}navigateByUrl(Q,me={skipLocationChange:!1}){const et=un(Q)?Q:this.parseUrl(Q),Mt=this.urlHandlingStrategy.merge(et,this.rawUrlTree);return this.scheduleNavigation(Mt,Un,null,me)}navigate(Q,me={skipLocationChange:!1}){return function nl(X){for(let de=0;de(null!=Mt&&(me[et]=Mt),me),{})}scheduleNavigation(Q,me,et,Mt,Kt){if(this.disposed)return Promise.resolve(!1);let Tn,ai,Gi;Kt?(Tn=Kt.resolve,ai=Kt.reject,Gi=Kt.promise):Gi=new Promise((as,Ns)=>{Tn=as,ai=Ns});const La=this.pendingTasks.add();return Ll(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(La))}),this.navigationTransitions.handleNavigationRequest({source:me,restoredState:et,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:Mt,resolve:Tn,reject:ai,promise:Gi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Gi.catch(as=>Promise.reject(as))}static \u0275fac=function(me){return new(me||X)};static \u0275prov=i.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})()},8132(Zt,pe,l){"use strict";l.d(pe,{Wk:()=>lt,iI:()=>Ni,wQ:()=>Le});var W=l(467),G=l(7303),re=l(177),xe=l(2200),Ee=l(7705),V=l(2615),ce=l(3664),be=l(9295),ne=l(3694),J=l(1413),De=l(2806),Re=l(7673),Xe=l(274),_e=l(5964),he=l(6365),Dt=l(1397);let lt=(()=>{class ge{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,V.vPA)(null);get href(){return(0,be.O8)(this.reactiveHref)}set href(Z){this.reactiveHref.set(Z)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J.B;applicationErrorHandler=(0,V.WQX)(V.ZTf);options=(0,V.WQX)(ne.J_,{optional:!0});constructor(Z,Me,at,qe,pn,Je){this.router=Z,this.route=Me,this.tabIndexAttribute=at,this.renderer=qe,this.el=pn,this.locationStrategy=Je,this.reactiveHref.set((0,V.WQX)(new Ee.ES_("href"),{optional:!0}));const Be=pn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Be||"area"===Be||!("object"!=typeof customElements||!customElements.get(Be)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Z=this.preserveFragment;const Me=at=>"merge"===at||"preserve"===at;Z||=Me(this.queryParamsHandling),Z||=!this.queryParamsHandling&&!Me(this.options?.defaultQueryParamsHandling),Z&&(this.subscription=this.router.events.subscribe(at=>{at instanceof ne.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Z){null==Z?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,ne.wO)(Z)||Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Z,Me,at,qe,pn){const Je=this.urlTree;if(null===Je||this.isAnchorElement&&(0!==Z||Me||at||qe||pn||"string"==typeof this.target&&"_self"!=this.target))return!0;const Be={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Je,Be)?.catch(ut=>{this.applicationErrorHandler(ut)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.reactiveHref.set(null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z))??"":null)}applyAttributeValue(Z,Me){const at=this.renderer,qe=this.el.nativeElement;null!==Me?at.setAttribute(qe,Z,Me):at.removeAttribute(qe,Z)}get urlTree(){return null===this.routerLinkInput?null:(0,ne.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(Me){return new(Me||ge)(ce.rXU(ne.Ix),ce.rXU(ne.nX),ce.kS0("tabindex"),ce.rXU(ce.sFG),ce.rXU(ce.aKT),ce.rXU(G.hb))};static \u0275dir=ce.FsC({type:ge,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Me,at){1&Me&&ce.bIt("click",function(pn){return at.onClick(pn.button,pn.ctrlKey,pn.shiftKey,pn.altKey,pn.metaKey)}),2&Me&&ce.BMQ("href",at.reactiveHref(),ce.n$t)("target",at.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ee.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ee.L39],replaceUrl:[2,"replaceUrl","replaceUrl",Ee.L39],routerLink:"routerLink"},features:[ce.OA$]})}return ge})(),Le=(()=>{class ge{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ce.bkB;constructor(Z,Me,at,qe,pn){this.router=Z,this.element=Me,this.renderer=at,this.cdr=qe,this.link=pn,this.routerEventsSubscription=Z.events.subscribe(Je=>{Je instanceof ne.wF&&this.update()})}ngAfterContentInit(){(0,Re.of)(this.links.changes,(0,Re.of)(null)).pipe((0,he.U)()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(Me=>!!Me).map(Me=>Me.onChanges);this.linkInputChangesSubscription=(0,De.H)(Z).pipe((0,he.U)()).subscribe(Me=>{this._isActive!==this.isLinkActive(this.router)(Me)&&this.update()})}set routerLinkActive(Z){const Me=Array.isArray(Z)?Z:Z.split(" ");this.classes=Me.filter(at=>!!at)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this.classes.forEach(Me=>{Z?this.renderer.addClass(this.element.nativeElement,Me):this.renderer.removeClass(this.element.nativeElement,Me)}),Z&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.isActiveChange.emit(Z))})}isLinkActive(Z){const Me=function te(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return at=>{const qe=at.urlTree;return!!qe&&Z.isActive(qe,Me)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static \u0275fac=function(Me){return new(Me||ge)(ce.rXU(ne.Ix),ce.rXU(ce.aKT),ce.rXU(ce.sFG),ce.rXU(Ee.gRc),ce.rXU(lt,8))};static \u0275dir=ce.FsC({type:ge,selectors:[["","routerLinkActive",""]],contentQueries:function(Me,at,qe){if(1&Me&&ce.wni(qe,lt,5),2&Me){let pn;ce.mGM(pn=ce.lsd())&&(at.links=pn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ce.OA$]})}return ge})();class ie{}let ve=(()=>{class ge{router;injector;preloadingStrategy;loader;subscription;constructor(Z,Me,at,qe){this.router=Z,this.injector=Me,this.preloadingStrategy=at,this.loader=qe}setUpPreloading(){this.subscription=this.router.events.pipe((0,_e.p)(Z=>Z instanceof ne.wF),(0,Xe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,Me){const at=[];for(const qe of Me){qe.providers&&!qe._injector&&(qe._injector=(0,ce.Ol2)(qe.providers,Z,`Route: ${qe.path}`));const pn=qe._injector??Z,Je=qe._loadedInjector??pn;(qe.loadChildren&&!qe._loadedRoutes&&void 0===qe.canLoad||qe.loadComponent&&!qe._loadedComponent)&&at.push(this.preloadConfig(pn,qe)),(qe.children||qe._loadedRoutes)&&at.push(this.processRoutes(Je,qe.children??qe._loadedRoutes))}return(0,De.H)(at).pipe((0,he.U)())}preloadConfig(Z,Me){return this.preloadingStrategy.preload(Me,()=>{let at;at=Me.loadChildren&&void 0===Me.canLoad?this.loader.loadChildren(Z,Me):(0,Re.of)(null);const qe=at.pipe((0,Dt.Z)(pn=>null===pn?(0,Re.of)(void 0):(Me._loadedRoutes=pn.routes,Me._loadedInjector=pn.injector,this.processRoutes(pn.injector??Z,pn.routes))));if(Me.loadComponent&&!Me._loadedComponent){const pn=this.loader.loadComponent(Z,Me);return(0,De.H)([qe,pn]).pipe((0,he.U)())}return qe})}static \u0275fac=function(Me){return new(Me||ge)(V.KVO(ne.Ix),V.KVO(V.uvJ),V.KVO(ie),V.KVO(ne.D$))};static \u0275prov=V.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const H=new V.nKC("");let $=(()=>{class ge{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ne.wU;restoredId=0;store={};constructor(Z,Me,at,qe,pn={}){this.urlSerializer=Z,this.transitions=Me,this.viewportScroller=at,this.zone=qe,this.options=pn,pn.scrollPositionRestoration||="disabled",pn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof ne.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof ne.wF?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof ne.lW&&Z.code===ne.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{if(!(Z instanceof ne.OY))return;const Me={behavior:"instant"};Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Me):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position,Me):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Z,Me){var at=this;this.zone.runOutsideAngular((0,W.A)(function*(){yield new Promise(qe=>{setTimeout(qe),typeof requestAnimationFrame<"u"&&requestAnimationFrame(qe)}),at.zone.run(()=>{at.transitions.events.next(new ne.OY(Z,"popstate"===at.lastSource?at.store[at.restoredId]:null,Me))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Me){ce.QTQ()};static \u0275prov=V.jDH({token:ge,factory:ge.\u0275fac})}return ge})();function ht(ge,N){return{\u0275kind:ge,\u0275providers:N}}function gt(){const ge=(0,V.WQX)(V.zZn);return N=>{const Z=ge.get(ce.o8S);if(N!==Z.components[0])return;const Me=ge.get(ne.Ix),at=ge.get(Gt);1===ge.get(rt)&&Me.initialNavigation(),ge.get(Qn,null,{optional:!0})?.setUpPreloading(),ge.get(H,null,{optional:!0})?.init(),Me.resetRootComponentType(Z.componentTypes[0]),at.closed||(at.next(),at.complete(),at.unsubscribe())}}const Gt=new V.nKC("",{factory:()=>new J.B}),rt=new V.nKC("",{providedIn:"root",factory:()=>1}),Qn=new V.nKC("");function h(ge){return ht(0,[{provide:Qn,useExisting:ve},{provide:ie,useExisting:ge}])}function Pt(ge){return(0,ce._jY)("NgRouterViewTransitions"),ht(9,[{provide:ne.Pu,useValue:ne.Lg},{provide:ne.bK,useValue:{skipNextTransition:!!ge?.skipInitialTransition,...ge}}])}const vi=[G.aZ,{provide:ne.Sd,useClass:ne.nU},ne.Ix,ne.Zp,{provide:ne.nX,useFactory:function nt(ge){return ge.routerState.root},deps:[ne.Ix]},ne.D$,[]];let Ni=(()=>{class ge{constructor(){}static forRoot(Z,Me){return{ngModule:ge,providers:[vi,[],{provide:ne.bw,multi:!0,useValue:Z},[],Me?.errorHandler?{provide:ne.XR,useValue:Me.errorHandler}:[],{provide:ne.J_,useValue:Me||{}},Me?.useHash?{provide:G.hb,useClass:xe.fw}:{provide:G.hb,useClass:G.Sm},{provide:H,useFactory:()=>{const ge=(0,V.WQX)(re.Xr),N=(0,V.WQX)(ce.SKi),Z=(0,V.WQX)(ne.J_),Me=(0,V.WQX)(ne.J2),at=(0,V.WQX)(ne.Sd);return Z.scrollOffset&&ge.setOffset(Z.scrollOffset),new $(at,Me,ge,N,Z)}},Me?.preloadingStrategy?h(Me.preloadingStrategy).\u0275providers:[],Me?.initialNavigation?ye(Me):[],Me?.bindToComponentInputs?ht(8,[ne.tD,{provide:ne.c1,useExisting:ne.tD}]).\u0275providers:[],Me?.enableViewTransitions?Pt().\u0275providers:[],[{provide:ke,useFactory:gt},{provide:ce.iLQ,multi:!0,useExisting:ke}]]}}static forChild(Z){return{ngModule:ge,providers:[{provide:ne.bw,multi:!0,useValue:Z}]}}static \u0275fac=function(Me){return new(Me||ge)};static \u0275mod=ce.$C({type:ge});static \u0275inj=V.G2t({})}return ge})();function ye(ge){return["disabled"===ge.initialNavigation?ht(3,[(0,ce.phd)(()=>{(0,V.WQX)(ne.Ix).setUpLocationChangeListener()}),{provide:rt,useValue:2}]).\u0275providers:[],"enabledBlocking"===ge.initialNavigation?ht(2,[{provide:ce.tvf,useValue:!0},{provide:rt,useValue:0},(0,ce.phd)(()=>{const N=(0,V.WQX)(V.zZn);return N.get(G.hj,Promise.resolve()).then(()=>new Promise(Me=>{const at=N.get(ne.Ix),qe=N.get(Gt);(0,ne.gk)(at,()=>{Me(!0)}),N.get(ne.J2).afterPreactivation=()=>(Me(!0),qe.closed?(0,Re.of)(void 0):qe),at.initialNavigation()}))})]).\u0275providers:[]]}const ke=new V.nKC("")},60(Zt,pe,l){"use strict";l.d(pe,{aY:()=>ld,dX:()=>I0});var i=l(2615),d=l(3664),v=l(7705),T=l(9295),w=l(345);function e(Te,dt){(null==dt||dt>Te.length)&&(dt=Te.length);for(var st=0,ft=Array(dt);st=Te.length?{done:!0}:{done:!1,value:Te[ft++]}},e:function(si){throw si},f:$t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Cn,Dn=!0,Zn=!1;return{s:function(){st=st.call(Te)},n:function(){var si=st.next();return Dn=si.done,si},e:function(si){Zn=!0,Cn=si},f:function(){try{Dn||null==st.return||st.return()}finally{if(Zn)throw Cn}}}}function A(Te,dt,st){return(dt=ce(dt))in Te?Object.defineProperty(Te,dt,{value:st,enumerable:!0,configurable:!0,writable:!0}):Te[dt]=st,Te}function W(Te,dt){var st=Object.keys(Te);if(Object.getOwnPropertySymbols){var ft=Object.getOwnPropertySymbols(Te);dt&&(ft=ft.filter(function($t){return Object.getOwnPropertyDescriptor(Te,$t).enumerable})),st.push.apply(st,ft)}return st}function G(Te){for(var dt=1;dt0;)dt+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return dt}function wa(Te){for(var dt=[],st=(Te||[]).length>>>0;st--;)dt[st]=Te[st];return dt}function ja(Te){return Te.classList?wa(Te.classList):(Te.getAttribute("class")||"").split(" ").filter(function(dt){return dt})}function Za(Te){return"".concat(Te).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Rr(Te){return Object.keys(Te||{}).reduce(function(dt,st){return dt+"".concat(st,": ").concat(Te[st].trim(),";")},"")}function Fs(Te){return Te.size!==Pa.size||Te.x!==Pa.x||Te.y!==Pa.y||Te.rotate!==Pa.rotate||Te.flipX||Te.flipY}function Ne(){var dt=Ki,st=Ui.cssPrefix,ft=Ui.replacementClass,$t=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if("fa"!==st||ft!==dt){var Cn=new RegExp("\\.".concat("fa","\\-"),"g"),Dn=new RegExp("\\--".concat("fa","\\-"),"g"),Zn=new RegExp("\\.".concat(dt),"g");$t=$t.replace(Cn,".".concat(st,"-")).replace(Dn,"--".concat(st,"-")).replace(Zn,".".concat(ft))}return $t}var He=!1;function q(){Ui.autoAddCss&&!He&&(function yr(Te){if(Te&&H){var dt=ie.createElement("style");dt.setAttribute("type","text/css"),dt.innerHTML=Te;for(var st=ie.head.childNodes,ft=null,$t=st.length-1;$t>-1;$t--){var Cn=st[$t],Dn=(Cn.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Dn)>-1&&(ft=Cn)}ie.head.insertBefore(dt,ft)}}(Ne()),He=!0)}var mt={mixout:function(){return{dom:{css:Ne,insertCss:q}}},hooks:function(){return{beforeDOMElementCreation:function(){q()},beforeI2svg:function(){q()}}}},ln=te||{};ln[Ze]||(ln[Ze]={}),ln[Ze].styles||(ln[Ze].styles={}),ln[Ze].hooks||(ln[Ze].hooks={}),ln[Ze].shims||(ln[Ze].shims=[]);var Oi=ln[Ze],ua=[],Es=function(){ie.removeEventListener("DOMContentLoaded",Es),kt=1,ua.map(function(dt){return dt()})},kt=!1;function $e(Te){var dt=Te.tag,st=Te.attributes,ft=void 0===st?{}:st,$t=Te.children,Cn=void 0===$t?[]:$t;return"string"==typeof Te?Za(Te):"<".concat(dt," ").concat(function Or(Te){return Object.keys(Te||{}).reduce(function(dt,st){return dt+"".concat(st,'="').concat(Za(Te[st]),'" ')},"").trim()}(ft),">").concat(Cn.map($e).join(""),"")}function mn(Te,dt,st){if(Te&&Te[dt]&&Te[dt][st])return{prefix:dt,iconName:st,icon:Te[dt][st]}}H&&((kt=(ie.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ie.readyState))||ie.addEventListener("DOMContentLoaded",Es));var Ei=function(dt,st,ft,$t){var si,_t,ji,Cn=Object.keys(dt),Dn=Cn.length,Zn=void 0!==$t?function(dt,st){return function(ft,$t,Cn,Dn){return dt.call(st,ft,$t,Cn,Dn)}}(st,$t):st;for(void 0===ft?(si=1,ji=dt[Cn[0]]):(si=0,ji=ft);si2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,$t=void 0!==ft&&ft,Cn=cs(dt);"function"!=typeof Oi.hooks.addPack||$t?Oi.styles[Te]=G(G({},Oi.styles[Te]||{}),Cn):Oi.hooks.addPack(Te,cs(dt)),"fas"===Te&&qr("fa",dt)}var Ss=Oi.styles,tr=Oi.shims,Eo=Object.keys(Ka),Mo=Eo.reduce(function(Te,dt){return Te[dt]=Object.keys(Ka[dt]),Te},{}),Sl=null,pl={},zl={},ds={},nr={},mi={};var gl=function(){var dt=function(Cn){return Ei(Ss,function(Dn,Zn,si){return Dn[si]=Ei(Zn,Cn,{}),Dn},{})};pl=dt(function($t,Cn,Dn){return Cn[3]&&($t[Cn[3]]=Dn),Cn[2]&&Cn[2].filter(function(si){return"number"==typeof si}).forEach(function(si){$t[si.toString(16)]=Dn}),$t}),zl=dt(function($t,Cn,Dn){return $t[Dn]=Dn,Cn[2]&&Cn[2].filter(function(si){return"string"==typeof si}).forEach(function(si){$t[si]=Dn}),$t}),mi=dt(function($t,Cn,Dn){var Zn=Cn[2];return $t[Dn]=Dn,Zn.forEach(function(si){$t[si]=Dn}),$t});var st="far"in Ss||Ui.autoFetchSvg,ft=Ei(tr,function($t,Cn){var Dn=Cn[0],Zn=Cn[1],si=Cn[2];return"far"===Zn&&!st&&(Zn="fas"),"string"==typeof Dn&&($t.names[Dn]={prefix:Zn,iconName:si}),"number"==typeof Dn&&($t.unicodes[Dn.toString(16)]={prefix:Zn,iconName:si}),$t},{names:{},unicodes:{}});ds=ft.names,nr=ft.unicodes,Sl=eo(Ui.styleDefault,{family:Ui.familyDefault})};function Tr(Te,dt){return(pl[Te]||{})[dt]}function mo(Te,dt){return(mi[Te]||{})[dt]}function Tl(Te){return ds[Te]||{prefix:null,iconName:null}}function za(){return Sl}function eo(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,ft=void 0===st?oe:st;return ft!==Ye||Te?jr[ft][Te]||jr[ft][bo[ft][Te]]||(Te in Oi.styles?Te:null)||null:"fad"}function fo(Te){return Te.sort().filter(function(dt,st,ft){return ft.indexOf(dt)===st})}(function vr(Te){xs.push(Te)})(function(Te){Sl=eo(Te.styleDefault,{family:Ui.familyDefault})}),gl();var To=di.concat(bt);function Ho(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,ft=void 0!==st&&st,$t=null,Cn=fo(Te.filter(function(Ba){return To.includes(Ba)})),Dn=fo(Te.filter(function(Ba){return!To.includes(Ba)})),_t=xe(Cn.filter(function(Ba){return $t=Ba,!ht.includes(Ba)}),1)[0],ji=void 0===_t?null:_t,Hi=function Dl(Te){var dt=oe,st=Eo.reduce(function(ft,$t){return ft[$t]="".concat(Ui.cssPrefix,"-").concat($t),ft},{});return Be.forEach(function(ft){(Te.includes(st[ft])||Te.some(function($t){return Mo[ft].includes($t)}))&&(dt=ft)}),dt}(Cn),Ja=G(G({},function So(Te){var dt=[],st=null;return Te.forEach(function(ft){var $t=function Go(Te,dt){var st=dt.split("-"),ft=st[0],$t=st.slice(1).join("-");return ft!==Te||""===$t||function Uo(Te){return~_r.indexOf(Te)}($t)?null:$t}(Ui.cssPrefix,ft);$t?st=$t:ft&&dt.push(ft)}),{iconName:st,rest:dt}}(Dn)),{},{prefix:eo(ji,{family:Hi})});return G(G(G({},Ja),function no(Te){var dt=Te.values,st=Te.family,ft=Te.canonical,$t=Te.givenPrefix,Cn=void 0===$t?"":$t,Dn=Te.styles,Zn=void 0===Dn?{}:Dn,si=Te.config,_t=void 0===si?{}:si,ji=st===Ye,Hi=dt.includes("fa-duotone")||dt.includes("fad");if(!ji&&(Hi||"duotone"===_t.familyDefault||("fad"===ft.prefix||"fa-duotone"===ft.prefix))&&(ft.prefix="fad"),(dt.includes("fa-brands")||dt.includes("fab"))&&(ft.prefix="fab"),!ft.prefix&&to.includes(st)&&(Object.keys(Zn).find(function(vs){return wl.includes(vs)})||_t.autoFetchSvg)){var _s=se.get(st).defaultShortPrefixId;ft.prefix=_s,ft.iconName=mo(ft.prefix,ft.iconName)||ft.iconName}return("fa"===ft.prefix||"fa"===Cn)&&(ft.prefix=za()||"fas"),ft}({values:Te,family:Hi,styles:Ss,config:Ui,canonical:Ja,givenPrefix:$t})),function _l(Te,dt,st){var ft=st.prefix,$t=st.iconName;if(Te||!ft||!$t)return{prefix:ft,iconName:$t};var Cn="fa"===dt?Tl($t):{},Dn=mo(ft,$t);return"far"===(ft=Cn.prefix||ft)&&!Ss.far&&Ss.fas&&!Ui.autoFetchSvg&&(ft="fas"),{prefix:ft,iconName:$t=Cn.iconName||Dn||$t}}(ft,$t,Ja))}var to=Be.filter(function(Te){return Te!==oe||Te!==Ye}),wl=Object.keys(Jt).filter(function(Te){return Te!==oe}).map(function(Te){return Object.keys(Jt[Te])}).flat(),Al=function(){return function C(Te,dt,st){return dt&&L(Te.prototype,dt),st&&L(Te,st),Object.defineProperty(Te,"prototype",{writable:!1}),Te}(function Te(){(function u(Te,dt){if(!(Te instanceof dt))throw new TypeError("Cannot call a class as a function")})(this,Te),this.definitions={}},[{key:"add",value:function(){for(var st=this,ft=arguments.length,$t=new Array(ft),Cn=0;Cn0&&ji.forEach(function(Hi){"string"==typeof Hi&&(st[Zn][Hi]=_t)}),st[Zn][si]=_t}),st}}])}(),io=[],Ys={},Dr={},li=Object.keys(Dr);function ao(Te,dt){for(var st=arguments.length,ft=new Array(st>2?st-2:0),$t=2;$t1?dt-1:0),ft=1;ft0&&void 0!==arguments[0]?arguments[0]:{};return H?(Pr("beforeI2svg",dt),so("pseudoElements2svg",dt),so("i2svg",dt)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},st=dt.autoReplaceSvgRoot;!1===Ui.autoReplaceSvg&&(Ui.autoReplaceSvg=!0),Ui.observeMutations=!0,function On(Te){H&&(kt?setTimeout(Te,0):ua.push(Te))}(function(){ql({autoReplaceSvgRoot:st}),Pr("watch",dt)})}},ir={noAuto:function(){Ui.autoReplaceSvg=!1,Ui.observeMutations=!1,Pr("noAuto")},config:Ui,dom:Jl,parse:{icon:function(dt){if(null===dt)return null;if("object"===be(dt)&&dt.prefix&&dt.iconName)return{prefix:dt.prefix,iconName:mo(dt.prefix,dt.iconName)||dt.iconName};if(Array.isArray(dt)&&2===dt.length){var st=0===dt[1].indexOf("fa-")?dt[1].slice(3):dt[1],ft=eo(dt[0]);return{prefix:ft,iconName:mo(ft,st)||st}}if("string"==typeof dt&&(dt.indexOf("".concat(Ui.cssPrefix,"-"))>-1||dt.match(js))){var $t=Ho(dt.split(" "),{skipLookups:!0});return{prefix:$t.prefix||za(),iconName:mo($t.prefix,$t.iconName)||$t.iconName}}if("string"==typeof dt){var Cn=za();return{prefix:Cn,iconName:mo(Cn,dt)||dt}}}},library:Ul,findIconDefinition:tl,toHtml:$e},ql=function(){var st=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,ft=void 0===st?ie:st;(Object.keys(Oi.styles).length>0||Ui.autoFetchSvg)&&H&&Ui.autoReplaceSvg&&ir.dom.i2svg({node:ft})};function Wo(Te,dt){return Object.defineProperty(Te,"abstract",{get:dt}),Object.defineProperty(Te,"html",{get:function(){return Te.abstract.map(function(ft){return $e(ft)})}}),Object.defineProperty(Te,"node",{get:function(){if(H){var ft=ie.createElement("div");return ft.innerHTML=Te.html,ft.children}}}),Te}function Q(Te){var dt=Te.icons,st=dt.main,ft=dt.mask,$t=Te.prefix,Cn=Te.iconName,Dn=Te.transform,Zn=Te.symbol,si=Te.maskId,_t=Te.extra,ji=Te.watchable,Hi=void 0!==ji&&ji,Ja=ft.found?ft:st,Ba=Ja.width,wr=Ja.height,_s=[Ui.replacementClass,Cn?"".concat(Ui.cssPrefix,"-").concat(Cn):""].filter(function(sc){return-1===_t.classes.indexOf(sc)}).filter(function(sc){return""!==sc||!!sc}).concat(_t.classes).join(" "),vs={children:[],attributes:G(G({},_t.attributes),{},{"data-prefix":$t,"data-icon":Cn,class:_s,role:_t.attributes.role||"img",viewBox:"0 0 ".concat(Ba," ").concat(wr)})};!function de(Te){return["aria-label","aria-labelledby","title","role"].some(function(st){return st in Te})}(_t.attributes)&&!_t.attributes["aria-hidden"]&&(vs.attributes["aria-hidden"]="true"),Hi&&(vs.attributes[_a]="");var rr=G(G({},vs),{},{prefix:$t,iconName:Cn,main:st,mask:ft,maskId:si,transform:Dn,symbol:Zn,styles:G({},_t.styles)}),Bs=ft.found&&st.found?so("generateAbstractMask",rr)||{children:[],attributes:{}}:so("generateAbstractIcon",rr)||{children:[],attributes:{}},Kr=Bs.attributes;return rr.children=Bs.children,rr.attributes=Kr,Zn?function X(Te){var st=Te.iconName,ft=Te.children,$t=Te.attributes,Cn=Te.symbol,Dn=!0===Cn?"".concat(Te.prefix,"-").concat(Ui.cssPrefix,"-").concat(st):Cn;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:G(G({},$t),{},{id:Dn}),children:ft}]}]}(rr):function nl(Te){var dt=Te.children,st=Te.main,ft=Te.mask,$t=Te.attributes,Cn=Te.styles,Dn=Te.transform;if(Fs(Dn)&&st.found&&!ft.found){var _t={x:st.width/st.height/2,y:.5};$t.style=Rr(G(G({},Cn),{},{"transform-origin":"".concat(_t.x+Dn.x/16,"em ").concat(_t.y+Dn.y/16,"em")}))}return[{tag:"svg",attributes:$t,children:dt}]}(rr)}function me(Te){var dt=Te.content,st=Te.width,ft=Te.height,$t=Te.transform,Cn=Te.extra,Dn=Te.watchable,Zn=void 0!==Dn&&Dn,si=G(G({},Cn.attributes),{},{class:Cn.classes.join(" ")});Zn&&(si[_a]="");var _t=G({},Cn.styles);Fs($t)&&(_t.transform=function Ks(Te){var dt=Te.transform,st=Te.width,$t=Te.height,Cn=void 0===$t?16:$t,Dn=Te.startCentered,Zn=void 0!==Dn&&Dn,si="";return si+=Zn&&$?"translate(".concat(dt.x/16-(void 0===st?16:st)/2,"em, ").concat(dt.y/16-Cn/2,"em) "):Zn?"translate(calc(-50% + ".concat(dt.x/16,"em), calc(-50% + ").concat(dt.y/16,"em)) "):"translate(".concat(dt.x/16,"em, ").concat(dt.y/16,"em) "),(si+="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "))+"rotate(".concat(dt.rotate,"deg) ")}({transform:$t,startCentered:!0,width:st,height:ft}),_t["-webkit-transform"]=_t.transform);var ji=Rr(_t);ji.length>0&&(si.style=ji);var Hi=[];return Hi.push({tag:"span",attributes:si,children:[dt]}),Hi}var Mt=Oi.styles;function Kt(Te){var dt=Te[0],st=Te[1],Cn=xe(Te.slice(4),1)[0];return{found:!0,width:dt,height:st,icon:Array.isArray(Cn)?{tag:"g",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_SECONDARY),fill:"currentColor",d:Cn[0]}},{tag:"path",attributes:{class:"".concat(Ui.cssPrefix,"-").concat(Js_PRIMARY),fill:"currentColor",d:Cn[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Cn}}}}var Tn={found:!1,width:512,height:512};function Gi(Te,dt){var st=dt;return"fa"===dt&&null!==Ui.styleDefault&&(dt=za()),new Promise(function(ft,$t){if("fa"===st){var Cn=Tl(Te)||{};Te=Cn.iconName||Te,dt=Cn.prefix||dt}if(Te&&dt&&Mt[dt]&&Mt[dt][Te])return ft(Kt(Mt[dt][Te]));(function ai(Te,dt){!zo&&!Ui.showMissingIcons&&Te&&console.error('Icon with name "'.concat(Te,'" and prefix "').concat(dt,'" is missing.'))})(Te,dt),ft(G(G({},Tn),{},{icon:Ui.showMissingIcons&&Te&&so("missingIconAbstract")||{}}))})}var La=function(){},as=Ui.measurePerformance&&F&&F.mark&&F.measure?F:{mark:La,measure:La},Ns='FA "7.1.0"',ro_begin=function(dt){return as.mark("".concat(Ns," ").concat(dt," begins")),function(){return function(dt){as.mark("".concat(Ns," ").concat(dt," ends")),as.measure("".concat(Ns," ").concat(dt),"".concat(Ns," ").concat(dt," begins"),"".concat(Ns," ").concat(dt," ends"))}(dt)}},oo=function(){};function Il(Te){return"string"==typeof(Te.getAttribute?Te.getAttribute(_a):null)}function Xc(Te){return ie.createElementNS("http://www.w3.org/2000/svg",Te)}function po(Te){return ie.createElement(Te)}function fc(Te){var st=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,ft=void 0===st?"svg"===Te.tag?Xc:po:st;if("string"==typeof Te)return ie.createTextNode(Te);var $t=ft(Te.tag);return Object.keys(Te.attributes||[]).forEach(function(Dn){$t.setAttribute(Dn,Te.attributes[Dn])}),(Te.children||[]).forEach(function(Dn){$t.appendChild(fc(Dn,{ceFn:ft}))}),$t}var Fr={replace:function(dt){var st=dt[0];if(st.parentNode)if(dt[1].forEach(function($t){st.parentNode.insertBefore(fc($t),st)}),null===st.getAttribute(_a)&&Ui.keepOriginalSource){var ft=ie.createComment(function pc(Te){var dt=" ".concat(Te.outerHTML," ");return"".concat(dt,"Font Awesome fontawesome.com ")}(st));st.parentNode.replaceChild(ft,st)}else st.remove()},nest:function(dt){var st=dt[0],ft=dt[1];if(~ja(st).indexOf(Ui.replacementClass))return Fr.replace(dt);var $t=new RegExp("".concat(Ui.cssPrefix,"-.*"));if(delete ft[0].attributes.id,ft[0].attributes.class){var Cn=ft[0].attributes.class.split(" ").reduce(function(Zn,si){return si===Ui.replacementClass||si.match($t)?Zn.toSvg.push(si):Zn.toNode.push(si),Zn},{toNode:[],toSvg:[]});ft[0].attributes.class=Cn.toSvg.join(" "),0===Cn.toNode.length?st.removeAttribute("class"):st.setAttribute("class",Cn.toNode.join(" "))}var Dn=ft.map(function(Zn){return $e(Zn)}).join("\n");st.setAttribute(_a,""),st.innerHTML=Dn}};function wo(Te){Te()}function od(Te,dt){var st="function"==typeof dt?dt:oo;if(0===Te.length)st();else{var ft=wo;"async"===Ui.mutateApproach&&(ft=te.requestAnimationFrame||wo),ft(function(){var $t=function kl(){return!0===Ui.autoReplaceSvg?Fr.replace:Fr[Ui.autoReplaceSvg]||Fr.replace}(),Cn=ro_begin("mutate");Te.map($t),Cn(),st()})}}var Ao=!1;function Lc(){Ao=!0}function vl(){Ao=!1}var al=null;function Lo(Te){if(P&&Ui.observeMutations){var dt=Te.treeCallback,st=void 0===dt?oo:dt,ft=Te.nodeCallback,$t=void 0===ft?oo:ft,Cn=Te.pseudoElementsCallback,Dn=void 0===Cn?oo:Cn,Zn=Te.observeMutationsRoot,si=void 0===Zn?ie:Zn;al=new P(function(_t){if(!Ao){var ji=za();wa(_t).forEach(function(Hi){if("childList"===Hi.type&&Hi.addedNodes.length>0&&!Il(Hi.addedNodes[0])&&(Ui.searchPseudoElements&&Dn(Hi.target),st(Hi.target)),"attributes"===Hi.type&&Hi.target.parentNode&&Ui.searchPseudoElements&&Dn([Hi.target],!0),"attributes"===Hi.type&&Il(Hi.target)&&~Co.indexOf(Hi.attributeName))if("class"===Hi.attributeName&&function mc(Te){var dt=Te.getAttribute?Te.getAttribute(ns):null,st=Te.getAttribute?Te.getAttribute(Ga):null;return dt&&st}(Hi.target)){var Ja=Ho(ja(Hi.target)),wr=Ja.iconName;Hi.target.setAttribute(ns,Ja.prefix||ji),wr&&Hi.target.setAttribute(Ga,wr)}else(function ec(Te){return Te&&Te.classList&&Te.classList.contains&&Te.classList.contains(Ui.replacementClass)})(Hi.target)&&$t(Hi.target)})}}),H&&al.observe(si,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Io(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},st=function jl(Te){var dt=Te.getAttribute("data-prefix"),st=Te.getAttribute("data-icon"),ft=void 0!==Te.innerText?Te.innerText.trim():"",$t=Ho(ja(Te));return $t.prefix||($t.prefix=za()),dt&&st&&($t.prefix=dt,$t.iconName=st),$t.iconName&&$t.prefix||($t.prefix&&ft.length>0&&($t.iconName=function jo(Te,dt){return(zl[Te]||{})[dt]}($t.prefix,Te.innerText)||Tr($t.prefix,xa(Te.innerText))),!$t.iconName&&Ui.autoFetchSvg&&Te.firstChild&&Te.firstChild.nodeType===Node.TEXT_NODE&&($t.iconName=Te.firstChild.data)),$t}(Te),ft=st.iconName,$t=st.prefix,Cn=st.rest,Dn=function Hl(Te){return wa(Te.attributes).reduce(function(st,ft){return"class"!==st.name&&"style"!==st.name&&(st[ft.name]=ft.value),st},{})}(Te),Zn=ao("parseNodeAttributes",{},Te),si=dt.styleParser?function Gl(Te){var dt=Te.getAttribute("style"),st=[];return dt&&(st=dt.split(";").reduce(function(ft,$t){var Cn=$t.split(":"),Dn=Cn[0],Zn=Cn.slice(1);return Dn&&Zn.length>0&&(ft[Dn]=Zn.join(":").trim()),ft},{})),st}(Te):[];return G({iconName:ft,prefix:$t,transform:Pa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Cn,styles:si,attributes:Dn}},Zn)}var ko=Oi.styles;function Wl(Te){var dt="nest"===Ui.autoReplaceSvg?Io(Te,{styleParser:!1}):Io(Te);return~dt.extra.classes.indexOf(Vo)?so("generateLayersText",Te,dt):so("generateSvgReplacementMutation",Te,dt)}function Ts(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!H)return Promise.resolve();var st=ie.documentElement.classList,ft=function(Hi){return st.add("".concat(As,"-").concat(Hi))},$t=function(Hi){return st.remove("".concat(As,"-").concat(Hi))},Cn=Ui.autoFetchSvg?function sr(){return[].concat(Ee(bt),Ee(di))}():ht.concat(Object.keys(ko));Cn.includes("fa")||Cn.push("fa");var Dn=[".".concat(Vo,":not([").concat(_a,"])")].concat(Cn.map(function(ji){return".".concat(ji,":not([").concat(_a,"])")})).join(", ");if(0===Dn.length)return Promise.resolve();var Zn=[];try{Zn=wa(Te.querySelectorAll(Dn))}catch{}if(!(Zn.length>0))return Promise.resolve();ft("pending"),$t("complete");var si=ro_begin("onTree"),_t=Zn.reduce(function(ji,Hi){try{var Ja=Wl(Hi);Ja&&ji.push(Ja)}catch(Ba){zo||"MissingIcon"===Ba.name&&console.error(Ba)}return ji},[]);return new Promise(function(ji,Hi){Promise.all(_t).then(function(Ja){od(Ja,function(){ft("active"),ft("complete"),$t("pending"),"function"==typeof dt&&dt(),si(),ji()})}).catch(function(Ja){si(),Hi(Ja)})})}function yt(Te){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wl(Te).then(function(st){st&&od([st],dt)})}var ct=function(dt){var st=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ft=st.transform,$t=void 0===ft?Pa:ft,Cn=st.symbol,Dn=void 0!==Cn&&Cn,Zn=st.mask,si=void 0===Zn?null:Zn,_t=st.maskId,ji=void 0===_t?null:_t,Hi=st.classes,Ja=void 0===Hi?[]:Hi,Ba=st.attributes,wr=void 0===Ba?{}:Ba,_s=st.styles,vs=void 0===_s?{}:_s;if(dt){var rr=dt.prefix,Bs=dt.iconName,ol=dt.icon;return Wo(G({type:"icon"},dt),function(){return Pr("beforeDOMElementCreation",{iconDefinition:dt,params:st}),Q({icons:{main:Kt(ol),mask:si?Kt(si.icon):{found:!1,width:null,height:null,icon:{}}},prefix:rr,iconName:Bs,transform:G(G({},Pa),$t),symbol:Dn,maskId:ji,extra:{attributes:wr,styles:vs,classes:Ja}})})}},Qt={mixout:function(){return{icon:(Te=ct,function(dt){var st=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ft=(dt||{}).icon?dt:tl(dt||{}),$t=st.mask;return $t&&($t=($t||{}).icon?$t:tl($t||{})),Te(ft,G(G({},st),{},{mask:$t}))})};var Te},hooks:function(){return{mutationObserverCallbacks:function(st){return st.treeCallback=Ts,st.nodeCallback=yt,st}}},provides:function(dt){dt.i2svg=function(st){var ft=st.node,Cn=st.callback;return Ts(void 0===ft?ie:ft,void 0===Cn?function(){}:Cn)},dt.generateSvgReplacementMutation=function(st,ft){var $t=ft.iconName,Cn=ft.prefix,Dn=ft.transform,Zn=ft.symbol,si=ft.mask,_t=ft.maskId,ji=ft.extra;return new Promise(function(Hi,Ja){Promise.all([Gi($t,Cn),si.iconName?Gi(si.iconName,si.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Ba){var wr=xe(Ba,2);Hi([st,Q({icons:{main:wr[0],mask:wr[1]},prefix:Cn,iconName:$t,transform:Dn,symbol:Zn,maskId:_t,extra:ji,watchable:!0})])}).catch(Ja)})},dt.generateAbstractIcon=function(st){var _t,ft=st.children,$t=st.attributes,Cn=st.main,Dn=st.transform,si=Rr(st.styles);return si.length>0&&($t.style=si),Fs(Dn)&&(_t=so("generateAbstractTransformGrouping",{main:Cn,transform:Dn,containerWidth:Cn.width,iconWidth:Cn.width})),ft.push(_t||Cn.icon),{children:ft,attributes:$t}}}},Pn={mixout:function(){return{layer:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.classes,Cn=void 0===$t?[]:$t;return Wo({type:"layer"},function(){Pr("beforeDOMElementCreation",{assembler:st,params:ft});var Dn=[];return st(function(Zn){Array.isArray(Zn)?Zn.map(function(si){Dn=Dn.concat(si.abstract)}):Dn=Dn.concat(Zn.abstract)}),[{tag:"span",attributes:{class:["".concat(Ui.cssPrefix,"-layers")].concat(Ee(Cn)).join(" ")},children:Dn}]})}}}},$n={mixout:function(){return{counter:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.title,Cn=void 0===$t?null:$t,Dn=ft.classes,Zn=void 0===Dn?[]:Dn,si=ft.attributes,_t=void 0===si?{}:si,ji=ft.styles,Hi=void 0===ji?{}:ji;return Wo({type:"counter",content:st},function(){return Pr("beforeDOMElementCreation",{content:st,params:ft}),function et(Te){var dt=Te.content,st=Te.extra,ft=G(G({},st.attributes),{},{class:st.classes.join(" ")}),$t=Rr(st.styles);$t.length>0&&(ft.style=$t);var Cn=[];return Cn.push({tag:"span",attributes:ft,children:[dt]}),Cn}({content:st.toString(),title:Cn,extra:{attributes:_t,styles:Hi,classes:["".concat(Ui.cssPrefix,"-layers-counter")].concat(Ee(Zn))}})})}}}},Ci={mixout:function(){return{text:function(st){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$t=ft.transform,Cn=void 0===$t?Pa:$t,Dn=ft.classes,Zn=void 0===Dn?[]:Dn,si=ft.attributes,_t=void 0===si?{}:si,ji=ft.styles,Hi=void 0===ji?{}:ji;return Wo({type:"text",content:st},function(){return Pr("beforeDOMElementCreation",{content:st,params:ft}),me({content:st,transform:G(G({},Pa),Cn),extra:{attributes:_t,styles:Hi,classes:["".concat(Ui.cssPrefix,"-layers-text")].concat(Ee(Zn))}})})}}},provides:function(dt){dt.generateLayersText=function(st,ft){var $t=ft.transform,Cn=ft.extra,Dn=null,Zn=null;if($){var si=parseInt(getComputedStyle(st).fontSize,10),_t=st.getBoundingClientRect();Dn=_t.width/si,Zn=_t.height/si}return Promise.resolve([st,me({content:st.innerHTML,width:Dn,height:Zn,transform:$t,extra:Cn,watchable:!0})])}}},wi=new RegExp('"',"ug"),$i=[1105920,1112319],sa=G(G(G(G({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),va=Object.keys(sa).reduce(function(Te,dt){return Te[dt.toLowerCase()]=sa[dt],Te},{}),oa=Object.keys(va).reduce(function(Te,dt){var st=va[dt];return Te[dt]=st[900]||Ee(Object.entries(st))[0][1],Te},{});function Nr(Te,dt){var st="".concat("data-fa-pseudo-element-pending").concat(dt.replace(":","-"));return new Promise(function(ft,$t){if(null!==Te.getAttribute(st))return ft();var Dn=wa(Te.children).filter(function(ll){return ll.getAttribute(Ua)===dt})[0],Zn=te.getComputedStyle(Te,dt),si=Zn.getPropertyValue("font-family"),_t=si.match(Zr),ji=Zn.getPropertyValue("font-weight"),Hi=Zn.getPropertyValue("content");if(Dn&&!_t)return Te.removeChild(Dn),ft();if(_t&&"none"!==Hi&&""!==Hi){var Ja=Zn.getPropertyValue("content"),Ba=function gi(Te,dt){var st=Te.replace(/^['"]|['"]$/g,"").toLowerCase(),ft=parseInt(dt),$t=isNaN(ft)?"normal":ft;return(va[st]||{})[$t]||oa[st]}(si,ji),wr=function hs(Te){return xa(Ee(Te.replace(wi,""))[0]||"")}(Ja),_s=_t[0].startsWith("FontAwesome"),vs=function Ls(Te){var dt=Te.getPropertyValue("font-feature-settings").includes("ss01"),ft=Te.getPropertyValue("content").replace(wi,""),$t=ft.codePointAt(0);return $t>=$i[0]&&$t<=$i[1]||2===ft.length&&ft[0]===ft[1]||dt}(Zn),rr=Tr(Ba,wr),Bs=rr;if(_s){var ol=function Vl(Te){var dt=nr[Te],st=Tr("fas",Te);return dt||(st?{prefix:"fas",iconName:st}:null)||{prefix:null,iconName:null}}(wr);ol.iconName&&ol.prefix&&(rr=ol.iconName,Ba=ol.prefix)}if(!rr||vs||Dn&&Dn.getAttribute(ns)===Ba&&Dn.getAttribute(Ga)===Bs)ft();else{Te.setAttribute(st,Bs),Dn&&Te.removeChild(Dn);var Kr=function Rl(){return{iconName:null,prefix:null,transform:Pa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),sc=Kr.extra;sc.attributes[Ua]=dt,Gi(rr,Ba).then(function(ll){var D4=Q(G(G({},Kr),{},{icons:{main:ll,mask:{prefix:null,iconName:null,rest:[]}},prefix:Ba,iconName:Bs,extra:sc,watchable:!0})),vc=ie.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===dt?Te.insertBefore(vc,Te.firstChild):Te.appendChild(vc),vc.outerHTML=D4.map(function(s2){return $e(s2)}).join("\n"),Te.removeAttribute(st),ft()}).catch($t)}}else ft()})}function Br(Te){return Promise.all([Nr(Te,"::before"),Nr(Te,"::after")])}function Xo(Te){return!(Te.parentNode===document.head||~mr.indexOf(Te.tagName.toUpperCase())||Te.getAttribute(Ua)||Te.parentNode&&"svg"===Te.parentNode.tagName)}var Oo=function(dt){return!!dt&&fr.some(function(st){return dt.includes(st)})},Pl=function(dt){if(!dt)return[];var Cn,st=new Set,ft=dt.split(/,(?![^()]*\))/).map(function(si){return si.trim()}),$t=B(ft=ft.flatMap(function(si){return si.includes("(")?si:si.split(",").map(function(_t){return _t.trim()})}));try{for($t.s();!(Cn=$t.n()).done;){var Dn=Cn.value;if(Oo(Dn)){var Zn=fr.reduce(function(si,_t){return si.replace(_t,"")},Dn);""!==Zn&&"*"!==Zn&&st.add(Zn)}}}catch(si){$t.e(si)}finally{$t.f()}return st};function yl(Te){if(H){var st;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])st=Te;else if(Ui.searchPseudoElementsFullScan)st=Te.querySelectorAll("*");else{var Cn,ft=new Set,$t=B(document.styleSheets);try{for($t.s();!(Cn=$t.n()).done;){var Dn=Cn.value;try{var si,Zn=B(Dn.cssRules);try{for(Zn.s();!(si=Zn.n()).done;){var Ja,Hi=B(Pl(si.value.selectorText));try{for(Hi.s();!(Ja=Hi.n()).done;)ft.add(Ja.value)}catch(_s){Hi.e(_s)}finally{Hi.f()}}}catch(_s){Zn.e(_s)}finally{Zn.f()}}catch(_s){Ui.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(Dn.href," (").concat(_s.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(_s){$t.e(_s)}finally{$t.f()}if(!ft.size)return;var wr=Array.from(ft).join(", ");try{st=Te.querySelectorAll(wr)}catch{}}return new Promise(function(_s,vs){var rr=wa(st).filter(Xo).map(Br),Bs=ro_begin("searchPseudoElements");Lc(),Promise.all(rr).then(function(){Bs(),vl(),_s()}).catch(function(){Bs(),vl(),vs()})})}}var tc=!1,Kc=function(dt){return dt.toLowerCase().split(" ").reduce(function(ft,$t){var Cn=$t.toLowerCase().split("-"),Dn=Cn[0],Zn=Cn.slice(1).join("-");if(Dn&&"h"===Zn)return ft.flipX=!0,ft;if(Dn&&"v"===Zn)return ft.flipY=!0,ft;if(Zn=parseFloat(Zn),isNaN(Zn))return ft;switch(Dn){case"grow":ft.size=ft.size+Zn;break;case"shrink":ft.size=ft.size-Zn;break;case"left":ft.x=ft.x-Zn;break;case"right":ft.x=ft.x+Zn;break;case"up":ft.y=ft.y-Zn;break;case"down":ft.y=ft.y+Zn;break;case"rotate":ft.rotate=ft.rotate+Zn}return ft},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},gc={x:0,y:0,width:"100%",height:"100%"};function Yc(Te){return Te.attributes&&(Te.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Te.attributes.fill="black"),Te}!function Wr(Te,dt){var st=dt.mixoutsTo;io=Te,Ys={},Object.keys(Dr).forEach(function(ft){-1===li.indexOf(ft)&&delete Dr[ft]}),io.forEach(function(ft){var $t=ft.mixout?ft.mixout():{};if(Object.keys($t).forEach(function(Dn){"function"==typeof $t[Dn]&&(st[Dn]=$t[Dn]),"object"===be($t[Dn])&&Object.keys($t[Dn]).forEach(function(Zn){st[Dn]||(st[Dn]={}),st[Dn][Zn]=$t[Dn][Zn]})}),ft.hooks){var Cn=ft.hooks();Object.keys(Cn).forEach(function(Dn){Ys[Dn]||(Ys[Dn]=[]),Ys[Dn].push(Cn[Dn])})}ft.provides&&ft.provides(Dr)})}([mt,Qt,Pn,$n,Ci,{hooks:function(){return{mutationObserverCallbacks:function(st){return st.pseudoElementsCallback=yl,st}}},provides:function(dt){dt.pseudoElements2svg=function(st){var ft=st.node;Ui.searchPseudoElements&&yl(void 0===ft?ie:ft)}}},{mixout:function(){return{dom:{unwatch:function(){Lc(),tc=!0}}}},hooks:function(){return{bootstrap:function(){Lo(ao("mutationObserverCallbacks",{}))},noAuto:function(){!function Ol(){al&&al.disconnect()}()},watch:function(st){var ft=st.observeMutationsRoot;tc?vl():Lo(ao("mutationObserverCallbacks",{observeMutationsRoot:ft}))}}}},{mixout:function(){return{parse:{transform:function(st){return Kc(st)}}}},hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-transform");return $t&&(st.transform=Kc($t)),st}}},provides:function(dt){dt.generateAbstractTransformGrouping=function(st){var ft=st.main,$t=st.transform,Dn=st.iconWidth,Zn={transform:"translate(".concat(st.containerWidth/2," 256)")},si="translate(".concat(32*$t.x,", ").concat(32*$t.y,") "),_t="scale(".concat($t.size/16*($t.flipX?-1:1),", ").concat($t.size/16*($t.flipY?-1:1),") "),ji="rotate(".concat($t.rotate," 0 0)"),Ba={outer:Zn,inner:{transform:"".concat(si," ").concat(_t," ").concat(ji)},path:{transform:"translate(".concat(Dn/2*-1," -256)")}};return{tag:"g",attributes:G({},Ba.outer),children:[{tag:"g",attributes:G({},Ba.inner),children:[{tag:ft.icon.tag,children:ft.icon.children,attributes:G(G({},ft.icon.attributes),Ba.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-mask"),Cn=$t?Ho($t.split(" ").map(function(Dn){return Dn.trim()})):{prefix:null,iconName:null,rest:[]};return Cn.prefix||(Cn.prefix=za()),st.mask=Cn,st.maskId=ft.getAttribute("data-fa-mask-id"),st}}},provides:function(dt){dt.generateAbstractMask=function(st){var Te,ft=st.children,$t=st.attributes,Cn=st.main,Dn=st.mask,Zn=st.maskId,ji=Cn.icon,Ja=Dn.icon,Ba=function Hr(Te){var dt=Te.transform,ft=Te.iconWidth,$t={transform:"translate(".concat(Te.containerWidth/2," 256)")},Cn="translate(".concat(32*dt.x,", ").concat(32*dt.y,") "),Dn="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "),Zn="rotate(".concat(dt.rotate," 0 0)");return{outer:$t,inner:{transform:"".concat(Cn," ").concat(Dn," ").concat(Zn)},path:{transform:"translate(".concat(ft/2*-1," -256)")}}}({transform:st.transform,containerWidth:Dn.width,iconWidth:Cn.width}),wr={tag:"rect",attributes:G(G({},gc),{},{fill:"white"})},_s=ji.children?{children:ji.children.map(Yc)}:{},vs={tag:"g",attributes:G({},Ba.inner),children:[Yc(G({tag:ji.tag,attributes:G(G({},ji.attributes),Ba.path)},_s))]},rr={tag:"g",attributes:G({},Ba.outer),children:[vs]},Bs="mask-".concat(Zn||Xs()),ol="clip-".concat(Zn||Xs()),Kr={tag:"mask",attributes:G(G({},gc),{},{id:Bs,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[wr,rr]},sc={tag:"defs",children:[{tag:"clipPath",attributes:{id:ol},children:(Te=Ja,"g"===Te.tag?Te.children:[Te])},Kr]};return ft.push(sc,{tag:"rect",attributes:G({fill:"currentColor","clip-path":"url(#".concat(ol,")"),mask:"url(#".concat(Bs,")")},gc)}),{children:ft,attributes:$t}}}},{provides:function(dt){var st=!1;te.matchMedia&&(st=te.matchMedia("(prefers-reduced-motion: reduce)").matches),dt.missingIconAbstract=function(){var ft=[],$t={fill:"currentColor"},Cn={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};ft.push({tag:"path",attributes:G(G({},$t),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Dn=G(G({},Cn),{},{attributeName:"opacity"}),Zn={tag:"circle",attributes:G(G({},$t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return st||Zn.children.push({tag:"animate",attributes:G(G({},Cn),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:G(G({},Dn),{},{values:"1;0;1;1;0;1;"})}),ft.push(Zn),ft.push({tag:"path",attributes:G(G({},$t),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:st?[]:[{tag:"animate",attributes:G(G({},Dn),{},{values:"1;0;0;0;0;1;"})}]}),st||ft.push({tag:"path",attributes:G(G({},$t),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:G(G({},Dn),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:ft}}}},{hooks:function(){return{parseNodeAttributes:function(st,ft){var $t=ft.getAttribute("data-fa-symbol");return st.symbol=null!==$t&&(""===$t||$t),st}}}}],{mixoutsTo:ir});var Oa=ir.config,K=ir.dom,Ie=ir.parse,ui=ir.icon;const S4=["*"];let Qc=(()=>{class Te{defaultPrefix="fas";fallbackIcon=null;fixedWidth;set autoAddCss(st){Oa.autoAddCss=st,this._autoAddCss=st}get autoAddCss(){return this._autoAddCss}_autoAddCss=!0;static \u0275fac=function(ft){return new(ft||Te)};static \u0275prov=i.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})(),_c=(()=>{class Te{definitions={};addIcons(...st){for(const ft of st){ft.prefix in this.definitions||(this.definitions[ft.prefix]={}),this.definitions[ft.prefix][ft.iconName]=ft;for(const $t of ft.icon[2])"string"==typeof $t&&(this.definitions[ft.prefix][$t]=ft)}}addIconPacks(...st){for(const ft of st){const $t=Object.keys(ft).map(Cn=>ft[Cn]);this.addIcons(...$t)}}getIconDefinition(st,ft){return st in this.definitions&&ft in this.definitions[st]?this.definitions[st][ft]:null}static \u0275fac=function(ft){return new(ft||Te)};static \u0275prov=i.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();const $c=Te=>null!=Te&&(90===Te||180===Te||270===Te||"90"===Te||"180"===Te||"270"===Te),n2=Te=>{const dt=$c(Te.rotate),st={[`fa-${Te.animation}`]:null!=Te.animation&&!Te.animation.startsWith("spin"),"fa-spin":"spin"===Te.animation||"spin-reverse"===Te.animation,"fa-spin-pulse":"spin-pulse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-spin-reverse":"spin-reverse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-pulse":"spin-pulse"===Te.animation||"spin-pulse-reverse"===Te.animation,"fa-fw":Te.fixedWidth,"fa-border":Te.border,"fa-inverse":Te.inverse,"fa-layers-counter":Te.counter,"fa-flip-horizontal":"horizontal"===Te.flip||"both"===Te.flip,"fa-flip-vertical":"vertical"===Te.flip||"both"===Te.flip,[`fa-${Te.size}`]:null!==Te.size,[`fa-rotate-${Te.rotate}`]:dt,"fa-rotate-by":null!=Te.rotate&&!dt,[`fa-pull-${Te.pull}`]:null!==Te.pull,[`fa-stack-${Te.stackItemSize}`]:null!=Te.stackItemSize};return Object.keys(st).map(ft=>st[ft]?ft:null).filter(ft=>null!=ft)},rl=new WeakSet,br="fa-auto-css";let Fl=(()=>{class Te{stackItemSize=(0,v.hFB)("1x");size=(0,v.hFB)();_effect=(0,T.QZ)(()=>{if(this.size())throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')});static \u0275fac=function(ft){return new(ft||Te)};static \u0275dir=d.FsC({type:Te,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:[1,"stackItemSize"],size:[1,"size"]}})}return Te})(),y1=(()=>{class Te{size=(0,v.hFB)();classes=(0,T.EW)(()=>{const st=this.size();return{...st?{[`fa-${st}`]:!0}:{},"fa-stack":!0}});static \u0275fac=function(ft){return new(ft||Te)};static \u0275cmp=d.VBU({type:Te,selectors:[["fa-stack"]],hostVars:2,hostBindings:function(ft,$t){2&ft&&d.HbH($t.classes())},inputs:{size:[1,"size"]},ngContentSelectors:S4,decls:1,vars:0,template:function(ft,$t){1&ft&&(d.NAR(),d.SdG(0))},encapsulation:2,changeDetection:0})}return Te})(),ld=(()=>{class Te{icon=(0,v.geq)();title=(0,v.geq)();animation=(0,v.geq)();mask=(0,v.geq)();flip=(0,v.geq)();size=(0,v.geq)();pull=(0,v.geq)();border=(0,v.geq)();inverse=(0,v.geq)();symbol=(0,v.geq)();rotate=(0,v.geq)();fixedWidth=(0,v.geq)();transform=(0,v.geq)();a11yRole=(0,v.geq)();renderedIconHTML=(0,T.EW)(()=>{const st=this.icon()??this.config.fallbackIcon;if(!st)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})(),"";const ft=this.findIconDefinition(st);if(!ft)return"";const $t=this.buildParams();!function Yo(Te,dt){if(!dt.autoAddCss||rl.has(Te))return;if(null!=Te.getElementById(br))return dt.autoAddCss=!1,void rl.add(Te);const st=Te.createElement("style");st.setAttribute("type","text/css"),st.setAttribute("id",br),st.innerHTML=K.css();const ft=Te.head.childNodes;let $t=null;for(let Cn=ft.length-1;Cn>-1;Cn--){const Dn=ft[Cn],Zn=Dn.nodeName.toUpperCase();["STYLE","LINK"].indexOf(Zn)>-1&&($t=Dn)}Te.head.insertBefore(st,$t),dt.autoAddCss=!1,rl.add(Te)}(this.document,this.config);const Cn=ui(ft,$t);return this.sanitizer.bypassSecurityTrustHtml(Cn.html.join("\n"))});document=(0,i.WQX)(i.qQL);sanitizer=(0,i.WQX)(w.up);config=(0,i.WQX)(Qc);iconLibrary=(0,i.WQX)(_c);stackItem=(0,i.WQX)(Fl,{optional:!0});stack=(0,i.WQX)(y1,{optional:!0});constructor(){null!=this.stack&&null==this.stackItem&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}findIconDefinition(st){const ft=((Te,dt)=>(Te=>void 0!==Te.prefix&&void 0!==Te.iconName)(Te)?Te:Array.isArray(Te)&&2===Te.length?{prefix:Te[0],iconName:Te[1]}:{prefix:dt,iconName:Te})(st,this.config.defaultPrefix);return"icon"in ft?ft:this.iconLibrary.getIconDefinition(ft.prefix,ft.iconName)??((Te=>{throw new Error(`Could not find icon with iconName=${Te.iconName} and prefix=${Te.prefix} in the icon library.`)})(ft),null)}buildParams(){const st=this.fixedWidth(),ft={flip:this.flip(),animation:this.animation(),border:this.border(),inverse:this.inverse(),size:this.size(),pull:this.pull(),rotate:this.rotate(),fixedWidth:"boolean"==typeof st?st:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize():void 0},$t=this.transform(),Cn="string"==typeof $t?Ie.transform($t):$t,Dn=this.mask(),Zn=null!=Dn?this.findIconDefinition(Dn):null,si={},_t=this.a11yRole();null!=_t&&(si.role=_t);const ji={};return null!=ft.rotate&&!$c(ft.rotate)&&(ji["--fa-rotate-angle"]=`${ft.rotate}`),{title:this.title(),transform:Cn,classes:n2(ft),mask:Zn??void 0,symbol:this.symbol(),attributes:si,styles:ji}}static \u0275fac=function(ft){return new(ft||Te)};static \u0275cmp=d.VBU({type:Te,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ft,$t){2&ft&&(d.Avn("innerHTML",$t.renderedIconHTML(),d.npT),d.BMQ("title",$t.title()??void 0))},inputs:{icon:[1,"icon"],title:[1,"title"],animation:[1,"animation"],mask:[1,"mask"],flip:[1,"flip"],size:[1,"size"],pull:[1,"pull"],border:[1,"border"],inverse:[1,"inverse"],symbol:[1,"symbol"],rotate:[1,"rotate"],fixedWidth:[1,"fixedWidth"],transform:[1,"transform"],a11yRole:[1,"a11yRole"]},outputs:{icon:"iconChange",title:"titleChange",animation:"animationChange",mask:"maskChange",flip:"flipChange",size:"sizeChange",pull:"pullChange",border:"borderChange",inverse:"inverseChange",symbol:"symbolChange",rotate:"rotateChange",fixedWidth:"fixedWidthChange",transform:"transformChange",a11yRole:"a11yRoleChange"},decls:0,vars:0,template:function(ft,$t){},encapsulation:2,changeDetection:0})}return Te})(),I0=(()=>{class Te{static \u0275fac=function(ft){return new(ft||Te)};static \u0275mod=d.$C({type:Te});static \u0275inj=i.G2t({})}return Te})()},5383(Zt,pe,l){"use strict";l.d(pe,{$$g:()=>qa,$Fj:()=>Ch,$sC:()=>Xb,BA1:()=>In,C8j:()=>cd,CQO:()=>r0,Ccf:()=>gs,D6w:()=>t_,DW4:()=>M4,EvL:()=>te,FYJ:()=>We,GR4:()=>wt,GRI:()=>A_,HEq:()=>ki,If6:()=>Yt,Int:()=>f6,JKM:()=>n1,Kcb:()=>Op,M29:()=>ub,McB:()=>Fb,Mf0:()=>mc,MjD:()=>ln,Oh6:()=>cC,QLR:()=>kf,TBz:()=>Hb,Tq9:()=>Ia,Vpi:()=>B,VwO:()=>S_,W1p:()=>vf,WKo:()=>er,WxX:()=>Tc,Xbc:()=>On,_eQ:()=>So,_qq:()=>M_,aAJ:()=>yo,aFw:()=>P6,cbP:()=>g1,dB:()=>c0,e4L:()=>M6,eGi:()=>N3,f6_:()=>Lh,gdJ:()=>_d,hb3:()=>cc,iW_:()=>CC,iy8:()=>Jo,jPR:()=>oy,jTw:()=>J2,k02:()=>Ve,k6j:()=>dg,knH:()=>r3,ld_:()=>Iu,njF:()=>qb,nsx:()=>Vb,o97:()=>Ii,pCJ:()=>dn,pS3:()=>X,peG:()=>Fp,qFF:()=>n0,qIE:()=>SC,s5m:()=>j2,vfE:()=>a7,xiI:()=>Up,ymQ:()=>E,zPk:()=>s1,zjW:()=>A2,zm_:()=>gy,zpE:()=>N8});var B={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M136 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 56 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-114.9 0c-24.9 0-45.1 20.2-45.1 45.1 0 22.5 16.5 41.5 38.7 44.7l91.6 13.1c53.8 7.7 93.7 53.7 93.7 108 0 60.3-48.9 109.1-109.1 109.1l-10.9 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-72 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l130.9 0c24.9 0 45.1-20.2 45.1-45.1 0-22.5-16.5-41.5-38.7-44.7l-91.6-13.1C55.9 273.5 16 227.4 16 173.1 16 112.9 64.9 64 125.1 64l10.9 0 0-40z"]},te={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M64 160c0-53 43-96 96-96s96 43 96 96c0 42.7-27.9 78.9-66.5 91.4-28.4 9.2-61.5 35.3-61.5 76.6l0 24c0 17.7 14.3 32 32 32s32-14.3 32-32l0-24c0-1.7 .6-4.1 3.5-7.3 3-3.3 7.9-6.5 13.7-8.4 64.3-20.7 110.8-81 110.8-152.3 0-88.4-71.6-160-160-160S0 71.6 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm96 352c22.1 0 40-17.9 40-40s-17.9-40-40-40-40 17.9-40 40 17.9 40 40 40z"]},wt={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3l0 294.7 160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-384 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288L584.4 320 512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1-10.8 44.8-63.1 78.9-126 78.9zM126.8 195.8L54.4 320 199.3 320 126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1-10.8 44.8-63.1 78.9-126 78.9S11.7 382 .9 337.1z"]},We={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32l264 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-76.7 0c17.7 19.8 30.1 44.6 34.7 72l42 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-42 0c-10.4 62.2-60.8 110.9-123.8 118.9L274.6 422c14.4 10.3 17.7 30.3 7.4 44.6s-30.3 17.7-44.6 7.4L13.4 314C2.1 306-2.7 291.5 1.5 278.2S18.1 256 32 256l80 0c35.8 0 66.1-23.5 76.3-56L24 200c-13.3 0-24-10.7-24-24s10.7-24 24-24l164.3 0c-10.2-32.5-40.5-56-76.3-56L32 96C14.3 96 0 81.7 0 64z"]},dn={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M286 304c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7L78 512c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3l59.4 0zM585.7 105.9c7.8-10.7 22.8-13.1 33.5-5.3s13.1 22.8 5.3 33.5L522.1 274.9c-4.2 5.7-10.7 9.4-17.7 9.8s-14-2.2-18.9-7.3l-46.4-48c-9.2-9.5-9-24.7 .6-33.9 9.5-9.2 24.7-8.9 33.9 .6l26.5 27.4 85.6-117.7zM256.3 248a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},Yt={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[448,512,[],"e4c1","M265.4-6.6c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L285.3 64 352 64c53 0 96 43 96 96l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-17.7-14.3-32-32-32l-66.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm-82.7 272l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L162.7 400 96 400c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 481.7 0 464l0-32c0-53 43-96 96-96l66.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM320 368a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 160a64 64 0 1 1 0-128 64 64 0 1 1 0 128z"]},In={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64L72 128c-13.3 0-24-10.7-24-24S58.7 80 72 80l384 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L64 32zM416 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ve={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M290.4 19.8C295.4 7.8 307.1 0 320 0L480 0c17.7 0 32 14.3 32 32l0 160c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9L400 157.3 246.6 310.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L354.7 112 297.4 54.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0 176c0-44.2 35.8-80 80-80l80 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-80 0c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-80c0-17.7 14.3-32 32-32s32 14.3 32 32l0 80c0 44.2-35.8 80-80 80L80 512c-44.2 0-80-35.8-80-80L0 176z"]},Ii={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},er={prefix:"fas",iconName:"percent",icon:[448,512,[62101,62785,"percentage"],"25","M192 128a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM448 384a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM438.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-384 384c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l384-384z"]},ln={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},On={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 70.7 176 0c26.5 0 48-21.5 48-48l0-22.7c-28.3-12.3-48-40.5-48-73.3 0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 22.7c0 61.9-50.1 112-112 112l-176 0 0 70.7c28.3 12.3 48 40.5 48 73.3 0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80 0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},So={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M480.5 10.3L259.1 158c-29.1 19.4-47.6 50.9-50.6 85.3 62.3 12.8 111.4 61.9 124.3 124.3 34.5-3 65.9-21.5 85.3-50.6L565.7 95.5c6.7-10.1 10.3-21.9 10.3-34.1 0-33.9-27.5-61.4-61.4-61.4-12.1 0-24 3.6-34.1 10.3zM288 400c0-61.9-50.1-112-112-112S64 338.1 64 400c0 3.9 .2 7.8 .6 11.6 1.8 17.5-10.2 36.4-27.8 36.4L32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0c61.9 0 112-50.1 112-112z"]},X={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},mc={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6S384 14.6 384 24l0 464c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6l-40.4-34.6-40.4 34.6c-9 7.7-22.2 7.7-31.2 0l-40.4-34.6-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488L0 24C0 14.6 5.5 6.1 14 2.2zM104 136c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0zM80 352c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24-120c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},ki={prefix:"fas",iconName:"unlock-keyhole",icon:[384,512,["unlock-alt"],"f13e","M192 32c-35.3 0-64 28.7-64 64l0 64 192 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l0-64c0-70.7 57.3-128 128-128 63.5 0 116.1 46.1 126.2 106.7 2.9 17.4-8.8 33.9-26.3 36.9s-33.9-8.8-36.9-26.3C250 55.1 223.7 32 192 32zm40 328c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0z"]},cd={prefix:"fas",iconName:"infinity",icon:[640,512,[8734,9854],"f534","M0 256c0-88.4 71.6-160 160-160 50.4 0 97.8 23.7 128 64l32 42.7 32-42.7c30.2-40.3 77.6-64 128-64 88.4 0 160 71.6 160 160S568.4 416 480 416c-50.4 0-97.8-23.7-128-64l-32-42.7-32 42.7c-30.2 40.3-77.6 64-128 64-88.4 0-160-71.6-160-160zm280 0l-43.2-57.6c-18.1-24.2-46.6-38.4-76.8-38.4-53 0-96 43-96 96s43 96 96 96c30.2 0 58.7-14.2 76.8-38.4L280 256zm80 0l43.2 57.6c18.1 24.2 46.6 38.4 76.8 38.4 53 0 96-43 96-96s-43-96-96-96c-30.2 0-58.7 14.2-76.8 38.4L360 256z"]},_d={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M320 16a104 104 0 1 1 0 208 104 104 0 1 1 0-208zM96 88a72 72 0 1 1 0 144 72 72 0 1 1 0-144zM0 416c0-70.7 57.3-128 128-128 12.8 0 25.2 1.9 36.9 5.4-32.9 36.8-52.9 85.4-52.9 138.6l0 16c0 11.4 2.4 22.2 6.7 32L32 480c-17.7 0-32-14.3-32-32l0-32zm521.3 64c4.3-9.8 6.7-20.6 6.7-32l0-16c0-53.2-20-101.8-52.9-138.6 11.7-3.5 24.1-5.4 36.9-5.4 70.7 0 128 57.3 128 128l0 32c0 17.7-14.3 32-32 32l-86.7 0zM472 160a72 72 0 1 1 144 0 72 72 0 1 1 -144 0zM160 432c0-88.4 71.6-160 160-160s160 71.6 160 160l0 16c0 17.7-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32l0-16z"]},qa={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M404 0c19.2 0 37.6 7.6 51.1 21.2l35.7 35.7C504.4 70.4 512 88.8 512 108s-7.6 37.6-21.2 51.1L445.9 204 308 66.1 352.9 21.2C366.4 7.6 384.8 0 404 0zM58.9 315.1L274.1 100 412 237.9 196.9 453.1c-10.7 10.7-24.1 18.5-38.7 22.6L30.4 511.1c-8.3 2.3-17.3 0-23.4-6.2s-8.5-15.1-6.2-23.4L36.4 353.8c4.1-14.6 11.8-27.9 22.6-38.7zM225.4 80.8L80.8 225.4 11.7 156.3c-15.6-15.6-15.6-40.9 0-56.6l88-88c15.6-15.6 40.9-15.6 56.6 0l5.9 5.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 34.9 34.9zM431.2 286.6l34.9 34.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 5.9 5.9c15.6 15.6 15.6 40.9 0 56.6l-88 88c-15.6 15.6-40.9 15.6-56.6 0l-69.1-69.1 144.6-144.6z"]},n1={prefix:"fas",iconName:"won-sign",icon:[512,512,[8361,"krw","won"],"f159","M62.4 53.9C56.8 37.1 38.7 28.1 21.9 33.6S-3.9 57.4 1.7 74.1L56.9 240 32 240c-13.3 0-24 10.7-24 24s10.7 24 24 24l40.9 0 56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288 279 288 321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288 480 288c13.3 0 24-10.7 24-24s-10.7-24-24-24l-24.9 0 55.3-165.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2l-62 186.1-54.6 0-45.9-183.8C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L179 240 124.4 240 62.4 53.9zm78 234.1l26.6 0-11.4 45.6-15.2-45.6zM245 240l11-44.1 11 44.1-22 0zm100 48l26.6 0-15.2 45.6-11.4-45.6z"]},A2={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64l0 256-24 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 80c0 17.7 14.3 32 32 32s32-14.3 32-32l0-80 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-64 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-96 176 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},r3={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M256.4 0c-17.7 0-32 14.3-32 32l0 32-160 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l160 0 0 64-153.4 0c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7l153.4 0 0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96 160 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-160 0 0-64 153.4 0c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7l-153.4 0 0-32c0-17.7-14.3-32-32-32z"]},cc={prefix:"fas",iconName:"turkish-lira-sign",icon:[448,512,["try","turkish-lira"],"e2bb","M160 32c17.7 0 32 14.3 32 32l0 43.6 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 46.1 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 162.5 72 0c53 0 96-43 96-96 0-17.7 14.3-32 32-32s32 14.3 32 32c0 88.4-71.6 160-160 160l-104 0c-17.7 0-32-14.3-32-32l0-176.2-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-46.1-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-61.9c0-17.7 14.3-32 32-32z"]},Iu={prefix:"fas",iconName:"user-clock",icon:[576,512,[],"f4fd","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c3.9 0 7.9 .1 11.8 .4-16.2 28.2-25.5 60.8-25.5 95.6 0 41.8 13.4 80.5 36 112L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zM288 400a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]},j2={prefix:"fas",iconName:"euro-sign",icon:[448,512,[8364,"eur","euro"],"f153","M73.3 192C100.8 99.5 186.5 32 288 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-65.6 0-122 39.5-146.7 96L272 192c13.3 0 24 10.7 24 24s-10.7 24-24 24l-143.2 0c-.5 5.3-.8 10.6-.8 16s.3 10.7 .8 16L272 272c13.3 0 24 10.7 24 24s-10.7 24-24 24l-130.7 0c24.7 56.5 81.1 96 146.7 96l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-101.5 0-187.2-67.5-214.7-160L40 320c-13.3 0-24-10.7-24-24s10.7-24 24-24l24.6 0c-.7-10.5-.7-21.5 0-32L40 240c-13.3 0-24-10.7-24-24s10.7-24 24-24l33.3 0z"]},s1={prefix:"fas",iconName:"yen-sign",icon:[384,512,[165,"cny","jpy","rmb","yen"],"f157","M74.9 46.7c-9.6-14.9-29.4-19.2-44.2-9.6S11.5 66.4 21.1 81.3L143.7 272 88 272c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 32-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 48c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0 0-32 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.7 0 122.6-190.7c9.6-14.9 5.3-34.7-9.6-44.2s-34.7-5.3-44.2 9.6L192 228.8 74.9 46.7z"]},Tc={prefix:"fas",iconName:"angles-down",icon:[384,512,["angle-double-down"],"f103","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 402.7 329.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 210.7 329.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},N3={prefix:"fas",iconName:"network-wired",icon:[576,512,[],"f6ff","M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z"]},J2={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},n0={prefix:"fas",iconName:"diagram-project",icon:[512,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z"]},E={prefix:"fas",iconName:"money-bill-wave",icon:[512,512,[],"f53a","M0 419.6L0 109.5c0-23.2 24.1-38.6 46.3-32 87.7 26.2 149.7 5.5 212.1-15.3 64.5-21.5 129.4-43.1 223.3-13.1 18.5 5.9 30.3 23.8 30.3 43.3l0 310.1c0 23.2-24.1 38.6-46.2 32-87.7-26.2-149.8-5.5-212.1 15.3-64.5 21.5-129.4 43.1-223.3 13.1-18.5-5.9-30.3-23.8-30.3-43.3zM336 256c0-53-35.8-96-80-96s-80 43-80 96 35.8 96 80 96 80-43 80-96zM120 413.6c4.4 0 7.9-3.8 7.2-8.1-4.6-27.8-27-49.5-55.2-53-4.4-.5-8 3.1-8 7.5l0 39.9c0 3.6 2.4 6.8 6 7.7 17.9 4.2 34.3 6.1 50 6.1zm318.5-51.1c5 .8 9.5-3 9.5-8l0-42.6c0-4.4-3.6-8.1-8-7.5-25.2 3.1-45.9 20.9-53.2 44.6-1.4 4.7 2.3 9.1 7.2 9.2 14.2 .4 29 1.7 44.4 4.3zM448 152l0-39.9c0-3.6-2.5-6.8-6-7.7-17.9-4.2-34.3-6.1-50-6.1-4.4 0-7.9 3.8-7.2 8.1 4.6 27.8 27 49.5 55.2 53 4.4 .5 8-3.1 8-7.5zM125.2 162.9c1.4-4.7-2.3-9.1-7.2-9.2-14.2-.4-29-1.7-44.4-4.3-5-.8-9.5 3-9.5 8L64 200c0 4.4 3.6 8.1 8 7.5 25.2-3.1 45.9-20.9 53.2-44.6z"]},Ia={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 16c17.7 0 32 14.3 32 32l0 16 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48.9 0c-26 0-47.1 21.1-47.1 47.1 0 22.5 15.9 41.8 37.9 46.2l32.8 6.6c51.9 10.4 89.3 56 89.3 109 0 50.6-33.8 93.3-80 106.7l0 20.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-16-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64.9 0c26 0 47.1-21.1 47.1-47.1 0-22.5-15.9-41.8-37.9-46.2l-32.8-6.6c-51.9-10.4-89.3-56-89.3-109 0-50.6 33.8-93.2 80-106.7L368 48c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32l80 0c79.5 0 144 64.5 144 144 0 54.3-30 101.5-74.4 126.1l41 136.7c5.1 16.9-4.5 34.8-21.5 39.8s-34.8-4.5-39.8-21.5L120.1 319.8c-2.7 .1-5.4 .2-8.1 .2l-48 0 0 128c0 17.7-14.3 32-32 32S0 465.7 0 448L0 64zM64 256l48 0c44.2 0 80-35.8 80-80s-35.8-80-80-80l-48 0 0 160z"]},r0={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},c0={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]},yo={prefix:"fas",iconName:"user-lock",icon:[576,512,[],"f502","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c29.7 0 57.7 7.3 82.3 20.1l0 4.3c-19.6 17.6-32 43.1-32 71.5l0 96c0 5.5 .5 10.9 1.3 16.1L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zm301.7 .1c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 47.9 64 0 0-47.9zM352 400c0-20.9 13.4-38.7 32-45.3l0-50.6c0-44.2 35.8-80 80-80s80 35.8 80 80l0 50.6c18.6 6.6 32 24.4 32 45.3l0 96c0 26.5-21.5 48-48 48l-128 0c-26.5 0-48-21.5-48-48l0-96z"]},Ch={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 80l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 112l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Op={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M136 0c-13.3 0-24 10.7-24 24l0 40-74.4 0C16.8 64 0 80.8 0 101.6L0 406.3c0 23 18.7 41.7 41.7 41.7l70.3 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 48 0c61.9 0 112-50.1 112-112 0-40.1-21.1-75.3-52.7-95.1 13.1-18.3 20.7-40.7 20.7-64.9 0-61.9-50.1-112-112-112l-16 0 0-40c0-13.3-10.7-24-24-24zM112 128l0 96-48 0 0-96 48 0zm48 96l0-96 16 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-16 0zm-48 64l0 96-48 0 0-96 48 0zm48 96l0-96 48 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-48 0z"]},t_={prefix:"fas",iconName:"server",icon:[448,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Fp={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M313.4-6.6c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 128 128 128c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32S0 241.7 0 224l0-32C0 121.3 57.3 64 128 64l210.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 384 96 384c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3z"]},Up={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64 0-16.2-6-31.1-16-42.3l69.5-138.9c5.9-11.9 1.1-26.3-10.7-32.2s-26.3-1.1-32.2 10.7L261.1 288.2c-1.7-.1-3.4-.2-5.1-.2-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},M_={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M502.6 150.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9S352 236.9 352 224l0-64-320 0c-17.7 0-32-14.3-32-32S14.3 96 32 96l320 0 0-64c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c9.2-9.2 22.9-11.9 34.9-6.9S160 275.1 160 288l0 64 320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-320 0 0 64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9z"]},S_={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 112 256 0 0-112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 16 16 0c26.5 0 48 21.5 48 48l0 48c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 48c0 26.5-21.5 48-48 48l-16 0 0 16c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-112-256 0 0 112c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-16-16 0c-26.5 0-48-21.5-48-48l0-48c-17.7 0-32-14.3-32-32s14.3-32 32-32l0-48c0-26.5 21.5-48 48-48l16 0 0-16z"]},A_={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},Lh={prefix:"fas",iconName:"ruble-sign",icon:[448,512,[8381,"rouble","rub","ruble"],"f158","M112 32C94.3 32 80 46.3 80 64l0 208-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 48-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 152 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-152 0 0-48 112 0c79.5 0 144-64.5 144-144S335.5 32 256 32L112 32zM256 256l-112 0 0-160 112 0c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]},f6={prefix:"fas",iconName:"clock-rotate-left",icon:[576,512,["history"],"f1da","M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1z"]},vf={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M512.4 240l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206 2.3 17.5-12.2 31.9-29.9 31.9zM222.6 37.2c18.1-3.8 33.8 11 33.8 29.5l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8zM477.8 288l64 0c18.5 0 33.3 15.7 29.5 33.8-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l78.2 0z"]},M6={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M461.2 18.9C472.7 24 480 35.4 480 48l0 416c0 12.6-7.3 24-18.8 29.1s-24.8 3.2-34.3-5.1l-46.6-40.7c-43.6-38.1-98.7-60.3-156.4-63l0 95.7c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-96C57.3 384 0 326.7 0 256S57.3 128 128 128l84.5 0c61.8-.2 121.4-22.7 167.9-63.3l46.6-40.7c9.4-8.3 22.9-10.2 34.3-5.1zM224 320l0 .2c70.3 2.7 137.8 28.5 192 73.4l0-275.3c-54.2 44.9-121.7 70.7-192 73.4L224 320z"]},N8={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},M4={prefix:"fas",iconName:"lock",icon:[384,512,[128274],"f023","M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},P6={prefix:"fas",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 96L160 96c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-64 48 0 0-192zM0 224c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224zm64 40c0 13.3 10.7 24 24 24l240 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 240c-13.3 0-24 10.7-24 24z"]},g1={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},kf={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},oy={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},gs={prefix:"fas",iconName:"money-bill-1",icon:[512,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm192 80a112 112 0 1 1 0 224 112 112 0 1 1 0-224zM64 184l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8.1 3.6 7.5 8-3.6 29-26.6 51.9-55.5 55.5-4.4 .5-8-3.1-8-7.5zm0 144c0-4.4 3.6-8.1 8-7.5 29 3.6 51.9 26.6 55.5 55.5 .5 4.4-3.1 8-7.5 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM440 191.5c-29-3.6-51.9-26.6-55.5-55.5-.5-4.4 3.1-8 7.5-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8.1-8 7.5zM448 328l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8.1-3.6-7.5-8 3.6-29 26.6-51.9 55.5-55.5 4.4-.5 8 3.1 8 7.5zM240 188c-11 0-20 9-20 20 0 9.7 6.9 17.7 16 19.6l0 48.4-4 0c-11 0-20 9-20 20s9 20 20 20l48 0c11 0 20-9 20-20s-9-20-20-20l-4 0 0-68c0-11-9-20-20-20l-16 0z"]},Jo=gs,dg={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},gy={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M338.8-9.9c11.9 8.6 16.3 24.2 10.9 37.8L271.3 224 416 224c13.5 0 25.5 8.4 30.1 21.1s.7 26.9-9.6 35.5l-288 240c-11.3 9.4-27.4 9.9-39.3 1.3s-16.3-24.2-10.9-37.8L176.7 288 32 288c-13.5 0-25.5-8.4-30.1-21.1s-.7-26.9 9.6-35.5l288-240c11.3-9.4 27.4-9.9 39.3-1.3z"]},ub={prefix:"fas",iconName:"burst",icon:[512,512,[],"e4dc","M37.6 4.2C28-2.3 15.2-1.1 7 7S-2.3 28 4.2 37.6l112 163.3-99.6 32.3C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4-52.9 100.6c-4.9 9.3-3.2 20.7 4.3 28.1s18.8 9.2 28.1 4.3l100.6-52.9 33.4 103.1c3.2 9.9 12.4 16.6 22.8 16.6s19.6-6.7 22.8-16.6l33.4-103.1 100.6 52.9c9.3 4.9 20.7 3.2 28.1-4.3s9.2-18.8 4.3-28.1l-52.9-100.6 103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8l-106.5-34.5 25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7-34.5-106.5C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6L200.9 116.2 37.6 4.2z"]},Fb={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M256.5 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM226.7 304l59.4 0 1.5 0c-12.9 26.8-7.8 58.2 11.5 79.5-20.2 22.3-24.8 55.8-9.4 83.4l22.5 40.4c.9 1.6 1.9 3.2 2.9 4.7l-237 0c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3zm205.9-56.4c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 6.1c0 18.9 24.1 32.8 40.5 23.4l5-2.9c11.6-6.7 26.5-2.6 33 9.1l22.4 40.2c6.2 11.2 2.6 25.2-8.2 32l-4.7 2.9c-16.2 10.1-16.2 39.9 0 50.1l4.6 2.9c10.8 6.8 14.5 20.8 8.3 32L607 483.8c-6.5 11.7-21.4 15.9-33 9.1l-4.9-2.9c-16.4-9.5-40.5 4.5-40.5 23.4l0 6.1c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-5.9c0-19-24.2-33-40.7-23.5l-4.8 2.8c-11.6 6.7-26.4 2.6-33-9.1l-22.6-40.4c-6.2-11.2-2.6-25.3 8.3-32.1l4.4-2.7c16.3-10.1 16.3-40.1 0-50.2l-4.5-2.8c-10.9-6.8-14.5-20.9-8.3-32.1l22.5-40.3c6.5-11.7 21.4-15.8 32.9-9.1l4.8 2.8c16.5 9.5 40.7-4.5 40.7-23.5l0-5.9zm99.9 136.2a52 52 0 1 0 -104 0 52 52 0 1 0 104 0z"]},Vb={prefix:"fas",iconName:"screwdriver-wrench",icon:[576,512,["tools"],"f7d9","M70.8-6.7c5.4-5.4 13.8-6.2 20.2-2L209.9 70.5c8.9 5.9 14.2 15.9 14.2 26.6l0 49.6 90.8 90.8c33.3-15 73.9-8.9 101.2 18.5L542.2 382.1c18.7 18.7 18.7 49.1 0 67.9l-60.1 60.1c-18.7 18.7-49.1 18.7-67.9 0L288.1 384c-27.4-27.4-33.5-67.9-18.5-101.2l-90.8-90.8-49.6 0c-10.7 0-20.7-5.3-26.6-14.2L23.4 58.9c-4.2-6.3-3.4-14.8 2-20.2L70.8-6.7zm145 303.5c-6.3 36.9 2.3 75.9 26.2 107.2l-94.9 95c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8l135.4-135.5 35.2 35.1zM384.1 0c20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1L388.8 91.3c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l56.7-56.7c7.6-7.5 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 43.2-17.2 82.3-45 111.1l-49.1-49.1c-33.1-33-78.5-45.7-121.1-38.4l-56.8-56.8 0-29.7-.2-5c-.8-12.4-4.4-24.3-10.5-34.9 29.4-35 73.4-57.2 122.7-57.3z"]},Hb={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155-3.8 4.4-9.4 6.1-14.5 5L320 256c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96 43 96 96s-43 96-96 96l-276.4 0c8.7-9.9 19.3-22.6 30-36.8 6.3-8.4 12.8-17.6 19-27.2L416 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-53 0-96-43-96-96s43-96 96-96l39.8 0c-21-31.5-39.8-67.7-39.8-96 0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8-25.2-27.4-85-97.9-85-148.4 0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Xb={prefix:"fas",iconName:"angles-up",icon:[384,512,["angle-double-up"],"f102","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 329.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},qb={prefix:"fas",iconName:"eject",icon:[448,512,[9167],"f052","M224 32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 320 400 320L48 320c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 37.6 210.5 32 224 32zM0 432c0-26.5 21.5-48 48-48l352 0c26.5 0 48 21.5 48 48s-21.5 48-48 48L48 480c-26.5 0-48-21.5-48-48z"]},cC={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M0 64C0 46.3 14.3 32 32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64zM32 176l448 0 0 240c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-240zm152 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},a7={prefix:"fas",iconName:"sterling-sign",icon:[384,512,[163,"gbp","pound-sign"],"f154","M91.3 288l-34.8 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l21.4 0C37.3 147.3 105.1 42 207.6 42l8.2 0c33.6 0 66.2 11.3 92.5 32.2l16.1 12.7c13.9 11 16.2 31.1 5.2 45s-31.1 16.2-45 5.2l-16.1-12.7c-15-11.9-33.6-18.4-52.8-18.4l-8.2 0c-57.3 0-94.7 59.9-69.7 111.4 3.6 7.4 6.6 14.9 9.1 22.6l149.5 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-141.2 0c1 35.3-8.7 70.6-28.9 100.9l-18.1 27.1 212.2 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-272 0c-11.8 0-22.6-6.5-28.2-16.9s-5-23 1.6-32.9l51.2-76.8c13.1-19.6 19.2-42.6 18.2-65.4z"]},CC={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},SC={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]}},1747(Zt,pe,l){"use strict";l.d(pe,{En:()=>ot,Vm:()=>ye,EH:()=>lt,gp:()=>nt});var i=l(7786),d=l(1985),v=l(1413),T=l(3557),w=l(983),e=l(7673),O=l(8810),f=l(8071);class L{constructor(Z,Me,at){this.kind=Z,this.value=Me,this.error=at,this.hasValue="N"===Z}observe(Z){return C(this,Z)}do(Z,Me,at){const{kind:qe,value:pn,error:Je}=this;return"N"===qe?Z?.(pn):"E"===qe?Me?.(Je):at?.()}accept(Z,Me,at){var qe;return(0,f.T)(null===(qe=Z)||void 0===qe?void 0:qe.next)?this.observe(Z):this.do(Z,Me,at)}toObservable(){const{kind:Z,value:Me,error:at}=this,qe="N"===Z?(0,e.of)(Me):"E"===Z?(0,O.$)(()=>at):"C"===Z?w.w:0;if(!qe)throw new TypeError(`Unexpected notification kind ${Z}`);return qe}static createNext(Z){return new L("N",Z)}static createError(Z){return new L("E",void 0,Z)}static createComplete(){return L.completeNotification}}function C(N,Z){var Me,at,qe;const{kind:pn,value:Je,error:Be}=N;if("string"!=typeof pn)throw new TypeError('Invalid notification, missing "kind"');"N"===pn?null===(Me=Z.next)||void 0===Me||Me.call(Z,Je):"E"===pn?null===(at=Z.error)||void 0===at||at.call(Z,Be):null===(qe=Z.complete)||void 0===qe||qe.call(Z)}L.completeNotification=new L("C");var B=l(9974),A=l(4360),le=l(6354),Ce=l(9437),Ae=l(5964),j=l(8750);function W(N,Z,Me,at){return(0,B.N)((qe,pn)=>{let Je;Z&&"function"!=typeof Z?({duration:Me,element:Je,connector:at}=Z):Je=Z;const Be=new Map,ut=tn=>{Be.forEach(tn),tn(pn)},Ge=tn=>ut(on=>on.error(tn));let Ot=0,se=!1;const We=new A.H(pn,tn=>{try{const on=N(tn);let un=Be.get(on);if(!un){Be.set(on,un=at?at():new v.B);const Nt=function bt(tn,on){const un=new d.c(Nt=>{Ot++;const dn=on.subscribe(Nt);return()=>{dn.unsubscribe(),0===--Ot&&se&&We.unsubscribe()}});return un.key=tn,un}(on,un);if(pn.next(Nt),Me){const dn=(0,A._)(un,()=>{un.complete(),dn?.unsubscribe()},void 0,void 0,()=>Be.delete(on));We.add((0,j.Tg)(Me(Nt)).subscribe(dn))}}un.next(Je?Je(tn):tn)}catch(on){Ge(on)}},()=>ut(tn=>tn.complete()),Ge,()=>Be.clear(),()=>(se=!0,0===Ot));qe.subscribe(We)})}var G=l(1397);function re(N,Z){return Z?Me=>Me.pipe(re((at,qe)=>(0,j.Tg)(N(at,qe)).pipe((0,le.T)((pn,Je)=>Z(at,pn,qe,Je))))):(0,B.N)((Me,at)=>{let qe=0,pn=null,Je=!1;Me.subscribe((0,A._)(at,Be=>{pn||(pn=(0,A._)(at,void 0,()=>{pn=null,Je&&at.complete()}),(0,j.Tg)(N(Be,qe++)).subscribe(pn))},()=>{Je=!0,!pn&&at.complete()}))})}var Ee=l(6697),V=l(2615),ce=l(3664),be=l(9640);const he={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Dt="__@ngrx/effects_create__";function lt(N,Z={}){const Me=Z.functional?N:N(),at={...he,...Z};return Object.defineProperty(Me,Dt,{value:at}),Me}function P(N){return Object.getPrototypeOf(N)}function ve(N){return"function"==typeof N}function H(N){return N.filter(ve)}function Ke(N,Z,Me){const at=P(N),pn=at&&"Object"!==at.constructor.name?at.constructor.name:null,Je=function ie(N){return function Le(N){return Object.getOwnPropertyNames(N).filter(at=>!(!N[at]||!N[at].hasOwnProperty(Dt))&&N[at][Dt].hasOwnProperty("dispatch")).map(at=>({propertyName:at,...N[at][Dt]}))}(N)}(N).map(({propertyName:Be,dispatch:ut,useEffectsErrorHandler:Ge})=>{const Ot="function"==typeof N[Be]?N[Be]():N[Be],se=Ge?Me(Ot,Z):Ot;return!1===ut?se.pipe((0,T.w)()):se.pipe(function Pe(){return(0,B.N)((N,Z)=>{N.subscribe((0,A._)(Z,Me=>{Z.next(L.createNext(Me))},()=>{Z.next(L.createComplete()),Z.complete()},Me=>{Z.next(L.createError(Me)),Z.complete()}))})}()).pipe((0,le.T)(bt=>({effect:N[Be],notification:bt,propertyName:Be,sourceName:pn,sourceInstance:N})))});return(0,i.h)(...Je)}function St(N,Z,Me=10){return N.pipe((0,Ce.W)(at=>(Z&&Z.handleError(at),Me<=1?N:St(N,Z,Me-1))))}let ot=(()=>{var N;class Z extends d.c{constructor(at){super(),at&&(this.source=at)}lift(at){const qe=new Z;return qe.source=this,qe.operator=at,qe}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(be.sA))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})();function nt(...N){return(0,Ae.p)(Z=>N.some(Me=>"string"==typeof Me?Me===Z.type:Me.type===Z.type))}const ht=new V.nKC("@ngrx/effects Internal Root Guard"),oe=new V.nKC("@ngrx/effects User Provided Effects"),Ye=new V.nKC("@ngrx/effects Internal Root Effects"),fe=new V.nKC("@ngrx/effects Internal Root Effects Instances"),Qe=new V.nKC("@ngrx/effects Internal Feature Effects"),gt=new V.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),Gt=new V.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>St}),rt="@ngrx/effects/init";function gn(N){return ei(N,"ngrxOnInitEffects")}function ei(N,Z){return N&&Z in N&&"function"==typeof N[Z]}(0,be.VP)(rt);let vi=(()=>{var N;class Z extends v.B{constructor(at,qe){super(),this.errorHandler=at,this.effectsErrorHandler=qe}addEffects(at){this.next(at)}toActions(){return this.pipe(W(at=>function F(N){return!!N.constructor&&"Object"!==N.constructor.name&&"Function"!==N.constructor.name}(at)?P(at):at),(0,G.Z)(at=>at.pipe(W(Ni))),(0,G.Z)(at=>{const qe=at.pipe(re(Je=>function kn(N,Z){return Me=>{const at=Ke(Me,N,Z);return function pt(N){return ei(N,"ngrxOnRunEffects")}(Me)?Me.ngrxOnRunEffects(at):at}}(this.errorHandler,this.effectsErrorHandler)(Je)),(0,le.T)(Je=>(function Ft(N,Z){if("N"===N.notification.kind){const Me=N.notification.value;!function Sn(N){return"function"!=typeof N&&N&&N.type&&"string"==typeof N.type}(Me)&&Z.handleError(new Error(`Effect ${function Qn({propertyName:N,sourceInstance:Z,sourceName:Me}){const at="function"==typeof Z[N];return Me?`"${Me}.${String(N)}${at?"()":""}"`:`"${String(N)}()"`}(N)} dispatched an invalid action: ${function h(N){try{return JSON.stringify(N)}catch{return N}}(Me)}`))}}(Je,this.errorHandler),Je.notification)),(0,Ae.p)(Je=>"N"===Je.kind&&null!=Je.value),function xe(){return(0,B.N)((N,Z)=>{N.subscribe((0,A._)(Z,Me=>C(Me,Z)))})}()),pn=at.pipe((0,Ee.s)(1),(0,Ae.p)(gn),(0,le.T)(Je=>Je.ngrxOnInitEffects()));return(0,i.h)(qe,pn)}))}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(V.zcH),V.KVO(Gt))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})();function Ni(N){return function Ue(N){return ei(N,"ngrxOnIdentifyEffects")}(N)?N.ngrxOnIdentifyEffects():""}let Ri=(()=>{var N;class Z{get isStarted(){return!!this.effectsSubscription}constructor(at,qe){this.effectSources=at,this.store=qe,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vi),V.KVO(be.il))},this.\u0275prov=V.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}))}return N(),Z})(),vt=(()=>{var N;class Z{constructor(at,qe,pn,Je,Be,ut,Ge){this.sources=at,qe.start();for(const Ot of Je)at.addEffects(Ot);pn.dispatch({type:rt})}addEffects(at){this.sources.addEffects(at)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vi),V.KVO(Ri),V.KVO(be.il),V.KVO(fe),V.KVO(be.wc,8),V.KVO(be.ae,8),V.KVO(ht,8))},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})(),ee=(()=>{var N;class Z{constructor(at,qe,pn,Je){const Be=qe.flat();for(const ut of Be)at.addEffects(ut)}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)(V.KVO(vt),V.KVO(gt),V.KVO(be.wc,8),V.KVO(be.ae,8))},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})(),ye=(()=>{var N;class Z{static forFeature(...at){const qe=at.flat(),pn=H(qe);return{ngModule:ee,providers:[pn,{provide:Qe,multi:!0,useValue:qe},{provide:oe,multi:!0,useValue:[]},{provide:gt,multi:!0,useFactory:ke,deps:[Qe,oe]}]}}static forRoot(...at){const qe=at.flat(),pn=H(qe);return{ngModule:vt,providers:[pn,{provide:Ye,useValue:[qe]},{provide:ht,useFactory:Se},{provide:oe,multi:!0,useValue:[]},{provide:fe,useFactory:ke,deps:[Ye,oe]}]}}static#e=N=()=>(this.\u0275fac=function(qe){return new(qe||Z)},this.\u0275mod=ce.$C({type:Z}),this.\u0275inj=V.G2t({}))}return N(),Z})();function ke(N,Z){const Me=[];for(const at of N)Me.push(...at);for(const at of Z)Me.push(...at);return Me.map(at=>function $(N){return N instanceof V.nKC||ve(N)}(at)?(0,V.WQX)(at):at)}function Se(){const N=(0,V.WQX)(Ri,{optional:!0,skipSelf:!0}),Z=(0,V.WQX)(Ye,{self:!0});if((1!==Z.length||0!==Z[0].length)&&N)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640(Zt,pe,l){"use strict";l.d(pe,{SS:()=>Xe,Zz:()=>Re,N_:()=>lt,Bh:()=>jt,QU:()=>h,sA:()=>Pt,h1:()=>ei,il:()=>Ri,ae:()=>Hn,md:()=>Pi,wc:()=>Rn,q6:()=>Ue,VP:()=>W,UX:()=>Jn,vy:()=>Ta,Mz:()=>Nt,on:()=>da,xk:()=>G});var i=l(2615),d=l(3664),v=l(9295),T=l(7705),w=l(4412),e=l(1985),O=l(1413),f=l(7242),u=l(941),L=l(3993),C=l(1943),B=l(6354),Pe=l(3294),le=l(9079);const Ae={};function W(en,vn){if(Ae[en]=(Ae[en]||0)+1,"function"==typeof vn)return xe(en,(...bn)=>({...vn(...bn),type:en}));switch(vn?vn._as:"empty"){case"empty":return xe(en,()=>({type:en}));case"props":return xe(en,bn=>({...bn,type:en}));default:throw new Error("Unexpected config.")}}function G(){return{_as:"props",_p:void 0}}function xe(en,vn){return Object.defineProperty(vn,"type",{value:en,writable:!1})}const Re="@ngrx/store/init";let Xe=(()=>{var en;class vn extends w.t{constructor(){super({type:Re})}next(bn){if("function"==typeof bn)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof bn>"u")throw new TypeError("Actions must be objects");if(typeof bn.type>"u")throw new TypeError("Actions must have a type property");super.next(bn)}complete(){}ngOnDestroy(){super.complete()}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const _e=[Xe],he=new i.nKC("@ngrx/store Internal Root Guard"),Dt=new i.nKC("@ngrx/store Internal Initial State"),lt=new i.nKC("@ngrx/store Initial State"),Le=new i.nKC("@ngrx/store Reducer Factory"),te=new i.nKC("@ngrx/store Internal Reducer Factory Provider"),ie=new i.nKC("@ngrx/store Initial Reducers"),P=new i.nKC("@ngrx/store Internal Initial Reducers"),F=new i.nKC("@ngrx/store Store Features"),ve=new i.nKC("@ngrx/store Internal Store Reducers"),H=new i.nKC("@ngrx/store Internal Feature Reducers"),$=new i.nKC("@ngrx/store Internal Feature Configs"),Ke=new i.nKC("@ngrx/store Internal Store Features"),Vt=new i.nKC("@ngrx/store Internal Feature Reducers Token"),St=new i.nKC("@ngrx/store Feature Reducers"),ot=new i.nKC("@ngrx/store User Provided Meta Reducers"),nt=new i.nKC("@ngrx/store Meta Reducers"),ht=new i.nKC("@ngrx/store Internal Resolved Meta Reducers"),oe=new i.nKC("@ngrx/store User Runtime Checks Config"),Ye=new i.nKC("@ngrx/store Internal User Runtime Checks Config"),fe=new i.nKC("@ngrx/store Internal Runtime Checks"),Qe=new i.nKC("@ngrx/store Check if Action types are unique"),gt=new i.nKC("@ngrx/store Root Store Provider"),Gt=new i.nKC("@ngrx/store Feature State Provider");function rt(en,vn={}){const oi=Object.keys(en),bn={};for(let yi=0;yiyi(Kn),oi(vn))}}function Sn(en,vn){return Array.isArray(vn)&&vn.length>0&&(en=Ft.apply(null,[...vn,en])),(oi,bn)=>{const Kn=en(oi);return(yi,Wi)=>Kn(yi=void 0===yi?bn:yi,Wi)}}class h extends e.c{}class jt extends Xe{}const Ue="@ngrx/store/update-reducers";let wt=(()=>{var en;class vn extends w.t{get currentReducers(){return this.reducers}constructor(bn,Kn,yi,Wi){super(Wi(yi,Kn)),this.dispatcher=bn,this.initialState=Kn,this.reducers=yi,this.reducerFactory=Wi}addFeature(bn){this.addFeatures([bn])}addFeatures(bn){const Kn=bn.reduce((yi,{reducers:Wi,reducerFactory:Ca,metaReducers:Fe,initialState:Wt,key:Ve})=>{const Et="function"==typeof Wi?function Qn(en){const vn=Array.isArray(en)&&en.length>0?Ft(...en):oi=>oi;return(oi,bn)=>(oi=vn(oi),(Kn,yi)=>oi(Kn=void 0===Kn?bn:Kn,yi))}(Fe)(Wi,Wt):Sn(Ca,Fe)(Wi,Wt);return yi[Ve]=Et,yi},{});this.addReducers(Kn)}removeFeature(bn){this.removeFeatures([bn])}removeFeatures(bn){this.removeReducers(bn.map(Kn=>Kn.key))}addReducer(bn,Kn){this.addReducers({[bn]:Kn})}addReducers(bn){this.reducers={...this.reducers,...bn},this.updateReducers(Object.keys(bn))}removeReducer(bn){this.removeReducers([bn])}removeReducers(bn){bn.forEach(Kn=>{this.reducers=function cn(en,vn){return Object.keys(en).filter(oi=>oi!==vn).reduce((oi,bn)=>Object.assign(oi,{[bn]:en[bn]}),{})}(this.reducers,Kn)}),this.updateReducers(bn)}updateReducers(bn){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ue,features:bn})}ngOnDestroy(){this.complete()}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(jt),i.KVO(lt),i.KVO(ie),i.KVO(Le))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const pt=[wt,{provide:h,useExisting:wt},{provide:jt,useExisting:Xe}];let Pt=(()=>{var en;class vn extends O.B{ngOnDestroy(){this.complete()}static#e=en=()=>(this.\u0275fac=(()=>{let bn;return function(yi){return(bn||(bn=d.xGo(vn)))(yi||vn)}})(),this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const gn=[Pt];class ei extends e.c{}let vi=(()=>{var en;class vn extends w.t{constructor(bn,Kn,yi,Wi){super(Wi);const Ve=bn.pipe((0,u.Q)(f.T)).pipe((0,L.E)(Kn)).pipe((0,C.S)(Ni,{state:Wi}));this.stateSubscription=Ve.subscribe(({state:Et,action:Jt})=>{this.next(Et),yi.next(Jt)}),this.state=(0,le.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#e=en=()=>(this.INIT=Re,this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Xe),i.KVO(h),i.KVO(Pt),i.KVO(lt))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();function Ni(en={state:void 0},[vn,oi]){const{state:bn}=en;return{state:oi(bn,vn),action:vn}}const kn=[vi,{provide:ei,useExisting:vi}];let Ri=(()=>{var en;class vn extends e.c{constructor(bn,Kn,yi,Wi){super(),this.actionsObserver=Kn,this.reducerManager=yi,this.injector=Wi,this.source=bn,this.state=bn.state}select(bn,...Kn){return ee.call(null,bn,...Kn)(this)}selectSignal(bn,Kn){return(0,v.EW)(()=>bn(this.state()),Kn)}lift(bn){const Kn=new vn(this,this.actionsObserver,this.reducerManager);return Kn.operator=bn,Kn}dispatch(bn,Kn){if("function"==typeof bn)return this.processDispatchFn(bn,Kn);this.actionsObserver.next(bn)}next(bn){this.actionsObserver.next(bn)}error(bn){this.actionsObserver.error(bn)}complete(){this.actionsObserver.complete()}addReducer(bn,Kn){this.reducerManager.addReducer(bn,Kn)}removeReducer(bn){this.reducerManager.removeReducer(bn)}processDispatchFn(bn,Kn){!function ce(en,vn){if(null==en)throw new Error(`${vn} must be defined.`)}(this.injector,"Store Injector");const yi=Kn?.injector??function ye(){try{return(0,i.WQX)(i.zZn)}catch{return}}()??this.injector;return(0,v.QZ)(()=>{const Wi=bn();(0,v.O8)(()=>this.dispatch(Wi))},{injector:yi})}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(ei),i.KVO(Xe),i.KVO(wt),i.KVO(i.zZn))},this.\u0275prov=i.jDH({token:vn,factory:vn.\u0275fac}))}return en(),vn})();const vt=[Ri];function ee(en,vn,...oi){return function(Kn){let yi;if("string"==typeof en){const Wi=[vn,...oi].filter(Boolean);yi=Kn.pipe(function A(...en){const vn=en.length;if(0===vn)throw new Error("list of properties cannot be empty.");return(0,B.T)(oi=>{let bn=oi;for(let Kn=0;Knen(Wi,vn)))}return yi.pipe((0,Pe.F)())}}const ke="https://ngrx.io/guide/store/configuration/runtime-checks";function Se(en){return void 0===en}function ge(en){return null===en}function N(en){return Array.isArray(en)}function qe(en){return"object"==typeof en&&null!==en}function Be(en){return"function"==typeof en}function bt(en,vn){return en===vn}function un(en,vn=bt,oi=bt){let yi,bn=null,Kn=null;return{memoized:function Wt(){if(void 0!==yi)return yi.result;if(!bn)return Kn=en.apply(null,arguments),bn=arguments,Kn;if(!function tn(en,vn,oi){for(let bn=0;bn"function"==typeof vn)}(bn[0])&&(bn=function Yi(en){const vn=Object.values(en),oi=Object.keys(en);return[...vn,(...Kn)=>oi.reduce((yi,Wi,Ca)=>({...yi,[Wi]:Kn[Ca]}),{})]}(bn[0]));const Kn=bn.slice(0,bn.length-1),yi=bn[bn.length-1],Wi=Kn.filter(Ve=>Ve.release&&"function"==typeof Ve.release),Ca=en(function(...Ve){return yi.apply(null,Ve)}),Fe=un(function(Ve,Et){return vn.stateFn.apply(null,[Ve,Kn,Et,Ca])});return Object.assign(Fe.memoized,{release:function Wt(){Fe.reset(),Ca.reset(),Wi.forEach(Ve=>Ve.release())},projector:Ca.memoized,setResult:Fe.setResult,clearResult:Fe.clearResult})}}(un)(...en)}function dn(en,vn,oi,bn){if(void 0===oi){const yi=vn.map(Wi=>Wi(en));return bn.memoized.apply(null,yi)}const Kn=vn.map(yi=>yi(en,oi));return bn.memoized.apply(null,[...Kn,oi])}function Jn(en){return Nt(vn=>{const oi=vn[en];return(0,T.naY)()&&!(en in vn)&&console.warn(`@ngrx/store: The feature name "${en}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${en}', ...) or StoreModule.forFeature('${en}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),oi},vn=>vn)}function ae(en){return en instanceof i.nKC?(0,i.WQX)(en):en}function Lt(en,vn){return vn.map((oi,bn)=>{if(en[bn]instanceof i.nKC){const Kn=(0,i.WQX)(en[bn]);return{key:oi.key,reducerFactory:Kn.reducerFactory?Kn.reducerFactory:rt,metaReducers:Kn.metaReducers?Kn.metaReducers:[],initialState:Kn.initialState}}return oi})}function Ht(en){return en.map(vn=>vn instanceof i.nKC?(0,i.WQX)(vn):vn)}function _n(en){return"function"==typeof en?en():en}function fi(en,vn){return en.concat(vn)}function bi(){if((0,i.WQX)(Ri,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function zi(en){Object.freeze(en);const vn=Be(en);return Object.getOwnPropertyNames(en).forEach(oi=>{if(!oi.startsWith("\u0275")&&function Ge(en,vn){return Object.prototype.hasOwnProperty.call(en,vn)}(en,oi)&&(!vn||"caller"!==oi&&"callee"!==oi&&"arguments"!==oi)){const bn=en[oi];(qe(bn)||Be(bn))&&!Object.isFrozen(bn)&&zi(bn)}}),en}function an(en,vn=[]){return(Se(en)||ge(en))&&0===vn.length?{path:["root"],value:en}:Object.keys(en).reduce((bn,Kn)=>{if(bn)return bn;const yi=en[Kn];return function ut(en){return Be(en)&&en.hasOwnProperty("\u0275cmp")}(yi)?bn:!(Se(yi)||ge(yi)||function at(en){return"number"==typeof en}(yi)||function Me(en){return"boolean"==typeof en}(yi)||function Z(en){return"string"==typeof en}(yi)||N(yi))&&(function Je(en){if(!function pn(en){return qe(en)&&!N(en)}(en))return!1;const vn=Object.getPrototypeOf(en);return vn===Object.prototype||null===vn}(yi)?an(yi,[...vn,Kn]):{path:[...vn,Kn],value:yi})},!1)}function Yt(en,vn){if(!1===en)return;const oi=en.path.join("."),bn=new Error(`Detected unserializable ${vn} at "${oi}". ${ke}#strict${vn}serializability`);throw bn.value=en.value,bn.unserializablePath=oi,bn}function zn(en){return(0,T.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...en}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Fn({strictActionSerializability:en,strictStateSerializability:vn}){return oi=>en||vn?function It(en,vn){return function(oi,bn){vn.action(bn)&&Yt(an(bn),"action");const Kn=en(oi,bn);return vn.state()&&Yt(an(Kn),"state"),Kn}}(oi,{action:bn=>en&&!rn(bn),state:()=>vn}):oi}function ci({strictActionImmutability:en,strictStateImmutability:vn}){return oi=>en||vn?function Qi(en,vn){return function(oi,bn){const Kn=vn.action(bn)?zi(bn):bn,yi=en(oi,Kn);return vn.state()?zi(yi):yi}}(oi,{action:bn=>en&&!rn(bn),state:()=>vn}):oi}function rn(en){return en.type.startsWith("@ngrx")}function In({strictActionWithinNgZone:en}){return vn=>en?function Un(en,vn){return function(oi,bn){if(vn.action(bn)&&!d.SKi.isInAngularZone())throw new Error(`Action '${bn.type}' running outside NgZone. ${ke}#strictactionwithinngzone`);return en(oi,bn)}}(vn,{action:oi=>en&&!rn(oi)}):vn}function Mn(en){return[{provide:Ye,useValue:en},{provide:oe,useFactory:ii,deps:[Ye]},{provide:fe,deps:[oe],useFactory:zn},{provide:nt,multi:!0,deps:[fe],useFactory:ci},{provide:nt,multi:!0,deps:[fe],useFactory:Fn},{provide:nt,multi:!0,deps:[fe],useFactory:In}]}function Vn(){return[{provide:Qe,multi:!0,deps:[fe],useFactory:Bn}]}function ii(en){return en}function Bn(en){if(!en.strictActionTypeUniqueness)return;const vn=Object.entries(Ae).filter(([,oi])=>oi>1).map(([oi])=>oi);if(vn.length)throw new Error(`Action types are registered more than once, ${vn.map(oi=>`"${oi}"`).join(", ")}. ${ke}#strictactiontypeuniqueness`)}function ra(en={},vn={}){return[{provide:he,useFactory:bi},{provide:Dt,useValue:vn.initialState},{provide:lt,useFactory:_n,deps:[Dt]},{provide:P,useValue:en},{provide:ve,useExisting:en instanceof i.nKC?en:P},{provide:ie,deps:[P,[new d.y_5(ve)]],useFactory:ae},{provide:ot,useValue:vn.metaReducers?vn.metaReducers:[]},{provide:ht,deps:[nt,ot],useFactory:fi},{provide:te,useValue:vn.reducerFactory?vn.reducerFactory:rt},{provide:Le,deps:[te,ht],useFactory:Sn},_e,pt,gn,kn,vt,Mn(vn.runtimeChecks),Vn()]}function ri(en,vn,oi={}){return[{provide:$,multi:!0,useValue:en instanceof Object?{}:oi},{provide:F,multi:!0,useValue:{key:en instanceof Object?en.name:en,reducerFactory:oi instanceof i.nKC||!oi.reducerFactory?rt:oi.reducerFactory,metaReducers:oi instanceof i.nKC||!oi.metaReducers?[]:oi.metaReducers,initialState:oi instanceof i.nKC||!oi.initialState?void 0:oi.initialState}},{provide:Ke,deps:[$,F],useFactory:Lt},{provide:H,multi:!0,useValue:en instanceof Object?en.reducer:vn},{provide:Vt,multi:!0,useExisting:vn instanceof i.nKC?vn:H},{provide:St,multi:!0,deps:[H,[new d.y_5(Vt)]],useFactory:Ht},Vn()]}(0,i.BCV)(()=>(0,i.WQX)(gt)),(0,i.BCV)(()=>(0,i.WQX)(Gt));let Rn=(()=>{var en;class vn{constructor(bn,Kn,yi,Wi,Ca,Fe){}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Xe),i.KVO(h),i.KVO(Pt),i.KVO(Ri),i.KVO(he,8),i.KVO(Qe,8))},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})(),Hn=(()=>{var en;class vn{constructor(bn,Kn,yi,Wi,Ca){this.features=bn,this.featureReducers=Kn,this.reducerManager=yi;const Fe=bn.map((Wt,Ve)=>{const Jt=Kn.shift()[Ve];return{...Wt,reducers:Jt,initialState:_n(Wt.initialState)}});yi.addFeatures(Fe)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)(i.KVO(Ke),i.KVO(St),i.KVO(wt),i.KVO(Rn),i.KVO(Qe,8))},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})(),Pi=(()=>{var en;class vn{static forRoot(bn,Kn){return{ngModule:Rn,providers:[...ra(bn,Kn)]}}static forFeature(bn,Kn,yi={}){return{ngModule:Hn,providers:[...ri(bn,Kn,yi)]}}static#e=en=()=>(this.\u0275fac=function(Kn){return new(Kn||vn)},this.\u0275mod=d.$C({type:vn}),this.\u0275inj=i.G2t({}))}return en(),vn})();function da(...en){return{reducer:en.pop(),types:en.map(bn=>bn.type)}}function Ta(en,...vn){const oi=new Map;for(const bn of vn)for(const Kn of bn.types){const yi=oi.get(Kn);oi.set(Kn,yi?(Ca,Fe)=>bn.reducer(yi(Ca,Fe),Fe):bn.reducer)}return function(bn=en,Kn){const yi=oi.get(Kn.type);return yi?yi(bn,Kn):bn}}},1993(Zt,pe,l){"use strict";l.d(pe,{Dl:()=>bp,L8:()=>hh,dV:()=>p4});var i=l(3664),d=l(2615),v=l(7705),T=l(2200),w=l(177),e=l(1635),O=l(6939),f=l(3726),u=l(152),L=l(1514);function C(){}function B(s){return null==s?C:function(){return this.querySelector(s)}}function le(){return[]}function Ce(s){return null==s?le:function(){return this.querySelectorAll(s)}}function W(s){return function(){return this.matches(s)}}function G(s){return function(g){return g.matches(s)}}var re=Array.prototype.find;function Ee(){return this.firstElementChild}var ce=Array.prototype.filter;function be(){return Array.from(this.children)}function Re(s){return new Array(s.length)}function _e(s,g){this.ownerDocument=s.ownerDocument,this.namespaceURI=s.namespaceURI,this._next=null,this._parent=s,this.__data__=g}function Dt(s,g,c,r,y,x){for(var ue,R=0,xt=g.length,Rt=x.length;Rg?1:s>=g?0:NaN}_e.prototype={constructor:_e,appendChild:function(s){return this._parent.insertBefore(s,this._next)},insertBefore:function(s,g){return this._parent.insertBefore(s,g)},querySelector:function(s){return this._parent.querySelector(s)},querySelectorAll:function(s){return this._parent.querySelectorAll(s)}};var Ye="http://www.w3.org/1999/xhtml";const fe={svg:"http://www.w3.org/2000/svg",xhtml:Ye,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Qe(s){var g=s+="",c=g.indexOf(":");return c>=0&&"xmlns"!==(g=s.slice(0,c))&&(s=s.slice(c+1)),fe.hasOwnProperty(g)?{space:fe[g],local:s}:s}function gt(s){return function(){this.removeAttribute(s)}}function Gt(s){return function(){this.removeAttributeNS(s.space,s.local)}}function rt(s,g){return function(){this.setAttribute(s,g)}}function cn(s,g){return function(){this.setAttributeNS(s.space,s.local,g)}}function Ft(s,g){return function(){var c=g.apply(this,arguments);null==c?this.removeAttribute(s):this.setAttribute(s,c)}}function Sn(s,g){return function(){var c=g.apply(this,arguments);null==c?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,c)}}function h(s){return s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView}function jt(s){return function(){this.style.removeProperty(s)}}function Ue(s,g,c){return function(){this.style.setProperty(s,g,c)}}function wt(s,g,c){return function(){var r=g.apply(this,arguments);null==r?this.style.removeProperty(s):this.style.setProperty(s,r,c)}}function Pt(s,g){return s.style.getPropertyValue(g)||h(s).getComputedStyle(s,null).getPropertyValue(g)}function gn(s){return function(){delete this[s]}}function ei(s,g){return function(){this[s]=g}}function vi(s,g){return function(){var c=g.apply(this,arguments);null==c?delete this[s]:this[s]=c}}function kn(s){return s.trim().split(/^|\s+/)}function Ri(s){return s.classList||new vt(s)}function vt(s){this._node=s,this._names=kn(s.getAttribute("class")||"")}function ee(s,g){for(var c=Ri(s),r=-1,y=g.length;++r=0&&(this._names.splice(g,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(s){return this._names.indexOf(s)>=0}};var an=[null];function Yt(s,g){this._groups=s,this._parents=g}function Un(){return new Yt([[document.documentElement]],an)}Yt.prototype=Un.prototype={constructor:Yt,select:function A(s){"function"!=typeof s&&(s=B(s));for(var g=this._groups,c=g.length,r=new Array(c),y=0;y=ea&&(ea=pa+1);!(Na=Xn[ea])&&++ea=0;)(R=r[y])&&(x&&4^R.compareDocumentPosition(x)&&x.parentNode.insertBefore(R,x),x=R);return this},sort:function $(s){function g(wn,An){return wn&&An?s(wn.__data__,An.__data__):!wn-!An}s||(s=Ke);for(var c=this._groups,r=c.length,y=new Array(r),x=0;x1?this.each((null==g?jt:"function"==typeof g?wt:Ue)(s,g,c??"")):Pt(this.node(),s)},property:function Ni(s,g){return arguments.length>1?this.each((null==g?gn:"function"==typeof g?vi:ei)(s,g)):this.node()[s]},classed:function N(s,g){var c=kn(s+"");if(arguments.length<2){for(var r=Ri(this.node()),y=-1,x=c.length;++y=0&&(c=g.slice(r+1),g=g.slice(0,r)),{type:g,name:c}})}(s+""),x=r.length;if(!(arguments.length<2)){for(ue=g?Ht:Lt,y=0;y{}};function In(){for(var r,s=0,g=arguments.length,c={};s=0&&(r=c.slice(y+1),c=c.slice(0,y)),c&&!g.hasOwnProperty(c))throw new Error("unknown type: "+c);return{type:c,name:r}})}(s+"",c),x=-1,R=r.length;if(!(arguments.length<2)){if(null!=g&&"function"!=typeof g)throw new Error("invalid callback: "+g);for(;++x0)for(var y,x,c=new Array(y),r=0;r>8&15|g>>4&240,g>>4&15|240&g,(15&g)<<4|15&g,1):8===c?ca(g>>24&255,g>>16&255,g>>8&255,(255&g)/255):4===c?ca(g>>12&15|g>>8&240,g>>8&15|g>>4&240,g>>4&15|240&g,((15&g)<<4|15&g)/255):null):(g=bn.exec(s))?new U(g[1],g[2],g[3],1):(g=Kn.exec(s))?new U(255*g[1]/100,255*g[2]/100,255*g[3]/100,1):(g=yi.exec(s))?ca(g[1],g[2],g[3],g[4]):(g=Wi.exec(s))?ca(255*g[1]/100,255*g[2]/100,255*g[3]/100,g[4]):(g=Ca.exec(s))?Ua(g[1],g[2]/100,g[3]/100,1):(g=Fe.exec(s))?Ua(g[1],g[2]/100,g[3]/100,g[4]):Wt.hasOwnProperty(s)?Ii(Wt[s]):"transparent"===s?new U(NaN,NaN,NaN,0):null}function Ii(s){return new U(s>>16&255,s>>8&255,255&s,1)}function ca(s,g,c,r){return r<=0&&(s=g=c=NaN),new U(s,g,c,r)}function ni(s,g,c,r){return 1===arguments.length?function nn(s){return s instanceof Hn||(s=di(s)),s?new U((s=s.rgb()).r,s.g,s.b,s.opacity):new U}(s):new U(s,g,c,r??1)}function U(s,g,c,r){this.r=+s,this.g=+g,this.b=+c,this.opacity=+r}function tt(){return`#${_a(this.r)}${_a(this.g)}${_a(this.b)}`}function Xt(){const s=Nn(this.opacity);return`${1===s?"rgb(":"rgba("}${Ki(this.r)}, ${Ki(this.g)}, ${Ki(this.b)}${1===s?")":`, ${s})`}`}function Nn(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function Ki(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function _a(s){return((s=Ki(s))<16?"0":"")+s.toString(16)}function Ua(s,g,c,r){return r<=0?s=g=c=NaN:c<=0||c>=1?s=g=NaN:g<=0&&(s=NaN),new Ga(s,g,c,r)}function $a(s){if(s instanceof Ga)return new Ga(s.h,s.s,s.l,s.opacity);if(s instanceof Hn||(s=di(s)),!s)return new Ga;if(s instanceof Ga)return s;var g=(s=s.rgb()).r/255,c=s.g/255,r=s.b/255,y=Math.min(g,c,r),x=Math.max(g,c,r),R=NaN,ue=x-y,xt=(x+y)/2;return ue?(R=g===x?(c-r)/ue+6*(c0&&xt<1?0:R,new Ga(R,ue,xt,s.opacity)}function Ga(s,g,c,r){this.h=+s,this.s=+g,this.l=+c,this.opacity=+r}function As(s){return(s=(s||0)%360)<0?s+360:s}function hr(s){return Math.max(0,Math.min(1,s||0))}function mr(s,g,c){return 255*(s<60?g+(c-g)*s/60:s<180?c:s<240?g+(c-g)*(240-s)/60:g)}function fr(s,g,c,r,y){var x=s*s,R=x*s;return((1-3*s+3*x-R)*g+(4-6*x+3*R)*c+(1+3*s+3*x-3*R)*r+R*y)/6}ri(Hn,di,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:Ve,formatHex:Ve,formatHex8:function Et(){return this.rgb().formatHex8()},formatHsl:function Jt(){return $a(this).formatHsl()},formatRgb:ti,toString:ti}),ri(U,ni,Rn(Hn,{brighter(s){return s=null==s?da:Math.pow(da,s),new U(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new U(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new U(Ki(this.r),Ki(this.g),Ki(this.b),Nn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tt,formatHex:tt,formatHex8:function Ze(){return`#${_a(this.r)}${_a(this.g)}${_a(this.b)}${_a(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Xt,toString:Xt})),ri(Ga,function ns(s,g,c,r){return 1===arguments.length?$a(s):new Ga(s,g,c,r??1)},Rn(Hn,{brighter(s){return s=null==s?da:Math.pow(da,s),new Ga(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new Ga(this.h,this.s,this.l*s,this.opacity)},rgb(){var s=this.h%360+360*(this.h<0),g=isNaN(s)||isNaN(this.s)?0:this.s,c=this.l,r=c+(c<.5?c:1-c)*g,y=2*c-r;return new U(mr(s>=240?s-240:s+120,y,r),mr(s,y,r),mr(s<120?s+240:s-120,y,r),this.opacity)},clamp(){return new Ga(As(this.h),hr(this.s),hr(this.l),Nn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const s=Nn(this.opacity);return`${1===s?"hsl(":"hsla("}${As(this.h)}, ${100*hr(this.s)}%, ${100*hr(this.l)}%${1===s?")":`, ${s})`}`}}));const gr=s=>()=>s;function Ps(s,g){var c=g-s;return c?function Zs(s,g){return function(c){return s+c*g}}(s,c):gr(isNaN(s)?g:s)}const kr=function s(g){var c=function Ka(s){return 1==(s=+s)?Ps:function(g,c){return c-g?function jr(s,g,c){return s=Math.pow(s,c),g=Math.pow(g,c)-s,c=1/c,function(r){return Math.pow(s+r*g,c)}}(g,c,s):gr(isNaN(g)?c:g)}}(g);function r(y,x){var R=c((y=ni(y)).r,(x=ni(x)).r),ue=c(y.g,x.g),xt=c(y.b,x.b),Rt=Ps(y.opacity,x.opacity);return function(sn){return y.r=R(sn),y.g=ue(sn),y.b=xt(sn),y.opacity=Rt(sn),y+""}}return r.gamma=s,r}(1);function js(s){return function(g){var R,ue,c=g.length,r=new Array(c),y=new Array(c),x=new Array(c);for(R=0;R=1?(c=1,g-1):Math.floor(c*g),y=s[r],x=s[r+1];return fr((c-r/g)*g,r>0?s[r-1]:2*y-x,y,x,rc&&(x=g.slice(c,x),ue[R]?ue[R]+=x:ue[++R]=x),(r=r[0])===(y=y[0])?ue[R]?ue[R]+=y:ue[++R]=y:(ue[++R]=null,xt.push({i:R,x:rs(r,y)})),c=Hs.lastIndex;return c=0&&s._call.call(void 0,g),s=s._next;--er}()}finally{er=0,function Es(){for(var s,c,g=Za,r=1/0;g;)g._call?(r>g._time&&(r=g._time),s=g,g=g._next):(c=g._next,g._next=null,g=s?s._next=c:Za=c);Or=s,kt(r)}(),Fs=0}}function ua(){var s=Ks.now(),g=s-Rr;g>1e3&&(Hr-=g,Rr=s)}function kt(s){er||(Xs&&(Xs=clearTimeout(Xs)),s-Fs>24?(s<1/0&&(Xs=setTimeout(Oi,s-Ks.now()-Hr)),wa&&(wa=clearInterval(wa))):(wa||(Rr=Ks.now(),wa=setInterval(ua,1e3)),er=1,Sr(Oi)))}function On(s,g,c){var r=new q;return r.restart(y=>{r.stop(),s(y+g)},g=null==g?0:+g,c),r}q.prototype=mt.prototype={constructor:q,restart:function(s,g,c){if("function"!=typeof s)throw new TypeError("callback is not a function");c=(null==c?Ne():+c)+(null==g?0:+g),!this._next&&Or!==this&&(Or?Or._next=this:Za=this,Or=this),this._call=s,this._time=c,kt()},stop:function(){this._call&&(this._call=null,this._time=1/0,kt())}};var $e=ia("start","end","cancel","interrupt"),mn=[];function el(s,g,c,r,y,x){var R=s.__transition;if(R){if(c in R)return}else s.__transition={};!function Eo(s,g,c){var y,r=s.__transition;function R(Rt){var sn,wn,An,_i;if(1!==c.state)return xt();for(sn in r)if((_i=r[sn]).name===c.name){if(3===_i.state)return On(R);4===_i.state?(_i.state=6,_i.timer.stop(),_i.on.call("interrupt",s,s.__data__,_i.index,_i.group),delete r[sn]):+sn0)throw new Error("too late; already scheduled");return c}function Ss(s,g){var c=tr(s,g);if(c.state>3)throw new Error("too late; already running");return c}function tr(s,g){var c=s.__transition;if(!c||!(c=c[g]))throw new Error("transition not found");return c}var nr,pl=180/Math.PI,zl={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ds(s,g,c,r,y,x){var R,ue,xt;return(R=Math.sqrt(s*s+g*g))&&(s/=R,g/=R),(xt=s*c+g*r)&&(c-=s*xt,r-=g*xt),(ue=Math.sqrt(c*c+r*r))&&(c/=ue,r/=ue,xt/=ue),s*r180?sn+=360:sn-Rt>180&&(Rt+=360),An.push({i:wn.push(y(wn)+"rotate(",null,r)-2,x:rs(Rt,sn)})):sn&&wn.push(y(wn)+"rotate("+sn+r)}(Rt.rotate,sn.rotate,wn,An),function ue(Rt,sn,wn,An){Rt!==sn?An.push({i:wn.push(y(wn)+"skewX(",null,r)-2,x:rs(Rt,sn)}):sn&&wn.push(y(wn)+"skewX("+sn+r)}(Rt.skewX,sn.skewX,wn,An),function xt(Rt,sn,wn,An,_i,pi){if(Rt!==wn||sn!==An){var Ji=_i.push(y(_i)+"scale(",null,",",null,")");pi.push({i:Ji-4,x:rs(Rt,wn)},{i:Ji-2,x:rs(sn,An)})}else(1!==wn||1!==An)&&_i.push(y(_i)+"scale("+wn+","+An+")")}(Rt.scaleX,Rt.scaleY,sn.scaleX,sn.scaleY,wn,An),Rt=sn=null,function(_i){for(var Xn,pi=-1,Ji=An.length;++pi=0&&(g=g.slice(0,c)),!g||"start"===g})}(g)?Ml:Ss;return function(){var R=x(this,s),ue=R.on;ue!==r&&(y=(r=ue).copy()).on(g,c),R.on=y}}(c,s,g))},attr:function Ho(s,g){var c=Qe(s),r="transform"===c?Tr:za;return this.attrTween(s,"function"==typeof g?(c.local?To:fo)(c,r,Vl(this,"attr."+s,g)):null==g?(c.local?Dl:us)(c):(c.local?So:eo)(c,r,g))},attrTween:function Al(s,g){var c="attr."+s;if(arguments.length<2)return(c=this.tween(c))&&c._value;if(null==g)return this.tween(c,null);if("function"!=typeof g)throw new Error;var r=Qe(s);return this.tween(c,(r.local?wl:no)(r,g))},style:function Gi(s,g,c){var r="transform"==(s+="")?gl:za;return null==g?this.styleTween(s,function et(s,g){var c,r,y;return function(){var x=Pt(this,s),R=(this.style.removeProperty(s),Pt(this,s));return x===R?null:x===c&&R===r?y:y=g(c=x,r=R)}}(s,r)).on("end.style."+s,Mt(s)):"function"==typeof g?this.styleTween(s,function Tn(s,g,c){var r,y,x;return function(){var R=Pt(this,s),ue=c(this),xt=ue+"";return null==ue&&(this.style.removeProperty(s),xt=ue=Pt(this,s)),R===xt?null:R===r&&xt===y?x:(y=xt,x=g(r=R,ue))}}(s,r,Vl(this,"style."+s,g))).each(function ai(s,g){var c,r,y,ue,x="style."+g,R="end."+x;return function(){var xt=Ss(this,s),Rt=xt.on,sn=null==xt.value[x]?ue||(ue=Mt(g)):void 0;(Rt!==c||y!==sn)&&(r=(c=Rt).copy()).on(R,y=sn),xt.on=r}}(this._id,s)):this.styleTween(s,function Kt(s,g,c){var r,x,y=c+"";return function(){var R=Pt(this,s);return R===y?null:R===r?x:x=g(r=R,c)}}(s,r,g),c).on("end.style."+s,null)},styleTween:function Ns(s,g,c){var r="style."+(s+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==g)return this.tween(r,null);if("function"!=typeof g)throw new Error;return this.tween(r,function as(s,g,c){var r,y;function x(){var R=g.apply(this,arguments);return R!==y&&(r=(y=R)&&function La(s,g,c){return function(r){this.style.setProperty(s,g.call(this,r),c)}}(s,R,c)),r}return x._value=g,x}(s,g,c??""))},text:function ro(s){return this.tween("text","function"==typeof s?function ar(s){return function(){var g=s(this);this.textContent=g??""}}(Vl(this,"text",s)):function il(s){return function(){this.textContent=s}}(null==s?"":s+""))},textTween:function mc(s){var g="text";if(arguments.length<1)return(g=this.tween(g))&&g._value;if(null==s)return this.tween(g,null);if("function"!=typeof s)throw new Error;return this.tween(g,function Il(s){var g,c;function r(){var y=s.apply(this,arguments);return y!==c&&(g=(c=y)&&function oo(s){return function(g){this.textContent=s.call(this,g)}}(y)),g}return r._value=s,r}(s))},remove:function nl(){return this.on("end.remove",function Wo(s){return function(){var g=this.parentNode;for(var c in this.__transition)if(+c!==s)return;g&&g.removeChild(this)}}(this._id))},tween:function Tl(s,g){var c=this._id;if(s+="",arguments.length<2){for(var R,r=tr(this.node(),c).tween,y=0,x=r.length;y2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(y?"interrupt":"cancel",s,s.__data__,r.index,r.group),delete c[R]):x=!1;x&&delete s.__transition}}(this,s)})},Fn.prototype.transition=function al(s){var g,c;s instanceof po?(g=s._id,s=s._name):(g=pc(),(c=Lc).time=Ne(),s=null==s?null:s+"");for(var r=this._groups,y=r.length,x=0;xg?1:s>=g?0:NaN}function tc(s,g){return null==s||null==g?NaN:gs?1:g>=s?0:NaN}function Xl(s){let g,c,r;function y(ue,xt,Rt=0,sn=ue.length){if(Rt>>1;c(ue[wn],xt)<0?Rt=wn+1:sn=wn}while(RtXr(s(ue),xt),r=(ue,xt)=>s(ue)-xt):(g=s===Xr||s===tc?s:Kc,c=s,r=s),{left:y,center:function R(ue,xt,Rt=0,sn=ue.length){const wn=y(ue,xt,Rt,sn-1);return wn>Rt&&r(ue[wn-1],xt)>-r(ue[wn],xt)?wn-1:wn},right:function x(ue,xt,Rt=0,sn=ue.length){if(Rt>>1;c(ue[wn],xt)<=0?Rt=wn+1:sn=wn}while(Rt=_1?10:x>=gc?5:x>=Yc?2:1;let ue,xt,Rt;return y<0?(Rt=Math.pow(10,-y)/R,ue=Math.round(s*Rt),xt=Math.round(g*Rt),ue/Rtg&&--xt,Rt=-Rt):(Rt=Math.pow(10,y)*R,ue=Math.round(s/Rt),xt=Math.round(g/Rt),ue*Rtg&&--xt),xt(s(x=new Date(+x)),x),y.ceil=x=>(s(x=new Date(x-1)),g(x,1),s(x),x),y.round=x=>{const R=y(x),ue=y.ceil(x);return x-R(g(x=new Date(+x),null==R?1:Math.floor(R)),x),y.range=(x,R,ue)=>{const xt=[];if(x=y.ceil(x),ue=null==ue?1:Math.floor(ue),!(x0))return xt;let Rt;do{xt.push(Rt=new Date(+x)),g(x,ue),s(x)}while(Rtki(R=>{if(R>=R)for(;s(R),!x(R);)R.setTime(R-1)},(R,ue)=>{if(R>=R)if(ue<0)for(;++ue<=0;)for(;g(R,-1),!x(R););else for(;--ue>=0;)for(;g(R,1),!x(R););}),c&&(y.count=(x,R)=>(Gn.setTime(+x),ui.setTime(+R),s(Gn),s(ui),Math.floor(c(Gn,ui))),y.every=x=>(x=Math.floor(x),isFinite(x)&&x>0?x>1?y.filter(r?R=>r(R)%x===0:R=>y.count(0,R)%x===0):y:null)),y}const Wa=ki(()=>{},(s,g)=>{s.setTime(+s+g)},(s,g)=>g-s);Wa.every=s=>(s=Math.floor(s),isFinite(s)&&s>0?s>1?ki(g=>{g.setTime(Math.floor(g/s)*s)},(g,c)=>{g.setTime(+g+c*s)},(g,c)=>(c-g)/s):Wa:null);const Aa=ki(s=>{s.setTime(s-s.getMilliseconds())},(s,g)=>{s.setTime(+s+g*Ha)},(s,g)=>(g-s)/Ha,s=>s.getUTCSeconds()),es=ki(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ha)},(s,g)=>{s.setTime(+s+g*Ti)},(s,g)=>(g-s)/Ti,s=>s.getMinutes()),sl=ki(s=>{s.setUTCSeconds(0,0)},(s,g)=>{s.setTime(+s+g*Ti)},(s,g)=>(g-s)/Ti,s=>s.getUTCMinutes()),go=ki(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ha-s.getMinutes()*Ti)},(s,g)=>{s.setTime(+s+g*Oa)},(s,g)=>(g-s)/Oa,s=>s.getHours()),t2=ki(s=>{s.setUTCMinutes(0,0,0)},(s,g)=>{s.setTime(+s+g*Oa)},(s,g)=>(g-s)/Oa,s=>s.getUTCHours()),Qc=ki(s=>s.setHours(0,0,0,0),(s,g)=>s.setDate(s.getDate()+g),(s,g)=>(g-s-(g.getTimezoneOffset()-s.getTimezoneOffset())*Ti)/os,s=>s.getDate()-1),Ro=ki(s=>{s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCDate(s.getUTCDate()+g)},(s,g)=>(g-s)/os,s=>s.getUTCDate()-1),$c=ki(s=>{s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCDate(s.getUTCDate()+g)},(s,g)=>(g-s)/os,s=>Math.floor(s/os));function rl(s){return ki(g=>{g.setDate(g.getDate()-(g.getDay()+7-s)%7),g.setHours(0,0,0,0)},(g,c)=>{g.setDate(g.getDate()+7*c)},(g,c)=>(c-g-(c.getTimezoneOffset()-g.getTimezoneOffset())*Ti)/K)}const br=rl(0),Yo=rl(1),Fl=(rl(2),rl(3),rl(4));function dt(s){return ki(g=>{g.setUTCDate(g.getUTCDate()-(g.getUTCDay()+7-s)%7),g.setUTCHours(0,0,0,0)},(g,c)=>{g.setUTCDate(g.getUTCDate()+7*c)},(g,c)=>(c-g)/K)}rl(5),rl(6);const st=dt(0),ft=dt(1),Dn=(dt(2),dt(3),dt(4)),vs=(dt(5),dt(6),ki(s=>{s.setDate(1),s.setHours(0,0,0,0)},(s,g)=>{s.setMonth(s.getMonth()+g)},(s,g)=>g.getMonth()-s.getMonth()+12*(g.getFullYear()-s.getFullYear()),s=>s.getMonth())),Bs=ki(s=>{s.setUTCDate(1),s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCMonth(s.getUTCMonth()+g)},(s,g)=>g.getUTCMonth()-s.getUTCMonth()+12*(g.getUTCFullYear()-s.getUTCFullYear()),s=>s.getUTCMonth()),Kr=ki(s=>{s.setMonth(0,1),s.setHours(0,0,0,0)},(s,g)=>{s.setFullYear(s.getFullYear()+g)},(s,g)=>g.getFullYear()-s.getFullYear(),s=>s.getFullYear());Kr.every=s=>isFinite(s=Math.floor(s))&&s>0?ki(g=>{g.setFullYear(Math.floor(g.getFullYear()/s)*s),g.setMonth(0,1),g.setHours(0,0,0,0)},(g,c)=>{g.setFullYear(g.getFullYear()+c*s)}):null;const ll=ki(s=>{s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},(s,g)=>{s.setUTCFullYear(s.getUTCFullYear()+g)},(s,g)=>g.getUTCFullYear()-s.getUTCFullYear(),s=>s.getUTCFullYear());function vc(s,g,c,r,y,x){const R=[[Aa,1,Ha],[Aa,5,5e3],[Aa,15,15e3],[Aa,30,3e4],[x,1,Ti],[x,5,5*Ti],[x,15,15*Ti],[x,30,30*Ti],[y,1,Oa],[y,3,3*Oa],[y,6,6*Oa],[y,12,12*Oa],[r,1,os],[r,2,2*os],[c,1,K],[g,1,Ie],[g,3,3*Ie],[s,1,Ut]];function xt(Rt,sn,wn){const An=Math.abs(sn-Rt)/wn,_i=Xl(([,,Xn])=>Xn).right(R,An);if(_i===R.length)return s.every(lo(Rt/Ut,sn/Ut,wn));if(0===_i)return Wa.every(Math.max(lo(Rt,sn,wn),1));const[pi,Ji]=R[An/R[_i-1][2]isFinite(s=Math.floor(s))&&s>0?ki(g=>{g.setUTCFullYear(Math.floor(g.getUTCFullYear()/s)*s),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},(g,c)=>{g.setUTCFullYear(g.getUTCFullYear()+c*s)}):null;const[s2,Pf]=vc(ll,Bs,st,$c,t2,sl),[Hh,r2]=vc(Kr,vs,br,Qc,go,es);function o2(s){if(0<=s.y&&s.y<100){var g=new Date(-1,s.m,s.d,s.H,s.M,s.S,s.L);return g.setFullYear(s.y),g}return new Date(s.y,s.m,s.d,s.H,s.M,s.S,s.L)}function cd(s){if(0<=s.y&&s.y<100){var g=new Date(Date.UTC(-1,s.m,s.d,s.H,s.M,s.S,s.L));return g.setUTCFullYear(s.y),g}return new Date(Date.UTC(s.y,s.m,s.d,s.H,s.M,s.S,s.L))}function b1(s,g,c){return{y:s,m:g,d:c,H:0,M:0,S:0,L:0}}var k0={"-":"",_:" ",0:"0"},zr=/^\s*\d+/,O0=/^%/,A4=/[\\^$*+?|[\]().{}]/g;function Xa(s,g,c){var r=s<0?"-":"",y=(r?-s:s)+"",x=y.length;return r+(x[g.toLowerCase(),c]))}function l2(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.w=+r[0],c+r[0].length):-1}function Qo(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.u=+r[0],c+r[0].length):-1}function or(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.U=+r[0],c+r[0].length):-1}function dd(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.V=+r[0],c+r[0].length):-1}function cl(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.W=+r[0],c+r[0].length):-1}function bc(s,g,c){var r=zr.exec(g.slice(c,c+4));return r?(s.y=+r[0],c+r[0].length):-1}function ud(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.y=+r[0]+(+r[0]>68?1900:2e3),c+r[0].length):-1}function P0(s,g,c){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(g.slice(c,c+6));return r?(s.Z=r[1]?0:-(r[2]+(r[3]||"00")),c+r[0].length):-1}function c2(s,g,c){var r=zr.exec(g.slice(c,c+1));return r?(s.q=3*r[0]-3,c+r[0].length):-1}function hd(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.m=r[0]-1,c+r[0].length):-1}function Cc(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.d=+r[0],c+r[0].length):-1}function F0(s,g,c){var r=zr.exec(g.slice(c,c+3));return r?(s.m=0,s.d=+r[0],c+r[0].length):-1}function d2(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.H=+r[0],c+r[0].length):-1}function C1(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.M=+r[0],c+r[0].length):-1}function N0(s,g,c){var r=zr.exec(g.slice(c,c+2));return r?(s.S=+r[0],c+r[0].length):-1}function B0(s,g,c){var r=zr.exec(g.slice(c,c+3));return r?(s.L=+r[0],c+r[0].length):-1}function md(s,g,c){var r=zr.exec(g.slice(c,c+6));return r?(s.L=Math.floor(r[0]/1e3),c+r[0].length):-1}function zs(s,g,c){var r=O0.exec(g.slice(c,c+1));return r?c+r[0].length:-1}function Qs(s,g,c){var r=zr.exec(g.slice(c));return r?(s.Q=+r[0],c+r[0].length):-1}function lr(s,g,c){var r=zr.exec(g.slice(c));return r?(s.s=+r[0],c+r[0].length):-1}function Ds(s,g){return Xa(s.getDate(),g,2)}function Jc(s,g){return Xa(s.getHours(),g,2)}function qc(s,g){return Xa(s.getHours()%12||12,g,2)}function fd(s,g){return Xa(1+Qc.count(Kr(s),s),g,3)}function dl(s,g){return Xa(s.getMilliseconds(),g,3)}function pd(s,g){return dl(s,g)+"000"}function u2(s,g){return Xa(s.getMonth()+1,g,2)}function z0(s,g){return Xa(s.getMinutes(),g,2)}function h2(s,g){return Xa(s.getSeconds(),g,2)}function m2(s){var g=s.getDay();return 0===g?7:g}function L4(s,g){return Xa(br.count(Kr(s)-1,s),g,2)}function V0(s){var g=s.getDay();return g>=4||0===g?Fl(s):Fl.ceil(s)}function I4(s,g){return s=V0(s),Xa(Fl.count(Kr(s),s)+(4===Kr(s).getDay()),g,2)}function U0(s){return s.getDay()}function G0(s,g){return Xa(Yo.count(Kr(s)-1,s),g,2)}function Wh(s,g){return Xa(s.getFullYear()%100,g,2)}function x1(s,g){return Xa((s=V0(s)).getFullYear()%100,g,2)}function j0(s,g){return Xa(s.getFullYear()%1e4,g,4)}function gd(s,g){var c=s.getDay();return Xa((s=c>=4||0===c?Fl(s):Fl.ceil(s)).getFullYear()%1e4,g,4)}function H0(s){var g=s.getTimezoneOffset();return(g>0?"-":(g*=-1,"+"))+Xa(g/60|0,"0",2)+Xa(g%60,"0",2)}function f2(s,g){return Xa(s.getUTCDate(),g,2)}function k4(s,g){return Xa(s.getUTCHours(),g,2)}function W0(s,g){return Xa(s.getUTCHours()%12||12,g,2)}function Xh(s,g){return Xa(1+Ro.count(ll(s),s),g,3)}function O4(s,g){return Xa(s.getUTCMilliseconds(),g,3)}function R4(s,g){return O4(s,g)+"000"}function P4(s,g){return Xa(s.getUTCMonth()+1,g,2)}function X0(s,g){return Xa(s.getUTCMinutes(),g,2)}function F4(s,g){return Xa(s.getUTCSeconds(),g,2)}function K0(s){var g=s.getUTCDay();return 0===g?7:g}function N4(s,g){return Xa(st.count(ll(s)-1,s),g,2)}function _d(s){var g=s.getUTCDay();return g>=4||0===g?Dn(s):Dn.ceil(s)}function e1(s,g){return s=_d(s),Xa(Dn.count(ll(s),s)+(4===ll(s).getUTCDay()),g,2)}function Ql(s){return s.getUTCDay()}function Y0(s,g){return Xa(ft.count(ll(s)-1,s),g,2)}function B4(s,g){return Xa(s.getUTCFullYear()%100,g,2)}function Q0(s,g){return Xa((s=_d(s)).getUTCFullYear()%100,g,2)}function Kh(s,g){return Xa(s.getUTCFullYear()%1e4,g,4)}function Yh(s,g){var c=s.getUTCDay();return Xa((s=c>=4||0===c?Dn(s):Dn.ceil(s)).getUTCFullYear()%1e4,g,4)}function p2(){return"+0000"}function E1(){return"%"}function kc(s){return+s}function Oc(s){return Math.floor(+s/1e3)}function Z0(s){return null===s?NaN:+s}!function ul(s){(function w4(s){var g=s.dateTime,c=s.date,r=s.time,y=s.periods,x=s.days,R=s.shortDays,ue=s.months,xt=s.shortMonths,Rt=yc(y),sn=Zc(y),wn=yc(x),An=Zc(x),_i=yc(R),pi=Zc(R),Ji=yc(ue),Xn=Zc(ue),Vi=yc(xt),pa=Zc(xt),ea={a:function dr(ta){return R[ta.getDay()]},A:function ml(ta){return x[ta.getDay()]},b:function ur(ta){return xt[ta.getMonth()]},B:function ss(ta){return ue[ta.getMonth()]},c:null,d:Ds,e:Ds,f:pd,g:x1,G:gd,H:Jc,I:qc,j:fd,L:dl,m:u2,M:z0,p:function Gr(ta){return y[+(ta.getHours()>=12)]},q:function Ar(ta){return 1+~~(ta.getMonth()/3)},Q:kc,s:Oc,S:h2,u:m2,U:L4,V:I4,w:U0,W:G0,x:null,X:null,y:Wh,Y:j0,Z:H0,"%":E1},ga={a:function b0(ta){return R[ta.getUTCDay()]},A:function Hc(ta){return x[ta.getUTCDay()]},b:function nd(ta){return xt[ta.getUTCMonth()]},B:function id(ta){return ue[ta.getUTCMonth()]},c:null,d:f2,e:f2,f:R4,g:Q0,G:Yh,H:k4,I:W0,j:Xh,L:O4,m:P4,M:X0,p:function No(ta){return y[+(ta.getUTCHours()>=12)]},q:function ad(ta){return 1+~~(ta.getUTCMonth()/3)},Q:kc,s:Oc,S:F4,u:K0,U:N4,V:e1,w:Ql,W:Y0,x:null,X:null,y:B4,Y:Kh,Z:p2,"%":E1},Na={a:function bs(ta,ka,Qa){var Li=_i.exec(ka.slice(Qa));return Li?(ta.w=pi.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},A:function Gs(ta,ka,Qa){var Li=wn.exec(ka.slice(Qa));return Li?(ta.w=An.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},b:function Da(ta,ka,Qa){var Li=Vi.exec(ka.slice(Qa));return Li?(ta.m=pa.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},B:function Rs(ta,ka,Qa){var Li=Ji.exec(ka.slice(Qa));return Li?(ta.m=Xn.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},c:function ts(ta,ka,Qa){return Os(ta,g,ka,Qa)},d:Cc,e:Cc,f:md,g:ud,G:bc,H:d2,I:d2,j:F0,L:B0,m:hd,M:C1,p:function Po(ta,ka,Qa){var Li=Rt.exec(ka.slice(Qa));return Li?(ta.p=sn.get(Li[0].toLowerCase()),Qa+Li[0].length):-1},q:c2,Q:Qs,s:lr,S:N0,u:Qo,U:or,V:dd,w:l2,W:cl,x:function Fo(ta,ka,Qa){return Os(ta,c,ka,Qa)},X:function Cr(ta,ka,Qa){return Os(ta,r,ka,Qa)},y:ud,Y:bc,Z:P0,"%":zs};function qi(ta,ka){return function(Qa){var Zo,ba,Ir,Li=[],Lr=-1,Cs=0,fl=ta.length;for(Qa instanceof Date||(Qa=new Date(+Qa));++Lr53)return null;"w"in Li||(Li.w=1),"Z"in Li?(fl=(Cs=cd(b1(Li.y,0,1))).getUTCDay(),Cs=fl>4||0===fl?ft.ceil(Cs):ft(Cs),Cs=Ro.offset(Cs,7*(Li.V-1)),Li.y=Cs.getUTCFullYear(),Li.m=Cs.getUTCMonth(),Li.d=Cs.getUTCDate()+(Li.w+6)%7):(fl=(Cs=o2(b1(Li.y,0,1))).getDay(),Cs=fl>4||0===fl?Yo.ceil(Cs):Yo(Cs),Cs=Qc.offset(Cs,7*(Li.V-1)),Li.y=Cs.getFullYear(),Li.m=Cs.getMonth(),Li.d=Cs.getDate()+(Li.w+6)%7)}else("W"in Li||"U"in Li)&&("w"in Li||(Li.w="u"in Li?Li.u%7:"W"in Li?1:0),fl="Z"in Li?cd(b1(Li.y,0,1)).getUTCDay():o2(b1(Li.y,0,1)).getDay(),Li.m=0,Li.d="W"in Li?(Li.w+6)%7+7*Li.W-(fl+5)%7:Li.w+7*Li.U-(fl+6)%7);return"Z"in Li?(Li.H+=Li.Z/100|0,Li.M+=Li.Z%100,cd(Li)):o2(Li)}}function Os(ta,ka,Qa,Li){for(var Zo,ba,Lr=0,Cs=ka.length,fl=Qa.length;Lr=fl)return-1;if(37===(Zo=ka.charCodeAt(Lr++))){if(Zo=ka.charAt(Lr++),!(ba=Na[Zo in k0?ka.charAt(Lr++):Zo])||(Li=ba(ta,Qa,Li))<0)return-1}else if(Zo!=Qa.charCodeAt(Li++))return-1}return Li}return ea.x=qi(c,ea),ea.X=qi(r,ea),ea.c=qi(g,ea),ga.x=qi(c,ga),ga.X=qi(r,ga),ga.c=qi(g,ga),{format:function(ta){var ka=qi(ta+="",ea);return ka.toString=function(){return ta},ka},parse:function(ta){var ka=ks(ta+="",!1);return ka.toString=function(){return ta},ka},utcFormat:function(ta){var ka=qi(ta+="",ga);return ka.toString=function(){return ta},ka},utcParse:function(ta){var ka=ks(ta+="",!0);return ka.toString=function(){return ta},ka}}})(s)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const U4=Xl(Xr).right,v2=(Xl(Z0),U4);function G4(s,g){return s=+s,g=+g,function(c){return Math.round(s*(1-c)+g*c)}}function H4(s){return+s}var qa=[0,1];function xc(s){return s}function y2(s,g){return(g-=s=+s)?function(c){return(c-s)/g}:function j4(s){return function(){return s}}(isNaN(g)?NaN:.5)}function M1(s,g,c){var r=s[0],y=s[1],x=g[0],R=g[1];return yg&&(c=s,s=g,g=c),function(r){return Math.max(s,Math.min(g,r))}}(s[0],s[An-1])),ue=An>2?W4:M1,xt=Rt=null,wn}function wn(An){return null==An||isNaN(An=+An)?x:(xt||(xt=ue(s.map(r),g,c)))(r(R(An)))}return wn.invert=function(An){return R(y((Rt||(Rt=ue(g,s.map(r),rs)))(An)))},wn.domain=function(An){return arguments.length?(s=Array.from(An,H4),sn()):s.slice()},wn.range=function(An){return arguments.length?(g=Array.from(An),sn()):g.slice()},wn.rangeRound=function(An){return g=Array.from(An),c=G4,sn()},wn.clamp=function(An){return arguments.length?(R=!!An||xc,sn()):R!==xc},wn.interpolate=function(An){return arguments.length?(c=An,sn()):c},wn.unknown=function(An){return arguments.length?(x=An,wn):x},function(An,_i){return r=An,y=_i,sn()}}()(xc,xc)}function t1(s,g){switch(arguments.length){case 0:break;case 1:this.range(s);break;default:this.range(g).domain(s)}return this}var bl,K4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rc(s){if(!(g=K4.exec(s)))throw new Error("invalid format: "+s);var g;return new Ec({fill:g[1],align:g[2],sign:g[3],symbol:g[4],zero:g[5],width:g[6],comma:g[7],precision:g[8]&&g[8].slice(1),trim:g[9],type:g[10]})}function Ec(s){this.fill=void 0===s.fill?" ":s.fill+"",this.align=void 0===s.align?">":s.align+"",this.sign=void 0===s.sign?"-":s.sign+"",this.symbol=void 0===s.symbol?"":s.symbol+"",this.zero=!!s.zero,this.width=void 0===s.width?void 0:+s.width,this.comma=!!s.comma,this.precision=void 0===s.precision?void 0:+s.precision,this.trim=!!s.trim,this.type=void 0===s.type?"":s.type+""}function Cd(s,g){if(!isFinite(s)||0===s)return null;var c=(s=g?s.toExponential(g-1):s.toExponential()).indexOf("e"),r=s.slice(0,c);return[r.length>1?r[0]+r.slice(2):r,+s.slice(c+1)]}function Mc(s){return(s=Cd(Math.abs(s)))?s[1]:NaN}function rc(s,g){var c=Cd(s,g);if(!c)return s+"";var r=c[0],y=c[1];return y<0?"0."+new Array(-y).join("0")+r:r.length>y+1?r.slice(0,y+1)+"."+r.slice(y+1):r+new Array(y-r.length+2).join("0")}Rc.prototype=Ec.prototype,Ec.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const I1={"%":(s,g)=>(100*s).toFixed(g),b:s=>Math.round(s).toString(2),c:s=>s+"",d:function eu(s){return Math.abs(s=Math.round(s))>=1e21?s.toLocaleString("en").replace(/,/g,""):s.toString(10)},e:(s,g)=>s.toExponential(g),f:(s,g)=>s.toFixed(g),g:(s,g)=>s.toPrecision(g),o:s=>Math.round(s).toString(8),p:(s,g)=>rc(100*s,g),r:rc,s:function L1(s,g){var c=Cd(s,g);if(!c)return bl=void 0,s.toPrecision(g);var r=c[0],y=c[1],x=y-(bl=3*Math.max(-8,Math.min(8,Math.floor(y/3))))+1,R=r.length;return x===R?r:x>R?r+new Array(x-R+1).join("0"):x>0?r.slice(0,x)+"."+r.slice(x):"0."+new Array(1-x).join("0")+Cd(s,Math.max(0,g+x-1))[0]},X:s=>Math.round(s).toString(16).toUpperCase(),x:s=>Math.round(s).toString(16)};function Yr(s){return s}var k1,C2,Y4,n1=Array.prototype.map,su=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function $4(s){var g=s.domain;return s.ticks=function(c){var r=g();return function v1(s,g,c){if(!((c=+c)>0))return[];if((s=+s)===(g=+g))return[s];const r=g=y))return[];const ue=x-y+1,xt=new Array(ue);if(r)if(R<0)for(let Rt=0;Rt0;){if((Rt=ic(R,ue,c))===xt)return r[y]=R,r[x]=ue,g(r);if(Rt>0)R=Math.floor(R/Rt)*Rt,ue=Math.ceil(ue/Rt)*Rt;else{if(!(Rt<0))break;R=Math.ceil(R*Rt)/Rt,ue=Math.floor(ue*Rt)/Rt}xt=Rt}return s},s}function lc(){var s=yd();return s.copy=function(){return function S1(s,g){return g.domain(s.domain()).range(s.range()).interpolate(s.interpolate()).clamp(s.clamp()).unknown(s.unknown())}(s,lc())},t1.apply(s,arguments),$4(s)}function ru(s,g,c){s=+s,g=+g,c=(y=arguments.length)<2?(g=s,s=0,1):y<3?1:+c;for(var r=-1,y=0|Math.max(0,Math.ceil((g-s)/c)),x=new Array(y);++r0&&ue>0&&(xt+ue+1>r&&(ue=Math.max(1,r-xt)),x.push(c.substring(y-=ue,y+ue)),!((xt+=ue+1)>r));)ue=s[R=(R+1)%s.length];return x.reverse().join(g)}}(n1.call(s.grouping,Number),s.thousands+""),c=void 0===s.currency?"":s.currency[0]+"",r=void 0===s.currency?"":s.currency[1]+"",y=void 0===s.decimal?".":s.decimal+"",x=void 0===s.numerals?Yr:function iu(s){return function(g){return g.replace(/[0-9]/g,function(c){return s[+c]})}}(n1.call(s.numerals,String)),R=void 0===s.percent?"%":s.percent+"",ue=void 0===s.minus?"\u2212":s.minus+"",xt=void 0===s.nan?"NaN":s.nan+"";function Rt(wn,An){var _i=(wn=Rc(wn)).fill,pi=wn.align,Ji=wn.sign,Xn=wn.symbol,Vi=wn.zero,pa=wn.width,ea=wn.comma,ga=wn.precision,Na=wn.trim,qi=wn.type;"n"===qi?(ea=!0,qi="g"):I1[qi]||(void 0===ga&&(ga=12),Na=!0,qi="g"),(Vi||"0"===_i&&"="===pi)&&(Vi=!0,_i="0",pi="=");var ks=(An&&void 0!==An.prefix?An.prefix:"")+("$"===Xn?c:"#"===Xn&&/[boxX]/.test(qi)?"0"+qi.toLowerCase():""),Os=("$"===Xn?r:/[%p]/.test(qi)?R:"")+(An&&void 0!==An.suffix?An.suffix:""),Po=I1[qi],bs=/[defgprs%]/.test(qi);function Gs(Da){var Fo,Cr,dr,Rs=ks,ts=Os;if("c"===qi)ts=Po(Da)+ts,Da="";else{var ml=(Da=+Da)<0||1/Da<0;if(Da=isNaN(Da)?xt:Po(Math.abs(Da),ga),Na&&(Da=function au(s){e:for(var y,g=s.length,c=1,r=-1;c0&&(r=0)}return r>0?s.slice(0,r)+s.slice(y+1):s}(Da)),ml&&0==+Da&&"+"!==Ji&&(ml=!1),Rs=(ml?"("===Ji?Ji:ue:"-"===Ji||"("===Ji?"":Ji)+Rs,ts=("s"!==qi||isNaN(Da)||void 0===bl?"":su[8+bl/3])+ts+(ml&&"("===Ji?")":""),bs)for(Fo=-1,Cr=Da.length;++Fo(dr=Da.charCodeAt(Fo))||dr>57){ts=(46===dr?y+Da.slice(Fo+1):Da.slice(Fo))+ts,Da=Da.slice(0,Fo);break}}ea&&!Vi&&(Da=g(Da,1/0));var ur=Rs.length+Da.length+ts.length,ss=ur>1)+Rs+Da+ts+ss.slice(ur);break;default:Da=ss+Rs+Da+ts}return x(Da)}return ga=void 0===ga?6:/[gprs]/.test(qi)?Math.max(1,Math.min(21,ga)):Math.max(0,Math.min(20,ga)),Gs.toString=function(){return wn+""},Gs}return{format:Rt,formatPrefix:function sn(wn,An){var _i=3*Math.max(-8,Math.min(8,Math.floor(Mc(An)/3))),pi=Math.pow(10,-_i),Ji=Rt(((wn=Rc(wn)).type="f",wn),{suffix:su[8+_i/3]});return function(Xn){return Ji(pi*Xn)}}}}(s),C2=k1.format,Y4=k1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class ou extends Map{constructor(g,c=cu){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:c}}),null!=g)for(const[r,y]of g)this.set(r,y)}get(g){return super.get(O1(this,g))}has(g){return super.has(O1(this,g))}set(g,c){return super.set(function Ed({_intern:s,_key:g},c){const r=g(c);return s.has(r)?s.get(r):(s.set(r,c),c)}(this,g),c)}delete(g){return super.delete(function Sc({_intern:s,_key:g},c){const r=g(c);return s.has(r)&&(c=s.get(r),s.delete(r)),c}(this,g))}}function O1({_intern:s,_key:g},c){const r=g(c);return s.has(r)?s.get(r):c}function cu(s){return null!==s&&"object"==typeof s?s.valueOf():s}Set;const E2=Symbol("implicit");function Md(){var s=new ou,g=[],c=[],r=E2;function y(x){let R=s.get(x);if(void 0===R){if(r!==E2)return r;s.set(x,R=g.push(x)-1)}return c[R%c.length]}return y.domain=function(x){if(!arguments.length)return g.slice();g=[],s=new ou;for(const R of x)s.has(R)||s.set(R,g.push(R)-1);return y},y.range=function(x){return arguments.length?(c=Array.from(x),y):c.slice()},y.unknown=function(x){return arguments.length?(r=x,y):r},y.copy=function(){return Md(g,c).unknown(r)},t1.apply(y,arguments),y}function Pc(){var x,R,s=Md().unknown(void 0),g=s.domain,c=s.range,r=0,y=1,ue=!1,xt=0,Rt=0,sn=.5;function wn(){var An=g().length,_i=y=1)return+c(s[r-1],r-1,s);var r,y=(r-1)*g,x=Math.floor(y),R=+c(s[x],x,s);return R+(+c(s[x+1],x+1,s)-R)*(y-x)}}function P1(){var r,s=[],g=[],c=[];function y(){var R=0,ue=Math.max(1,g.length);for(c=new Array(ue-1);++R0?c[ue-1]:s[0],ue({model:s});function tm(s,g){}function Mu(s,g){if(1&s&&(i.j41(0,"span"),i.DNE(1,tm,0,0,"ng-template",5),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngTemplateOutlet",c.template)("ngTemplateOutletContext",i.eq3(2,Eu,c.context))}}function P2(s,g){if(1&s&&i.nrm(0,"span",6),2&s){const c=i.XpG();i.Y8G("innerHTML",c.title,i.npT)}}function F2(s,g){if(1&s&&(i.j41(0,"header",4)(1,"span",5),i.EFF(2),i.k0s()()),2&s){const c=i.XpG();i.R7$(2),i.JRh(c.title)}}function N2(s,g){if(1&s){const c=i.RV6();i.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),i.bIt("select",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.labelClick.emit(y))})("activate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.activate(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.deactivate(y))}),i.k0s()()}if(2&s){const c=g.$implicit,r=i.XpG();i.R7$(),i.Y8G("label",c.label)("formattedLabel",c.formattedLabel)("color",c.color)("isActive",r.isActive(c))}}const B2=["*"];function l3(s,g){if(1&s&&i.nrm(0,"ngx-charts-scale-legend",4),2&s){const c=i.XpG();i.Y8G("horizontal",c.legendOptions&&c.legendOptions.position===c.LegendPosition.Below)("valueRange",c.legendOptions.domain)("colors",c.legendOptions.colors)("height",c.view[1])("width",c.legendWidth)}}function c3(s,g){if(1&s){const c=i.RV6();i.j41(0,"ngx-charts-legend",5),i.bIt("labelClick",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelClick.emit(y))})("labelActivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelActivate.emit(y))})("labelDeactivate",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.legendLabelDeactivate.emit(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("horizontal",c.legendOptions&&c.legendOptions.position===c.LegendPosition.Below)("data",c.legendOptions.domain)("title",c.legendOptions.title)("colors",c.legendOptions.colors)("height",c.view[1])("width",c.legendWidth)("activeEntries",c.activeEntries)}}const d3=["ngx-charts-axis-label",""],Su=["ticksel"],z2=["ngx-charts-x-axis-ticks",""];function u3(s,g){1&s&&(d.qSk(),i.eu8(0))}function wd(s,g){if(1&s&&(d.qSk(),i.j41(0,"tspan",12),i.EFF(1),i.k0s()),2&s){const c=g.$implicit;i.BMQ("y",12*g.index),i.R7$(),i.SpI(" ",c," ")}}function h3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,wd,2,2,"tspan",11),i.bVm()),2&s){const c=g.ngIf;i.R7$(),i.Y8G("ngForOf",c)}}function Ad(s,g){if(1&s&&i.DNE(0,h3,2,1,"ng-container",8),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.Y8G("ngIf",r.tickChunks(c))}}function Ld(s,g){if(1&s&&i.EFF(0),2&s){const c=i.XpG().ngIf,r=i.XpG(2);i.SpI(" ",r.tickTrim(c)," ")}}function nm(s,g){if(1&s&&(d.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,u3,1,0,"ng-container",10),i.k0s(),i.DNE(5,Ad,1,1,"ng-template",null,1,i.C5r)(7,Ld,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&s){const c=g.ngIf,r=i.sdS(6),y=i.sdS(8),x=i.XpG(2);i.R7$(2),i.JRh(c),i.R7$(),i.BMQ("text-anchor",x.textAnchor)("transform",x.textTransform),i.R7$(),i.Y8G("ngIf",x.isWrapTicksSupported)("ngIfThen",r)("ngIfElse",y)}}function Tu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",7),i.DNE(1,nm,9,6,"ng-container",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.tickTransform(c)),i.R7$(),i.Y8G("ngIf",r.tickFormat(c))}}function B1(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",13),i.k0s()),2&s){const c=i.XpG(2);i.BMQ("transform",c.gridLineTransform()),i.R7$(),i.BMQ("y1",-c.gridLineHeight)}}function Id(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,B1,2,2,"g",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.tickTransform(c)),i.R7$(),i.Y8G("ngIf",r.showGridLines)}}function m3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"path",14)),2&s){const c=i.XpG();i.BMQ("d",c.referenceAreaPath)("transform",c.gridLineTransform())}}function V2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",17),i.EFF(4),i.k0s()()),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.R7$(2),i.JRh(r.tickTrim(r.tickFormat(c.value))),i.R7$(2),i.SpI(" ",c.name," ")}}function f3(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",16),i.DNE(2,V2,5,2,"g",8),i.k0s()),2&s){const c=i.XpG().$implicit,r=i.XpG();i.BMQ("transform",r.transform(c.value)),i.R7$(),i.BMQ("y2",25+r.gridLineHeight)("transform",r.gridLineTransform()),i.R7$(),i.Y8G("ngIf",r.showRefLabels)}}function kd(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",15),i.DNE(1,f3,3,4,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngIf",c.showRefLines)}}const p3=["ngx-charts-x-axis",""];function cc(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.emitTicksHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("trimTicks",c.trimTicks)("rotateTicks",c.rotateTicks)("maxTickLength",c.maxTickLength)("tickFormatting",c.tickFormatting)("tickArguments",c.tickArguments)("tickStroke",c.tickStroke)("scale",c.xScale)("orient",c.xOrient)("showGridLines",c.showGridLines)("gridLineHeight",c.dims.height)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("width",c.dims.width)("tickValues",c.ticks)("wrapTicks",c.wrapTicks)}}function Nc(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",3)),2&s){const c=i.XpG();i.Y8G("label",c.labelText)("offset",c.labelOffset)("orient",c.orientation.Bottom)("height",c.dims.height)("width",c.dims.width)}}const im=["ngx-charts-y-axis-ticks",""];function am(s,g){1&s&&(d.qSk(),i.eu8(0))}function z1(s,g){if(1&s&&(d.qSk(),i.j41(0,"tspan",13),i.EFF(1),i.k0s()),2&s){const c=g.$implicit,r=g.index,y=i.XpG(6);i.BMQ("y",r*(8+y.tickSpacing)),i.R7$(),i.SpI(" ",c," ")}}function g3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,z1,2,2,"tspan",12),i.bVm()),2&s){const c=i.XpG().ngIf;i.R7$(),i.Y8G("ngForOf",c)}}function Du(s,g){if(1&s&&(d.qSk(),i.qex(0),i.DNE(1,g3,2,1,"ng-container",11),i.bVm()),2&s){const c=g.ngIf;i.XpG(2);const r=i.sdS(8);i.R7$(),i.Y8G("ngIf",c.length>1)("ngIfElse",r)}}function wu(s,g){if(1&s&&i.DNE(0,Du,2,2,"ng-container",8),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.Y8G("ngIf",r.tickChunks(c))}}function Au(s,g){if(1&s&&i.EFF(0),2&s){const c=i.XpG().ngIf,r=i.XpG(2);i.SpI(" ",r.tickTrim(c)," ")}}function _3(s,g){if(1&s&&(d.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,am,1,0,"ng-container",10),i.k0s(),i.DNE(5,wu,1,1,"ng-template",null,1,i.C5r)(7,Au,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&s){const c=g.ngIf,r=i.sdS(6),y=i.sdS(8),x=i.XpG(2);i.R7$(2),i.JRh(c),i.R7$(),i.xc7("font-size","12px"),i.BMQ("dy",x.dy)("x",x.x1)("y",x.y1)("text-anchor",x.textAnchor),i.R7$(),i.Y8G("ngIf",x.wrapTicks)("ngIfThen",r)("ngIfElse",y)}}function Lu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",7),i.DNE(1,_3,9,10,"ng-container",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.transform(c)),i.R7$(),i.Y8G("ngIf",r.tickFormat(c))}}function v3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"path",14)),2&s){const c=i.XpG();i.BMQ("d",c.referenceAreaPath)("transform",c.gridLineTransform())}}function Iu(s,g){if(1&s&&(d.qSk(),i.nrm(0,"line",16)),2&s){const c=i.XpG(3);i.BMQ("x2",c.gridLineWidth)}}function y3(s,g){if(1&s&&(d.qSk(),i.nrm(0,"line",16)),2&s){const c=i.XpG(3);i.BMQ("x2",-c.gridLineWidth)}}function U2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Iu,1,1,"line",15)(2,y3,1,1,"line",15),i.k0s()),2&s){const c=i.XpG(2);i.BMQ("transform",c.gridLineTransform()),i.R7$(),i.Y8G("ngIf",c.orient===c.Orientation.Left),i.R7$(),i.Y8G("ngIf",c.orient===c.Orientation.Right)}}function sm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,U2,3,3,"g",8),i.k0s()),2&s){const c=g.$implicit,r=i.XpG();i.BMQ("transform",r.transform(c)),i.R7$(),i.Y8G("ngIf",r.showGridLines)}}function ku(s,g){if(1&s&&(d.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",19),i.EFF(4),i.k0s()()),2&s){const c=i.XpG(2).$implicit,r=i.XpG();i.R7$(2),i.JRh(r.tickTrim(r.tickFormat(c.value))),i.R7$(),i.BMQ("dy",r.dy)("y",-6)("x",r.gridLineWidth)("text-anchor",r.textAnchor),i.R7$(),i.SpI(" ",c.name," ")}}function rm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.nrm(1,"line",18),i.DNE(2,ku,5,6,"g",8),i.k0s()),2&s){const c=i.XpG().$implicit,r=i.XpG();i.BMQ("transform",r.transform(c.value)),i.R7$(),i.BMQ("x2",r.gridLineWidth),i.R7$(),i.Y8G("ngIf",r.showRefLabels)}}function G2(s,g){if(1&s&&(d.qSk(),i.j41(0,"g",17),i.DNE(1,rm,3,3,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngIf",c.showRefLines)}}const j2=["ngx-charts-y-axis",""];function Ff(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.emitTicksWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("trimTicks",c.trimTicks)("maxTickLength",c.maxTickLength)("tickFormatting",c.tickFormatting)("tickArguments",c.tickArguments)("tickValues",c.ticks)("tickStroke",c.tickStroke)("scale",c.yScale)("orient",c.yOrient)("showGridLines",c.showGridLines)("gridLineWidth",c.dims.width)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("height",c.dims.height)("wrapTicks",c.wrapTicks)}}function Vr(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",3)),2&s){const c=i.XpG();i.Y8G("label",c.labelText)("offset",c.labelOffset)("orient",c.yOrient)("height",c.dims.height)("width",c.dims.width)}}const b3=["ngx-charts-svg-linear-gradient",""];function s1(s,g){if(1&s&&(d.qSk(),i.nrm(0,"stop")),2&s){const c=g.$implicit;i.xc7("stop-color",c.color)("stop-opacity",c.opacity),i.BMQ("offset",c.offset+"%")}}const Fu=["ngx-charts-grid-panel",""],Nu=["ngx-charts-grid-panel-series",""];function Bc(s,g){if(1&s&&(d.qSk(),i.nrm(0,"g",1)),2&s){const c=g.$implicit;i.AVh("grid-panel",!0)("odd","odd"===c.class)("even","even"===c.class),i.Y8G("height",c.height)("width",c.width)("x",c.x)("y",c.y)}}const w3=["tooltipTemplate"],l1=(s,g)=>[s,g],Cl=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",O3=["ngx-charts-bar",""];function R3(s,g){if(1&s&&(d.qSk(),i.j41(0,"defs"),i.nrm(1,"g",2),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("orientation",c.orientation)("name",c.gradientId)("stops",c.gradientStops)}}const P3=["ngx-charts-bar-label",""],e0=["ngx-charts-series-vertical",""];function t0(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("select",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.onClick(y))})("activate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.activate.emit(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.deactivate.emit(y))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("@animationState","active")("@.disabled",!r.animations)("width",c.width)("height",c.height)("x",c.x)("y",c.y)("fill",c.color)("stops",c.gradientStops)("data",c.data)("orientation",r.barOrientation.Vertical)("roundEdges",c.roundEdges)("gradient",r.gradient)("ariaLabel",c.ariaLabel)("isActive",r.isActive(c.data))("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.tooltipPlacement)("tooltipType",r.tooltipType)("tooltipTitle",r.tooltipTemplate?void 0:c.tooltipText)("tooltipTemplate",r.tooltipTemplate)("tooltipContext",c.data)("noBarWhenZero",r.noBarWhenZero)("animations",r.animations)}}function ju(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,t0,1,22,"g",1),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.bars)("ngForTrackBy",c.trackBy)}}function ym(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",2),i.bIt("select",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.onClick(y))})("activate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.activate.emit(y))})("deactivate",function(y){d.eBV(c);const x=i.XpG(2);return d.Njj(x.deactivate.emit(y))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("width",c.width)("height",c.height)("x",c.x)("y",c.y)("fill",c.color)("stops",c.gradientStops)("data",c.data)("orientation",r.barOrientation.Vertical)("roundEdges",c.roundEdges)("gradient",r.gradient)("ariaLabel",c.ariaLabel)("isActive",r.isActive(c.data))("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.tooltipPlacement)("tooltipType",r.tooltipType)("tooltipTitle",r.tooltipTemplate?void 0:c.tooltipText)("tooltipTemplate",r.tooltipTemplate)("tooltipContext",c.data)("noBarWhenZero",r.noBarWhenZero)("animations",r.animations)}}function bm(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,ym,1,20,"g",1),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.bars)("ngForTrackBy",c.trackBy)}}function Hu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",4),i.bIt("dimensionsChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.dataLabelHeightChanged.emit({size:y,index:x}))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("barX",c.x)("barY",c.y)("barWidth",c.width)("barHeight",c.height)("value",c.total)("valueFormatting",r.dataLabelFormatting)("orientation",r.barOrientation.Vertical)}}function Wu(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Hu,1,7,"g",3),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.barsForDataLabels)("ngForTrackBy",c.trackDataLabelBy)}}function Xu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",5),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateXAxisHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("xScale",c.xScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showXAxisLabel)("labelText",c.xAxisLabel)("trimTicks",c.trimXAxisTicks)("rotateTicks",c.rotateXAxisTicks)("maxTickLength",c.maxXAxisTickLength)("tickFormatting",c.xAxisTickFormatting)("ticks",c.xAxisTicks)("xAxisOffset",c.dataLabelMaxHeight.negative)("wrapTicks",c.wrapTicks)}}function Cm(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateYAxisWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("yScale",c.yScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showYAxisLabel)("labelText",c.yAxisLabel)("trimTicks",c.trimYAxisTicks)("maxTickLength",c.maxYAxisTickLength)("tickFormatting",c.yAxisTickFormatting)("ticks",c.yAxisTicks)("referenceLines",c.referenceLines)("showRefLines",c.showRefLines)("showRefLabels",c.showRefLabels)("wrapTicks",c.wrapTicks)}}function Ku(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateXAxisHeight(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("xScale",c.groupScale)("dims",c.dims)("showLabel",c.showXAxisLabel)("labelText",c.xAxisLabel)("trimTicks",c.trimXAxisTicks)("rotateTicks",c.rotateXAxisTicks)("maxTickLength",c.maxXAxisTickLength)("tickFormatting",c.xAxisTickFormatting)("ticks",c.xAxisTicks)("xAxisOffset",c.dataLabelMaxHeight.negative)("wrapTicks",c.wrapTicks)}}function j3(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",7),i.bIt("dimensionsChanged",function(y){d.eBV(c);const x=i.XpG();return d.Njj(x.updateYAxisWidth(y))}),i.k0s()}if(2&s){const c=i.XpG();i.Y8G("yScale",c.valueScale)("dims",c.dims)("showGridLines",c.showGridLines)("showLabel",c.showYAxisLabel)("labelText",c.yAxisLabel)("trimTicks",c.trimYAxisTicks)("maxTickLength",c.maxYAxisTickLength)("tickFormatting",c.yAxisTickFormatting)("ticks",c.yAxisTicks)("wrapTicks",c.wrapTicks)}}function xm(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",9),i.bIt("select",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onClick(y,x))})("activate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onActivate(y,x))})("deactivate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onDeactivate(y,x))})("dataLabelHeightChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.onDataLabelMaxHeightChanged(y,x))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("@animationState","active")("activeEntries",r.activeEntries)("xScale",r.innerScale)("yScale",r.valueScale)("colors",r.colors)("series",c.series)("dims",r.dims)("gradient",r.gradient)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.tooltipTemplate)("showDataLabel",r.showDataLabel)("dataLabelFormatting",r.dataLabelFormatting)("seriesName",c.name)("roundEdges",r.roundEdges)("animations",r.animations)("noBarWhenZero",r.noBarWhenZero),i.BMQ("transform",r.groupTransform(c))}}function H3(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,xm,1,17,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.results)("ngForTrackBy",c.trackBy)}}function Yu(s,g){if(1&s){const c=i.RV6();d.qSk(),i.j41(0,"g",9),i.bIt("select",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onClick(y,x))})("activate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onActivate(y,x))})("deactivate",function(y){const x=d.eBV(c).$implicit,R=i.XpG(2);return d.Njj(R.onDeactivate(y,x))})("dataLabelHeightChanged",function(y){const x=d.eBV(c).index,R=i.XpG(2);return d.Njj(R.onDataLabelMaxHeightChanged(y,x))}),i.k0s()}if(2&s){const c=g.$implicit,r=i.XpG(2);i.Y8G("activeEntries",r.activeEntries)("xScale",r.innerScale)("yScale",r.valueScale)("colors",r.colors)("series",c.series)("dims",r.dims)("gradient",r.gradient)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.tooltipTemplate)("showDataLabel",r.showDataLabel)("dataLabelFormatting",r.dataLabelFormatting)("seriesName",c.name)("roundEdges",r.roundEdges)("animations",r.animations)("noBarWhenZero",r.noBarWhenZero),i.BMQ("transform",r.groupTransform(c))}}function n0(s,g){if(1&s&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Yu,1,16,"g",8),i.k0s()),2&s){const c=i.XpG();i.R7$(),i.Y8G("ngForOf",c.results)("ngForTrackBy",c.trackBy)}}function c0(s,g,c){c=c||{};let r,y,x,R=null,ue=0;function xt(){ue=!1===c.leading?0:+new Date,R=null,x=s.apply(r,y)}return function(){const Rt=+new Date;!ue&&!1===c.leading&&(ue=Rt);const sn=g-(Rt-ue);return r=this,y=arguments,sn<=0?(clearTimeout(R),R=null,ue=Rt,x=s.apply(r,y)):!R&&!1!==c.trailing&&(R=setTimeout(xt,sn)),x}}function sp(s,g){return function(r,y,x){return{configurable:!0,enumerable:x.enumerable,get:function(){return Object.defineProperty(this,y,{configurable:!0,enumerable:x.enumerable,value:c0(x.value,s,g)}),this[y]}}}}var Va=function(s){return s.Top="top",s.Bottom="bottom",s.Left="left",s.Right="right",s.Center="center",s}(Va||{});function Sm(s,g,c){return c===Va.Top?s.top-7:c===Va.Bottom?s.top+s.height-g.height+7:c===Va.Center?s.top+s.height/2-g.height/2:void 0}function eh(s,g,c){return c===Va.Left?s.left-7:c===Va.Right?s.left+s.width-g.width+7:c===Va.Center?s.left+s.width/2-g.width/2:void 0}class $o{static calculateVerticalAlignment(g,c,r){let y=Sm(g,c,r);return y+c.height>window.innerHeight&&(y=window.innerHeight-c.height),y}static calculateVerticalCaret(g,c,r,y){let x;y===Va.Top&&(x=g.height/2-r.height/2+7),y===Va.Bottom&&(x=c.height-g.height/2-r.height/2-7),y===Va.Center&&(x=c.height/2-r.height/2);const R=Sm(g,c,y);return R+c.height>window.innerHeight&&(x+=R+c.height-window.innerHeight),x}static calculateHorizontalAlignment(g,c,r){let y=eh(g,c,r);return y+c.width>window.innerWidth&&(y=window.innerWidth-c.width),y}static calculateHorizontalCaret(g,c,r,y){let x;y===Va.Left&&(x=g.width/2-r.width/2+7),y===Va.Right&&(x=c.width-g.width/2-r.width/2-7),y===Va.Center&&(x=c.width/2-r.width/2);const R=eh(g,c,y);return R+c.width>window.innerWidth&&(x+=R+c.width-window.innerWidth),x}static shouldFlip(g,c,r,y){let x=!1;return r===Va.Right&&g.left+g.width+c.width+y>window.innerWidth&&(x=!0),r===Va.Left&&g.left-c.width-y<0&&(x=!0),r===Va.Top&&g.top-c.height-y<0&&(x=!0),r===Va.Bottom&&g.top+g.height+c.height+y>window.innerHeight&&(x=!0),x}static positionCaret(g,c,r,y,x){let R=0,ue=0;return g===Va.Right?(ue=-7,R=$o.calculateVerticalCaret(r,c,y,x)):g===Va.Left?(ue=c.width,R=$o.calculateVerticalCaret(r,c,y,x)):g===Va.Top?(R=c.height,ue=$o.calculateHorizontalCaret(r,c,y,x)):g===Va.Bottom&&(R=-7,ue=$o.calculateHorizontalCaret(r,c,y,x)),{top:R,left:ue}}static positionContent(g,c,r,y,x){let R=0,ue=0;return g===Va.Right?(ue=r.left+r.width+y,R=$o.calculateVerticalAlignment(r,c,x)):g===Va.Left?(ue=r.left-c.width-y,R=$o.calculateVerticalAlignment(r,c,x)):g===Va.Top?(R=r.top-c.height-y,ue=$o.calculateHorizontalAlignment(r,c,x)):g===Va.Bottom&&(R=r.top+r.height+y,ue=$o.calculateHorizontalAlignment(r,c,x)),{top:R,left:ue}}static determinePlacement(g,c,r,y){if($o.shouldFlip(r,c,g,y)){if(g===Va.Right)return Va.Left;if(g===Va.Left)return Va.Right;if(g===Va.Top)return Va.Bottom;if(g===Va.Bottom)return Va.Top}return g}}let rp=(()=>{var s;class g{get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}constructor(r,y,x){this.element=r,this.renderer=y,this.platformId=x}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,w.UE)(this.platformId))return;const r=this.element.nativeElement,y=this.host.nativeElement.getBoundingClientRect();if(!y.height&&!y.width)return;const x=r.getBoundingClientRect();this.checkFlip(y,x),this.positionContent(r,y,x),this.showCaret&&this.positionCaret(y,x),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,y,x){const{top:R,left:ue}=$o.positionContent(this.placement,x,y,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${R}px`),this.renderer.setStyle(r,"left",`${ue}px`)}positionCaret(r,y){const x=this.caretElm.nativeElement,R=x.getBoundingClientRect(),{top:ue,left:xt}=$o.positionCaret(this.placement,y,r,R,this.alignment);this.renderer.setStyle(x,"top",`${ue}px`),this.renderer.setStyle(x,"left",`${xt}px`)}checkFlip(r,y){this.placement=$o.determinePlacement(this.placement,y,r,this.spacing)}onWindowResize(){this.position()}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-tooltip-content"]],viewQuery:function(y,x){if(1&y&&i.GBs(xu,5),2&y){let R;i.mGM(R=i.lsd())&&(x.caretElm=R.first)}},hostVars:2,hostBindings:function(y,x){1&y&&i.bIt("resize",function(){return x.onWindowResize()},i.tSv),2&y&&i.HbH(x.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},standalone:!1,decls:6,vars:6,consts:[["caretElm",""],[3,"hidden"],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(y,x){1&y&&(i.j41(0,"div"),i.nrm(1,"span",1,0),i.j41(3,"div",2),i.DNE(4,Mu,2,4,"span",3)(5,P2,1,1,"span",4),i.k0s()()),2&y&&(i.R7$(),i.HbH(i.VkB("tooltip-caret position-",x.placement)),i.Y8G("hidden",!x.showCaret),i.R7$(3),i.Y8G("ngIf",!x.title),i.R7$(),i.Y8G("ngIf",x.title))},dependencies:[T.bT,T.T3],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:#000000bf;font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translateZ(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}))}return s(),(0,e.Cg)([sp(100)],g.prototype,"onWindowResize",null),g})();class Tm{constructor(g){this.injectionService=g,this.defaults={},this.components=new Map}getByType(g=this.type){return this.components.get(g)}create(g){return this.createByType(this.type,g)}createByType(g,c){c=this.assignDefaults(c);const r=this.injectComponent(g,c);return this.register(g,r),r}destroy(g){const c=this.components.get(g.componentType);if(c&&c.length){const r=c.indexOf(g);r>-1&&(c[r].destroy(),c.splice(r,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(g){const c=this.components.get(g);if(c&&c.length){let r=c.length-1;for(;r>=0;)this.destroy(c[r--])}}injectComponent(g,c){return this.injectionService.appendComponent(g,c)}assignDefaults(g){const c={...this.defaults.inputs},r={...this.defaults.outputs};return!g.inputs&&!g.outputs&&(g={inputs:g}),c&&(g.inputs={...c,...g.inputs}),r&&(g.outputs={...r,...g.outputs}),g}register(g,c){this.components.has(g)||this.components.set(g,[]),this.components.get(g).push(c)}}let qu=(()=>{var s;class g{static setGlobalRootViewContainer(r){g.globalRootViewContainer=r}constructor(r,y){this.applicationRef=r,this.injector=y}getRootViewContainer(){if(this._container)return this._container;if(g.globalRootViewContainer)return g.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function Dm(s){return s.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,y){if(y){if(void 0!==y.inputs){const x=Object.getOwnPropertyNames(y.inputs);for(const R of x)r.instance[R]=y.inputs[R]}if(void 0!==y.outputs){const x=Object.getOwnPropertyNames(y.outputs);for(const R of x)r.instance[R]=y.outputs[R]}}return r}appendComponent(r,y={},x){x||(x=this.getRootViewContainer());const R=this.getComponentRootNode(x),ue=new O.aI(R,this.applicationRef,this.injector),xt=new O.A8(r),Rt=ue.attach(xt);return this.projectComponentBindings(Rt,y),Rt}static#e=s=()=>(this.globalRootViewContainer=null,this.\u0275fac=function(y){return new(y||g)(d.KVO(i.o8S),d.KVO(d.zZn))},this.\u0275prov=d.jDH({token:g,factory:g.\u0275fac}))}return s(),g})(),d0=(()=>{var s;class g extends Tm{constructor(r){super(r),this.type=rp}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(d.KVO(qu))},this.\u0275prov=d.jDH({token:g,factory:g.\u0275fac}))}return s(),g})();var Ac=function(s){return s.Right="right",s.Below="below",s}(Ac||{}),u0=function(s){return s.ScaleLegend="scaleLegend",s.Legend="legend",s}(u0||{}),ma=function(s){return s.Time="time",s.Linear="linear",s.Ordinal="ordinal",s.Quantile="quantile",s}(ma||{});function Z1(s){return s instanceof Date?s.toLocaleDateString():s.toLocaleString()}let th=(()=>{var s;class g{constructor(){this.isActive=!1,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.toggle=new i.bkB}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(y,x){1&y&&i.bIt("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},standalone:!1,decls:4,vars:6,consts:[["tabindex","-1",3,"click","title"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(y,x){1&y&&(i.j41(0,"span",0),i.bIt("click",function(){return x.select.emit(x.formattedLabel)}),i.j41(1,"span",1),i.bIt("click",function(){return x.toggle.emit(x.formattedLabel)}),i.k0s(),i.j41(2,"span",2),i.EFF(3),i.k0s()()),2&y&&(i.AVh("active",x.isActive),i.Y8G("title",x.formattedLabel),i.R7$(),i.xc7("background-color",x.color),i.R7$(2),i.SpI(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}))}return s(),g})(),nh=(()=>{var s;class g{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new i.bkB,this.labelActivate=new i.bkB,this.labelDeactivate=new i.bkB,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const y of this.data){const x=Z1(y);-1===r.findIndex(ue=>ue.label===x)&&r.push({label:y,formattedLabel:x,color:this.colors.getColor(y)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.label===x.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,y){return y.label}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(v.gRc))},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},standalone:!1,features:[i.OA$],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"select","activate","deactivate","label","formattedLabel","color","isActive"]],template:function(y,x){1&y&&(i.j41(0,"div"),i.DNE(1,F2,3,1,"header",0),i.j41(2,"div",1)(3,"ul",2),i.DNE(4,N2,2,4,"li",3),i.k0s()()()),2&y&&(i.xc7("width",x.width,"px"),i.R7$(),i.Y8G("ngIf",(null==x.title?null:x.title.length)>0),i.R7$(2),i.xc7("max-height",x.height-45,"px"),i.AVh("horizontal-legend",x.horizontal),i.R7$(),i.Y8G("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[T.Sq,T.bT,th],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:#0000000d}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;-webkit-transition:.2s;-moz-transition:.2s;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}))}return s(),g})(),wm=(()=>{var s;class g{constructor(){this.horizontal=!1}ngOnChanges(r){const y=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${y})`}gradientString(r,y){y.push(1);const x=[];return r.reverse().forEach((R,ue)=>{x.push(`${R} ${Math.round(100*y[ue])}%`)}),x.join(", ")}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},standalone:!1,features:[i.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(y,x){1&y&&(i.j41(0,"div",0)(1,"div",1)(2,"span"),i.EFF(3),i.k0s()(),i.nrm(4,"div",2),i.j41(5,"div",1)(6,"span"),i.EFF(7),i.k0s()()()),2&y&&(i.xc7("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),i.AVh("horizontal-legend",x.horizontal),i.R7$(3),i.JRh(x.valueRange[1].toLocaleString()),i.R7$(),i.xc7("background",x.gradient),i.R7$(3),i.JRh(x.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}))}return s(),g})(),ih=(()=>{var s;class g{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new i.bkB,this.legendLabelActivate=new i.bkB,this.legendLabelDeactivate=new i.bkB,this.LegendPosition=Ac,this.LegendType=u0}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Ac.Right)&&(r=this.legendType===u0.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Ac.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===ma.Linear?u0.ScaleLegend:u0.Legend}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},standalone:!1,features:[i.Jv_([d0]),i.OA$],ngContentSelectors:B2,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"labelClick","labelActivate","labelDeactivate","horizontal","data","title","colors","height","width","activeEntries"]],template:function(y,x){1&y&&(i.NAR(),i.j41(0,"div",0),d.qSk(),i.j41(1,"svg",1),i.SdG(2),i.k0s(),i.DNE(3,l3,1,5,"ngx-charts-scale-legend",2)(4,c3,1,7,"ngx-charts-legend",3),i.k0s()),2&y&&(i.xc7("width",x.view[0],"px")("height",x.view[1],"px"),i.R7$(),i.BMQ("width",x.chartWidth)("height",x.view[1]),i.R7$(2),i.Y8G("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),i.R7$(),i.Y8G("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[T.bT,nh,wm],encapsulation:2,changeDetection:0}))}return s(),g})(),ah=(()=>{var s;class g{constructor(r,y){this.element=r,this.zone=y,this.visible=new i.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const r=()=>{if(!this.element)return;const{offsetHeight:y,offsetWidth:x}=this.element.nativeElement;y&&x?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.SKi))},this.\u0275dir=i.FsC({type:g,selectors:[["visibility-observer"]],outputs:{visible:"visible"},standalone:!1}))}return s(),g})();function t4(s){return"[object Date]"===toString.call(s)}let h0=(()=>{var s;class g{constructor(r,y,x,R){this.chartElement=r,this.zone=y,this.cd=x,this.platformId=R,this.scheme="cool",this.schemeType=ma.Ordinal,this.animations=!0,this.select=new i.bkB}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new ah(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(r){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const r=this.getContainerDims();r&&(this.width=r.width,this.height=r.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let r,y;const x=this.chartElement.nativeElement;if((0,w.UE)(this.platformId)&&null!==x.parentNode){const R=x.parentNode.getBoundingClientRect();r=R.width,y=R.height}return r&&y?{width:r,height:y}:null}formatDates(){for(let r=0;r{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=y}cloneData(r){const y=[];for(const x of r){const R={};if(void 0!==x.name&&(R.name=x.name),void 0!==x.value&&(R.value=x.value),void 0!==x.series){R.series=[];for(const ue of x.series){const xt=Object.assign({},ue);R.series.push(xt)}}void 0!==x.extra&&(R.extra=JSON.parse(JSON.stringify(x.extra))),void 0!==x.source&&(R.source=x.source),void 0!==x.target&&(R.target=x.target),y.push(R)}return y}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(v.gRc),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},standalone:!1,features:[i.OA$],decls:1,vars:0,template:function(y,x){1&y&&i.nrm(0,"div")},encapsulation:2}))}return s(),g})();var Us=function(s){return s.Top="top",s.Bottom="bottom",s.Left="left",s.Right="right",s}(Us||{});let Am=(()=>{var s;class g{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Us.Top:case Us.Bottom:this.y=this.offset,this.x=this.width/2;break;case Us.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Us.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},standalone:!1,features:[i.OA$],attrs:d3,decls:2,vars:6,template:function(y,x){1&y&&(d.qSk(),i.j41(0,"text"),i.EFF(1),i.k0s()),2&y&&(i.BMQ("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),i.R7$(),i.SpI(" ",x.label," "))},encapsulation:2,changeDetection:0}))}return s(),g})();function sh(s,g=16){return"string"!=typeof s?"number"==typeof s?s+"":"":(s=s.trim()).length<=g?s:`${s.slice(0,g)}...`}function Lm(s,g){if(s.length>g){const c=[],r=Math.floor(s.length/g);for(let y=0;y{const ue=(x.pop()||"")+" ";return ue.length+R.length>g?[...x,ue.trim(),R.trim()]:[...x,ue+R]},[]);else{let x=0;for(;xc&&(y=y.splice(0,c),y[y.length-1]+="..."),y}var El=function(s){return s.Start="start",s.Middle="middle",s.End="end",s}(El||{});function hc(s,g,c,r,y,[x,R,ue,xt]){let Rt="";return Rt=`M${[s+y,g]}`,Rt+="h"+((c=0===(c=Math.floor(c))?1:c)-2*y),Rt+=R?`a${[y,y]} 0 0 1 ${[y,y]}`:`h${y}v${y}`,Rt+="v"+((r=0===(r=Math.floor(r))?1:r)-2*y),Rt+=xt?`a${[y,y]} 0 0 1 ${[-y,y]}`:`v${y}h${-y}`,Rt+="h"+(2*y-c),Rt+=ue?`a${[y,y]} 0 0 1 ${[-y,-y]}`:`h${-y}v${-y}`,Rt+="v"+(2*y-r),Rt+=x?`a${[y,y]} 0 0 1 ${[y,-y]}`:`v${-y}h${y}`,Rt+="z",Rt}let n4=(()=>{var s;class g{get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new i.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=El.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16,this.referenceLineLength=0}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,w.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.adjustedScale=this.scale.bandwidth?function(R){return this.scale(R)+.5*this.scale.bandwidth()}:this.scale,this.ticks=this.getTicks();const y=this.orient===Us.Top||this.orient===Us.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.orient){case Us.Bottom:this.transform=function(R){return"translate("+this.adjustedScale(R)+",0)"},this.textAnchor=El.Middle,this.x2=this.innerTickSize*y,this.x1=this.tickSpacing*y,this.dx=y<0?"0em":".71em";break;case Us.Left:this.transform=function(R){return"translate(0,"+this.adjustedScale(R)+")"},this.textAnchor=El.End,this.y2=this.innerTickSize*-y,this.y1=this.tickSpacing*-y,this.dx=".32em";break;case Us.Top:this.transform=function(R){return"translate("+this.adjustedScale(R)+",0)"},this.textAnchor=El.Middle,this.y2=this.innerTickSize*y,this.y1=this.tickSpacing*y,this.dx=y<0?"0em":".71em";break;case Us.Right:this.transform=function(R){return"translate(0,"+this.adjustedScale(R)+")"},this.textAnchor=El.Start,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dx=".32em"}this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(R){return"Date"===R.constructor.name?R.toLocaleDateString():R.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=El.End,this.verticalSpacing=10):this.textAnchor=El.Middle,setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=hc(this.refMax,25-this.gridLineHeight,this.refMin-this.refMax,this.gridLineHeight,0,[!1,!1,!1,!1])}getRotationAngle(r){let y=0;this.maxTicksLength=0;for(let An=0;Anthis.maxTicksLength&&(this.maxTicksLength=pi)}const ue=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let xt=ue;const Rt=Math.floor(this.width/r.length);for(;xt>Rt&&y>-90;)y-=30,xt=Math.cos(y*(Math.PI/180))*ue;let sn=14;if(this.isWrapTicksSupported){const An=this.ticks.reduce((pi,Ji)=>Ji.length>pi.length?Ji:pi,"");sn=14*(this.tickChunks(An).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(An)}const wn=0!==y?Math.max(Math.abs(Math.sin(y*Math.PI/180))*this.maxTickLength*7,10):sn;return this.approxHeight=Math.min(wn,200),this.showRefLines&&this.referenceLines&&this.setReferencelines(),y}getTicks(){let r;const y=this.getMaxTicks(20),x=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=Lm(r,y)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?sh(r,this.maxTickLength):r}getMaxPossibleLengthForTick(r){if(this.scale.bandwidth){const x=Math.floor(this.scale.bandwidth()/7),R=r.slice(0,x);return Math.max(R.length,this.maxTickLength)}return this.maxTickLength}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){let x=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(x<=1)return[this.tickTrim(r)];let R=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,w.UE)(this.platformId)||(R=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),x=Math.min(x,5),rh(r,R,x<1?1:x)}return[this.tickTrim(r)]}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(y,x){if(1&y&&i.GBs(Su,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksElement=R.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:z2,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],["class","ref-line",4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"],[1,"reference-area"],[1,"ref-line"],["y1","25",1,"refline-path","gridline-path-vertical"],["transform","rotate(-270) translate(5, -5)",1,"refline-label"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g",null,0),i.DNE(2,Tu,2,2,"g",3),i.k0s(),i.DNE(3,Id,2,2,"g",4)(4,m3,1,2,"path",5)(5,kd,2,1,"g",6)),2&y&&(i.R7$(2),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),i.R7$(),i.Y8G("ngForOf",x.referenceLines))},dependencies:[T.Sq,T.bT],encapsulation:2,changeDetection:0}))}return s(),g})(),i4=(()=>{var s;class g{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Us.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Us}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const y=r+25+5;y!==this.labelOffset&&(this.labelOffset=y,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(y,x){if(1&y&&i.GBs(n4,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksComponent=R.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:p3,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","referenceLines","showRefLines","showRefLabels","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"dimensionsChanged","trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","referenceLines","showRefLines","showRefLabels","width","tickValues","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g"),i.DNE(1,cc,1,16,"g",0)(2,Nc,1,5,"g",1),i.k0s()),2&y&&(i.BMQ("class",x.xAxisClassName)("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.xScale),i.R7$(),i.Y8G("ngIf",x.showLabel))},dependencies:[T.bT,Am,n4],encapsulation:2,changeDetection:0}))}return s(),g})(),oh=(()=>{var s;class g{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=El.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Us}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,w.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale,y=this.orient===Us.Top||this.orient===Us.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()},this.adjustedScale=r.bandwidth?x=>{const R=r(x)+.5*r.bandwidth();if(this.wrapTicks&&x.toString().length>this.maxTickLength){const ue=this.tickChunks(x).length;if(1===ue)return R;const sn=.5*r.bandwidth()-8*ue*.5;return r(x)+sn}return R}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Us.Top:case Us.Bottom:this.transform=function(x){return"translate("+this.adjustedScale(x)+",0)"},this.textAnchor=El.Middle,this.y2=this.innerTickSize*y,this.y1=this.tickSpacing*y,this.dy=y<0?"0em":".71em";break;case Us.Left:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=El.End,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dy=".32em";break;case Us.Right:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=El.Start,this.x2=this.innerTickSize*-y,this.x1=this.tickSpacing*-y,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=hc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const y=this.getMaxTicks(20),x=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=Lm(r,y)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?sh(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(x=>this.tickTrim(this.tickFormat(x)).length))}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){const y=this.maxTickLength,x=Math.floor(this.scale.bandwidth()/15);return x<=1?[this.tickTrim(r)]:rh(r,y,Math.min(x,5))}return[this.tickFormat(r)]}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(y,x){if(1&y&&i.GBs(Su,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksElement=R.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:im,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],["class","ref-line",4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],[1,"ref-line"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g",null,0),i.DNE(2,Lu,2,2,"g",3),i.k0s(),i.DNE(3,v3,1,2,"path",4)(4,sm,2,2,"g",5)(5,G2,2,1,"g",6)),2&y&&(i.R7$(2),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),i.R7$(),i.Y8G("ngForOf",x.ticks),i.R7$(),i.Y8G("ngForOf",x.referenceLines))},dependencies:[T.Sq,T.bT],encapsulation:2,changeDetection:0}))}return s(),g})(),lh=(()=>{var s;class g{constructor(){this.showGridLines=!1,this.yOrient=Us.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Us.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:r}){r!==this.labelOffset&&this.yOrient===Us.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(y,x){if(1&y&&i.GBs(oh,5),2&y){let R;i.mGM(R=i.lsd())&&(x.ticksComponent=R.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:j2,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"dimensionsChanged","trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"g"),i.DNE(1,Ff,1,15,"g",0)(2,Vr,1,5,"g",1),i.k0s()),2&y&&(i.BMQ("class",x.yAxisClassName)("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.yScale),i.R7$(),i.Y8G("ngIf",x.showLabel))},dependencies:[T.bT,Am,oh],encapsulation:2,changeDetection:0}))}return s(),g})(),Im=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[T.MD]}))}return s(),g})();var Hd=function(s){return s.popover="popover",s.tooltip="tooltip",s}(Hd||{}),J1=function(s){return s[s.all="all"]="all",s[s.focus="focus"]="focus",s[s.mouseover="mouseover"]="mouseover",s}(J1||{});let m0=(()=>{var s;class g{get listensForFocus(){return this.tooltipShowEvent===J1.all||this.tooltipShowEvent===J1.focus}get listensForHover(){return this.tooltipShowEvent===J1.all||this.tooltipShowEvent===J1.mouseover}constructor(r,y,x){this.tooltipService=r,this.viewContainerRef=y,this.renderer=x,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Va.Top,this.tooltipAlignment=Va.Center,this.tooltipType=Hd.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=J1.all,this.tooltipImmediateExit=!1,this.show=new i.bkB,this.hide=new i.bkB}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const y=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const x=this.createBoundOptions();this.component=this.tooltipService.create(x),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},y)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",y=>{r.contains(y.target)||this.hideTooltip()}))}hideTooltip(r=!1){if(!this.component)return;const y=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),r?y():this.timeout=setTimeout(y,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(d0),i.rXU(i.c1b),i.rXU(i.sFG))},this.\u0275dir=i.FsC({type:g,selectors:[["","ngx-tooltip",""]],hostBindings:function(y,x){1&y&&i.bIt("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(ue){return x.onMouseLeave(ue.target)})("click",function(){return x.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"},standalone:!1}))}return s(),g})(),ch=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({providers:[qu,d0],imports:[T.MD]}))}return s(),g})();const f0={};function p0(){let s=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return s=`a${s}`,f0[s]?p0():(f0[s]=!0,s)}var Qr=function(s){return s.Vertical="vertical",s.Horizontal="horizontal",s}(Qr||{});let Wd=(()=>{var s;class g{constructor(){this.orientation=Qr.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Qr.Horizontal?this.x2="100%":this.orientation===Qr.Vertical&&(this.y1="100%")}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},standalone:!1,features:[i.OA$],attrs:b3,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"linearGradient",0),i.DNE(1,s1,1,5,"stop",1),i.k0s()),2&y&&(i.Y8G("id",x.name),i.BMQ("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),i.R7$(),i.Y8G("ngForOf",x.stops))},dependencies:[T.Sq],encapsulation:2,changeDetection:0}))}return s(),g})(),q1=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},standalone:!1,attrs:Fu,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(y,x){1&y&&(d.qSk(),i.nrm(0,"rect",0)),2&y&&i.BMQ("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}))}return s(),g})();var Gc=function(s){return s.Odd="odd",s.Even="even",s}(Gc||{});let r4,Om=(()=>{var s;class g{ngOnChanges(r){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(r=>{let y,x,R,ue,xt,Rt=Gc.Odd;if(this.orient===Qr.Vertical){const sn=this.xScale(r.name);Number.parseInt((sn/this.xScale.step()).toString(),10)%2==1&&(Rt=Gc.Even),y=this.xScale.bandwidth()*this.xScale.paddingInner(),x=this.xScale.bandwidth()+y,R=this.dims.height,ue=this.xScale(r.name)-y/2,xt=0}else if(this.orient===Qr.Horizontal){const sn=this.yScale(r.name);Number.parseInt((sn/this.yScale.step()).toString(),10)%2==1&&(Rt=Gc.Even),y=this.yScale.bandwidth()*this.yScale.paddingInner(),x=this.dims.width,R=this.yScale.bandwidth()+y,ue=0,xt=this.yScale(r.name)-y/2}return{name:r.name,class:Rt,height:R,width:x,x:ue,y:xt}})}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},standalone:!1,features:[i.OA$],attrs:Nu,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(y,x){1&y&&i.DNE(0,Bc,1,10,"g",0),2&y&&i.Y8G("ngForOf",x.gridPanels)},dependencies:[T.Sq,q1],encapsulation:2,changeDetection:0}))}return s(),g})();typeof window<"u"?r4=window:typeof global<"u"&&(r4=global);let hl=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[T.MD,Im,ch,T.MD,Im,ch]}))}return s(),g})();function Fm({width:s,height:g,margins:c,showXAxis:r=!1,showYAxis:y=!1,xAxisHeight:x=0,yAxisWidth:R=0,showXLabel:ue=!1,showYLabel:xt=!1,showLegend:Rt=!1,legendType:sn=ma.Ordinal,legendPosition:wn=Ac.Right,columns:An=12}){let _i=c[3],pi=s,Ji=g-c[0]-c[2];return Rt&&wn===Ac.Right&&(An-=sn===ma.Ordinal?2:1),pi=pi*An/12,pi=pi-c[1]-c[3],r&&(Ji-=5,Ji-=x,ue&&(Ji-=30)),y&&(pi-=5,pi-=R,_i+=R,_i+=10,xt&&(pi-=30,_i+=30)),pi=Math.max(0,pi),Ji=Math.max(0,Ji),{width:Math.floor(pi),height:Math.floor(Ji),xOffset:Math.floor(_i)}}const hp=[{name:"vivid",selectable:!0,group:ma.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:ma.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:ma.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:ma.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:ma.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:ma.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:ma.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:ma.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:ma.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:ma.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:ma.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:ma.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:ma.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:ma.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:ma.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class c4{constructor(g,c,r,y){"string"==typeof g&&(g=hp.find(x=>x.name===g)),this.colorDomain=g.domain,this.scaleType=c,this.domain=r,this.customColors=y,this.scale=this.generateColorScheme(g,c,this.domain)}generateColorScheme(g,c,r){let y;switch("string"==typeof g&&(g=hp.find(x=>x.name===g)),c){case ma.Quantile:y=P1().range(g.domain).domain(r);break;case ma.Ordinal:y=Md().range(g.domain).domain(r);break;case ma.Linear:{const x=[...g.domain];1===x.length&&(x.push(x[0]),this.colorDomain=x);const R=ru(0,1,1/x.length);y=lc().range(x).domain(R)}}return y}getColor(g){if(null==g)throw new Error("Value can not be null");if(this.scaleType===ma.Linear){const c=lc().domain(this.domain).range([0,1]);return this.scale(c(g))}{if("function"==typeof this.customColors)return this.customColors(g);const c=g.toString();let r;return this.customColors&&this.customColors.length>0&&(r=this.customColors.find(y=>y.name.toLowerCase()===c.toLowerCase())),r?r.value:this.scale(g)}}getLinearGradientStops(g,c){void 0===c&&(c=this.domain[0]);const r=lc().domain(this.domain).range([0,1]),y=Pc().domain(this.colorDomain).range([0,1]),x=this.getColor(g),R=r(c),ue=this.getColor(c),xt=r(g);let Rt=1,sn=R;const wn=[];for(wn.push({color:ue,offset:R,originalOffset:R,opacity:1});sn=(xt-y.bandwidth()).toFixed(4))break;wn.push({color:An,offset:_i,opacity:1}),sn=_i,Rt++}}if(wn[wn.length-1].offset<100&&wn.push({color:x,offset:xt,opacity:1}),xt===R)wn[0].offset=0,wn[1].offset=100;else if(100!==wn[wn.length-1].offset)for(const An of wn)An.offset=(An.offset-R)/(xt-R)*100;return wn}}let Bm=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),zm=(()=>{var s;class g{constructor(r){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+p0().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const r=ci(this.element).select(".bar"),y=this.getPath();this.animations?r.transition().duration(500).attr("d",y):r.attr("d",y)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let y,r=this.getRadius();return this.roundEdges?this.orientation===Qr.Vertical?(r=Math.min(this.height,r),y=hc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Qr.Horizontal&&(r=Math.min(this.width,r),y=hc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Qr.Vertical?y=hc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Qr.Horizontal&&(y=hc(this.x,this.y,1,this.height,0,this.edges)),y}getPath(){let y,r=this.getRadius();return this.roundEdges?this.orientation===Qr.Vertical?(r=Math.min(this.height,r),y=hc(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===Qr.Horizontal&&(r=Math.min(this.width,r),y=hc(this.x,this.y,this.width,this.height,r,this.edges)):y=hc(this.x,this.y,this.width,this.height,r,this.edges),y}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Qr.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Qr.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Qr.Vertical&&0===this.height||this.orientation===Qr.Horizontal&&0===this.width)}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(y,x){1&y&&i.bIt("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.OA$],attrs:O3,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(y,x){1&y&&(i.DNE(0,R3,2,3,"defs",0),d.qSk(),i.j41(1,"path",1),i.bIt("click",function(){return x.select.emit(x.data)}),i.k0s()),2&y&&(i.Y8G("ngIf",x.hasGradient),i.R7$(),i.AVh("active",x.isActive)("hidden",x.hideBar),i.BMQ("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[T.bT,Wd],encapsulation:2,changeDetection:0}))}return s(),g})();var jc=function(s){return s.Standard="standard",s.Normalized="normalized",s.Stacked="stacked",s}(jc||{}),f1=function(s){return s.positive="positive",s.negative="negative",s}(f1||{});let d4=(()=>{var s;class g{constructor(r){this.dimensionsChanged=new i.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):Z1(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:P3,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(y,x){1&y&&(d.qSk(),i.j41(0,"text",0),i.EFF(1),i.k0s()),2&y&&(i.BMQ("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),i.R7$(),i.SpI(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}))}return s(),g})(),Vm=(()=>{var s;class g{constructor(r){this.platformId=r,this.type=jc.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.dataLabelHeightChanged=new i.bkB,this.barsForDataLabels=[],this.barOrientation=Qr,this.isSSR=!1}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const y=Math.max(this.yScale.domain()[0],0),x={[f1.positive]:0,[f1.negative]:0};let ue,R=f1.positive;this.type===jc.Normalized&&(ue=this.series.map(xt=>xt.value).reduce((xt,Rt)=>xt+Rt,0)),this.bars=this.series.map((xt,Rt)=>{let sn=xt.value;const wn=this.getLabel(xt),An=Z1(wn);R=sn>0?f1.positive:f1.negative;const pi={value:sn,label:wn,roundEdges:this.roundEdges,data:xt,width:r,formattedLabel:An,height:0,x:0,y:0};if(this.type===jc.Standard)pi.height=Math.abs(this.yScale(sn)-this.yScale(y)),pi.x=this.xScale(wn),pi.y=this.yScale(sn<0?0:sn);else if(this.type===jc.Stacked){const Xn=x[R],Vi=Xn+sn;x[R]+=sn,pi.height=this.yScale(Xn)-this.yScale(Vi),pi.x=0,pi.y=this.yScale(Vi),pi.offset0=Xn,pi.offset1=Vi}else if(this.type===jc.Normalized){let Xn=x[R],Vi=Xn+sn;x[R]+=sn,ue>0?(Xn=100*Xn/ue,Vi=100*Vi/ue):(Xn=0,Vi=0),pi.height=this.yScale(Xn)-this.yScale(Vi),pi.x=0,pi.y=this.yScale(Vi),pi.offset0=Xn,pi.offset1=Vi,sn=(Vi-Xn).toFixed(2)+"%"}this.colors.scaleType===ma.Ordinal?pi.color=this.colors.getColor(wn):this.type===jc.Standard?(pi.color=this.colors.getColor(sn),pi.gradientStops=this.colors.getLinearGradientStops(sn)):(pi.color=this.colors.getColor(pi.offset1),pi.gradientStops=this.colors.getLinearGradientStops(pi.offset1,pi.offset0));let Ji=An;return pi.ariaLabel=An+" "+sn.toLocaleString(),null!=this.seriesName&&(Ji=`${this.seriesName} \u2022 ${An}`,pi.data.series=this.seriesName,pi.ariaLabel=this.seriesName+" "+pi.ariaLabel),pi.tooltipText=this.tooltipDisabled?void 0:`\n ${function e4(s){return s.toLocaleString().replace(/[&'`"<>]/g,g=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[g]))}(Ji)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(sn):sn.toLocaleString()}\n `,pi}),this.updateDataLabels()}updateDataLabels(){if(this.type===jc.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const y=this.series.map(R=>R.value).reduce((R,ue)=>ue>0?R+ue:R,0),x=this.series.map(R=>R.value).reduce((R,ue)=>ue<0?R+ue:R,0);r.total=y+x,r.x=0,r.y=0,r.height=this.yScale(r.total>0?y:x),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{const y={};return y.series=this.seriesName??r.label,y.total=r.value,y.x=this.xScale(r.label),y.y=this.yScale(0),y.height=this.yScale(y.total)-this.yScale(0),y.width=this.xScale.bandwidth(),y})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Va.Top,this.tooltipType=this.tooltipDisabled?void 0:Hd.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.value===x.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,y){return y.label}trackDataLabelBy(r,y){return r+"#"+y.series+"#"+y.total}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:g,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},standalone:!1,features:[i.OA$],attrs:e0,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"select","activate","deactivate","width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"dimensionsChanged","barX","barY","barWidth","barHeight","value","valueFormatting","orientation"]],template:function(y,x){1&y&&i.DNE(0,ju,2,2,"g",0)(1,bm,2,2,"g",0)(2,Wu,2,2,"g",0),2&y&&(i.Y8G("ngIf",!x.isSSR),i.R7$(),i.Y8G("ngIf",x.isSSR),i.R7$(),i.Y8G("ngIf",x.showDataLabel))},dependencies:[T.Sq,T.bT,m0,zm,d4],encapsulation:2,data:{animation:[(0,L.hZ)("animationState",[(0,L.kY)(":leave",[(0,L.iF)({opacity:1}),(0,L.i0)(500,(0,L.iF)({opacity:0}))])])]},changeDetection:0}))}return s(),g})(),hh=(()=>{var s;class g extends h0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ac.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}ngOnChanges(){this.update()}update(){if(super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Fm({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`,this.showRefLines){const r=ci(this.chartElement.nativeElement).select(".bar-chart").node();ci(this.chartElement.nativeElement).selectAll(".ref-line").nodes().forEach(x=>r.appendChild(x))}}getXScale(){this.xDomain=this.getXDomain();const r=this.xDomain.length/(this.dims.width/this.barPadding+1);return Pc().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=lc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(R=>R.value);let y=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(y=Math.min(y,...this.yAxisTicks));let x=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.max(x,...this.yAxisTicks)),[y,x]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===ma.Ordinal?this.xDomain:this.yDomain,this.colors=new c4(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===ma.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,y=!1){r=this.results.find(R=>y?R.label===r.name:R.name===r.name),!(this.activeEntries.findIndex(R=>R.name===r.name&&R.value===r.value&&R.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,y=!1){r=this.results.find(R=>y?R.label===r.name:R.name===r.name);const x=this.activeEntries.findIndex(R=>R.name===r.name&&R.value===r.value&&R.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}static#e=s=()=>(this.\u0275fac=(()=>{let r;return function(x){return(r||(r=i.xGo(g)))(x||g)}})(),this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(y,x,R){if(1&y&&i.wni(R,w3,5),2&y){let ue;i.mGM(ue=i.lsd())&&(x.tooltipTemplate=ue.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.Vt3,i.OA$],decls:5,vars:25,consts:[[3,"legendLabelClick","legendLabelActivate","legendLabelDeactivate","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"activate","deactivate","select","dataLabelHeightChanged","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","wrapTicks"]],template:function(y,x){1&y&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelClick",function(ue){return x.onClick(ue)})("legendLabelActivate",function(ue){return x.onActivate(ue,!0)})("legendLabelDeactivate",function(ue){return x.onDeactivate(ue,!0)}),d.qSk(),i.j41(1,"g",1),i.DNE(2,Xu,1,12,"g",2)(3,Cm,1,13,"g",3),i.j41(4,"g",4),i.bIt("activate",function(ue){return x.onActivate(ue)})("deactivate",function(ue){return x.onDeactivate(ue)})("select",function(ue){return x.onClick(ue)})("dataLabelHeightChanged",function(ue){return x.onDataLabelMaxHeightChanged(ue)}),i.k0s()()()),2&y&&(i.Y8G("view",i.l_i(22,l1,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),i.R7$(),i.BMQ("transform",x.transform),i.R7$(),i.Y8G("ngIf",x.xAxis),i.R7$(),i.Y8G("ngIf",x.yAxis),i.R7$(),i.Y8G("xScale",x.xScale)("yScale",x.yScale)("colors",x.colors)("series",x.results)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("activeEntries",x.activeEntries)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero))},dependencies:[T.bT,i4,lh,ih,Vm],styles:[Cl],encapsulation:2,changeDetection:0}))}return s(),g})(),bp=(()=>{var s;class g extends h0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ac.Right,this.tooltipDisabled=!1,this.scaleType=ma.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.schemeType=ma.Ordinal,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Qr,this.trackBy=(r,y)=>y.name}ngOnInit(){(0,w.Vy)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Fm({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(r,y){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),y===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const r=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Pc().rangeRound([0,this.dims.width]).paddingInner(r).paddingOuter(r/2).domain(this.groupDomain)}getInnerScale(){const r=this.groupScale.bandwidth(),y=this.innerDomain.length/(r/this.barPadding+1);return Pc().rangeRound([0,r]).paddingInner(y).domain(this.innerDomain)}getValueScale(){const r=lc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}getGroupDomain(){const r=[];for(const y of this.results)r.includes(y.label)||r.push(y.label);return r}getInnerDomain(){const r=[];for(const y of this.results)for(const x of y.series)r.includes(x.label)||r.push(x.label);return r}getValueDomain(){const r=[];for(const R of this.results)for(const ue of R.series)r.includes(ue.value)||r.push(ue.value);return[Math.min(0,...r),this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r)]}groupTransform(r){return`translate(${this.groupScale(r.label)}, 0)`}onClick(r,y){y&&(r.series=y.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===ma.Ordinal?this.innerDomain:this.valueDomain,this.colors=new c4(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===ma.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,y,x=!1){const R=Object.assign({},r);y&&(R.series=y.name);const ue=this.results.map(xt=>xt.series).flat().filter(xt=>x?xt.label===R.name:xt.name===R.name&&xt.series===R.series);this.activeEntries=[...ue],this.activate.emit({value:R,entries:this.activeEntries})}onDeactivate(r,y,x=!1){const R=Object.assign({},r);y&&(R.series=y.name),this.activeEntries=this.activeEntries.filter(ue=>x?ue.label!==R.name:!(ue.name===R.name&&ue.series===R.series)),this.deactivate.emit({value:R,entries:this.activeEntries})}static#e=s=()=>(this.\u0275fac=(()=>{let r;return function(x){return(r||(r=i.xGo(g)))(x||g)}})(),this.\u0275cmp=i.VBU({type:g,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(y,x,R){if(1&y&&i.wni(R,w3,5),2&y){let ue;i.mGM(ue=i.lsd())&&(x.tooltipTemplate=ue.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},standalone:!1,features:[i.Vt3],decls:7,vars:18,consts:[[3,"legendLabelActivate","legendLabelDeactivate","legendLabelClick","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"select","activate","deactivate","dataLabelHeightChanged","activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero"]],template:function(y,x){1&y&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelActivate",function(ue){return x.onActivate(ue,void 0,!0)})("legendLabelDeactivate",function(ue){return x.onDeactivate(ue,void 0,!0)})("legendLabelClick",function(ue){return x.onClick(ue)}),d.qSk(),i.j41(1,"g",1),i.nrm(2,"g",2),i.DNE(3,Ku,1,11,"g",3)(4,j3,1,10,"g",4)(5,H3,2,2,"g",5)(6,n0,2,2,"g",5),i.k0s()()),2&y&&(i.Y8G("view",i.l_i(15,l1,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),i.R7$(),i.BMQ("transform",x.transform),i.R7$(),i.Y8G("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),i.R7$(),i.Y8G("ngIf",x.xAxis),i.R7$(),i.Y8G("ngIf",x.yAxis),i.R7$(),i.Y8G("ngIf",!x.isSSR),i.R7$(),i.Y8G("ngIf",x.isSSR))},dependencies:[T.Sq,T.bT,i4,lh,ih,Om,Vm],styles:[Cl],encapsulation:2,data:{animation:[(0,L.hZ)("animationState",[(0,L.kY)(":leave",[(0,L.iF)({opacity:1,transform:"*"}),(0,L.i0)(500,(0,L.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}))}return s(),g})(),Um=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),mh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),fh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),gh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),Tp=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})();Math;let p1=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),Dp=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,p1,Tp]}))}return s(),g})(),yo=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),yh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),bh=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,p1,Um]}))}return s(),g})(),td=(()=>{var s;class g{static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl]}))}return s(),g})(),p4=(()=>{var s;class g{constructor(){!function Ch(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}static#e=s=()=>(this.\u0275fac=function(y){return new(y||g)},this.\u0275mod=i.$C({type:g}),this.\u0275inj=d.G2t({imports:[hl,Bm,Um,mh,fh,gh,td,Tp,Dp,yo,p1,yh,bh]}))}return s(),g})()},8288(Zt,pe,l){"use strict";l.d(pe,{Um:()=>A,XK:()=>Pe});var i=l(467),d=l(2200),v=l(2615),T=l(3664),w=l(7705),e=l(8314);function O(le,Ce){if(1&le&&T.nrm(0,"canvas",1),2&le){const Ae=T.XpG();T.HbH(Ae.styleClass),T.Y8G("qrCode",Ae.value)("qrCodeErrorCorrectionLevel",Ae.errorCorrectionLevel)("qrCodeCenterImageSrc",Ae.centerImageSrc)("qrCodeCenterImageWidth",Ae.centerImageSize)("qrCodeCenterImageHeight",Ae.centerImageSize)("qrCodeMargin",Ae.margin)("qrScale",Ae.scale)("qrCodeMaskPattern",Ae.maskPattern)("width",Ae.size)("height",Ae.size)("ngStyle",Ae.style)("darkColor",Ae.darkColor)("lightColor",Ae.lightColor)}}const f=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/,u=/^[0-9.]+$/;let L=(()=>{var le;class Ce{constructor(j){this.viewContainerRef=j,this.errorCorrectionLevel=Ce.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var j=this;return(0,i.A)(function*(){if(!j.value)return;j.version&&j.version>40?(console.warn("[qrCode] max version is 40, clamping"),j.version=40):j.version&&j.version<1?(console.warn("[qrCode] min version is 1, clamping"),j.version=1):void 0!==j.version&&isNaN(j.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),j.version=void 0);const W=j.viewContainerRef.element.nativeElement;if(!W)return;const G=W.getContext("2d");G&&G.clearRect(0,0,G.canvas.width,G.canvas.height);const re=j.errorCorrectionLevel??Ce.DEFAULT_ERROR_CORRECTION_LEVEL,xe=j.darkColor&&f.test(j.darkColor)?j.darkColor:void 0,Ee=j.lightColor&&f.test(j.lightColor)?j.lightColor:void 0;(0,w.naY)()&&(!xe&&j.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Ee&&j.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield e.toCanvas(W,j.value,{version:j.version,errorCorrectionLevel:re,width:C(j.width),margin:j.margin,scale:j.qrScale,maskPattern:j.qrCodeMaskPattern,color:{dark:xe,light:Ee}});const V=j.centerImageSrc,ce=B(j.centerImageWidth,Ce.DEFAULT_CENTER_IMAGE_SIZE),be=B(j.centerImageHeight,Ce.DEFAULT_CENTER_IMAGE_SIZE);if(V&&G){j.centerImage||(j.centerImage=new Image(ce,be));const ne=j.centerImage;V!==j.centerImage.src&&(ne.src=V),ce!==j.centerImage.width&&(ne.width=ce),be!==j.centerImage.height&&(ne.height=be);const J=()=>{G.drawImage(ne,W.width/2-ce/2,W.height/2-be/2,ce,be)};ne.onload=J,ne.complete&&J()}})()}static#e=le=()=>(this.DEFAULT_ERROR_CORRECTION_LEVEL="M",this.DEFAULT_CENTER_IMAGE_SIZE=40,this.\u0275fac=function(W){return new(W||Ce)(T.rXU(T.c1b))},this.\u0275dir=T.FsC({type:Ce,selectors:[["canvas","qrCode",""]],inputs:{value:[0,"qrCode","value"],version:[0,"qrCodeVersion","version"],errorCorrectionLevel:[0,"qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:[0,"qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:[0,"qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:[0,"qrCodeCenterImageHeight","centerImageHeight"],margin:[0,"qrCodeMargin","margin"],qrScale:"qrScale",qrCodeMaskPattern:"qrCodeMaskPattern"},features:[T.OA$]}))}return le(),Ce})();function C(le){if(void 0!==le&&""!==le){if("string"==typeof le){if(!u.test(le))throw new Error(`'${le}' is not a valid number`);return parseFloat(le)}return le}}function B(le,Ce){return void 0===le||""===le?Ce:C(le)}let A=(()=>{var le;class Ce{static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)},this.\u0275cmp=T.VBU({type:Ce,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin",scale:"scale",maskPattern:"maskPattern"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","ngStyle","darkColor","lightColor"]],template:function(W,G){1&W&&T.nVh(0,O,1,15,"canvas",0),2&W&&T.vxM(G.value?0:-1)},dependencies:[L,d.MD,d.B3],encapsulation:2}))}return le(),Ce})(),Pe=(()=>{var le;class Ce{static#e=le=()=>(this.\u0275fac=function(W){return new(W||Ce)},this.\u0275mod=T.$C({type:Ce}),this.\u0275inj=v.G2t({imports:[d.MD,A]}))}return le(),Ce})()},497(Zt,pe,l){"use strict";l.d(pe,{kU:()=>Me,ZF:()=>ut,Ld:()=>Be,U$:()=>Ot});var i=l(1413),d=l(3726),v=l(7786),T=l(3798),w=l(6977),e=l(3294),O=l(3703),f=l(3664),u=l(7705),L=l(2615),C=l(2200),B=l(177);function A(se){return getComputedStyle(se)}function Pe(se,We){for(var bt in We){var tn=We[bt];"number"==typeof tn&&(tn+="px"),se.style[bt]=tn}return se}function le(se){var We=document.createElement("div");return We.className=se,We}var Ce=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Ae(se,We){if(!Ce)throw new Error("No element matching method supported");return Ce.call(se,We)}function j(se){se.remove?se.remove():se.parentNode&&se.parentNode.removeChild(se)}function W(se,We){return Array.prototype.filter.call(se.children,function(bt){return Ae(bt,We)})}var G_element_thumb=function(se){return"ps__thumb-"+se},G_element_rail=function(se){return"ps__rail-"+se},G_element_consuming="ps__child--consume",G_state_focus="ps--focus",G_state_clicking="ps--clicking",G_state_active=function(se){return"ps--active-"+se},G_state_scrolling=function(se){return"ps--scrolling-"+se},re={x:null,y:null};function xe(se,We){var bt=se.element.classList,tn=G_state_scrolling(We);bt.contains(tn)?clearTimeout(re[We]):bt.add(tn)}function Ee(se,We){re[We]=setTimeout(function(){return se.isAlive&&se.element.classList.remove(G_state_scrolling(We))},se.settings.scrollingThreshold)}var ce=function(We){this.element=We,this.handlers={}},be={isEmpty:{configurable:!0}};ce.prototype.bind=function(We,bt){typeof this.handlers[We]>"u"&&(this.handlers[We]=[]),this.handlers[We].push(bt),this.element.addEventListener(We,bt,!1)},ce.prototype.unbind=function(We,bt){var tn=this;this.handlers[We]=this.handlers[We].filter(function(on){return!(!bt||on===bt)||(tn.element.removeEventListener(We,on,!1),!1)})},ce.prototype.unbindAll=function(){for(var We in this.handlers)this.unbind(We)},be.isEmpty.get=function(){var se=this;return Object.keys(this.handlers).every(function(We){return 0===se.handlers[We].length})},Object.defineProperties(ce.prototype,be);var ne=function(){this.eventElements=[]};function J(se){if("function"==typeof window.CustomEvent)return new CustomEvent(se);var We=document.createEvent("CustomEvent");return We.initCustomEvent(se,!1,!1,void 0),We}function De(se,We,bt,tn,on){var un;if(void 0===tn&&(tn=!0),void 0===on&&(on=!1),"top"===We)un=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==We)throw new Error("A proper axis should be provided");un=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function Re(se,We,bt,tn,on){var un=bt[0],Nt=bt[1],dn=bt[2],xn=bt[3],Jn=bt[4],xi=bt[5];void 0===tn&&(tn=!0),void 0===on&&(on=!1);var Yi=se.element;se.reach[xn]=null,Yi[dn]<1&&(se.reach[xn]="start"),Yi[dn]>se[un]-se[Nt]-1&&(se.reach[xn]="end"),We&&(Yi.dispatchEvent(J("ps-scroll-"+xn)),We<0?Yi.dispatchEvent(J("ps-scroll-"+Jn)):We>0&&Yi.dispatchEvent(J("ps-scroll-"+xi)),tn&&function V(se,We){xe(se,We),Ee(se,We)}(se,xn)),se.reach[xn]&&(We||on)&&Yi.dispatchEvent(J("ps-"+xn+"-reach-"+se.reach[xn]))}(se,bt,un,tn,on)}function Xe(se){return parseInt(se,10)||0}ne.prototype.eventElement=function(We){var bt=this.eventElements.filter(function(tn){return tn.element===We})[0];return bt||(bt=new ce(We),this.eventElements.push(bt)),bt},ne.prototype.bind=function(We,bt,tn){this.eventElement(We).bind(bt,tn)},ne.prototype.unbind=function(We,bt,tn){var on=this.eventElement(We);on.unbind(bt,tn),on.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(on),1)},ne.prototype.unbindAll=function(){this.eventElements.forEach(function(We){return We.unbindAll()}),this.eventElements=[]},ne.prototype.once=function(We,bt,tn){var on=this.eventElement(We),un=function(Nt){on.unbind(bt,un),tn(Nt)};on.bind(bt,un)};var Dt={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function lt(se){var We=se.element,bt=Math.floor(We.scrollTop),tn=We.getBoundingClientRect();se.containerWidth=Math.round(tn.width),se.containerHeight=Math.round(tn.height),se.contentWidth=We.scrollWidth,se.contentHeight=We.scrollHeight,We.contains(se.scrollbarXRail)||(W(We,G_element_rail("x")).forEach(function(on){return j(on)}),We.appendChild(se.scrollbarXRail)),We.contains(se.scrollbarYRail)||(W(We,G_element_rail("y")).forEach(function(on){return j(on)}),We.appendChild(se.scrollbarYRail)),!se.settings.suppressScrollX&&se.containerWidth+se.settings.scrollXMarginOffset=se.railXWidth-se.scrollbarXWidth&&(se.scrollbarXLeft=se.railXWidth-se.scrollbarXWidth),se.scrollbarYTop>=se.railYHeight-se.scrollbarYHeight&&(se.scrollbarYTop=se.railYHeight-se.scrollbarYHeight),function te(se,We){var bt={width:We.railXWidth},tn=Math.floor(se.scrollTop);bt.left=We.isRtl?We.negativeScrollAdjustment+se.scrollLeft+We.containerWidth-We.contentWidth:se.scrollLeft,We.isScrollbarXUsingBottom?bt.bottom=We.scrollbarXBottom-tn:bt.top=We.scrollbarXTop+tn,Pe(We.scrollbarXRail,bt);var on={top:tn,height:We.railYHeight};We.isScrollbarYUsingRight?on.right=We.isRtl?We.contentWidth-(We.negativeScrollAdjustment+se.scrollLeft)-We.scrollbarYRight-We.scrollbarYOuterWidth-9:We.scrollbarYRight-se.scrollLeft:on.left=We.isRtl?We.negativeScrollAdjustment+se.scrollLeft+2*We.containerWidth-We.contentWidth-We.scrollbarYLeft-We.scrollbarYOuterWidth:We.scrollbarYLeft+se.scrollLeft,Pe(We.scrollbarYRail,on),Pe(We.scrollbarX,{left:We.scrollbarXLeft,width:We.scrollbarXWidth-We.railBorderXWidth}),Pe(We.scrollbarY,{top:We.scrollbarYTop,height:We.scrollbarYHeight-We.railBorderYWidth})}(We,se),se.scrollbarXActive?We.classList.add(G_state_active("x")):(We.classList.remove(G_state_active("x")),se.scrollbarXWidth=0,se.scrollbarXLeft=0,We.scrollLeft=!0===se.isRtl?se.contentWidth:0),se.scrollbarYActive?We.classList.add(G_state_active("y")):(We.classList.remove(G_state_active("y")),se.scrollbarYHeight=0,se.scrollbarYTop=0,We.scrollTop=0)}function Le(se,We){return se.settings.minScrollbarLength&&(We=Math.max(We,se.settings.minScrollbarLength)),se.settings.maxScrollbarLength&&(We=Math.min(We,se.settings.maxScrollbarLength)),We}function F(se,We){var bt=We[0],tn=We[1],on=We[2],un=We[3],Nt=We[4],dn=We[5],xn=We[6],Jn=We[7],xi=We[8],Yi=se.element,Tt=null,At=null,we=null;function ae(_n){_n.touches&&_n.touches[0]&&(_n[on]=_n.touches[0].pageY),Yi[xn]=Tt+we*(_n[on]-At),xe(se,Jn),lt(se),_n.stopPropagation(),_n.type.startsWith("touch")&&_n.changedTouches.length>1&&_n.preventDefault()}function Lt(){Ee(se,Jn),se[xi].classList.remove(G_state_clicking),se.event.unbind(se.ownerDocument,"mousemove",ae)}function Ht(_n,fi){Tt=Yi[xn],fi&&_n.touches&&(_n[on]=_n.touches[0].pageY),At=_n[on],we=(se[tn]-se[bt])/(se[un]-se[dn]),fi?se.event.bind(se.ownerDocument,"touchmove",ae):(se.event.bind(se.ownerDocument,"mousemove",ae),se.event.once(se.ownerDocument,"mouseup",Lt),_n.preventDefault()),se[xi].classList.add(G_state_clicking),_n.stopPropagation()}se.event.bind(se[Nt],"mousedown",function(_n){Ht(_n)}),se.event.bind(se[Nt],"touchstart",function(_n){Ht(_n,!0)})}var Vt={"click-rail":function ie(se){se.event.bind(se.scrollbarY,"mousedown",function(bt){return bt.stopPropagation()}),se.event.bind(se.scrollbarYRail,"mousedown",function(bt){var tn=bt.pageY-window.pageYOffset-se.scrollbarYRail.getBoundingClientRect().top;se.element.scrollTop+=(tn>se.scrollbarYTop?1:-1)*se.containerHeight,lt(se),bt.stopPropagation()}),se.event.bind(se.scrollbarX,"mousedown",function(bt){return bt.stopPropagation()}),se.event.bind(se.scrollbarXRail,"mousedown",function(bt){var tn=bt.pageX-window.pageXOffset-se.scrollbarXRail.getBoundingClientRect().left;se.element.scrollLeft+=(tn>se.scrollbarXLeft?1:-1)*se.containerWidth,lt(se),bt.stopPropagation()})},"drag-thumb":function P(se){F(se,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),F(se,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function ve(se){var We=se.element;se.event.bind(se.ownerDocument,"keydown",function(un){if(!(un.isDefaultPrevented&&un.isDefaultPrevented()||un.defaultPrevented)&&(Ae(We,":hover")||Ae(se.scrollbarX,":focus")||Ae(se.scrollbarY,":focus"))){var Nt=document.activeElement?document.activeElement:se.ownerDocument.activeElement;if(Nt){if("IFRAME"===Nt.tagName)Nt=Nt.contentDocument.activeElement;else for(;Nt.shadowRoot;)Nt=Nt.shadowRoot.activeElement;if(function _e(se){return Ae(se,"input,[contenteditable]")||Ae(se,"select,[contenteditable]")||Ae(se,"textarea,[contenteditable]")||Ae(se,"button,[contenteditable]")}(Nt))return}var dn=0,xn=0;switch(un.which){case 37:dn=un.metaKey?-se.contentWidth:un.altKey?-se.containerWidth:-30;break;case 38:xn=un.metaKey?se.contentHeight:un.altKey?se.containerHeight:30;break;case 39:dn=un.metaKey?se.contentWidth:un.altKey?se.containerWidth:30;break;case 40:xn=un.metaKey?-se.contentHeight:un.altKey?-se.containerHeight:-30;break;case 32:xn=un.shiftKey?se.containerHeight:-se.containerHeight;break;case 33:xn=se.containerHeight;break;case 34:xn=-se.containerHeight;break;case 36:xn=se.contentHeight;break;case 35:xn=-se.contentHeight;break;default:return}se.settings.suppressScrollX&&0!==dn||se.settings.suppressScrollY&&0!==xn||(We.scrollTop-=xn,We.scrollLeft+=dn,lt(se),function on(un,Nt){var dn=Math.floor(We.scrollTop);if(0===un){if(!se.scrollbarYActive)return!1;if(0===dn&&Nt>0||dn>=se.contentHeight-se.containerHeight&&Nt<0)return!se.settings.wheelPropagation}var xn=We.scrollLeft;if(0===Nt){if(!se.scrollbarXActive)return!1;if(0===xn&&un<0||xn>=se.contentWidth-se.containerWidth&&un>0)return!se.settings.wheelPropagation}return!0}(dn,xn)&&un.preventDefault())}})},wheel:function H(se){var We=se.element;function un(Nt){var dn=function tn(Nt){var dn=Nt.deltaX,xn=-1*Nt.deltaY;return(typeof dn>"u"||typeof xn>"u")&&(dn=-1*Nt.wheelDeltaX/6,xn=Nt.wheelDeltaY/6),Nt.deltaMode&&1===Nt.deltaMode&&(dn*=10,xn*=10),dn!=dn&&xn!=xn&&(dn=0,xn=Nt.wheelDelta),Nt.shiftKey?[-xn,-dn]:[dn,xn]}(Nt),xn=dn[0],Jn=dn[1];if(!function on(Nt,dn,xn){if(!Dt.isWebKit&&We.querySelector("select:focus"))return!0;if(!We.contains(Nt))return!1;for(var Jn=Nt;Jn&&Jn!==We;){if(Jn.classList.contains(G_element_consuming))return!0;var xi=A(Jn);if(xn&&xi.overflowY.match(/(scroll|auto)/)){var Yi=Jn.scrollHeight-Jn.clientHeight;if(Yi>0&&(Jn.scrollTop>0&&xn<0||Jn.scrollTop0))return!0}if(dn&&xi.overflowX.match(/(scroll|auto)/)){var Tt=Jn.scrollWidth-Jn.clientWidth;if(Tt>0&&(Jn.scrollLeft>0&&dn<0||Jn.scrollLeft0))return!0}Jn=Jn.parentNode}return!1}(Nt.target,xn,Jn)){var xi=!1;se.settings.useBothWheelAxes?se.scrollbarYActive&&!se.scrollbarXActive?(Jn?We.scrollTop-=Jn*se.settings.wheelSpeed:We.scrollTop+=xn*se.settings.wheelSpeed,xi=!0):se.scrollbarXActive&&!se.scrollbarYActive&&(xn?We.scrollLeft+=xn*se.settings.wheelSpeed:We.scrollLeft-=Jn*se.settings.wheelSpeed,xi=!0):(We.scrollTop-=Jn*se.settings.wheelSpeed,We.scrollLeft+=xn*se.settings.wheelSpeed),lt(se),xi=xi||function bt(Nt,dn){var xn=Math.floor(We.scrollTop),Jn=0===We.scrollTop,xi=xn+We.offsetHeight===We.scrollHeight,Yi=0===We.scrollLeft,Tt=We.scrollLeft+We.offsetWidth===We.scrollWidth;return!(Math.abs(dn)>Math.abs(Nt)?Jn||xi:Yi||Tt)||!se.settings.wheelPropagation}(xn,Jn),xi&&!Nt.ctrlKey&&(Nt.stopPropagation(),Nt.preventDefault())}}typeof window.onwheel<"u"?se.event.bind(We,"wheel",un):typeof window.onmousewheel<"u"&&se.event.bind(We,"mousewheel",un)},touch:function $(se){if(Dt.supportsTouch||Dt.supportsIePointer){var We=se.element,on={},un=0,Nt={},dn=null;Dt.supportsTouch?(se.event.bind(We,"touchstart",xi),se.event.bind(We,"touchmove",Tt),se.event.bind(We,"touchend",At)):Dt.supportsIePointer&&(window.PointerEvent?(se.event.bind(We,"pointerdown",xi),se.event.bind(We,"pointermove",Tt),se.event.bind(We,"pointerup",At)):window.MSPointerEvent&&(se.event.bind(We,"MSPointerDown",xi),se.event.bind(We,"MSPointerMove",Tt),se.event.bind(We,"MSPointerUp",At)))}function tn(we,ae){We.scrollTop-=ae,We.scrollLeft-=we,lt(se)}function xn(we){return we.targetTouches?we.targetTouches[0]:we}function Jn(we){return!(we.pointerType&&"pen"===we.pointerType&&0===we.buttons||!(we.targetTouches&&1===we.targetTouches.length||we.pointerType&&"mouse"!==we.pointerType&&we.pointerType!==we.MSPOINTER_TYPE_MOUSE))}function xi(we){if(Jn(we)){var ae=xn(we);on.pageX=ae.pageX,on.pageY=ae.pageY,un=(new Date).getTime(),null!==dn&&clearInterval(dn)}}function Tt(we){if(Jn(we)){var ae=xn(we),Lt={pageX:ae.pageX,pageY:ae.pageY},Ht=Lt.pageX-on.pageX,_n=Lt.pageY-on.pageY;if(function Yi(we,ae,Lt){if(!We.contains(we))return!1;for(var Ht=we;Ht&&Ht!==We;){if(Ht.classList.contains(G_element_consuming))return!0;var _n=A(Ht);if(Lt&&_n.overflowY.match(/(scroll|auto)/)){var fi=Ht.scrollHeight-Ht.clientHeight;if(fi>0&&(Ht.scrollTop>0&&Lt<0||Ht.scrollTop0))return!0}if(ae&&_n.overflowX.match(/(scroll|auto)/)){var bi=Ht.scrollWidth-Ht.clientWidth;if(bi>0&&(Ht.scrollLeft>0&&ae<0||Ht.scrollLeft0))return!0}Ht=Ht.parentNode}return!1}(we.target,Ht,_n))return;tn(Ht,_n),on=Lt;var fi=(new Date).getTime(),bi=fi-un;bi>0&&(Nt.x=Ht/bi,Nt.y=_n/bi,un=fi),function bt(we,ae){var Lt=Math.floor(We.scrollTop),Ht=We.scrollLeft,_n=Math.abs(we),fi=Math.abs(ae);if(fi>_n){if(ae<0&&Lt===se.contentHeight-se.containerHeight||ae>0&&0===Lt)return 0===window.scrollY&&ae>0&&Dt.isChrome}else if(_n>fi&&(we<0&&Ht===se.contentWidth-se.containerWidth||we>0&&0===Ht))return!0;return!0}(Ht,_n)&&we.preventDefault()}}function At(){se.settings.swipeEasing&&(clearInterval(dn),dn=setInterval(function(){se.isInitialized?clearInterval(dn):Nt.x||Nt.y?Math.abs(Nt.x)<.01&&Math.abs(Nt.y)<.01?clearInterval(dn):se.element?(tn(30*Nt.x,30*Nt.y),Nt.x*=.8,Nt.y*=.8):clearInterval(dn):clearInterval(dn)},10))}}},St=function(We,bt){var tn=this;if(void 0===bt&&(bt={}),"string"==typeof We&&(We=document.querySelector(We)),!We||!We.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var on in this.element=We,We.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},bt)this.settings[on]=bt[on];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var xi,Jn,un=function(){return We.classList.add(G_state_focus)},Nt=function(){return We.classList.remove(G_state_focus)};this.isRtl="rtl"===A(We).direction,!0===this.isRtl&&We.classList.add("ps__rtl"),this.isNegativeScroll=(Jn=We.scrollLeft,We.scrollLeft=-1,xi=We.scrollLeft<0,We.scrollLeft=Jn,xi),this.negativeScrollAdjustment=this.isNegativeScroll?We.scrollWidth-We.clientWidth:0,this.event=new ne,this.ownerDocument=We.ownerDocument||document,this.scrollbarXRail=le(G_element_rail("x")),We.appendChild(this.scrollbarXRail),this.scrollbarX=le(G_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",un),this.event.bind(this.scrollbarX,"blur",Nt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var dn=A(this.scrollbarXRail);this.scrollbarXBottom=parseInt(dn.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Xe(dn.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Xe(dn.borderLeftWidth)+Xe(dn.borderRightWidth),Pe(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Xe(dn.marginLeft)+Xe(dn.marginRight),Pe(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=le(G_element_rail("y")),We.appendChild(this.scrollbarYRail),this.scrollbarY=le(G_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",un),this.event.bind(this.scrollbarY,"blur",Nt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var xn=A(this.scrollbarYRail);this.scrollbarYRight=parseInt(xn.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Xe(xn.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function he(se){var We=A(se);return Xe(We.width)+Xe(We.paddingLeft)+Xe(We.paddingRight)+Xe(We.borderLeftWidth)+Xe(We.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Xe(xn.borderTopWidth)+Xe(xn.borderBottomWidth),Pe(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Xe(xn.marginTop)+Xe(xn.marginBottom),Pe(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:We.scrollLeft<=0?"start":We.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:We.scrollTop<=0?"start":We.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Jn){return Vt[Jn](tn)}),this.lastScrollTop=Math.floor(We.scrollTop),this.lastScrollLeft=We.scrollLeft,this.event.bind(this.element,"scroll",function(Jn){return tn.onScroll(Jn)}),lt(this)};St.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Pe(this.scrollbarXRail,{display:"block"}),Pe(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Xe(A(this.scrollbarXRail).marginLeft)+Xe(A(this.scrollbarXRail).marginRight),this.railYMarginHeight=Xe(A(this.scrollbarYRail).marginTop)+Xe(A(this.scrollbarYRail).marginBottom),Pe(this.scrollbarXRail,{display:"none"}),Pe(this.scrollbarYRail,{display:"none"}),lt(this),De(this,"top",0,!1,!0),De(this,"left",0,!1,!0),Pe(this.scrollbarXRail,{display:""}),Pe(this.scrollbarYRail,{display:""}))},St.prototype.onScroll=function(We){this.isAlive&&(lt(this),De(this,"top",this.element.scrollTop-this.lastScrollTop),De(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},St.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),j(this.scrollbarX),j(this.scrollbarY),j(this.scrollbarXRail),j(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},St.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(We){return!We.match(/^ps([-_].+|)$/)}).join(" ")};const ot=St;var nt=function(){if(typeof Map<"u")return Map;function se(We,bt){var tn=-1;return We.some(function(on,un){return on[0]===bt&&(tn=un,!0)}),tn}return function(){function We(){this.__entries__=[]}return Object.defineProperty(We.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),We.prototype.get=function(bt){var tn=se(this.__entries__,bt),on=this.__entries__[tn];return on&&on[1]},We.prototype.set=function(bt,tn){var on=se(this.__entries__,bt);~on?this.__entries__[on][1]=tn:this.__entries__.push([bt,tn])},We.prototype.delete=function(bt){var tn=this.__entries__,on=se(tn,bt);~on&&tn.splice(on,1)},We.prototype.has=function(bt){return!!~se(this.__entries__,bt)},We.prototype.clear=function(){this.__entries__.splice(0)},We.prototype.forEach=function(bt,tn){void 0===tn&&(tn=null);for(var on=0,un=this.__entries__;on0},se.prototype.connect_=function(){!ht||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},se.prototype.disconnect_=function(){!ht||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},se.prototype.onTransitionEnd_=function(We){var bt=We.propertyName,tn=void 0===bt?"":bt;Gt.some(function(un){return!!~tn.indexOf(un)})&&this.refresh()},se.getInstance=function(){return this.instance_||(this.instance_=new se),this.instance_},se.instance_=null,se}(),Ft=function(se,We){for(var bt=0,tn=Object.keys(We);bt"u")&&Element instanceof Object){if(!(We instanceof Sn(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var bt=this.observations_;bt.has(We)||(bt.set(We,new kn(We)),this.controller_.addObserver(this),this.controller_.refresh())}},se.prototype.unobserve=function(We){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(We instanceof Sn(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var bt=this.observations_;bt.has(We)&&(bt.delete(We),bt.size||this.controller_.removeObserver(this))}},se.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},se.prototype.gatherActive=function(){var We=this;this.clearActive(),this.observations_.forEach(function(bt){bt.isActive()&&We.activeObservations_.push(bt)})},se.prototype.broadcastActive=function(){if(this.hasActive()){var We=this.callbackCtx_,bt=this.activeObservations_.map(function(tn){return new Ri(tn.target,tn.broadcastRect())});this.callback_.call(We,bt,We),this.clearActive()}},se.prototype.clearActive=function(){this.activeObservations_.splice(0)},se.prototype.hasActive=function(){return this.activeObservations_.length>0},se}(),ee=typeof WeakMap<"u"?new WeakMap:new nt,ye=function(){return function se(We){if(!(this instanceof se))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var bt=cn.getInstance(),tn=new vt(We,bt,this);ee.set(this,tn)}}();["observe","unobserve","disconnect"].forEach(function(se){ye.prototype[se]=function(){var We;return(We=ee.get(this))[se].apply(We,arguments)}});const Se=typeof oe.ResizeObserver<"u"?oe.ResizeObserver:ye,N=["*"];function Z(se,We){if(1&se&&(f.j41(0,"div",3),f.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),f.k0s()),2&se){const bt=f.XpG();f.AVh("ps-at-top",bt.states.top)("ps-at-left",bt.states.left)("ps-at-right",bt.states.right)("ps-at-bottom",bt.states.bottom),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorY&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorX&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorX&&bt.interaction),f.R7$(),f.AVh("ps-indicator-show",bt.indicatorY&&bt.interaction)}}const Me=new L.nKC("PERFECT_SCROLLBAR_CONFIG");class at{constructor(We,bt,tn,on){this.x=We,this.y=bt,this.w=tn,this.h=on}}class qe{constructor(We,bt){this.x=We,this.y=bt}}const pn=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Je{constructor(We={}){this.assign(We)}assign(We={}){for(const bt in We)this[bt]=We[bt]}}let Be=(()=>{class se{constructor(bt,tn,on,un,Nt){this.zone=bt,this.differs=tn,this.elementRef=on,this.platformId=un,this.defaults=Nt,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new i.B,this.disabled=!1,this.psScrollY=new f.bkB,this.psScrollX=new f.bkB,this.psScrollUp=new f.bkB,this.psScrollDown=new f.bkB,this.psScrollLeft=new f.bkB,this.psScrollRight=new f.bkB,this.psYReachEnd=new f.bkB,this.psYReachStart=new f.bkB,this.psXReachEnd=new f.bkB,this.psXReachStart=new f.bkB}ngOnInit(){if(!this.disabled&&(0,B.UE)(this.platformId)){const bt=new Je(this.defaults);bt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new ot(this.elementRef.nativeElement,bt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Se(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{pn.forEach(tn=>{const on=tn.replace(/([A-Z])/g,un=>`-${un.toLowerCase()}`);(0,d.R)(this.elementRef.nativeElement,on).pipe((0,T.Z)(20),(0,w.Q)(this.ngDestroy)).subscribe(un=>{this[tn].emit(un)})})})}}ngOnDestroy(){(0,B.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,B.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(bt){bt.disabled&&!bt.disabled.isFirstChange()&&(0,B.UE)(this.platformId)&&bt.disabled.currentValue!==bt.disabled.previousValue&&(!0===bt.disabled.currentValue?this.ngOnDestroy():!1===bt.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(bt="scroll"){return new at(this.elementRef.nativeElement[bt+"Left"],this.elementRef.nativeElement[bt+"Top"],this.elementRef.nativeElement[bt+"Width"],this.elementRef.nativeElement[bt+"Height"])}position(bt=!1){return!bt&&this.instance?new qe(this.instance.reach.x||0,this.instance.reach.y||0):new qe(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(bt="any"){const tn=this.elementRef.nativeElement;return"any"===bt?tn.classList.contains("ps--active-x")||tn.classList.contains("ps--active-y"):"both"===bt?tn.classList.contains("ps--active-x")&&tn.classList.contains("ps--active-y"):tn.classList.contains("ps--active-"+bt)}scrollTo(bt,tn,on){this.disabled||(null==tn&&null==on?this.animateScrolling("scrollTop",bt,on):(null!=bt&&this.animateScrolling("scrollLeft",bt,on),null!=tn&&this.animateScrolling("scrollTop",tn,on)))}scrollToX(bt,tn){this.animateScrolling("scrollLeft",bt,tn)}scrollToY(bt,tn){this.animateScrolling("scrollTop",bt,tn)}scrollToTop(bt,tn){this.animateScrolling("scrollTop",bt||0,tn)}scrollToLeft(bt,tn){this.animateScrolling("scrollLeft",bt||0,tn)}scrollToRight(bt,tn){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(bt||0),tn)}scrollToBottom(bt,tn){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(bt||0),tn)}scrollToElement(bt,tn,on){if("string"==typeof bt&&(bt=this.elementRef.nativeElement.querySelector(bt)),bt){const un=bt.getBoundingClientRect(),Nt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",un.left-Nt.left+this.elementRef.nativeElement.scrollLeft+(tn||0),on),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",un.top-Nt.top+this.elementRef.nativeElement.scrollTop+(tn||0),on)}}animateScrolling(bt,tn,on){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!on||typeof window>"u")this.elementRef.nativeElement[bt]=tn;else if(tn!==this.elementRef.nativeElement[bt]){let un=0,Nt=0,dn=performance.now(),xn=this.elementRef.nativeElement[bt];const Jn=(xn-tn)/2,xi=Yi=>{Nt+=Math.PI/(on/(Yi-dn)),un=Math.round(tn+Jn+Jn*Math.cos(Nt)),this.elementRef.nativeElement[bt]===xn&&(Nt>=Math.PI?this.animateScrolling(bt,tn,0):(this.elementRef.nativeElement[bt]=un,xn=this.elementRef.nativeElement[bt],dn=Yi,this.animation=window.requestAnimationFrame(xi)))};window.requestAnimationFrame(xi)}}}return se.\u0275fac=function(bt){return new(bt||se)(f.rXU(f.SKi),f.rXU(u.MKu),f.rXU(f.aKT),f.rXU(f.Agw),f.rXU(Me,8))},se.\u0275dir=f.FsC({type:se,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:[0,"perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],standalone:!1,features:[f.OA$]}),se})(),ut=(()=>{class se{constructor(bt,tn,on){this.zone=bt,this.cdRef=tn,this.platformId=on,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new i.B,this.stateUpdate=new i.B,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.bkB,this.psScrollX=new f.bkB,this.psScrollUp=new f.bkB,this.psScrollDown=new f.bkB,this.psScrollLeft=new f.bkB,this.psScrollRight=new f.bkB,this.psYReachEnd=new f.bkB,this.psYReachStart=new f.bkB,this.psXReachEnd=new f.bkB,this.psXReachStart=new f.bkB}ngOnInit(){(0,B.UE)(this.platformId)&&(this.stateUpdate.pipe((0,w.Q)(this.ngDestroy),(0,e.F)((bt,tn)=>bt===tn&&!this.stateTimeout)).subscribe(bt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===bt||"y"===bt?(this.interaction=!1,"x"===bt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===bt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===bt||"right"===bt?(this.states.left=!1,this.states.right=!1,this.states[bt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===bt||"bottom"===bt)&&(this.states.top=!1,this.states.bottom=!1,this.states[bt]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const bt=this.directiveRef.elementRef.nativeElement;(0,d.R)(bt,"wheel").pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(tn,tn.deltaX,tn.deltaY)}),(0,d.R)(bt,"touchmove").pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{if(!this.disabled&&this.autoPropagation){const on=tn.touches[0].clientX,un=tn.touches[0].clientY;this.checkPropagation(tn,on-this.scrollPositionX,un-this.scrollPositionY),this.scrollPositionX=on,this.scrollPositionY=un}}),(0,v.h)((0,d.R)(bt,"ps-scroll-x").pipe((0,O.u)("x")),(0,d.R)(bt,"ps-scroll-y").pipe((0,O.u)("y")),(0,d.R)(bt,"ps-x-reach-end").pipe((0,O.u)("right")),(0,d.R)(bt,"ps-y-reach-end").pipe((0,O.u)("bottom")),(0,d.R)(bt,"ps-x-reach-start").pipe((0,O.u)("left")),(0,d.R)(bt,"ps-y-reach-start").pipe((0,O.u)("top"))).pipe((0,w.Q)(this.ngDestroy)).subscribe(tn=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(tn)})}}),window.setTimeout(()=>{pn.forEach(bt=>{this.directiveRef&&(this.directiveRef[bt]=this[bt])})},0))}ngOnDestroy(){(0,B.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,B.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const bt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=bt.classList.contains("ps--active-x"),this.usePropagationY=bt.classList.contains("ps--active-y")}}checkPropagation(bt,tn,on){this.interaction=!0;const un=tn<0?-1:1,Nt=on<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==un)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Nt))&&(bt.preventDefault(),bt.stopPropagation()),tn&&(this.scrollDirectionX=un),on&&(this.scrollDirectionY=Nt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return se.\u0275fac=function(bt){return new(bt||se)(f.rXU(f.SKi),f.rXU(u.gRc),f.rXU(f.Agw))},se.\u0275cmp=f.VBU({type:se,selectors:[["perfect-scrollbar"]],viewQuery:function(bt,tn){if(1&bt&&f.GBs(Be,7),2&bt){let on;f.mGM(on=f.lsd())&&(tn.directiveRef=on.first)}},hostVars:4,hostBindings:function(bt,tn){2&bt&&f.AVh("ps-show-limits",tn.autoPropagation)("ps-show-active",tn.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],standalone:!1,ngContentSelectors:N,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(bt,tn){1&bt&&(f.NAR(),f.j41(0,"div",0)(1,"div",1),f.SdG(2),f.k0s(),f.DNE(3,Z,5,16,"div",2),f.k0s()),2&bt&&(f.AVh("ps",tn.usePSClass),f.Y8G("perfectScrollbar",tn.config)("disabled",tn.disabled),f.R7$(3),f.Y8G("ngIf",tn.scrollIndicators))},dependencies:[Be,C.bT],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),se})(),Ot=(()=>{class se{}return se.\u0275fac=function(bt){return new(bt||se)},se.\u0275mod=f.$C({type:se}),se.\u0275inj=L.G2t({imports:[[C.MD],C.MD]}),se})()},467(Zt,pe,l){"use strict";function i(v,T,w,e,O,f,u){try{var L=v[f](u),C=L.value}catch(B){return void w(B)}L.done?T(C):Promise.resolve(C).then(e,O)}function d(v){return function(){var T=this,w=arguments;return new Promise(function(e,O){var f=v.apply(T,w);function u(C){i(f,e,O,u,L,"next",C)}function L(C){i(f,e,O,u,L,"throw",C)}u(void 0)})}}l.d(pe,{A:()=>d})},1635(Zt,pe,l){"use strict";function w(ie,P,F,ve){var Ke,H=arguments.length,$=H<3?P:null===ve?ve=Object.getOwnPropertyDescriptor(P,F):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)$=Reflect.decorate(ie,P,F,ve);else for(var Vt=ie.length-1;Vt>=0;Vt--)(Ke=ie[Vt])&&($=(H<3?Ke($):H>3?Ke(P,F,$):Ke(P,F))||$);return H>3&&$&&Object.defineProperty(P,F,$),$}function B(ie,P,F,ve){return new(F||(F=Promise))(function($,Ke){function Vt(nt){try{ot(ve.next(nt))}catch(ht){Ke(ht)}}function St(nt){try{ot(ve.throw(nt))}catch(ht){Ke(ht)}}function ot(nt){nt.done?$(nt.value):function H($){return $ instanceof F?$:new F(function(Ke){Ke($)})}(nt.value).then(Vt,St)}ot((ve=ve.apply(ie,P||[])).next())})}function re(ie){return this instanceof re?(this.v=ie,this):new re(ie)}function xe(ie,P,F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,ve=F.apply(ie,P||[]),$=[];return H=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Vt("next"),Vt("throw"),Vt("return",function Ke(Ye){return function(fe){return Promise.resolve(fe).then(Ye,ht)}}),H[Symbol.asyncIterator]=function(){return this},H;function Vt(Ye,fe){ve[Ye]&&(H[Ye]=function(Qe){return new Promise(function(gt,Gt){$.push([Ye,Qe,gt,Gt])>1||St(Ye,Qe)})},fe&&(H[Ye]=fe(H[Ye])))}function St(Ye,fe){try{!function ot(Ye){Ye.value instanceof re?Promise.resolve(Ye.value.v).then(nt,ht):oe($[0][2],Ye)}(ve[Ye](fe))}catch(Qe){oe($[0][3],Qe)}}function nt(Ye){St("next",Ye)}function ht(Ye){St("throw",Ye)}function oe(Ye,fe){Ye(fe),$.shift(),$.length&&St($[0][0],$[0][1])}}function V(ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F,P=ie[Symbol.asyncIterator];return P?P.call(ie):(ie=function Ce(ie){var P="function"==typeof Symbol&&Symbol.iterator,F=P&&ie[P],ve=0;if(F)return F.call(ie);if(ie&&"number"==typeof ie.length)return{next:function(){return ie&&ve>=ie.length&&(ie=void 0),{value:ie&&ie[ve++],done:!ie}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(ie),F={},ve("next"),ve("throw"),ve("return"),F[Symbol.asyncIterator]=function(){return this},F);function ve($){F[$]=ie[$]&&function(Ke){return new Promise(function(Vt,St){!function H($,Ke,Vt,St){Promise.resolve(St).then(function(ot){$({value:ot,done:Vt})},Ke)}(Vt,St,(Ke=ie[$](Ke)).done,Ke.value)})}}}l.d(pe,{AQ:()=>xe,Cg:()=>w,N3:()=>re,sH:()=>B,xN:()=>V}),"function"==typeof SuppressedError&&SuppressedError}},Zt=>{Zt(Zt.s=599)}]); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 33be2264..028a8f84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rtl", - "version": "0.15.9-beta", + "version": "0.15.10-beta", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rtl", - "version": "0.15.9-beta", + "version": "0.15.10-beta", "license": "MIT", "dependencies": { "@ngrx/effects": "21.0.1", @@ -14,7 +14,7 @@ "@swimlane/ngx-charts": "23.1.0", "angular-user-idle": "4.0.0", "atob": "2.1.2", - "axios": "1.16.0", + "axios": "1.18.1", "buffer": "6.0.3", "cookie-parser": "1.4.7", "csrf-csrf": "4.0.3", @@ -42,20 +42,20 @@ "@angular-eslint/eslint-plugin-template": "20.7.0", "@angular-eslint/schematics": "20.7.0", "@angular-eslint/template-parser": "20.7.0", - "@angular/animations": "20.3.26", + "@angular/animations": "20.3.27", "@angular/build": "20.3.32", "@angular/cdk": "20.2.14", "@angular/cli": "20.3.32", - "@angular/common": "20.3.26", - "@angular/compiler": "20.3.26", - "@angular/compiler-cli": "20.3.26", - "@angular/core": "20.3.26", + "@angular/common": "20.3.27", + "@angular/compiler": "20.3.27", + "@angular/compiler-cli": "20.3.27", + "@angular/core": "20.3.27", "@angular/flex-layout": "15.0.0-beta.42", - "@angular/forms": "20.3.26", + "@angular/forms": "20.3.27", "@angular/material": "20.2.14", - "@angular/platform-browser": "20.3.26", - "@angular/platform-browser-dynamic": "20.3.26", - "@angular/router": "20.3.26", + "@angular/platform-browser": "20.3.27", + "@angular/platform-browser-dynamic": "20.3.27", + "@angular/router": "20.3.27", "@eslint/eslintrc": "3.3.3", "@fortawesome/angular-fontawesome": "4.0.0", "@fortawesome/fontawesome-svg-core": "7.1.0", @@ -64,10 +64,10 @@ "@ngrx/store-devtools": "21.0.1", "@types/jasmine": "5.1.15", "@types/node": "20.19.30", - "@typescript-eslint/eslint-plugin": "8.53.0", - "@typescript-eslint/parser": "8.53.0", + "@typescript-eslint/eslint-plugin": "8.65.0", + "@typescript-eslint/parser": "8.65.0", "dotenv": "17.2.3", - "eslint": "9.39.2", + "eslint": "9.39.5", "eslint-plugin-deprecation": "3.0.0", "jasmine-core": "5.13.0", "jasmine-spec-reporter": "7.0.0", @@ -77,8 +77,7 @@ "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.1.0", "material-icons": "1.13.14", - "nodemon": "3.1.11", - "protractor": "7.0.0", + "nodemon": "3.1.14", "roboto-fontface": "0.10.0", "ts-node": "10.9.2", "typescript": "5.8.3" @@ -642,9 +641,9 @@ } }, "node_modules/@angular/animations": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.3.26.tgz", - "integrity": "sha512-hfNrX19v8xs/usNkELSqc6q5IwBfS2GGW8sQ4OMpxAmLZDJwaLUxkj48t8VYhUFezsIfzR+sDEi6ZQBOaMIYug==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.3.27.tgz", + "integrity": "sha512-BgGTloDiD3qIFVSxZq8xO6CiyhKn00WbhQQiklZF8WI2hXd3Hmc1OUAAHqSMh2c9uL7X1ZYkg9lSzjiasK2vKg==", "deprecated": "@angular/animations is deprecated. Use `animate.enter` and `animate.leave` instead. For more information see: https://v22.angular.dev/guide/animations.", "dev": true, "license": "MIT", @@ -655,7 +654,7 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/core": "20.3.26" + "@angular/core": "20.3.27" } }, "node_modules/@angular/build": { @@ -819,9 +818,9 @@ } }, "node_modules/@angular/common": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.26.tgz", - "integrity": "sha512-35+aHaCmldFZ2qFiH83+cHcDXwUqSEuUR5DVApcd+Ku8PfIIGo8uMiD5++Qq7QIUTbZCD2glAiE9jLroGrf1Cw==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.27.tgz", + "integrity": "sha512-4ectYP60XatB9zZ40WlfmaTzjmEhaz8SSqLsbZI4VZ8gDb5qNmxWtwwt8UxS3NmDHEgqdNL8UPO4E94+yKCICg==", "dev": true, "license": "MIT", "dependencies": { @@ -831,14 +830,14 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/core": "20.3.26", + "@angular/core": "20.3.27", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.26.tgz", - "integrity": "sha512-H4DVTBCiyM4dGytFi2C8sMGflxXzPnoQ6Ajfs4hJ/Dekg6ypfvW5Ze7BDh4TaMQvaX2joM5LhBYW5jTxBx66hA==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.27.tgz", + "integrity": "sha512-in3THZ678GAYuOR9RZV18+zZz0KGhlGikyUEfLeALLjGf9ZaR3n+t19BmYx6G2VkF/Xqadne1omQ2vbl6PRASA==", "dev": true, "license": "MIT", "dependencies": { @@ -849,9 +848,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.3.26.tgz", - "integrity": "sha512-3rHtC87ecldvaiFHwQEZ6Wx3QaZ/Q7b0Gb7XORDOjn/M+5CYZ4rQsvbxE5TUjwreg07oQ4Y2h8ADESXTJEUYOQ==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.3.27.tgz", + "integrity": "sha512-R0j9mFfUdGmmw867V/TfMSOBkLZT6ASxyY5tc1NDNmxQioZDVIDP9pqBOayzhJ0xiuDc9JellQXUTZ+vm+b/Zg==", "dev": true, "license": "MIT", "dependencies": { @@ -872,7 +871,7 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/compiler": "20.3.26", + "@angular/compiler": "20.3.27", "typescript": ">=5.8 <6.0" }, "peerDependenciesMeta": { @@ -882,9 +881,9 @@ } }, "node_modules/@angular/core": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.26.tgz", - "integrity": "sha512-v+YtZ9eQVDb6v3V1TbUUBHU63FEp8Hqqqb3UhM4MLAOm0chyyh9jah7FiHr3HbCKrV1f4long1coftFK/KThog==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.27.tgz", + "integrity": "sha512-8EfYIUST5CKldOF4MAYWTFFRB7EtwqUoQBZdar6US39/EEzWm/wm/iRNkH2jmKe4YuPa2GoeHS1WQ8VRuOk7Dg==", "dev": true, "license": "MIT", "dependencies": { @@ -894,7 +893,7 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/compiler": "20.3.26", + "@angular/compiler": "20.3.27", "rxjs": "^6.5.3 || ^7.4.0", "zone.js": "~0.15.0" }, @@ -926,9 +925,9 @@ } }, "node_modules/@angular/forms": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.3.26.tgz", - "integrity": "sha512-ia0YaPVjlG2oBFKCfaAgqQ0jGRrhGTAcrbZG3tVeFDpi7LQ6WdP3Syw2H+0D3GPyzpl/5UqU10Fum5Wr1br4QQ==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.3.27.tgz", + "integrity": "sha512-cNG26wi3tr3m8At6puxJpAMVk9mBhEqREA4Jk/klalMwWuYEf8ApTEAw0a5NUfMxDkL3dcJJwDRf8rK6ma6TYQ==", "dev": true, "license": "MIT", "dependencies": { @@ -938,9 +937,9 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.3.26", - "@angular/core": "20.3.26", - "@angular/platform-browser": "20.3.26", + "@angular/common": "20.3.27", + "@angular/core": "20.3.27", + "@angular/platform-browser": "20.3.27", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -963,9 +962,9 @@ } }, "node_modules/@angular/platform-browser": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.26.tgz", - "integrity": "sha512-In4wUiLUUT9LqyV9Rjz78k/dsnKAwec4AtDmwZoX8/ZmeJOSH7g5X1gTM+hxTxmifmZkrapQjXR299IcfIkzrw==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.27.tgz", + "integrity": "sha512-IV2zQ4zk6liyw5NE48bQqSk3nOAZ1rmDAQi7W4Kw0N8cs9MYVgK3zulo0zx5UqSv1kuNDAGb0HPR5tUGVOf9kw==", "dev": true, "license": "MIT", "dependencies": { @@ -975,9 +974,9 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/animations": "20.3.26", - "@angular/common": "20.3.26", - "@angular/core": "20.3.26" + "@angular/animations": "20.3.27", + "@angular/common": "20.3.27", + "@angular/core": "20.3.27" }, "peerDependenciesMeta": { "@angular/animations": { @@ -986,9 +985,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.3.26.tgz", - "integrity": "sha512-/9eq0GGmtMoBV5UvcjvhnV4ZDcgZr15h+dzoxkZodUncb2z7fxybSyha7wWD9aTeabZ/q/KYVUSnoYqVyBhbVQ==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.3.27.tgz", + "integrity": "sha512-4UUs8vOswgBOWCRoeZrswguarBLrM3j6WGb927Y3GXdN37fVJQYjyKHivNeQwZvwsGgl5Nl6mvpBpZv47n/OrQ==", "deprecated": "@angular/platform-browser-dynamic is deprecated. Use `@angular/platform-browser` instead.", "dev": true, "license": "MIT", @@ -999,16 +998,16 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.3.26", - "@angular/compiler": "20.3.26", - "@angular/core": "20.3.26", - "@angular/platform-browser": "20.3.26" + "@angular/common": "20.3.27", + "@angular/compiler": "20.3.27", + "@angular/core": "20.3.27", + "@angular/platform-browser": "20.3.27" } }, "node_modules/@angular/router": { - "version": "20.3.26", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.3.26.tgz", - "integrity": "sha512-q0k0b5uuQx93Trk4qEMYe8LoPOozheRBIjze51q+LUTlLXWik4W0ughXLiTJL346KRudR/vB5ksfZP8b6WlQyA==", + "version": "20.3.27", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.3.27.tgz", + "integrity": "sha512-F3hfJQ0GAuD6LdeB7A6fMfaErc4HXCtCQGh3C/8VrbVEbGfIgSveNjQXzGYPNklnOLhj1BmWf5w0WniUAEjLBA==", "dev": true, "license": "MIT", "dependencies": { @@ -1018,9 +1017,9 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.3.26", - "@angular/core": "20.3.26", - "@angular/platform-browser": "20.3.26", + "@angular/common": "20.3.27", + "@angular/core": "20.3.27", + "@angular/platform-browser": "20.3.27", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -3385,9 +3384,9 @@ "license": "MIT" }, "node_modules/@eslint/js": { - "version": "9.39.2", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz", - "integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==", + "version": "9.39.5", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz", + "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==", "dev": true, "license": "MIT", "engines": { @@ -4829,6 +4828,9 @@ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -4846,6 +4848,9 @@ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -4863,6 +4868,9 @@ "ppc64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -4880,6 +4888,9 @@ "riscv64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -4897,6 +4908,9 @@ "s390x" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -4914,6 +4928,9 @@ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -4931,6 +4948,9 @@ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -5603,6 +5623,9 @@ "arm" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -5624,6 +5647,9 @@ "arm" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -5645,6 +5671,9 @@ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -5666,6 +5695,9 @@ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -5687,6 +5719,9 @@ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -5708,6 +5743,9 @@ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6053,6 +6091,9 @@ "arm" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6067,6 +6108,9 @@ "arm" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6081,6 +6125,9 @@ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6095,6 +6142,9 @@ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6109,6 +6159,9 @@ "loong64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6123,6 +6176,9 @@ "loong64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6137,6 +6193,9 @@ "ppc64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6151,6 +6210,9 @@ "ppc64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6165,6 +6227,9 @@ "riscv64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6179,6 +6244,9 @@ "riscv64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6193,6 +6261,9 @@ "s390x" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6207,6 +6278,9 @@ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -6221,6 +6295,9 @@ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -6719,13 +6796,6 @@ "undici-types": "~6.21.0" } }, - "node_modules/@types/q": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz", - "integrity": "sha512-qYi3YV9inU/REEfxwVcGZzbS3KG/Xs90lv0Pr+lDtuVjBPGd1A+eciXzVSaRvLify132BfcvhvEjeVahrUl0Ug==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/qs": { "version": "6.15.1", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz", @@ -6747,13 +6817,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/selenium-webdriver": { - "version": "3.0.26", - "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-3.0.26.tgz", - "integrity": "sha512-dyIGFKXfUFiwkMfNGn1+F6b80ZjR3uSYv1j6xVJSDlft5waZ2cwkHW4e7zNzvq7hiEackcgvBpmnXZrI1GltPg==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/send": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", @@ -6824,20 +6887,20 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.53.0.tgz", - "integrity": "sha512-eEXsVvLPu8Z4PkFibtuFJLJOTAV/nPdgtSjkGoPpddpFk3/ym2oy97jynY6ic2m6+nc5M8SE1e9v/mHKsulcJg==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.65.0.tgz", + "integrity": "sha512-IEgob78X12rHpUmtcwFsXhZdVGJtwTVP8FiCLZkR6GlYVrl2PcuB+KhCE5BlVC/eQpQnu8WXRtkHZuPar+gCRA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.53.0", - "@typescript-eslint/type-utils": "8.53.0", - "@typescript-eslint/utils": "8.53.0", - "@typescript-eslint/visitor-keys": "8.53.0", + "@typescript-eslint/scope-manager": "8.65.0", + "@typescript-eslint/type-utils": "8.65.0", + "@typescript-eslint/utils": "8.65.0", + "@typescript-eslint/visitor-keys": "8.65.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.4.0" + "ts-api-utils": "^2.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6847,22 +6910,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.53.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <6.0.0" + "@typescript-eslint/parser": "^8.65.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.53.0.tgz", - "integrity": "sha512-npiaib8XzbjtzS2N4HlqPvlpxpmZ14FjSJrteZpPxGUaYPlvhzlzUZ4mZyABo0EFrOWnvyd0Xxroq//hKhtAWg==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.65.0.tgz", + "integrity": "sha512-CZ4nMxWwgu1HEEFNkeaCptra9QCtkmKdgf3sWh1rl1trIhmxLilgTV4cwcbQ4wemnT4sWQN8CaKOmdYx+g2gMA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.53.0", - "@typescript-eslint/types": "8.53.0", - "@typescript-eslint/typescript-estree": "8.53.0", - "@typescript-eslint/visitor-keys": "8.53.0", + "@typescript-eslint/scope-manager": "8.65.0", + "@typescript-eslint/types": "8.65.0", + "@typescript-eslint/typescript-estree": "8.65.0", + "@typescript-eslint/visitor-keys": "8.65.0", "debug": "^4.4.3" }, "engines": { @@ -6873,19 +6936,19 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <6.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.53.0.tgz", - "integrity": "sha512-Bl6Gdr7NqkqIP5yP9z1JU///Nmes4Eose6L1HwpuVHwScgDPPuEWbUVhvlZmb8hy0vX9syLk5EGNL700WcBlbg==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.65.0.tgz", + "integrity": "sha512-SxnPhbTsGahizDgbu7oqFH/xVtzIqMd/s+WtnSxNxJZJpLbdT5IPdzg8EZxO3+PoKahXmwJLeNQOpKJb3/bi7Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.53.0", - "@typescript-eslint/types": "^8.53.0", + "@typescript-eslint/tsconfig-utils": "^8.65.0", + "@typescript-eslint/types": "^8.65.0", "debug": "^4.4.3" }, "engines": { @@ -6896,18 +6959,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.0.0" + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.53.0.tgz", - "integrity": "sha512-kWNj3l01eOGSdVBnfAF2K1BTh06WS0Yet6JUgb9Cmkqaz3Jlu0fdVUjj9UI8gPidBWSMqDIglmEXifSgDT/D0g==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.65.0.tgz", + "integrity": "sha512-Esbl8OSYiVxBokYgWPf7VVWg/BE798wXhimnn9ML9Pt5qoDf8bfQlgjlKXR/k98+AcNzlLKYrpCcrcuZ9DZLgg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.53.0", - "@typescript-eslint/visitor-keys": "8.53.0" + "@typescript-eslint/types": "8.65.0", + "@typescript-eslint/visitor-keys": "8.65.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6918,9 +6981,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.53.0.tgz", - "integrity": "sha512-K6Sc0R5GIG6dNoPdOooQ+KtvT5KCKAvTcY8h2rIuul19vxH5OTQk7ArKkd4yTzkw66WnNY0kPPzzcmWA+XRmiA==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.65.0.tgz", + "integrity": "sha512-j6GzGqCiRdA7Qhur2VVmKZAkBLfnHFQfx4TaJGL9RMveZqCo48jSHHO0DTgizEnGhtWnqmbtCUSrqSkdiY/0Hg==", "dev": true, "license": "MIT", "engines": { @@ -6931,21 +6994,21 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.0.0" + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.53.0.tgz", - "integrity": "sha512-BBAUhlx7g4SmcLhn8cnbxoxtmS7hcq39xKCgiutL3oNx1TaIp+cny51s8ewnKMpVUKQUGb41RAUWZ9kxYdovuw==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.65.0.tgz", + "integrity": "sha512-YjaZ7PRI5qY7ax2L3PbvX0rRyGtipAReCWs0mhhDBHjH/vl0g0BonaGXrKdKpMbIIsMIwDgbk/xzkBTyAltS5g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.53.0", - "@typescript-eslint/typescript-estree": "8.53.0", - "@typescript-eslint/utils": "8.53.0", + "@typescript-eslint/types": "8.65.0", + "@typescript-eslint/typescript-estree": "8.65.0", + "@typescript-eslint/utils": "8.65.0", "debug": "^4.4.3", - "ts-api-utils": "^2.4.0" + "ts-api-utils": "^2.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6955,14 +7018,14 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <6.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/types": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.53.0.tgz", - "integrity": "sha512-Bmh9KX31Vlxa13+PqPvt4RzKRN1XORYSLlAE+sO1i28NkisGbTtSLFVB3l7PWdHtR3E0mVMuC7JilWJ99m2HxQ==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.65.0.tgz", + "integrity": "sha512-JSSwWNy+H0E/01jJEM+hrX6N0OFDzFzeIhHFSAS01tlVaevpG8cFyYRPhS5yjGOvBUx3sqQHVMjCL1CAZZMxBg==", "dev": true, "license": "MIT", "engines": { @@ -6974,21 +7037,21 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.53.0.tgz", - "integrity": "sha512-pw0c0Gdo7Z4xOG987u3nJ8akL9093yEEKv8QTJ+Bhkghj1xyj8cgPaavlr9rq8h7+s6plUJ4QJYw2gCZodqmGw==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.65.0.tgz", + "integrity": "sha512-JboAE2swaYt4tb1fHhHTABE2K+OLy09XfcTbhnk4Pw96f9dd2e9iYsJ28gBggHlo5z5x1rkyWvcPoTuNTd4oGg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.53.0", - "@typescript-eslint/tsconfig-utils": "8.53.0", - "@typescript-eslint/types": "8.53.0", - "@typescript-eslint/visitor-keys": "8.53.0", + "@typescript-eslint/project-service": "8.65.0", + "@typescript-eslint/tsconfig-utils": "8.65.0", + "@typescript-eslint/types": "8.65.0", + "@typescript-eslint/visitor-keys": "8.65.0", "debug": "^4.4.3", - "minimatch": "^9.0.5", + "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.4.0" + "ts-api-utils": "^2.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6998,30 +7061,43 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.0.0" + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.2.tgz", - "integrity": "sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz", + "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==", "dev": true, "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^2.0.2" + "brace-expansion": "^5.0.8" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -7058,16 +7134,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.53.0.tgz", - "integrity": "sha512-XDY4mXTez3Z1iRDI5mbRhH4DFSt46oaIFsLg+Zn97+sYrXACziXSQcSelMybnVZ5pa1P6xYkPr5cMJyunM1ZDA==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.65.0.tgz", + "integrity": "sha512-gXiwIHsYreboxeJucHKPvgwl7dXt50mF8s1/c00cP/WoVTyWKFdtfhRWwZiXYFU5H2O8vVoSLNrexFZjYS/SGA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.53.0", - "@typescript-eslint/types": "8.53.0", - "@typescript-eslint/typescript-estree": "8.53.0" + "@typescript-eslint/scope-manager": "8.65.0", + "@typescript-eslint/types": "8.65.0", + "@typescript-eslint/typescript-estree": "8.65.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -7077,19 +7153,19 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <6.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.53.0.tgz", - "integrity": "sha512-LZ2NqIHFhvFwxG0qZeLL9DvdNAHPGCY5dIRwBhyYeU+LfLhcStE1ImjsuTG/WaVh3XysGaeLW8Rqq7cGkPCFvw==", + "version": "8.65.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.65.0.tgz", + "integrity": "sha512-8C71BQkGjiMmXtop7pHVJu1l2NNShFdkCyD6a2ezzs5vU/L3LRtb69EtcteFwz0mYMPzIgOw0n6OV4VBUWZd7A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.53.0", - "eslint-visitor-keys": "^4.2.1" + "@typescript-eslint/types": "8.65.0", + "eslint-visitor-keys": "^5.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -7100,13 +7176,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", - "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, "license": "Apache-2.0", "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" @@ -7408,16 +7484,6 @@ "node": ">=8.9.0" } }, - "node_modules/adm-zip": { - "version": "0.5.18", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.18.tgz", - "integrity": "sha512-ufJnssQGbxzLNS1Ho9bCtX4rQKCCvoVuDLHoJyc3F9dOGDB4BkWs2Ci0kv53lqocAEQ/Cbi+I2XCsNYGqVYqng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.0" - } - }, "node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -7637,49 +7703,6 @@ "dev": true, "license": "MIT" }, - "node_modules/array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asn1": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", - "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, "node_modules/asn1js": { "version": "3.0.10", "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.0.10.tgz", @@ -7695,16 +7718,6 @@ "node": ">=12.0.0" } }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -7761,34 +7774,43 @@ "postcss": "^8.1.0" } }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", - "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==", - "dev": true, - "license": "MIT" - }, "node_modules/axios": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.16.0.tgz", - "integrity": "sha512-6hp5CwvTPlN2A31g5dxnwAX0orzM7pmCRDLnZSX772mv8WDqICwFjowHuPs04Mc8deIld1+ejhtaMn5vp6b+1w==", + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz", + "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==", "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" } }, + "node_modules/axios/node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/axios/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/axobject-query": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", @@ -7925,16 +7947,6 @@ "dev": true, "license": "MIT" }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, "node_modules/beasties": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.3.5.tgz", @@ -7978,22 +7990,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/blocking-proxy": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", - "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "blocking-proxy": "built/lib/bin.js" - }, - "engines": { - "node": ">=6.9.x" - } - }, "node_modules/body-parser": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", @@ -8160,53 +8156,6 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/browserstack": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.6.1.tgz", - "integrity": "sha512-GxtFjpIaKdbAyzHfFDKixKO8IBT7wR3NjbzrGc78nNs/Ciys9wU3/nBtsqsWv5nDSrdI5tz0peKuzCPuNXNUiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "https-proxy-agent": "^2.2.1" - } - }, - "node_modules/browserstack/node_modules/agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es6-promisify": "^5.0.0" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/browserstack/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/browserstack/node_modules/https-proxy-agent": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", - "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -8437,13 +8386,6 @@ ], "license": "CC-BY-4.0" }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", - "dev": true, - "license": "Apache-2.0" - }, "node_modules/chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", @@ -9416,19 +9358,6 @@ "d3-selection": "2 - 3" } }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/date-format": { "version": "4.0.14", "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", @@ -9515,39 +9444,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/del": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "integrity": "sha512-Z4fzpbIRjOu7lO5jCETSWoqUDVe0IPOlfugBsF6suen2LKDlVb4QZpKEM9P+buNJ4KI1eN7I083w/pbKUpsrWQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "globby": "^5.0.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "rimraf": "^2.2.8" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -9749,17 +9645,6 @@ "node": ">= 0.4" } }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", - "dev": true, - "license": "MIT", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -10041,23 +9926,6 @@ "node": ">= 0.4" } }, - "node_modules/es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true, - "license": "MIT" - }, - "node_modules/es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es6-promise": "^4.0.3" - } - }, "node_modules/esbuild": { "version": "0.28.1", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz", @@ -10143,25 +10011,25 @@ } }, "node_modules/eslint": { - "version": "9.39.2", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.2.tgz", - "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", + "version": "9.39.5", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz", + "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", - "@eslint/config-array": "^0.21.1", + "@eslint/config-array": "^0.21.2", "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", - "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.39.2", + "@eslint/eslintrc": "^3.3.6", + "@eslint/js": "9.39.5", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", - "ajv": "^6.12.4", + "ajv": "^6.14.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", @@ -10180,7 +10048,7 @@ "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", + "minimatch": "^3.1.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, @@ -10432,6 +10300,30 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/@eslint/eslintrc": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz", + "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.14.0", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.3.0", + "minimatch": "^3.1.5", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/eslint/node_modules/ajv": { "version": "6.15.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", @@ -10622,15 +10514,6 @@ "node": ">=18.0.0" } }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/exponential-backoff": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz", @@ -10792,16 +10675,6 @@ "dev": true, "license": "MIT" }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "license": "MIT" - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -10853,9 +10726,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz", - "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz", + "integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==", "dev": true, "funding": [ { @@ -11042,16 +10915,6 @@ "unicode-trie": "^2.0.0" } }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "*" - } - }, "node_modules/form-data": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", @@ -11249,16 +11112,6 @@ "node": ">= 0.4" } }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0" - } - }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -11331,24 +11184,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", - "integrity": "sha512-HJRTIH2EeH44ka+LWig+EqT2ONSYpVlNfx6pyd592/VF1TbfljJ7elwie7oSwcViLGqOdWocSdu2txwBF9bjmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -11384,55 +11219,6 @@ "dev": true, "license": "MIT" }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=4" - } - }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/har-validator/node_modules/ajv": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", - "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/har-validator/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, "node_modules/has": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", @@ -11652,22 +11438,6 @@ "node": "^14.18.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, - "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" - } - }, "node_modules/https-proxy-agent": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", @@ -11824,13 +11594,6 @@ "node": ">=0.10.0" } }, - "node_modules/immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", - "dev": true, - "license": "MIT" - }, "node_modules/immutable": { "version": "5.1.9", "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.9.tgz", @@ -12060,42 +11823,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha512-cnS56eR9SPAscL77ik76ATVqoPARTqPIVkMDVxRaWH06zT+6+CzIroYRJ0VVvm0Z1zfAvxvz9i/D3Ppjaqt5Nw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-in-cwd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", - "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-path-inside": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha512-qhsCR/Esx4U4hg/9I19OVUAJkGWtjRYHMRgUMZE2TDdj+Ag+kttZanLupfddNyglzz50cUlmWzUaI37GDfNx/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-is-inside": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-plain-obj": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", @@ -12144,13 +11871,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", - "dev": true, - "license": "MIT" - }, "node_modules/is-unicode-supported": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", @@ -12224,13 +11944,6 @@ "node": ">=0.10.0" } }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", - "dev": true, - "license": "MIT" - }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", @@ -12312,21 +12025,6 @@ "node": ">=8" } }, - "node_modules/jasmine": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-2.8.0.tgz", - "integrity": "sha512-KbdGQTf5jbZgltoHs31XGiChAPumMSY64OZMWLNYnEnMfG5uwGBhffePwuskexjT+/Jea/gU3qAU8344hNohSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "exit": "^0.1.2", - "glob": "^7.0.6", - "jasmine-core": "~2.8.0" - }, - "bin": { - "jasmine": "bin/jasmine.js" - } - }, "node_modules/jasmine-core": { "version": "5.13.0", "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.13.0.tgz", @@ -12344,23 +12042,6 @@ "colors": "1.4.0" } }, - "node_modules/jasmine/node_modules/jasmine-core": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.8.0.tgz", - "integrity": "sha512-SNkOkS+/jMZvLhuSx1fjhcNWUC/KG6oVyFUGkSBEr9n1axSNduWU8GlI7suaHXr4yxjet6KjrUZxUTE5WzzWwQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/jasminewd2": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz", - "integrity": "sha512-Rn0nZe4rfDhzA63Al3ZGh0E+JTmM6ESZYXJGKuqKGZObsAB9fwXPD03GjtIEvJBDOhN94T5MzbwZSqzFHSQPzg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6.9.x" - } - }, "node_modules/jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", @@ -12448,13 +12129,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==", - "dev": true, - "license": "MIT" - }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", @@ -12485,13 +12159,6 @@ "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true, - "license": "(AFL-2.1 OR BSD-3-Clause)" - }, "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -12513,13 +12180,6 @@ "dev": true, "license": "MIT" }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true, - "license": "ISC" - }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -12582,35 +12242,6 @@ "npm": ">=6" } }, - "node_modules/jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/jszip": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", - "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", - "dev": true, - "license": "(MIT OR GPL-3.0-or-later)", - "dependencies": { - "lie": "~3.3.0", - "pako": "~1.0.2", - "readable-stream": "~2.3.6", - "setimmediate": "^1.0.5" - } - }, "node_modules/jwa": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", @@ -13284,16 +12915,6 @@ } } }, - "node_modules/lie": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", - "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "immediate": "~3.0.5" - } - }, "node_modules/linebreak": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.1.0.tgz", @@ -14357,16 +13978,16 @@ } }, "node_modules/nodemon": { - "version": "3.1.11", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.11.tgz", - "integrity": "sha512-is96t8F/1//UHAjNPHpbsNY46ELPpftGUoSVNXwUfMk/qdjSylYrWSu1XavVTBOn526kFiOR733ATgNBCQyH0g==", + "version": "3.1.14", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.14.tgz", + "integrity": "sha512-jakjZi93UtB3jHMWsXL68FXSAosbLfY0In5gtKq3niLSkrWznrVBzXFNOEMJUfc9+Ke7SHWoAZsiMkNP3vq6Jw==", "dev": true, "license": "MIT", "dependencies": { "chokidar": "^3.5.2", "debug": "^4", "ignore-by-default": "^1.0.1", - "minimatch": "^3.1.2", + "minimatch": "^10.2.1", "pstree.remy": "^1.1.8", "semver": "^7.5.3", "simple-update-notifier": "^2.0.0", @@ -14385,6 +14006,29 @@ "url": "https://opencollective.com/nodemon" } }, + "node_modules/nodemon/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/nodemon/node_modules/brace-expansion": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz", + "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, "node_modules/nodemon/node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", @@ -14433,6 +14077,22 @@ "node": ">=4" } }, + "node_modules/nodemon/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/nodemon/node_modules/picomatch": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", @@ -14643,16 +14303,6 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "*" - } - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -14797,16 +14447,6 @@ "license": "MIT", "optional": true }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/otplib": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/otplib/-/otplib-12.0.1.tgz", @@ -15082,13 +14722,6 @@ "node": ">=0.10.0" } }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", - "dev": true, - "license": "(WTFPL OR MIT)" - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -15187,13 +14820,6 @@ "integrity": "sha512-dzalfutyP3e/FOpdlhVryN4AJ5XDVauVWxybSkLZmakFE2sS3y3pc4JnSprw8tGmHvkaG5Edr5T7LBTZ+WWU2g==", "license": "MIT" }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", - "dev": true, - "license": "MIT" - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -15214,39 +14840,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "pinkie": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/piscina": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/piscina/-/piscina-5.2.0.tgz", @@ -15506,202 +15099,6 @@ "dev": true, "license": "MIT" }, - "node_modules/protractor": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/protractor/-/protractor-7.0.0.tgz", - "integrity": "sha512-UqkFjivi4GcvUQYzqGYNe0mLzfn5jiLmO8w9nMhQoJRLhy2grJonpga2IWhI6yJO30LibWXJJtA4MOIZD2GgZw==", - "deprecated": "We have news to share - Protractor is deprecated and will reach end-of-life by Summer 2023. To learn more and find out about other options please refer to this post on the Angular blog. Thank you for using and contributing to Protractor. https://goo.gle/state-of-e2e-in-angular", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/q": "^0.0.32", - "@types/selenium-webdriver": "^3.0.0", - "blocking-proxy": "^1.0.0", - "browserstack": "^1.5.1", - "chalk": "^1.1.3", - "glob": "^7.0.3", - "jasmine": "2.8.0", - "jasminewd2": "^2.1.0", - "q": "1.4.1", - "saucelabs": "^1.5.0", - "selenium-webdriver": "3.6.0", - "source-map-support": "~0.4.0", - "webdriver-js-extender": "2.1.0", - "webdriver-manager": "^12.1.7", - "yargs": "^15.3.1" - }, - "bin": { - "protractor": "bin/protractor", - "webdriver-manager": "bin/webdriver-manager" - }, - "engines": { - "node": ">=10.13.x" - } - }, - "node_modules/protractor/node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/protractor/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/protractor/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/protractor/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/protractor/node_modules/source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "source-map": "^0.5.6" - } - }, - "node_modules/protractor/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/protractor/node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -15732,29 +15129,6 @@ "license": "MIT", "optional": true }, - "node_modules/psl": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", - "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "punycode": "^2.3.1" - }, - "funding": { - "url": "https://github.com/sponsors/lupomontero" - } - }, - "node_modules/psl/node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/pstree.remy": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", @@ -15789,18 +15163,6 @@ "node": ">=16.0.0" } }, - "node_modules/q": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "integrity": "sha512-/CdEdaw49VZVmyIDGUQKDDT53c7qBkO6g5CefWz91Ae+l4+cRtcDYwMTXh6me4O8TMldeGHG3N2Bl84V78Ywbg==", - "deprecated": "You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.\n\n(For a CapTP with native promises, see @endo/eventual-send and @endo/captp)", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" - } - }, "node_modules/qjobs": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", @@ -16179,87 +15541,6 @@ "regjsparser": "bin/parser" } }, - "node_modules/request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/request/node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/request/node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/request/node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/request/node_modules/qs": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.5.tgz", - "integrity": "sha512-mzR4sElr1bfCaPJe7m8ilJ6ZXdDaGoObcYR0ZHSsktM/Lt21MVHj5De30GQH2eiZ1qGRTO7LCAzQsUeXTNexWQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.6" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -16666,55 +15947,6 @@ } } }, - "node_modules/saucelabs": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.5.0.tgz", - "integrity": "sha512-jlX3FGdWvYf4Q3LFfFWS1QvPg3IGCGWxIc8QBFdPTbpTJnt/v17FHXYVAn7C8sHf1yUXo2c7yIM0isDryfYtHQ==", - "dev": true, - "dependencies": { - "https-proxy-agent": "^2.2.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/saucelabs/node_modules/agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es6-promisify": "^5.0.0" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/saucelabs/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/saucelabs/node_modules/https-proxy-agent": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", - "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/sax": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz", @@ -16769,49 +16001,6 @@ "dev": true, "license": "MIT" }, - "node_modules/selenium-webdriver": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-3.6.0.tgz", - "integrity": "sha512-WH7Aldse+2P5bbFBO4Gle/nuQOdVwpHMTL6raL3uuBj/vPG07k6uzt3aiahu352ONBr5xXh0hDlM3LhtXPOC4Q==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "jszip": "^3.1.3", - "rimraf": "^2.5.4", - "tmp": "0.0.30", - "xml2js": "^0.4.17" - }, - "engines": { - "node": ">= 6.9.0" - } - }, - "node_modules/selenium-webdriver/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/selenium-webdriver/node_modules/tmp": { - "version": "0.0.30", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.30.tgz", - "integrity": "sha512-HXdTB7lvMwcb55XFfrTM8CPr/IYREk4hVBFaQ4b/6nInrluSL86hfHm7vu0luYKCfyBZp2trCjpc8caC3vVM3w==", - "dev": true, - "license": "MIT", - "dependencies": { - "os-tmpdir": "~1.0.1" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/selfsigned": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-5.5.0.tgz", @@ -17075,13 +16264,6 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "license": "ISC" }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", - "dev": true, - "license": "MIT" - }, "node_modules/sha256": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/sha256/-/sha256-0.2.0.tgz", @@ -17612,32 +16794,6 @@ "node": ">= 6" } }, - "node_modules/sshpk": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", - "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ssri": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-13.0.1.tgz", @@ -17789,9 +16945,9 @@ } }, "node_modules/tar": { - "version": "7.5.20", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.20.tgz", - "integrity": "sha512-9FcyK4PA6+WbzlTM9WhQm6vB5W7cP7dUiPsv1g7YDwEQnQ1CGpK3MGlKk/ITVWMk05kHZuBhmVhiv8LZoy/PFQ==", + "version": "7.5.22", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", + "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -17999,30 +17155,6 @@ "nodetouch": "bin/nodetouch.js" } }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tough-cookie/node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/tree-dump": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/tree-dump/-/tree-dump-1.1.0.tgz", @@ -18148,26 +17280,6 @@ "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", - "dev": true, - "license": "Unlicense" - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -18453,17 +17565,6 @@ "node": ">= 0.4.0" } }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", - "dev": true, - "license": "MIT", - "bin": { - "uuid": "bin/uuid" - } - }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", @@ -18490,28 +17591,6 @@ "node": ">= 0.8" } }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/verror/node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", - "dev": true, - "license": "MIT" - }, "node_modules/vite": { "version": "7.3.6", "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz", @@ -18646,77 +17725,6 @@ "license": "MIT", "optional": true }, - "node_modules/webdriver-js-extender": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz", - "integrity": "sha512-lcUKrjbBfCK6MNsh7xaY2UAUmZwe+/ib03AjVOpFobX4O7+83BUveSrLfU0Qsyb1DaKJdQRbuU+kM9aZ6QUhiQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/selenium-webdriver": "^3.0.0", - "selenium-webdriver": "^3.0.1" - }, - "engines": { - "node": ">=6.9.x" - } - }, - "node_modules/webdriver-manager": { - "version": "12.1.9", - "resolved": "https://registry.npmjs.org/webdriver-manager/-/webdriver-manager-12.1.9.tgz", - "integrity": "sha512-Yl113uKm8z4m/KMUVWHq1Sjtla2uxEBtx2Ue3AmIlnlPAKloDn/Lvmy6pqWCUersVISpdMeVpAaGbNnvMuT2LQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "adm-zip": "^0.5.2", - "chalk": "^1.1.1", - "del": "^2.2.0", - "glob": "^7.0.3", - "ini": "^1.3.4", - "minimist": "^1.2.0", - "q": "^1.4.1", - "request": "^2.87.0", - "rimraf": "^2.5.2", - "semver": "^5.3.0", - "xml2js": "^0.4.17" - }, - "bin": { - "webdriver-manager": "bin/webdriver-manager" - }, - "engines": { - "node": ">=6.9.x" - } - }, - "node_modules/webdriver-manager/node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true, - "license": "ISC" - }, - "node_modules/webdriver-manager/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/webdriver-manager/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/webpack": { "version": "5.105.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.0.tgz", @@ -19590,30 +18598,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "dev": true, - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, "node_modules/xmldoc": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-2.0.3.tgz", diff --git a/package.json b/package.json index 4da6f30e..e680a466 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rtl", - "version": "0.15.9-beta", + "version": "0.15.10-beta", "license": "MIT", "type": "module", "scripts": { @@ -16,7 +16,8 @@ "server": "set NODE_ENV=development&&nodemon --watch backend --watch server ./rtl.js", "serverUbuntu": "NODE_ENV=development nodemon --watch backend --watch server ./rtl.js", "testdev": "ng test --watch=true --code-coverage", - "test": "ng test --watch=false --browsers=ChromeHeadless", + "testbackend": "node --test test/backend/*.test.mjs", + "test": "npm run buildbackend && npm run testbackend && ng test --watch=false --browsers=ChromeHeadless", "lint": "eslint" }, "private": true, @@ -26,7 +27,7 @@ "@swimlane/ngx-charts": "23.1.0", "angular-user-idle": "4.0.0", "atob": "2.1.2", - "axios": "1.16.0", + "axios": "1.18.1", "buffer": "6.0.3", "cookie-parser": "1.4.7", "csrf-csrf": "4.0.3", @@ -54,20 +55,20 @@ "@angular-eslint/eslint-plugin-template": "20.7.0", "@angular-eslint/schematics": "20.7.0", "@angular-eslint/template-parser": "20.7.0", - "@angular/animations": "20.3.26", + "@angular/animations": "20.3.27", "@angular/build": "20.3.32", "@angular/cdk": "20.2.14", "@angular/cli": "20.3.32", - "@angular/common": "20.3.26", - "@angular/compiler": "20.3.26", - "@angular/compiler-cli": "20.3.26", - "@angular/core": "20.3.26", + "@angular/common": "20.3.27", + "@angular/compiler": "20.3.27", + "@angular/compiler-cli": "20.3.27", + "@angular/core": "20.3.27", "@angular/flex-layout": "15.0.0-beta.42", - "@angular/forms": "20.3.26", + "@angular/forms": "20.3.27", "@angular/material": "20.2.14", - "@angular/platform-browser": "20.3.26", - "@angular/platform-browser-dynamic": "20.3.26", - "@angular/router": "20.3.26", + "@angular/platform-browser": "20.3.27", + "@angular/platform-browser-dynamic": "20.3.27", + "@angular/router": "20.3.27", "@eslint/eslintrc": "3.3.3", "@fortawesome/angular-fontawesome": "4.0.0", "@fortawesome/fontawesome-svg-core": "7.1.0", @@ -76,10 +77,10 @@ "@ngrx/store-devtools": "21.0.1", "@types/jasmine": "5.1.15", "@types/node": "20.19.30", - "@typescript-eslint/eslint-plugin": "8.53.0", - "@typescript-eslint/parser": "8.53.0", + "@typescript-eslint/eslint-plugin": "8.65.0", + "@typescript-eslint/parser": "8.65.0", "dotenv": "17.2.3", - "eslint": "9.39.2", + "eslint": "9.39.5", "eslint-plugin-deprecation": "3.0.0", "jasmine-core": "5.13.0", "jasmine-spec-reporter": "7.0.0", @@ -89,8 +90,7 @@ "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.1.0", "material-icons": "1.13.14", - "nodemon": "3.1.11", - "protractor": "7.0.0", + "nodemon": "3.1.14", "roboto-fontface": "0.10.0", "ts-node": "10.9.2", "typescript": "5.8.3" diff --git a/release-notes/Release-notes-0.15.10.md b/release-notes/Release-notes-0.15.10.md new file mode 100644 index 00000000..876c3360 --- /dev/null +++ b/release-notes/Release-notes-0.15.10.md @@ -0,0 +1,102 @@ +# Release Notes — 0.15.10 + +This document collects the changes that go into the 0.15.10 release. Each PR merged for +this release should add its entry under the appropriate section below. + +## Bug Fixes + +- **Auth: harden login request validation** + ([#1654](https://github.com/Ride-The-Lightning/RTL/pull/1654)). + Tightens server-side validation of authentication requests and adds regression coverage + (`test/backend/authenticate.test.mjs`). Users who have two-factor authentication enabled + are encouraged to update promptly. + +- **Config & logging: reduce exposure of authentication secrets** + ([#1659](https://github.com/Ride-The-Lightning/RTL/pull/1659)). + Tightens redaction of authentication material in node logs and configuration API + responses, pins deployment-level authentication settings server-side, contains backup + file downloads to the node's backup directory, and hardens the settings persistence + path. Adds regression coverage (`test/backend/common.test.mjs`). Users are encouraged + to update promptly. + +- **Eclair: stop logging the node's auth header at DEBUG level** + ([#1664](https://github.com/Ride-The-Lightning/RTL/pull/1664)). + `getChannels` in the Eclair channels controller logged its entire request options object, + which for Eclair carries HTTP basic auth — so raising an Eclair node's `logLevel` to + `DEBUG` wrote `authorization: Basic ` into the node log, a recoverable form of the + configured `lnApiPassword`. The log now carries only the request url and form, matching + every other DEBUG log in the controllers. Present since 0.12.0 and only reachable by + opting in to `DEBUG` (the default level is `ERROR`), but it contradicted the logging + guarantee stated for #1659. Regression coverage added + (`test/backend/eclair-channels.test.mjs`). Found by auditing node logs at `DEBUG` while + verifying this release against the regtest fixture. + +## Code Health + +- **Bound remaining unbounded LND alias-resolution fan-outs** + ([#1651](https://github.com/Ride-The-Lightning/RTL/pull/1651), fixes + [#1630](https://github.com/Ride-The-Lightning/RTL/issues/1630)). + Mirrors the `runWithConcurrencyLimit(tasks, 20, done)` pattern introduced in #1629 + across the remaining unbounded `Promise.all(map(...))` alias-resolution fan-outs in + the LND graph and channels controllers, preventing a large node from firing one + alias-lookup request per peer, channel, or hop all at once. + + During review, a related race condition was found and fixed: the module-level + `options` variable in these controllers was reassigned per-request, but + `getAliasForChannel` and `getAliasFromPubkey` read it by closure rather than + receiving it as a parameter. Once alias-resolution tasks were deferred across + event-loop turns by the concurrency limiter, a concurrent request to a different + node could overwrite `options` mid-fan-out, causing a task to send with the wrong + node's credentials or URL. Both functions now accept an explicit `requestOptions` + parameter, and each handler captures a per-request copy before building the task + thunks. The catch blocks inside the concurrency-limit callbacks were also updated + to log raw exceptions directly instead of routing them through `handleError` + (which expects an HTTP-error-shaped value), matching the existing pattern used + by `closeChannel`. + +- **Batch dependency update resolving the open Dependabot security PRs** + ([#1653](https://github.com/Ride-The-Lightning/RTL/pull/1653)). + Dependabot had three open security PRs against `master` (#1648, #1649, #1650). Rather than + merging them piecemeal (they conflict with each other on `package-lock.json` and target the + wrong branch for the release flow), the fixes were applied in one pass on the release branch. + The only production exposure was `axios`, carrying ten advisories at 1.16.0 — prototype + pollution in request-option merging, `formDataToJSON` recursion DoS, `maxBodyLength` bypasses + on fetch/HTTP2 uploads, and a `NO_PROXY` bypass — now on 1.18.1 (a patch above Dependabot's + validated 1.18.0, which was superseded during the batch). The lockfile was regenerated from + scratch rather than incrementally patched, and the flagged transitive deps were moved to their + fixed in-range versions (`fast-uri` 3.1.4, plus `form-data`, `qs`, `tough-cookie`, `tar`, + `del` and `globby`). The dev toolchain took safe patch/minor bumps: `nodemon` 3.1.14, + `eslint` 9.39.5, and `@typescript-eslint/*` 8.65.0. + + The unused `protractor` devDependency was also dropped. It had been dead since the Angular + scaffold that introduced it — no `e2e/` directory, no `protractor.conf.js`, and no `e2e` + target in `angular.json`, leaving a single line in `package.json` as its only reference — + while dragging in 100 packages and the deprecated `request` stack. Removing it clears both + remaining critical advisories (`request`, `form-data`) along with fourteen others + (`adm-zip`, `selenium-webdriver`, `webdriver-manager`, `xml2js`, `tmp`, `rimraf` and the + rest of the webdriver chain). + + `npm audit`: **50 vulnerabilities (2 critical, 37 high, 10 moderate, 1 low) → 29 + (0 critical, 23 high, 6 moderate)**, and **production dependencies are now clean at 0** + (from 1 high). Everything still flagged is dev-only build tooling that cannot be fixed by a + version bump: the Angular CLI chain (`@hono/node-server` and `@modelcontextprotocol/sdk` + need Angular 21, i.e. `@angular/core` ^21 and TypeScript ≥5.9 — a framework migration, not a + bump; #1650 is left for that work), the `@angular-eslint` line, and the karma/jasmine stack. + None of it ships in the released bundle. + +- **Angular framework patch update to 20.3.27** + ([#1661](https://github.com/Ride-The-Lightning/RTL/pull/1661)). + Dependabot opened one PR per package against `master` for `@angular/core` (#1658), + `@angular/compiler` (#1657) and `@angular/common` (#1655). The framework packages are + pinned to exact versions and their peer ranges require them to move as a set, so the three + were applied as a single batch on the release branch, taking all nine 20.3.26 packages + (`animations`, `common`, `compiler`, `compiler-cli`, `core`, `forms`, `platform-browser`, + `platform-browser-dynamic`, `router`) to 20.3.27. Upstream fixes only, no advisories: + the compiler now disallows `i18n` event attributes and limits its possible-event-handler + check to property names longer than two characters, `HttpClient` distinguishes repeated + transfer-cache params, and `platform-server` picks up a newer `domino`. + + This stays inside Angular 20 — the build toolchain (`@angular/build`, `@angular/cli` + 20.3.32) and `@angular/cdk`/`@angular/material` (20.2.14) are already at the top of their + v20 lines, so nothing in this batch pulls in the Angular 21 migration still tracked by + #1650. `frontend/` was rebuilt for the new framework code. diff --git a/server/controllers/eclair/channels.ts b/server/controllers/eclair/channels.ts index b6e9d8c5..24dcf4ce 100644 --- a/server/controllers/eclair/channels.ts +++ b/server/controllers/eclair/channels.ts @@ -55,7 +55,10 @@ export const getChannels = (req, res, next) => { options.form = req.query; logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channels Node Id', data: options.form }); } - logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Options', data: options }); + // Log the call's shape only. Eclair authenticates with HTTP basic auth, so the options + // object carries the node's lnApiPassword in its authorization header, and node logs are + // routinely shared when debugging. + logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Options', data: { url: options.url, form: options.form } }); if (common.read_dummy_data) { common.getDummyData('Channels', req.session.selectedNode.lnImplementation).then((data) => { res.status(200).json(data); }); } else { diff --git a/server/controllers/lnd/channels.ts b/server/controllers/lnd/channels.ts index 24ad203b..7bbdfbe0 100644 --- a/server/controllers/lnd/channels.ts +++ b/server/controllers/lnd/channels.ts @@ -6,10 +6,10 @@ let options = null; const logger: LoggerService = Logger; const common: CommonService = Common; -export const getAliasForChannel = (selNode: SelectedNode, channel) => { +export const getAliasForChannel = (selNode: SelectedNode, channel, requestOptions) => { const pubkey = (channel.remote_pubkey) ? channel.remote_pubkey : (channel.remote_node_pub) ? channel.remote_node_pub : ''; - options.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; - return request(options).then((aliasBody) => { + requestOptions.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; + return request(requestOptions).then((aliasBody) => { logger.log({ selectedNode: selNode, level: 'DEBUG', fileName: 'Channels', msg: 'Alias Received', data: aliasBody.node.alias }); channel.remote_alias = aliasBody.node.alias && aliasBody.node.alias !== '' ? aliasBody.node.alias : aliasBody.node.pub_key.slice(0, 20); return channel; @@ -31,20 +31,23 @@ export const getAllChannels = (req, res, next) => { request(options).then((body) => { logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channels List Received', data: body }); if (body.channels) { - return Promise.all( - body.channels?.map((channel) => { - local = (channel.local_balance) ? +channel.local_balance : 0; - remote = (channel.remote_balance) ? +channel.remote_balance : 0; - total = local + remote; - channel.balancedness = (total === 0) ? 1 : (1 - Math.abs((local - remote) / total)).toFixed(3); - return getAliasForChannel(req.session.selectedNode, channel); - }) - ).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Sorted Channels List Received', data: body }); - return res.status(200).json(body); - }).catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get All Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + body.channels.forEach((channel) => { + local = (channel.local_balance) ? +channel.local_balance : 0; + remote = (channel.remote_balance) ? +channel.remote_balance : 0; + total = local + remote; + channel.balancedness = (total === 0) ? 1 : (1 - Math.abs((local - remote) / total)).toFixed(3); + }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getChannelAliasesTasks = body.channels.map((channel) => () => getAliasForChannel(selNode, channel, { ...requestOptions })); + common.runWithConcurrencyLimit(getChannelAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Sorted Channels List Received', data: body }); + return res.status(200).json(body); + } catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get All Channel Aliases Error', error: e.message }); + if (!res.headersSent) { res.status(500).json({ message: 'Get All Channel Aliases Error', error: e.message }); } + } }); } else { body.channels = []; @@ -67,27 +70,30 @@ export const getPendingChannels = (req, res, next) => { if (!body.total_limbo_balance) { body.total_limbo_balance = 0; } - const promises = []; + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getPendingAliasesTasks = []; if (body.pending_open_channels && body.pending_open_channels.length > 0) { - body.pending_open_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_open_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.pending_force_closing_channels && body.pending_force_closing_channels.length > 0) { - body.pending_force_closing_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_force_closing_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.pending_closing_channels && body.pending_closing_channels.length > 0) { - body.pending_closing_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.pending_closing_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } if (body.waiting_close_channels && body.waiting_close_channels.length > 0) { - body.waiting_close_channels?.map((channel) => promises.push(getAliasForChannel(req.session.selectedNode, channel.channel))); + body.waiting_close_channels?.map((channel) => getPendingAliasesTasks.push(() => getAliasForChannel(selNode, channel.channel, { ...requestOptions }))); } - return Promise.all(promises).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Pending Channels List Received', data: body }); - return res.status(200).json(body); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get Pending Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); - }); + common.runWithConcurrencyLimit(getPendingAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Pending Channels List Received', data: body }); + return res.status(200).json(body); + } catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get Pending Channel Aliases Error', error: e.message }); + if (!res.headersSent) { res.status(500).json({ message: 'Get Pending Channel Aliases Error', error: e.message }); } + } + }); }).catch((errRes) => { const err = common.handleError(errRes, 'Channels', 'List Pending Channels Error', req.session.selectedNode); return res.status(err.statusCode).json({ message: err.message, error: err.error }); @@ -102,17 +108,20 @@ export const getClosedChannels = (req, res, next) => { options.qs = req.query; request(options).then((body) => { if (body.channels && body.channels.length > 0) { - return Promise.all( - body.channels?.map((channel) => { - channel.close_type = (!channel.close_type) ? 'COOPERATIVE_CLOSE' : channel.close_type; - return getAliasForChannel(req.session.selectedNode, channel); - }) - ).then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Closed Channels List Received', data: body }); - return res.status(200).json(body); - }).catch((errRes) => { - const err = common.handleError(errRes, 'Channels', 'Get Closed Channel Aliases Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); + body.channels.forEach((channel) => { + channel.close_type = (!channel.close_type) ? 'COOPERATIVE_CLOSE' : channel.close_type; + }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getClosedAliasesTasks = body.channels.map((channel) => () => getAliasForChannel(selNode, channel, { ...requestOptions })); + common.runWithConcurrencyLimit(getClosedAliasesTasks, 20, () => { + try { + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Closed Channels List Received', data: body }); + return res.status(200).json(body); + } catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Channels', msg: 'Get Closed Channel Aliases Error', error: e.message }); + if (!res.headersSent) { res.status(500).json({ message: 'Get Closed Channel Aliases Error', error: e.message }); } + } }); } else { body.channels = []; diff --git a/server/controllers/lnd/graph.ts b/server/controllers/lnd/graph.ts index 438c2a18..86d14267 100644 --- a/server/controllers/lnd/graph.ts +++ b/server/controllers/lnd/graph.ts @@ -6,9 +6,9 @@ let options = null; const logger: LoggerService = Logger; const common: CommonService = Common; -export const getAliasFromPubkey = (selNode: SelectedNode, pubkey) => { - options.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; - return request(options).then((res) => { +export const getAliasFromPubkey = (selNode: SelectedNode, pubkey, requestOptions) => { + requestOptions.url = selNode.settings.lnServerUrl + '/v1/graph/node/' + pubkey; + return request(requestOptions).then((res) => { logger.log({ selectedNode: selNode, level: 'DEBUG', fileName: 'Graph', msg: 'Alias Received', data: res.node.alias }); return res.node.alias; }). @@ -80,20 +80,23 @@ export const getQueryRoutes = (req, res, next) => { request(options).then((body) => { logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Graph', msg: 'Query Routes Received', data: body }); if (body.routes && body.routes.length && body.routes.length > 0 && body.routes[0].hops && body.routes[0].hops.length && body.routes[0].hops.length > 0) { - return Promise.all(body.routes[0].hops?.map((hop) => getAliasFromPubkey(req.session.selectedNode, hop.pub_key))). - then((values) => { + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getRouteAliasesTasks = body.routes[0].hops.map((hop) => () => getAliasFromPubkey(selNode, hop.pub_key, { ...requestOptions })); + common.runWithConcurrencyLimit(getRouteAliasesTasks, 20, (values) => { + try { body.routes[0].hops?.map((hop, i) => { hop.hop_sequence = i + 1; - hop.pubkey_alias = values[i]; + hop.pubkey_alias = typeof values[i] === 'string' ? values[i] : 'Unknown'; return hop; }); logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Graph Routes with Alias Received', data: body }); res.status(200).json(body); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Graph', 'Get Query Routes Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); - }); + } catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Graph', msg: 'Get Query Routes Error', error: e.message }); + if (!res.headersSent) { res.status(500).json({ message: 'Get Query Routes Error', error: e.message }); } + } + }); } else { logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Graph Routes Received', data: body }); return res.status(200).json(body); @@ -138,15 +141,19 @@ export const getAliasesForPubkeys = (req, res, next) => { if (options.error) { return res.status(options.statusCode).json({ message: options.message, error: options.error }); } if (req.query.pubkeys) { const pubkeyArr = req.query.pubkeys.split(','); - return Promise.all(pubkeyArr?.map((pubkey) => getAliasFromPubkey(req.session.selectedNode, pubkey))). - then((values) => { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Node Alias', data: values }); - res.status(200).json(values); - }). - catch((errRes) => { - const err = common.handleError(errRes, 'Graph', 'Get Aliases for Pubkeys Error', req.session.selectedNode); - return res.status(err.statusCode).json({ message: err.message, error: err.error }); - }); + const selNode = req.session.selectedNode; + const { qs: _qs, ...requestOptions } = options; + const getAliasesTasks = pubkeyArr.map((pubkey) => () => getAliasFromPubkey(selNode, pubkey, { ...requestOptions })); + common.runWithConcurrencyLimit(getAliasesTasks, 20, (values) => { + try { + const safeValues = values.map((v) => (typeof v === 'string' ? v : 'Unknown')); + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Graph', msg: 'Node Alias', data: safeValues }); + res.status(200).json(safeValues); + } catch (e) { + logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Graph', msg: 'Get Aliases for Pubkeys Error', error: e.message }); + if (!res.headersSent) { res.status(500).json({ message: 'Get Aliases for Pubkeys Error', error: e.message }); } + } + }); } else { return res.status(200).json([]); } diff --git a/server/controllers/shared/RTLConf.ts b/server/controllers/shared/RTLConf.ts index bc86d75c..f3755f81 100644 --- a/server/controllers/shared/RTLConf.ts +++ b/server/controllers/shared/RTLConf.ts @@ -1,6 +1,6 @@ import jwt from 'jsonwebtoken'; import * as fs from 'fs'; -import { sep } from 'path'; +import { resolve, sep } from 'path'; import ini from 'ini'; import parseHocon from 'hocon-parser'; import request from '../../utils/request.js'; @@ -81,7 +81,22 @@ export const getCurrencyRates = (req, res, next) => { export const getFile = (req, res, next) => { logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Getting File..' }); - const file = req.query.path ? req.query.path : (req.session.selectedNode.settings.channelBackupPath + sep + 'channel-' + req.query.channel?.replace(':', '-') + '.bak'); + const channelBackupPath = req.session.selectedNode.settings.channelBackupPath; + let file = ''; + if (req.query.path) { + // The UI only ever requests channel backup files; contain caller paths to the node's + // backup directory so this endpoint cannot read the config, macaroons or the SSO + // cookie (getConfig serves the config file masked; this must not bypass that). + const resolved = resolve(req.query.path); + if (resolved !== resolve(channelBackupPath) && !resolved.startsWith(resolve(channelBackupPath) + sep)) { + logger.log({ selectedNode: req.session.selectedNode, level: 'WARN', fileName: 'RTLConf', msg: 'Blocked file read outside the channel backup directory', data: req.query.path }); + const err = common.handleError({ statusCode: 403, message: 'Reading File Error', error: 'File path is outside the channel backup directory' }, 'RTLConf', 'Reading File Error', req.session.selectedNode); + return res.status(err.statusCode).json({ message: err.message, error: err.error }); + } + file = resolved; + } else { + file = channelBackupPath + sep + 'channel-' + req.query.channel?.replace(':', '-') + '.bak'; + } logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'RTLConf', msg: 'Channel Point', data: req.query.channel }); logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'RTLConf', msg: 'File Path', data: file }); fs.readFile(file, 'utf8', (errRes, data) => { @@ -91,7 +106,8 @@ export const getFile = (req, res, next) => { const err = common.handleError({ statusCode: 500, message: errMsg, error: errRes }, 'RTLConf', errMsg, req.session.selectedNode); return res.status(err.statusCode).json({ message: err.error, error: err.error }); } else { - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'File Data Received', data: data }); + // File contents can carry node credentials; never write them to the log. + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'File Data Received' }); res.status(200).json(data); } }); @@ -112,7 +128,6 @@ export const getApplicationSettings = (req, res, next) => { delete appConfData.SSO.rtlCookiePath; delete appConfData.SSO.cookieValue; delete appConfData.SSO.logoutRedirectLink; - appConfData.secret2FA = ''; appConfData.dbDirectoryPath = ''; appConfData.nodes[selNodeIdx].authentication = new Authentication(); delete appConfData.nodes[selNodeIdx].settings.bitcoindConfigPath; @@ -205,7 +220,12 @@ export const updateNodeSettings = (req, res, next) => { const config = JSON.parse(fs.readFileSync(RTLConfFile, 'utf-8')); const node = config.nodes.find((node) => (node.index === req.session.selectedNode.index)); if (node && node.settings) { + // channelBackupPath anchors getFile's containment root and is documented as a + // config-file-only setting; accepting it from the API would let the caller being + // contained choose the containment base. Pin it to the server-held value. + const serverChannelBackupPath = node.settings.channelBackupPath; node.settings = { ...node.settings, ...req.body.settings }; + node.settings.channelBackupPath = serverChannelBackupPath; if (node.authentication && req.body.authentication) { if (req.body.authentication.boltzMacaroonPath) { node.authentication.boltzMacaroonPath = req.body.authentication.boltzMacaroonPath; @@ -222,7 +242,9 @@ export const updateNodeSettings = (req, res, next) => { fs.writeFileSync(RTLConfFile, JSON.stringify(config, null, 2), 'utf-8'); const selectedNode = common.findNode(req.session.selectedNode.index); if (selectedNode && selectedNode.settings) { + const serverChannelBackupPath = selectedNode.settings.channelBackupPath; selectedNode.settings = { ...selectedNode.settings, ...req.body.settings }; + selectedNode.settings.channelBackupPath = serverChannelBackupPath; if (selectedNode.authentication && req.body.authentication) { if (req.body.authentication.boltzMacaroonPath) { selectedNode.authentication.boltzMacaroonPath = req.body.authentication.boltzMacaroonPath; @@ -281,7 +303,7 @@ export const updateApplicationSettings = (req, res, next) => { const newOnlyNodes = [...newNodesMap.values()].map((newNode) => JSON.parse(JSON.stringify(newNode))); runtimeConfig.nodes = [...updatedAndExistingNodes, ...newOnlyNodes]; } - common.appConfig = JSON.parse(JSON.stringify({ + const newAppConfig = JSON.parse(JSON.stringify({ ...runtimeConfig, selectedNodeIndex: config.selectedNodeIndex !== undefined ? config.selectedNodeIndex : common.appConfig.selectedNodeIndex, @@ -292,21 +314,39 @@ export const updateApplicationSettings = (req, res, next) => { rtlConfFilePath: common.appConfig.rtlConfFilePath, rtlPass: common.appConfig.rtlPass })); - const fileConfig = JSON.parse(JSON.stringify(common.appConfig)); + const fileConfig = JSON.parse(JSON.stringify(newAppConfig)); delete fileConfig.selectedNodeIndex; delete fileConfig.enable2FA; delete fileConfig.allowPasswordUpdate; delete fileConfig.rtlConfFilePath; delete fileConfig.rtlPass; delete fileConfig.multiPass; + // Runtime-only SSO bearer; must not be persisted with the config. + if (fileConfig.SSO) { delete fileConfig.SSO.cookieValue; } fileConfig.nodes?.forEach((node) => { delete node.authentication?.options; delete node.authentication?.runeValue; }); - fs.writeFileSync(RTLConfFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); - const newConfig = JSON.parse(JSON.stringify(common.appConfig)); - logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Application Settings Updated', data: common.maskPasswords(newConfig) }); - res.status(201).json(common.removeSecureData(newConfig)); + // Persist atomically (temp file + rename, so a mid-write failure cannot truncate the + // config) and only then adopt the new runtime config, so a failed write leaves the + // process on the old one. The temp file inherits the existing file's mode so a + // hardened 0600 is not silently downgraded; a fresh file gets 0600. Symlinks and + // single-file bind mounts cannot be renamed over — fall back to an in-place write, + // which preserves inode and mode. + const tempConfigFile = RTLConfFile + '.tmp'; + try { + fs.writeFileSync(tempConfigFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); + fs.chmodSync(tempConfigFile, fs.existsSync(RTLConfFile) ? (fs.statSync(RTLConfFile).mode & 0o777) : 0o600); + fs.renameSync(tempConfigFile, RTLConfFile); + } catch { + fs.rmSync(tempConfigFile, { force: true, recursive: true }); + fs.writeFileSync(RTLConfFile, JSON.stringify(fileConfig, null, 2), 'utf-8'); + } + common.appConfig = newAppConfig; + // removeSecureData clones, so the runtime config is untouched; it strips rtlPass, + // the TOTP seed, the SSO cookie and all per-node credentials symmetrically. + logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Application Settings Updated', data: common.removeSecureData(newAppConfig) }); + res.status(201).json(common.removeSecureData(newAppConfig)); } catch (errRes) { const errMsg = 'Update Default Node Error'; const err = common.handleError({ statusCode: 500, message: errMsg, error: errRes }, 'RTLConf', errMsg, req.session.selectedNode); diff --git a/server/controllers/shared/authenticate.ts b/server/controllers/shared/authenticate.ts index 252f6b88..e8917e67 100644 --- a/server/controllers/shared/authenticate.ts +++ b/server/controllers/shared/authenticate.ts @@ -21,6 +21,9 @@ const loginInterval = setInterval(() => { } } }, LOCKING_PERIOD); +// The sweeper must not hold the event loop open on its own (it would keep +// `node --test` or a CLI invocation alive for the full 30-minute period). +loginInterval.unref(); export const getFailedInfo = (reqIP, currentTime) => { let failed = { count: 0, lastTried: currentTime }; @@ -49,6 +52,21 @@ const handleMultipleFailedAttemptsError = (failed, currentTime, errMsg) => { export const verifyToken = (twoFAToken) => !!(common.appConfig.secret2FA && common.appConfig.secret2FA !== '' && (otplib as any).authenticator.check(twoFAToken, common.appConfig.secret2FA)); +// Mirrors isAuthenticated: a request carrying a valid session JWT has already +// completed 2FA at login, since tokens are only minted after verification when +// 2FA is enabled. Used to exempt in-app re-authorization (e.g. the password +// prompt before on-chain sends) from the TOTP requirement without opening a +// password-only path. +const hasValidAuthToken = (req) => { + try { + const token = req.headers.authorization.split(' ')[1]; + jwt.verify(token, common.secret_key); + return true; + } catch (error) { + return false; + } +}; + export const authenticateUser = (req, res, next) => { const { authenticateWith, authenticationValue, twoFAToken } = req.body; logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Authenticate', msg: 'Authenticating User..' }); @@ -80,8 +98,15 @@ export const authenticateUser = (req, res, next) => { const failed = getFailedInfo(reqIP, currentTime); const password = authenticationValue; if (common.appConfig.rtlPass === password && failed.count < ALLOWED_LOGIN_ATTEMPTS) { - if (twoFAToken && twoFAToken !== '') { - if (!verifyToken(twoFAToken)) { + // Gate on the server-side 2FA configuration, not on the request: when 2FA is + // enabled a token is mandatory, so a request omitting twoFAToken is rejected + // instead of silently skipping verification. The login UI keys its token prompt + // on enable2FA, so both fields are consulted — a stale secret with 2FA disabled + // must not lock the operator out of a UI that never prompts for a token. + // Requests with a valid session token (in-app re-authorization, e.g. the + // password prompt before on-chain sends) are exempt from the TOTP requirement. + if (common.appConfig.enable2FA && common.appConfig.secret2FA && common.appConfig.secret2FA !== '' && !hasValidAuthToken(req)) { + if (typeof twoFAToken !== 'string' || twoFAToken === '' || !verifyToken(twoFAToken)) { logger.log({ selectedNode: req.session.selectedNode, level: 'ERROR', fileName: 'Authenticate', msg: 'Invalid Token! Failed IP ' + reqIP, error: { error: 'Invalid token.' } }); failed.count = failed.count + 1; failed.lastTried = currentTime; diff --git a/server/routes/shared/authenticate.ts b/server/routes/shared/authenticate.ts index e4785b1f..8359eefa 100644 --- a/server/routes/shared/authenticate.ts +++ b/server/routes/shared/authenticate.ts @@ -1,12 +1,15 @@ import exprs from 'express'; const { Router } = exprs; import { authenticateUser, verifyToken, resetPassword, logoutUser } from '../../controllers/shared/authenticate.js'; +import { isAuthenticated } from '../../utils/authCheck.js'; const router = Router(); router.post('/', authenticateUser); router.post('/token', verifyToken); -router.post('/reset', resetPassword); +// Password changes mint a fresh session token, so the route requires an existing +// authenticated session; the frontend interceptor attaches it for the settings UI. +router.post('/reset', isAuthenticated, resetPassword); router.get('/logout', logoutUser); export default router; diff --git a/server/utils/common.ts b/server/utils/common.ts index 79a23584..a3b452f3 100644 --- a/server/utils/common.ts +++ b/server/utils/common.ts @@ -27,23 +27,37 @@ export class CommonService { constructor() {} public maskPasswords = (obj) => { - const keys = Object.keys(obj); - const length = keys.length; - if (length !== 0) { - for (let i = 0; i < length; i++) { - if (typeof obj[keys[i]] === 'object') { - keys[keys[i]] = this.maskPasswords(obj[keys[i]]); - } - if (typeof keys[i] === 'string' && - ((keys[i].toLowerCase().includes('password') && keys[i] !== 'allowPasswordUpdate') || keys[i].toLowerCase().includes('multipass') || - keys[i].toLowerCase().includes('rpcpass') || keys[i].toLowerCase().includes('rpcpassword') || - keys[i].toLowerCase().includes('rpcuser')) - ) { - obj[keys[i]] = '*'.repeat(20); + // Clone up front: masking a live config object must not blank the credentials LN + // requests authenticate with (mirrors removeSecureData). + const masked = JSON.parse(JSON.stringify(obj)); + const maskRecursive = (current) => { + const keys = Object.keys(current); + const length = keys.length; + if (length !== 0) { + for (let i = 0; i < length; i++) { + // Header maps always carry credentials in this codebase (macaroon, rune, basic + // auth). Key-substring matching cannot catch them without also hiding the *Path + // fields the settings UI legitimately shows, so mask the whole map. + if (keys[i] === 'headers' && current[keys[i]] && typeof current[keys[i]] === 'object') { + Object.keys(current[keys[i]]).forEach((headerKey) => { current[keys[i]][headerKey] = '*'.repeat(20); }); + } else if (current[keys[i]] && typeof current[keys[i]] === 'object') { + // Truthiness guard: null is 'object' too and must not reach Object.keys. + maskRecursive(current[keys[i]]); + } + if (typeof keys[i] === 'string' && + ((keys[i].toLowerCase().includes('password') && keys[i] !== 'allowPasswordUpdate') || keys[i].toLowerCase().includes('multipass') || + keys[i].toLowerCase().includes('rpcpass') || keys[i].toLowerCase().includes('rpcpassword') || + keys[i].toLowerCase().includes('rpcuser') || keys[i].toLowerCase().includes('rpcauth') || + keys[i].toLowerCase().includes('secret2fa') || keys[i].toLowerCase().includes('cookievalue') || + keys[i].toLowerCase().includes('rtlpass') || keys[i].toLowerCase().includes('runevalue')) + ) { + current[keys[i]] = '*'.repeat(20); + } } } - } - return obj; + return current; + }; + return maskRecursive(masked); }; public removeAuthSecureData = (node: SelectedNode) => { @@ -58,26 +72,53 @@ export class CommonService { }; public removeSecureData = (config: ApplicationConfig) => { - delete config.rtlConfFilePath; - delete config.rtlPass; - delete config.multiPass; - delete config.multiPassHashed; - delete config.secret2FA; - config.nodes?.forEach((node) => this.removeAuthSecureData(node)); - return config; + // Clone before deleting: cookieValue is runtime-only, so mutating a caller's live + // appConfig would destroy SSO state with no way to restore it. + const sanitized = JSON.parse(JSON.stringify(config)); + delete sanitized.rtlConfFilePath; + delete sanitized.rtlPass; + delete sanitized.multiPass; + delete sanitized.multiPassHashed; + delete sanitized.secret2FA; + // The SSO cookie is a live bearer credential; it must never leave the server. + if (sanitized.SSO) { delete sanitized.SSO.cookieValue; } + sanitized.nodes?.forEach((node) => this.removeAuthSecureData(node)); + return sanitized; }; public addSecureData = (config: ApplicationConfig) => { config.rtlConfFilePath = this.appConfig.rtlConfFilePath; config.rtlPass = this.appConfig.rtlPass; - config.multiPassHashed = this.appConfig.multiPassHashed; - config.SSO.rtlCookiePath = this.appConfig.SSO.rtlCookiePath; + // Pin the hash only when the server holds one: on a default install's first boot the + // file already has multiPassHashed but the in-memory config does not, and pinning + // undefined would erase the only password from the file on save, bricking the boot. + if (this.appConfig.multiPassHashed) { + config.multiPassHashed = this.appConfig.multiPassHashed; + } else { + delete config.multiPassHashed; + } + // Deployment-level switches are pinned to server-held values: the settings API must + // not flip the authentication mode (disableAuth, SSO) or move SSO fields, the + // password policy, or the database location; no UI flow writes them. Pinning the + // whole SSO object also means a trimmed or missing SSO object can never wipe server + // state. + config.disableAuth = this.appConfig.disableAuth; + config.allowPasswordUpdate = this.appConfig.allowPasswordUpdate; + config.dbDirectoryPath = this.appConfig.dbDirectoryPath; + config.SSO = JSON.parse(JSON.stringify(this.appConfig.SSO || {})); if (this.appConfig.multiPass) { config.multiPass = this.appConfig.multiPass; } - if (config.secret2FA === this.appConfig.secret2FA) { + // Restore the TOTP seed when the client omits it — and when it sends an empty seed + // while still claiming 2FA is on (an inconsistent pair no honest flow produces). + // The settings UI's enable flow sends a non-empty seed; its disable flow sends an + // empty seed with enable2FA false. Both are honored. + if (config.secret2FA === undefined || (config.secret2FA === '' && config.enable2FA)) { config.secret2FA = this.appConfig.secret2FA; } + // enable2FA derives from the seed, matching the boot-time derivation in config.ts, + // so the two fields can never diverge after a save. + config.enable2FA = !!config.secret2FA; const appConfigNodes = new Map(this.appConfig.nodes?.map((node) => [node.index, node]) || []); config.nodes?.forEach((node) => { const appConfigNode = appConfigNodes.get(node.index); @@ -112,7 +153,7 @@ export class CommonService { this.logger.log({ selectedNode: this.selectedNode, level: 'ERROR', fileName: 'Common', msg: 'Loop macaroon Error', error: err }); } } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Swap Options', data: swapOptions }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Swap Options Set' }); return swapOptions; }; @@ -130,7 +171,7 @@ export class CommonService { this.logger.log({ selectedNode: this.selectedNode, level: 'ERROR', fileName: 'Common', msg: 'Boltz macaroon Error', error: err }); } } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Boltz Options', data: boltzOptions }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Boltz Options Set' }); return boltzOptions; }; @@ -179,7 +220,7 @@ export class CommonService { } } if (req.session.selectedNode) { - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Updated Node Options for ' + req.session.selectedNode.lnNode, data: req.session.selectedNode.authentication.options }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Updated Node Options for ' + req.session.selectedNode.lnNode }); } return { status: 200, message: 'Updated Successfully' }; } catch (err) { @@ -247,7 +288,7 @@ export class CommonService { form: '' }; } - this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Set Node Options for ' + node.lnNode, data: node.authentication.options }); + this.logger.log({ selectedNode: this.selectedNode, level: 'INFO', fileName: 'Common', msg: 'Set Node Options for ' + node.lnNode }); }); this.updateSelectedNodeOptions(req); } @@ -364,10 +405,11 @@ export class CommonService { this.logger.log({ selectedNode: selectedNode, level: 'ERROR', fileName: fileName, msg: errMsg, error: (typeof err === 'object' ? JSON.stringify(err) : err) }); let newErrorObj = { statusCode: 500, message: '', error: '' }; if (err.code && err.code === 'ENOENT') { + // The absolute path stays in the server log above but is not echoed to clients. newErrorObj = { statusCode: 500, - message: 'No such file or directory ' + (err.path ? err.path : ''), - error: 'No such file or directory ' + (err.path ? err.path : '') + message: 'No such file or directory', + error: 'No such file or directory' }; } else { newErrorObj = { diff --git a/server/utils/config.ts b/server/utils/config.ts index e0d101ce..30b73c59 100644 --- a/server/utils/config.ts +++ b/server/utils/config.ts @@ -284,7 +284,9 @@ export class ConfigService { this.logger.log({ selectedNode: this.common.selectedNode, level: 'ERROR', fileName: 'Config', msg: 'Something went wrong while creating the backup directory: \n' + err }); } this.common.nodes[idx].settings.logFile = config.rtlConfFilePath + '/logs/RTL-Node-' + node.index + '.log'; - this.logger.log({ selectedNode: this.common.selectedNode, level: 'INFO', fileName: 'Config', msg: 'Node Config: ' + JSON.stringify(this.common.nodes[idx]) }); + // maskPasswords keeps paths visible for debugging while redacting credential + // fields such as lnApiPassword before they reach the log file. + this.logger.log({ selectedNode: this.common.selectedNode, level: 'INFO', fileName: 'Config', msg: 'Node Config: ' + JSON.stringify(this.common.maskPasswords(this.common.nodes[idx])) }); const log_file = this.common.nodes[idx].settings.logFile; if (fs.existsSync(log_file || '')) { fs.writeFile((log_file || ''), '', () => { }); diff --git a/src/app/shared/services/consts-enums-functions.ts b/src/app/shared/services/consts-enums-functions.ts index 8057af69..2b544cab 100644 --- a/src/app/shared/services/consts-enums-functions.ts +++ b/src/app/shared/services/consts-enums-functions.ts @@ -16,7 +16,7 @@ export const SECS_IN_YEAR = 31536000; export const DEFAULT_INVOICE_EXPIRY = HOUR_SECONDS * 24 * 7; -export const VERSION = '0.15.9-beta'; +export const VERSION = '0.15.10-beta'; export const API_URL = isDevMode() ? 'http://localhost:3000/rtl/api' : './api'; diff --git a/test/backend/authenticate.test.mjs b/test/backend/authenticate.test.mjs new file mode 100644 index 00000000..14b8d797 --- /dev/null +++ b/test/backend/authenticate.test.mjs @@ -0,0 +1,171 @@ +import assert from 'node:assert/strict'; +import test from 'node:test'; + +import jwt from 'jsonwebtoken'; +import * as otplib from 'otplib'; +import { authenticateUser } from '../../backend/controllers/shared/authenticate.js'; +import { Common } from '../../backend/utils/common.js'; + +const { authenticator } = otplib; + +const TOTP_SECRET = 'JBSWY3DPEHPK3PXP'; +const PASSWORD_HASH = 'hashed-password'; + +const setupAppConfig = (enable2FA, secret2FA) => { + Common.appConfig = { + defaultNodeIndex: 0, + selectedNodeIndex: 0, + rtlConfFilePath: '', + dbDirectoryPath: '', + rtlPass: PASSWORD_HASH, + allowPasswordUpdate: true, + enable2FA: enable2FA, + secret2FA: secret2FA, + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '', cookieValue: '' }, + nodes: [] + }; + Common.selectedNode = null; + Common.nodes = []; +}; + +// failedLoginAttempts is module-level state in authenticate.js, keyed by the request IP +// from common.getRequestIP, which prefers x-forwarded-for (server/utils/common.ts). +// Unique IPs give each call a fresh counter; tests exercising the counter itself pass an +// explicit ip to share one key across calls. +let ipCounter = 0; +const nextIP = () => '10.0.0.' + (ipCounter = ipCounter + 1); +const mockRequest = ({ twoFAToken, ip, authToken, password } = {}) => { + const headers = { 'x-forwarded-for': ip || nextIP() }; + if (authToken) { headers.authorization = 'Bearer ' + authToken; } + return { + body: { authenticateWith: 'PASSWORD', authenticationValue: password || PASSWORD_HASH, twoFAToken: twoFAToken }, + session: {}, + headers: headers, + connection: {}, + socket: {} + }; +}; + +const mockResponse = () => { + const res = { statusCode: null, body: null }; + res.status = (code) => { + res.statusCode = code; + return { json: (body) => { res.body = body; } }; + }; + return res; +}; + +const mockSessionToken = () => jwt.sign({ user: 'NODE_USER' }, Common.secret_key); + +test('rejects login without a 2FA token when 2FA is enabled', () => { + setupAppConfig(true, TOTP_SECRET); + for (const missingToken of [undefined, '']) { + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: missingToken }), res, null); + assert.equal(res.statusCode, 401); + assert.match(res.body.error, /2FA/); + } +}); + +test('rejects login with an invalid 2FA token when 2FA is enabled', () => { + setupAppConfig(true, TOTP_SECRET); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: '000000' }), res, null); + assert.equal(res.statusCode, 401); + assert.match(res.body.error, /2FA/); +}); + +test('rejects a non-string 2FA token when 2FA is enabled', () => { + setupAppConfig(true, TOTP_SECRET); + // A JSON body can carry an array/object/number. otplib 12.0.1 coerces and rejects these + // (digit regex, then strict === against the string token), but the typeof guard keeps the + // rejection explicit and independent of otplib internals. + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: ['1', '2', '3', '4', '5', '6'] }), res, null); + assert.equal(res.statusCode, 401); + assert.match(res.body.error, /2FA/); +}); + +test('accepts login with a valid 2FA token when 2FA is enabled', () => { + setupAppConfig(true, TOTP_SECRET); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: authenticator.generate(TOTP_SECRET) }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); + +test('accepts password-only re-authorization from an authenticated session when 2FA is enabled', () => { + // In-app re-authorization (e.g. the password prompt before on-chain sends) carries the + // session JWT via the auth interceptor; that session was itself minted after 2FA. + setupAppConfig(true, TOTP_SECRET); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: undefined, authToken: mockSessionToken() }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); + +test('rejects a wrong password even with an authenticated session when 2FA is enabled', () => { + setupAppConfig(true, TOTP_SECRET); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: undefined, authToken: mockSessionToken(), password: 'wrong-hash' }), res, null); + assert.equal(res.statusCode, 401); + assert.match(res.body.error, /Invalid Password/); +}); + +test('locks out after five failed 2FA attempts, even for a then-valid token', () => { + setupAppConfig(true, TOTP_SECRET); + const ip = nextIP(); // one shared counter key for every attempt in this test + for (let i = 0; i < 4; i++) { + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: '000000', ip: ip }), res, null); + assert.equal(res.statusCode, 401); + assert.match(res.body.error, /2FA/); + } + const fifth = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: '000000', ip: ip }), fifth, null); + assert.equal(fifth.statusCode, 401); + assert.match(fifth.body.error, /locked/); + const sixth = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: authenticator.generate(TOTP_SECRET), ip: ip }), sixth, null); + assert.equal(sixth.statusCode, 401); + assert.match(sixth.body.error, /locked/); +}); + +test('accepts password-only login when 2FA is not configured', () => { + setupAppConfig(false, ''); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: undefined }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); + +test('accepts a stale token in the request when 2FA is not configured', () => { + // Pins an intentional behavior change: previously a non-empty twoFAToken with no + // configured secret was rejected (verifyToken short-circuits on the empty secret); + // with no 2FA configured the token is now ignored entirely. + setupAppConfig(false, ''); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: '123456' }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); + +test('does not require a token when 2FA is disabled but a stale secret remains', () => { + // The login UI prompts only when enable2FA is set, so enforcing a token on a stale + // secret would lock the operator out of a UI that never asks for one. + setupAppConfig(false, TOTP_SECRET); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: undefined }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); + +test('does not enforce a token when 2FA is enabled without a secret', () => { + // Divergence is only reachable via a crafted settings update; a token could never + // verify against an empty secret, so enforcing would lock everyone out. + setupAppConfig(true, ''); + const res = mockResponse(); + authenticateUser(mockRequest({ twoFAToken: undefined }), res, null); + assert.equal(res.statusCode, 200); + assert.equal(typeof res.body.token, 'string'); +}); diff --git a/test/backend/common.test.mjs b/test/backend/common.test.mjs new file mode 100644 index 00000000..5b49f5bd --- /dev/null +++ b/test/backend/common.test.mjs @@ -0,0 +1,209 @@ +import assert from 'node:assert/strict'; +import test from 'node:test'; + +import { Common } from '../../backend/utils/common.js'; + +test('maskPasswords masks TOTP and SSO cookie secrets along with passwords', () => { + const config = { + secret2FA: 'JBSWY3DPEHPK3PXP', + multiPassHashed: 'password-hash', + SSO: { rtlSSO: 1, rtlCookiePath: '/cookie-path', cookieValue: 'live-sso-cookie' }, + nodes: [{ index: 1, authentication: { lnApiPassword: 'eclair-pass', macaroonPath: '/macaroon/path' } }] + }; + const masked = Common.maskPasswords(config); + assert.equal(masked.secret2FA, '*'.repeat(20)); + assert.equal(masked.SSO.cookieValue, '*'.repeat(20)); + assert.equal(masked.multiPassHashed, '*'.repeat(20)); + assert.equal(masked.nodes[0].authentication.lnApiPassword, '*'.repeat(20)); + // Paths are configuration, not secrets — they must stay visible for the settings UI. + assert.equal(masked.nodes[0].authentication.macaroonPath, '/macaroon/path'); + assert.equal(masked.SSO.rtlCookiePath, '/cookie-path'); +}); + +test('removeSecureData strips the SSO cookie along with the other secrets', () => { + const config = { + rtlConfFilePath: '/conf', + rtlPass: 'password-hash', + multiPassHashed: 'password-hash', + secret2FA: 'JBSWY3DPEHPK3PXP', + SSO: { rtlSSO: 1, rtlCookiePath: '/cookie-path', logoutRedirectLink: '', cookieValue: 'live-sso-cookie' }, + nodes: [{ index: 1, authentication: { macaroonPath: '/macaroon/path', runeValue: 'rune', options: {} } }] + }; + const cleaned = Common.removeSecureData(config); + assert.equal(cleaned.rtlConfFilePath, undefined); + assert.equal(cleaned.rtlPass, undefined); + assert.equal(cleaned.multiPassHashed, undefined); + assert.equal(cleaned.secret2FA, undefined); + assert.equal(cleaned.SSO.cookieValue, undefined); + // Non-secret SSO settings survive — the settings UI renders them. + assert.equal(cleaned.SSO.rtlCookiePath, '/cookie-path'); + assert.equal(cleaned.nodes[0].authentication.macaroonPath, undefined); +}); + +test('removeSecureData does not mutate its input', () => { + // cookieValue is runtime-only: if a caller ever passes the live appConfig, an in-place + // delete would wipe SSO state with no way to restore it. The function must clone. + const config = { rtlPass: 'password-hash', SSO: { cookieValue: 'live-sso-cookie' }, nodes: [] }; + Common.removeSecureData(config); + assert.equal(config.rtlPass, 'password-hash'); + assert.equal(config.SSO.cookieValue, 'live-sso-cookie'); +}); + +test('maskPasswords masks rtlPass and runeValue', () => { + const config = { + rtlPass: 'login-hash', + nodes: [{ index: 1, authentication: { runeValue: 'cln-rune' } }] + }; + const masked = Common.maskPasswords(config); + assert.equal(masked.rtlPass, '*'.repeat(20)); + assert.equal(masked.nodes[0].authentication.runeValue, '*'.repeat(20)); +}); + +test('maskPasswords tolerates null values and numeric keys without skipping secrets', () => { + // Integer-like keys order first; the recursion must not clobber its own key list, and + // typeof null === 'object' must not send it into Object.keys(null). + const config = { '1': { nested: 'value' }, lnApiPassword: 'eclair-pass', nothing: null }; + const masked = Common.maskPasswords(config); + assert.equal(masked.lnApiPassword, '*'.repeat(20)); + assert.equal(masked.nothing, null); + assert.deepEqual(masked['1'], { nested: 'value' }); +}); + +test('handleError does not echo the absolute file path to the caller', () => { + // The path belongs in the server log, not in the API response. + const err = Common.handleError({ code: 'ENOENT', path: '/secret/dir/RTL-Config.json' }, 'Test', 'Reading Config Error', { lnImplementation: 'LND', settings: {} }); + assert.equal(err.error.includes('/secret/dir'), false); + assert.equal(err.message.includes('/secret/dir'), false); +}); + +test('handleError keeps the absolute path out of controller-wrapped errors too', () => { + // RTLConf handlers pass { statusCode, message, error: errRes } wrappers; the response + // must resolve to the caller's generic message, never the wrapped fs error's path. + const err = Common.handleError( + { statusCode: 500, message: 'Reading File Error', error: { code: 'ENOENT', path: '/secret/dir/x.bak' } }, + 'Test', 'Reading File Error', { lnImplementation: 'LND', settings: {} } + ); + assert.equal(err.error.includes('/secret/dir'), false); + assert.equal(err.message.includes('/secret/dir'), false); +}); + +test('maskPasswords masks every value under a headers key', () => { + // Header values are always credential carriers here (macaroon, rune, basic auth), and + // key-substring matching cannot catch them without also hiding *Path fields. + const config = { + authentication: { + macaroonPath: '/visible/path', + options: { headers: { 'Grpc-Metadata-macaroon': 'deadbeef', rune: 'cln-rune', authorization: 'Basic xyz' } } + } + }; + const masked = Common.maskPasswords(config); + assert.equal(masked.authentication.options.headers['Grpc-Metadata-macaroon'], '*'.repeat(20)); + assert.equal(masked.authentication.options.headers.rune, '*'.repeat(20)); + assert.equal(masked.authentication.options.headers.authorization, '*'.repeat(20)); + assert.equal(masked.authentication.macaroonPath, '/visible/path'); +}); + +const seedAppConfig = () => { + Common.appConfig = { + defaultNodeIndex: 0, + selectedNodeIndex: 0, + rtlConfFilePath: '/conf', + dbDirectoryPath: '/db', + rtlPass: 'server-hash', + allowPasswordUpdate: true, + enable2FA: true, + secret2FA: 'server-seed', + disableAuth: false, + SSO: { rtlSSO: 0, rtlCookiePath: '/server-cookie', logoutRedirectLink: 'https://server-logout', cookieValue: 'server-cookie' }, + nodes: [] + }; + Common.selectedNode = null; + Common.nodes = []; +}; + +test('addSecureData pins disableAuth and the SSO object to server-held values', () => { + // The settings API must not be able to flip the authentication mode or move SSO fields; + // client-supplied values for these are deployment-level switches, not settings. + seedAppConfig(); + const config = Common.addSecureData({ + disableAuth: true, + SSO: { rtlSSO: 1, rtlCookiePath: '/client-path', logoutRedirectLink: 'https://client', cookieValue: 'client-cookie' }, + secret2FA: 'client-seed', + nodes: [] + }); + assert.equal(config.disableAuth, false); + assert.deepEqual(config.SSO, { rtlSSO: 0, rtlCookiePath: '/server-cookie', logoutRedirectLink: 'https://server-logout', cookieValue: 'server-cookie' }); + // An explicit non-empty seed is the settings UI's enable flow and is honored. + assert.equal(config.secret2FA, 'client-seed'); + assert.equal(config.enable2FA, true); +}); + +test('addSecureData restores an omitted TOTP seed and derives enable2FA from the seed', () => { + seedAppConfig(); + const config = Common.addSecureData({ nodes: [] }); + assert.equal(config.secret2FA, 'server-seed'); + assert.equal(config.enable2FA, true); +}); + +test('addSecureData treats an empty seed with 2FA claimed on as an omission', () => { + // The pre-login config response shape carries secret2FA: ''; echoing it must not wipe + // the seed while enable2FA stays on. + seedAppConfig(); + const config = Common.addSecureData({ secret2FA: '', enable2FA: true, nodes: [] }); + assert.equal(config.secret2FA, 'server-seed'); + assert.equal(config.enable2FA, true); +}); + +test('addSecureData honors an explicit seed wipe only when 2FA is disabled', () => { + // The settings UI's disable flow sends secret2FA: '' together with enable2FA: false. + seedAppConfig(); + const config = Common.addSecureData({ secret2FA: '', enable2FA: false, nodes: [] }); + assert.equal(config.secret2FA, ''); + assert.equal(config.enable2FA, false); +}); + +test('addSecureData does not pin an undefined multiPassHashed over the persisted one', () => { + // First-boot state of a default install: the file already holds multiPassHashed (the + // boot converted it), but the in-memory appConfig still holds plaintext multiPass and + // no hash. Pinning undefined here would erase the only password from the file on save + // and brick the next boot. + seedAppConfig(); + Common.appConfig.multiPassHashed = undefined; + Common.appConfig.multiPass = 'password'; + const config = Common.addSecureData({ nodes: [] }); + assert.equal(Object.prototype.hasOwnProperty.call(config, 'multiPassHashed'), false); + assert.equal(config.multiPass, 'password'); +}); + +test('addSecureData pins multiPassHashed when the server holds one', () => { + seedAppConfig(); + Common.appConfig.multiPassHashed = 'server-hash-value'; + const config = Common.addSecureData({ multiPassHashed: 'client-value', nodes: [] }); + assert.equal(config.multiPassHashed, 'server-hash-value'); +}); + +test('addSecureData pins allowPasswordUpdate and dbDirectoryPath to server-held values', () => { + // allowPasswordUpdate is false precisely when the password is environment-managed, and + // dbDirectoryPath redirects the runtime database — neither is writable from the UI. + seedAppConfig(); + Common.appConfig.allowPasswordUpdate = false; + Common.appConfig.dbDirectoryPath = '/server-db'; + const config = Common.addSecureData({ allowPasswordUpdate: true, dbDirectoryPath: '/client-db', nodes: [] }); + assert.equal(config.allowPasswordUpdate, false); + assert.equal(config.dbDirectoryPath, '/server-db'); +}); + +test('maskPasswords masks bitcoind rpcauth', () => { + const config = { rpcauth: 'user:salt$hmac', rpcuser: 'user', rpcpassword: 'pass' }; + const masked = Common.maskPasswords(config); + assert.equal(masked.rpcauth, '*'.repeat(20)); + assert.equal(masked.rpcuser, '*'.repeat(20)); + assert.equal(masked.rpcpassword, '*'.repeat(20)); +}); + +test('maskPasswords does not mutate its input', () => { + // Masking a live object must not blank the credentials LN requests authenticate with. + const config = { authentication: { options: { headers: { 'Grpc-Metadata-macaroon': 'deadbeef' } } } }; + Common.maskPasswords(config); + assert.equal(config.authentication.options.headers['Grpc-Metadata-macaroon'], 'deadbeef'); +}); diff --git a/test/backend/eclair-channels.test.mjs b/test/backend/eclair-channels.test.mjs new file mode 100644 index 00000000..a1e811e2 --- /dev/null +++ b/test/backend/eclair-channels.test.mjs @@ -0,0 +1,62 @@ +import assert from 'node:assert/strict'; +import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs'; +import { tmpdir } from 'node:os'; +import { join } from 'node:path'; +import test from 'node:test'; + +import { getChannels } from '../../backend/controllers/eclair/channels.js'; + +// Eclair authenticates with HTTP basic auth, so the request options carry the node's +// lnApiPassword in the authorization header. A DEBUG log of the whole options object +// therefore writes a recoverable credential into the node log file. +const buildRequest = (logFile) => ({ + session: { + selectedNode: { + index: 1, + lnNode: 'eclair-node', + lnImplementation: 'ECL', + authentication: { + options: { + url: '', + rejectUnauthorized: false, + json: true, + headers: { authorization: 'Basic ' + Buffer.from(':super-secret-password').toString('base64') } + } + }, + settings: { lnServerUrl: 'http://127.0.0.1:1/', logLevel: 'DEBUG', logFile: logFile } + } + }, + query: {} +}); + +const waitForLog = async (logFile) => { + // logger.log appends asynchronously; give it a few turns to flush. + for (let i = 0; i < 40; i++) { + const contents = readFileSync(logFile, 'utf-8'); + if (contents.includes('Channels =>')) { return contents; } + await new Promise((resolve) => setTimeout(resolve, 25)); + } + return readFileSync(logFile, 'utf-8'); +}; + +test('getChannels does not write the eclair auth header to the node log at DEBUG level', async () => { + const tempDir = mkdtempSync(join(tmpdir(), 'ecl-channels-')); + const logFile = join(tempDir, 'RTL-Node-1.log'); + writeFileSync(logFile, ''); + const req = buildRequest(logFile); + const res = { status: () => ({ json: () => { } }) }; + + try { + getChannels(req, res, () => { }); + const contents = await waitForLog(logFile); + + assert.ok(contents.includes('Channels =>'), 'expected the controller to have logged at DEBUG level'); + assert.ok(!contents.includes('authorization'), 'auth header key must not reach the node log'); + assert.ok(!contents.includes('super-secret-password'), 'lnApiPassword must not reach the node log'); + assert.ok(!contents.includes(Buffer.from(':super-secret-password').toString('base64')), 'encoded credential must not reach the node log'); + // The diagnostic value of the log — where the call went — is still there. + assert.ok(contents.includes('/channels'), 'request url should still be logged for diagnostics'); + } finally { + rmSync(tempDir, { force: true, recursive: true }); + } +}); diff --git a/test/backend/rtlconf.test.mjs b/test/backend/rtlconf.test.mjs index 05546949..3aafeb1a 100644 --- a/test/backend/rtlconf.test.mjs +++ b/test/backend/rtlconf.test.mjs @@ -1,10 +1,10 @@ import assert from 'node:assert/strict'; -import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs'; +import { chmodSync, mkdirSync, mkdtempSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs'; import { tmpdir } from 'node:os'; -import { join } from 'node:path'; +import { join, sep } from 'node:path'; import test from 'node:test'; -import { updateApplicationSettings } from '../../backend/controllers/shared/RTLConf.js'; +import { updateApplicationSettings, updateNodeSettings, getFile } from '../../backend/controllers/shared/RTLConf.js'; import { Common } from '../../backend/utils/common.js'; import { WSServer } from '../../backend/utils/webSocketServer.js'; @@ -137,3 +137,466 @@ test('updateApplicationSettings preserves indexed node auth and sanitizes only p rmSync(tempDir, { force: true, recursive: true }); } }); + +test('updateApplicationSettings keeps the SSO cookie server-side without exposing or persisting it', () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-sso-')); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 1, rtlCookiePath: '/cookie-path', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + const runtimeConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + enable2FA: false, + allowPasswordUpdate: true, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + SSO: { rtlSSO: 1, rtlCookiePath: '/cookie-path', logoutRedirectLink: '', cookieValue: 'live-sso-cookie' } + }); + // The request carries only what the sanitized client can have seen: no cookieValue. + // The server must re-attach it — a settings save must never wipe the live cookie — + // while keeping it out of both the response and the persisted file. + const requestBody = { + ...clone(oldConfig), + selectedNodeIndex: 0, + enable2FA: false, + allowPasswordUpdate: true, + SSO: { rtlSSO: 1, rtlCookiePath: '/cookie-path', logoutRedirectLink: '' } + }; + + try { + Common.appConfig = clone(runtimeConfig); + Common.nodes = clone(runtimeConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(join(tempDir, 'RTL-Config.json'), JSON.stringify(oldConfig, null, 2), 'utf-8'); + + let responseStatus; + let responseBody; + updateApplicationSettings( + { body: clone(requestBody), session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { + json: (body) => { + responseBody = body; + } + }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + assert.equal(Common.appConfig.SSO.cookieValue, 'live-sso-cookie'); + assert.equal(Common.appConfig.SSO.rtlCookiePath, '/cookie-path'); + const fileConfig = JSON.parse(readFileSync(join(tempDir, 'RTL-Config.json'), 'utf-8')); + assert.equal(fileConfig.SSO.cookieValue, undefined); + assert.equal(responseBody.SSO.cookieValue, undefined); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateApplicationSettings restores omitted secret2FA and merges a trimmed SSO object', () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-secrets-')); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '/cookie-path', logoutRedirectLink: 'https://logout.example' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + const runtimeConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + enable2FA: true, + allowPasswordUpdate: true, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + secret2FA: 'live-totp-seed', + SSO: { rtlSSO: 0, rtlCookiePath: '/cookie-path', logoutRedirectLink: 'https://logout.example', cookieValue: 'live-sso-cookie' } + }); + // Sanitized responses carry neither secret2FA nor cookieValue, so an echoing client + // omits both; a trimmed SSO object also lacks logoutRedirectLink. All three must + // survive the save server-side. + const requestBody = { + ...clone(oldConfig), + selectedNodeIndex: 0, + enable2FA: true, + allowPasswordUpdate: true, + SSO: { rtlSSO: 0 } + }; + + try { + Common.appConfig = clone(runtimeConfig); + Common.nodes = clone(runtimeConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(join(tempDir, 'RTL-Config.json'), JSON.stringify(oldConfig, null, 2), 'utf-8'); + + let responseStatus; + updateApplicationSettings( + { body: clone(requestBody), session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + assert.equal(Common.appConfig.secret2FA, 'live-totp-seed'); + assert.equal(Common.appConfig.enable2FA, true); + assert.equal(Common.appConfig.SSO.cookieValue, 'live-sso-cookie'); + assert.equal(Common.appConfig.SSO.logoutRedirectLink, 'https://logout.example'); + assert.equal(Common.appConfig.SSO.rtlSSO, 0); + const fileConfig = JSON.parse(readFileSync(join(tempDir, 'RTL-Config.json'), 'utf-8')); + assert.equal(fileConfig.SSO.cookieValue, undefined); + assert.equal(fileConfig.secret2FA, 'live-totp-seed'); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateApplicationSettings tolerates a request body without an SSO object', () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-nosso-')); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + const requestBody = clone(oldConfig); + delete requestBody.SSO; + + try { + Common.appConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '', cookieValue: '' } + }); + Common.nodes = clone(oldConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(join(tempDir, 'RTL-Config.json'), JSON.stringify(oldConfig, null, 2), 'utf-8'); + + let responseStatus; + updateApplicationSettings( + { body: requestBody, session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + assert.equal(typeof Common.appConfig.SSO, 'object'); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateApplicationSettings leaves the runtime config untouched when the file write fails', () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-writefail-')); + const confPath = join(tempDir, 'RTL-Config.json'); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '/cookie-path', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + const runtimeConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + secret2FA: 'live-totp-seed', + SSO: { rtlSSO: 0, rtlCookiePath: '/cookie-path', logoutRedirectLink: '', cookieValue: 'live-sso-cookie' } + }); + const requestBody = { + ...clone(oldConfig), + selectedNodeIndex: 0, + SSO: { rtlSSO: 0 }, + nodes: [{ ...clone(oldConfig.nodes[0]), settings: { themeMode: 'NIGHT' } }] + }; + + try { + Common.appConfig = clone(runtimeConfig); + Common.nodes = clone(runtimeConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(confPath, JSON.stringify(oldConfig, null, 2), 'utf-8'); + // Both write paths must fail: a read-only dir defeats the temp-file write, and a + // read-only file defeats the in-place fallback. + chmodSync(confPath, 0o444); + chmodSync(tempDir, 0o555); + + let responseStatus = null; + updateApplicationSettings( + { body: clone(requestBody), session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 500); + // The failed write must not have committed the prospective config in memory either. + assert.equal(Common.appConfig.secret2FA, 'live-totp-seed'); + assert.equal(Common.appConfig.SSO.cookieValue, 'live-sso-cookie'); + assert.equal(Common.appConfig.nodes[0].settings.themeMode, 'DAY'); + // And the on-disk file still parses as the pre-call config. + const onDisk = JSON.parse(readFileSync(confPath, 'utf-8')); + assert.equal(onDisk.nodes.length, 1); + } finally { + clearInterval(WSServer.pingInterval); + chmodSync(confPath, 0o644); + chmodSync(tempDir, 0o755); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateApplicationSettings preserves the config file mode across the atomic write', () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-mode-')); + const confPath = join(tempDir, 'RTL-Config.json'); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + + try { + Common.appConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '', cookieValue: '' } + }); + Common.nodes = clone(oldConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(confPath, JSON.stringify(oldConfig, null, 2), 'utf-8'); + chmodSync(confPath, 0o600); // operator-hardened; must not be silently downgraded + + let responseStatus = null; + updateApplicationSettings( + { body: clone(oldConfig), session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + assert.equal(statSync(confPath).mode & 0o777, 0o600); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateApplicationSettings falls back to an in-place write when the rename fails', () => { + // Single-file bind mounts and symlinks cannot be renamed over; the save must still work. + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-fallback-')); + const confPath = join(tempDir, 'RTL-Config.json'); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY' } + } + ] + }; + + try { + Common.appConfig = clone({ + ...oldConfig, + selectedNodeIndex: 0, + rtlConfFilePath: tempDir, + rtlPass: 'hashed-password', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '', cookieValue: '' } + }); + Common.nodes = clone(oldConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(confPath, JSON.stringify(oldConfig, null, 2), 'utf-8'); + chmodSync(confPath, 0o600); + mkdirSync(confPath + '.tmp'); // forces the temp write to fail, exercising the fallback + + let responseStatus = null; + updateApplicationSettings( + { body: clone(oldConfig), session: { selectedNode: Common.selectedNode } }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + assert.equal(statSync(confPath).mode & 0o777, 0o600); // in-place write keeps the inode + assert.deepEqual(JSON.parse(readFileSync(confPath, 'utf-8')).nodes.length, 1); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('updateNodeSettings pins channelBackupPath to the server-held value', () => { + // channelBackupPath anchors getFile's containment root; accepting it from the request + // would let the caller being contained choose the containment base. + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-nodesettings-')); + const oldConfig = { + defaultNodeIndex: 0, + dbDirectoryPath: '/db', + SSO: { rtlSSO: 0, rtlCookiePath: '', logoutRedirectLink: '' }, + nodes: [ + { + index: 0, + lnNode: 'lnd-main', + lnImplementation: 'LND', + authentication: { macaroonPath: '/lnd/admin' }, + settings: { userPersona: 'OPERATOR', themeMode: 'DAY', channelBackupPath: '/server/backups' } + } + ] + }; + + try { + Common.appConfig = clone({ ...oldConfig, rtlConfFilePath: tempDir }); + Common.nodes = clone(oldConfig.nodes); + Common.selectedNode = Common.nodes[0]; + writeFileSync(join(tempDir, 'RTL-Config.json'), JSON.stringify(oldConfig, null, 2), 'utf-8'); + + let responseStatus = null; + updateNodeSettings( + { + body: { settings: { themeMode: 'NIGHT', channelBackupPath: tempDir } }, + session: { selectedNode: Common.nodes[0] } + }, + { + status: (status) => { + responseStatus = status; + return { json: () => {} }; + } + }, + null + ); + + assert.equal(responseStatus, 201); + const fileNode = JSON.parse(readFileSync(join(tempDir, 'RTL-Config.json'), 'utf-8')).nodes[0]; + assert.equal(fileNode.settings.channelBackupPath, '/server/backups'); + assert.equal(fileNode.settings.themeMode, 'NIGHT'); // other settings still merge + assert.equal(Common.nodes[0].settings.channelBackupPath, '/server/backups'); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); + +test('getFile contains caller paths to the channel backup directory', async () => { + const tempDir = mkdtempSync(join(tmpdir(), 'rtlconf-getfile-')); + const backupDir = join(tempDir, 'backups'); + mkdirSync(backupDir); + writeFileSync(join(tempDir, 'secret.bak'), 'top-secret', 'utf-8'); + writeFileSync(join(backupDir, 'channel-1x2x3.bak'), 'backup-data', 'utf-8'); + const session = { selectedNode: { lnImplementation: 'LND', settings: { channelBackupPath: backupDir } } }; + const mockRes = () => { + const res = { statusCode: null, body: null }; + res.status = (code) => { + res.statusCode = code; + return { json: (body) => { res.body = body; } }; + }; + return res; + }; + + try { + // An escaping path is rejected before any read. + const rejected = mockRes(); + getFile({ query: { path: join(tempDir, 'secret.bak') }, session }, rejected, null); + assert.equal(rejected.statusCode, 403); + + // A contained path is served. + const served = mockRes(); + await new Promise((resolve) => { + const res = { status: (code) => { served.statusCode = code; return { json: (body) => { served.body = body; resolve(); } }; } }; + getFile({ query: { path: join(backupDir, 'channel-1x2x3.bak') }, session }, res, null); + }); + assert.equal(served.statusCode, 200); + assert.equal(served.body, 'backup-data'); + + // A contained but missing file returns a path-free error (the ENOENT branch). + const missing = mockRes(); + await new Promise((resolve) => { + const res = { status: (code) => { missing.statusCode = code; return { json: (body) => { missing.body = body; resolve(); } }; } }; + getFile({ query: { path: join(backupDir, 'channel-missing.bak') }, session }, res, null); + }); + assert.equal(missing.statusCode, 500); + assert.equal(JSON.stringify(missing.body).includes(backupDir), false); + } finally { + clearInterval(WSServer.pingInterval); + rmSync(tempDir, { force: true, recursive: true }); + } +}); From d4e2554ca4d8817f296b440aa3aa68e3e0f1f013 Mon Sep 17 00:00:00 2001 From: Suheb <39208279+saubyk@users.noreply.github.com> Date: Tue, 4 Aug 2026 18:17:19 -0700 Subject: [PATCH 4/4] Add a BTCPay Server SSO harness to the docker fixture (#1669) * Add a BTCPay Server SSO harness to the docker fixture BTCPay bundles RTL and runs it in single-sign-on mode, reached over an entry path the standalone login never exercises: no password, a rotating cookie file, an unregistered /rtl/api/authenticate/cookie URL that falls through to the catch-all in server/utils/app.ts, and a reverse proxy in front. Regressions on that path have previously gone unnoticed until they reached BTCPay users. Adds an "sso" compose profile, so a plain `docker compose up -d` is unchanged: - rtl-sso, a second RTL running with RTL_SSO=1, RTL_COOKIE_PATH and LOGOUT_REDIRECT_LINK -- the environment block lifted verbatim from BTCPay's own compose fragment, so this exercises the env-driven SSO path BTCPay actually uses. A second container is required because RTL selects one authentication mode at startup, so SSO and password login cannot coexist in one instance. - rtl-sso-config-init, staging rtl/RTL-Config.sso.json into a volume -- the same copy-into-a-volume dance the standalone RTL already needs, because RTL rewrites its config on startup. - rtl-sso-proxy, nginx standing in for BTCPay's traefik, routing only /rtl and /rtl/* exactly as BTCPay's router rule does. There is no prefix stripping anywhere: RTL is built with and mounts every route under baseHref '/rtl', so the prefix is passed through unmodified. Everything outside /rtl 404s, so a request escaping the prefix surfaces as a failure rather than being quietly served. scripts/verify-sso.sh asserts the whole flow in 11 checks -- prefix routing, CSRF token minting on the catch-all, the sha256 access-key handshake, an authenticated node call, cookie rotation on login, and rejection of a wrong key -- and exits non-zero so it can gate a change. bin/sso-url prints the link BTCPay renders on its Services page. RTL_IMAGE overrides both RTL containers at once, so a branch build gets tested through both entry paths. BTCPay itself (postgres, nbxplorer, btcpayserver) is deliberately not included; the README documents what that leaves untested and how to run against BTCPay's own regtest stack when the question is BTCPay's behaviour rather than RTL's. Also bumps the fixture's default RTL image from v0.15.8 to v0.15.10. * Document the SSO harness in the rtl-docker-fixture skill * Point CLAUDE.md at the BTCPay SSO harness * Note that no CI runs on an open PR --- .claude/skills/rtl-docker-fixture/SKILL.md | 15 +++ CLAUDE.md | 16 ++- docker/README.md | 96 ++++++++++++++++++ docker/bin/sso-url | 39 ++++++++ docker/docker-compose.yml | 89 ++++++++++++++++- docker/nginx/rtl-sso.conf | 46 +++++++++ docker/rtl/RTL-Config.sso.json | 30 ++++++ docker/scripts/verify-sso.sh | 110 +++++++++++++++++++++ 8 files changed, 439 insertions(+), 2 deletions(-) create mode 100755 docker/bin/sso-url create mode 100644 docker/nginx/rtl-sso.conf create mode 100644 docker/rtl/RTL-Config.sso.json create mode 100755 docker/scripts/verify-sso.sh diff --git a/.claude/skills/rtl-docker-fixture/SKILL.md b/.claude/skills/rtl-docker-fixture/SKILL.md index a715d8db..ac333923 100644 --- a/.claude/skills/rtl-docker-fixture/SKILL.md +++ b/.claude/skills/rtl-docker-fixture/SKILL.md @@ -33,8 +33,23 @@ bin/ln-cli bob fwdinghistory docker compose logs -f rtl ``` +Testing the **BTCPay Server integration** (RTL in single-sign-on mode behind a proxy) — +behind a compose profile, so a plain `up` does not start it: + +```bash +docker compose --profile sso up -d +./scripts/verify-sso.sh # 11 assertions over the whole entry path; non-zero on failure +open "$(bin/sso-url)" # the link BTCPay renders on its Services page +``` + Key facts when working with the fixture: +- **Run `scripts/verify-sso.sh` after touching authentication, CSRF or static serving.** + BTCPay reaches RTL over a path the standalone login never exercises — a rotating cookie + file, an unregistered `/rtl/api/authenticate/cookie` URL that falls through to the + catch-all in `server/utils/app.ts`, and a reverse proxy. Note `GET /rtl/` is served by + `express.static` and mints **no** `XSRF-TOKEN`; only the catch-all does, so a client + entering there 403s on its first POST. That is long-standing, not a regression. - **`scripts/seed.sh` is deterministic but not idempotent.** Every amount is fixed, so a fresh run always produces identical state (screenshots differ only by your change) — so **do not introduce randomness**. It refuses to run twice against an already-seeded diff --git a/CLAUDE.md b/CLAUDE.md index 2b869343..6fbba349 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -50,7 +50,10 @@ frequently do, since the controllers were written in parallel. `ERESOLVE` conflict from `@fortawesome/angular-fontawesome`. - **`npm run server` only works on Windows** — it sets `NODE_ENV` with `set X=Y&&` syntax. On macOS/Linux use `npm run serverUbuntu`. -- **`npm run lint` and `npm run test` must both be green before a PR.** +- **`npm run lint` and `npm run test` must both be green before a PR.** Nothing will check + this for you: no build or test CI runs on an open PR. `checks.yml` fires on + `pull_request: closed` (i.e. on merge) and on tags/releases, and `rtlreviewbot` only on a + requested review or a comment — so running both locally is the only gate before merge. - If lint reports hundreds of template "Parsing error" failures, look for a stale **`coverage/`** directory (git-ignored Karma output). The template linter walks its HTML report. Delete it and re-run. @@ -91,6 +94,17 @@ Eclair, wired to RTL — for end-to-end testing across all three implementations `docker/README.md`, or the `rtl-docker-fixture` skill in `.claude/skills/`. It is dev-only; every credential in it is throwaway. +The fixture also carries a **BTCPay Server SSO harness** behind a compose profile +(`docker compose --profile sso up -d`). BTCPay bundles RTL and reaches it over a path the +standalone login never exercises: a rotating cookie file, an unregistered +`/rtl/api/authenticate/cookie` URL that is not a route at all and falls through to the +catch-all in `server/utils/app.ts`, and a reverse proxy serving it under `/rtl`. Run +`docker/scripts/verify-sso.sh` (11 assertions, exits non-zero) after touching +authentication, CSRF or static serving — none of that path is covered by logging into the +fixture's own RTL. One trap it encodes: `GET /rtl/` is served by `express.static`, which +sits above the catch-all and mints no `XSRF-TOKEN`, so a client entering there gets a 403 +on its first POST. That is long-standing behaviour, not a regression. + Backend regression tests live in `test/backend/` (plain `node:test`, run against the compiled `backend/`). `npm run test` compiles the backend, then runs them (`npm run testbackend`) before the frontend Karma/Jasmine specs, so they never test stale diff --git a/docker/README.md b/docker/README.md index b0de051d..7cf8ccb9 100644 --- a/docker/README.md +++ b/docker/README.md @@ -74,6 +74,9 @@ docker compose up -d # bitcoind, alice, bob, carol, cln, eclair, rtl ./scripts/seed.sh # fund, connect, open channels, make payments ``` +To also bring up the BTCPay single-sign-on harness, add `--profile sso` — see +[BTCPay SSO harness](#btcpay-sso-harness). + Then open — password `rtldev`. All five nodes (alice, bob, carol, cln, eclair) appear in the node switcher. @@ -118,6 +121,7 @@ bin/ln-cli bob listchannels bin/ln-cli bob fwdinghistory # forwarding history bin/e-cli getinfo # eclair-cli bin/e-cli channels +bin/sso-url # BTCPay-style SSO link (needs --profile sso) docker compose exec cln lightning-cli --network=regtest listpeerchannels # Core Lightning ``` @@ -128,6 +132,94 @@ docker compose logs -f rtl docker compose logs alice ``` +## BTCPay SSO harness + +BTCPay Server bundles RTL and runs it in single-sign-on mode, reached through a very +different entry path than the standalone login: no password, a rotating cookie, and a +reverse proxy in front. That path has broken before without the standalone flow +noticing, so the fixture can reproduce it. + +It is behind a compose profile, so a plain `docker compose up -d` does not start it: + +```bash +docker compose --profile sso up -d +./scripts/verify-sso.sh # 11 assertions over the whole entry path +open "$(bin/sso-url)" # or click through it yourself +``` + +`bin/sso-url` prints the link BTCPay renders on its Services page. Following it lands +you in RTL already authenticated, against the `alice` node. + +### How the flow works + +```mermaid +sequenceDiagram + participant B as Browser + participant P as rtl-sso-proxy
(stands in for traefik) + participant R as rtl-sso
(RTL_SSO=1) + participant C as .cookie
(shared volume) + + R->>C: writes 64 random bytes at startup + Note over B: bin/sso-url reads the cookie —
BTCPay reads the same file + B->>P: GET /rtl/api/authenticate/cookie?access-key= + P->>R: same URI, prefix passed through + R-->>B: not a registered route → catch-all:
mints XSRF-TOKEN, serves index.html + B->>P: POST /rtl/api/authenticate
{ PASSWORD, sha256(access-key) } + P->>R: + R->>C: matches → rotates the cookie + R-->>B: JWT +``` + +The three services are `rtl-sso-config-init` (stages `rtl/RTL-Config.sso.json`, same +copy-into-a-volume dance as the standalone RTL), `rtl-sso` (RTL with `RTL_SSO=1`, +`RTL_COOKIE_PATH` and `LOGOUT_REDIRECT_LINK` — the env block is lifted verbatim from +BTCPay's own compose fragment), and `rtl-sso-proxy` (nginx standing in for BTCPay's +traefik). `RTL_IMAGE` overrides both RTL containers at once, so a branch build gets +tested through both entry paths. + +It is a second RTL container rather than a flag on the first because RTL picks one +authentication mode at startup — SSO and the password login cannot coexist in one +instance. Both are up at the same time on different ports. + +### Things this makes visible + +**No prefix stripping anywhere.** RTL is built with `` and mounts +every route under `baseHref '/rtl'`, so BTCPay's traefik — and the nginx here — pass +`/rtl/…` through unmodified. The proxy deliberately 404s everything outside `/rtl`, so +a request escaping the prefix shows up as a failure instead of being quietly served. + +**The entry URL is not a real route.** `/rtl/api/authenticate/cookie` matches nothing in +`server/routes/shared/authenticate.ts`; it falls through to the catch-all in +`server/utils/app.ts`, which is what mints the `XSRF-TOKEN` cookie and serves the SPA. +The access-key is the raw cookie file content — the frontend sha256s it before posting +and the backend compares against `sha256(cookieValue)`. + +**`GET /rtl/` mints no CSRF token.** That path is served by `express.static`, which +sits *above* the catch-all, so a client entering there has no `XSRF-TOKEN` and its first +POST gets a 403. Only the catch-all mints one. This is long-standing behaviour, not a +regression — but it is why `verify-sso.sh` always seeds its cookie jar from the entry +URL, and worth remembering before concluding that CSRF is broken. + +**The cookie is effectively single-use.** Authenticating rotates it, so a stale +`bin/sso-url` link fails. BTCPay re-reads the file on every page render, which is why +this is invisible in normal use. + +### What it does not cover + +BTCPay itself is not here — no postgres, nbxplorer or btcpayserver container. So this +does not exercise BTCPay *generating* the link, its Services page, or its own upgrades. +For that, run BTCPay's own regtest stack and point it at a local image: + +```bash +# in a btcpayserver-docker checkout, after building an RTL image locally +docker build -t shahanafarooqui/rtl:dev /path/to/RTL +# then edit the rtl image tag in the generated docker-compose, or set it in +# docker-compose-generator/docker-fragments/bitcoin-lnd.yml before generating +``` + +That tests the real composition rather than this reconstruction of it; the harness here +is the fast everyday check. + ## Notes and gotchas **RTL's config.** `rtl/RTL-Config.regtest.json` is the tracked template. RTL rewrites @@ -180,3 +272,7 @@ one LND uses, eclair never sees new blocks and channels never confirm. ## Not included The Boltz swap service. + +BTCPay Server itself (postgres + nbxplorer + btcpayserver). The `sso` profile +reproduces the entry path BTCPay uses to reach RTL without running BTCPay — see +[BTCPay SSO harness](#btcpay-sso-harness) for what that covers and what it does not. diff --git a/docker/bin/sso-url b/docker/bin/sso-url new file mode 100755 index 00000000..08d92870 --- /dev/null +++ b/docker/bin/sso-url @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +# +# Print the BTCPay-style single-sign-on entry URL for the SSO harness. +# +# docker compose --profile sso up -d +# bin/sso-url # print it +# open "$(bin/sso-url)" # or follow it straight into RTL +# +# This is the link BTCPay renders on its Services page. BTCPay builds it from +# BTCPAY_BTCEXTERNALRTL="server=/rtl/api/authenticate/cookie;cookiefile=..." +# by reading the cookie file RTL wrote and appending it as ?access-key=. The +# value is the raw file content: RTL's frontend sha256s it before posting +# (src/app/app.component.ts) and the backend compares against +# sha256(cookieValue), so no hashing happens here. +# +# Authenticating rotates the cookie (common.refreshCookie), so re-run this for +# each login -- exactly as BTCPay re-reads the file on every page render. + +set -euo pipefail + +cd "$(dirname "$0")/.." +# shellcheck disable=SC1091 +[ -f .env ] && source .env + +port="${RTL_SSO_PORT:-3001}" + +if ! docker compose --profile sso ps --status running --services 2>/dev/null | grep -qx rtl-sso; then + echo "rtl-sso is not running. Start it with: docker compose --profile sso up -d" >&2 + exit 1 +fi + +cookie="$(docker compose --profile sso exec -T rtl-sso cat /RTL/cookie/.cookie | tr -d '\r\n')" + +if [ -z "$cookie" ]; then + echo "The cookie file /RTL/cookie/.cookie is empty. Is RTL_SSO=1 set on rtl-sso?" >&2 + exit 1 +fi + +echo "http://localhost:${port}/rtl/api/authenticate/cookie?access-key=${cookie}" diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 55672171..e059ab3a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,6 +17,9 @@ volumes: eclair_data: rtl_db: rtl_config: + rtl_sso_db: + rtl_sso_config: + rtl_sso_cookie: x-lnd: &lnd image: polarlightning/lnd:0.20.0-beta @@ -285,7 +288,7 @@ services: container_name: ${COMPOSE_PROJECT_NAME}_rtl # Defaults to the published image; override with RTL_IMAGE (e.g. a locally built # branch image) to test unreleased changes: RTL_IMAGE=rtl:pr1625 docker compose up. - image: ${RTL_IMAGE:-shahanafarooqui/rtl:v0.15.8} + image: ${RTL_IMAGE:-shahanafarooqui/rtl:v0.15.10} restart: unless-stopped depends_on: rtl-config-init: @@ -311,3 +314,87 @@ services: - carol_data:/lnd/carol:ro - cln_data:/cln:ro - rtl_db:/RTL/database + + # --------------------------------------------------------------------------- + # BTCPay Server SSO harness -- profile "sso", so a plain 'up' does not start it: + # + # docker compose --profile sso up -d + # bin/sso-url + # + # BTCPay bundles RTL as a service and runs it in single-sign-on mode. RTL + # writes a random cookie to RTL_COOKIE_PATH; BTCPay reads that file and renders + # a link to /rtl/api/authenticate/cookie?access-key= on its Services + # page. That path is not a registered route -- it falls through to RTL's + # catch-all, which mints the XSRF-TOKEN cookie and serves index.html, and the + # SPA then reads access-key from the query string and posts it as a password + # login. Reproducing that entry path is the whole point of this harness: it is + # where RTL's auth, CSRF and static-serving behaviour meet an external caller, + # and it has broken before without the standalone flow noticing. + # + # BTCPay itself (postgres + nbxplorer + btcpayserver) is deliberately not here. + # See README.md, "BTCPay SSO harness", for what that leaves untested and how to + # run against a real BTCPay when it matters. + # --------------------------------------------------------------------------- + + # Same copy-into-a-volume dance as rtl-config-init above, and for the same + # reason: RTL rewrites its config on startup. + rtl-sso-config-init: + container_name: ${COMPOSE_PROJECT_NAME}_rtl_sso_config_init + profiles: ["sso"] + image: busybox:1.36 + command: > + sh -c "cp /template/RTL-Config.sso.json /config/RTL-Config.json && + chmod 644 /config/RTL-Config.json && + echo 'sso config staged'" + volumes: + - ./rtl/RTL-Config.sso.json:/template/RTL-Config.sso.json:ro + - rtl_sso_config:/config + + # A second RTL rather than a flag on the first: RTL picks one authentication + # mode at startup, so SSO and the password login cannot coexist in one + # instance. Only alice is wired up, matching BTCPay's one-node-per-RTL layout. + # + # The environment block is copied from BTCPay's own compose fragment + # (docker-compose-generator/docker-fragments/bitcoin-lnd.yml in + # btcpayserver-docker), so this exercises the env-driven SSO path BTCPay + # actually uses rather than the config-file equivalent -- which is why + # RTL-Config.sso.json leaves its SSO block zeroed and carries no multiPass. + # + # Only 'expose'd, never published: all access goes through the proxy, as it + # does under BTCPay. + rtl-sso: + container_name: ${COMPOSE_PROJECT_NAME}_rtl_sso + profiles: ["sso"] + image: ${RTL_IMAGE:-shahanafarooqui/rtl:v0.15.10} + restart: unless-stopped + depends_on: + rtl-sso-config-init: + condition: service_completed_successfully + alice: + condition: service_started + environment: + RTL_CONFIG_PATH: /RTL/config + RTL_SSO: 1 + RTL_COOKIE_PATH: /RTL/cookie/.cookie + LOGOUT_REDIRECT_LINK: /server/services + expose: + - "3000" + volumes: + - rtl_sso_config:/RTL/config + - rtl_sso_cookie:/RTL/cookie + - alice_data:/lnd/alice:ro + - rtl_sso_db:/RTL/database + + # Stands in for BTCPay's traefik. Routes only /rtl and /rtl/*, mirroring the + # label BTCPay puts on its RTL container; see nginx/rtl-sso.conf. + rtl-sso-proxy: + container_name: ${COMPOSE_PROJECT_NAME}_rtl_sso_proxy + profiles: ["sso"] + image: nginx:1.27-alpine + restart: unless-stopped + depends_on: + - rtl-sso + ports: + - "${RTL_SSO_PORT:-3001}:80" + volumes: + - ./nginx/rtl-sso.conf:/etc/nginx/conf.d/default.conf:ro diff --git a/docker/nginx/rtl-sso.conf b/docker/nginx/rtl-sso.conf new file mode 100644 index 00000000..314aa605 --- /dev/null +++ b/docker/nginx/rtl-sso.conf @@ -0,0 +1,46 @@ +# Reverse proxy in front of RTL running in BTCPay Server's single-sign-on mode. +# +# Stands in for the traefik instance BTCPay puts in front of its bundled RTL. +# The location regex mirrors the router rule BTCPay labels that container with: +# +# Host(`${BTCPAY_HOST}`) && (Path(`/rtl`) || PathPrefix(`/rtl/`)) +# +# so only /rtl and /rtl/* are proxied and everything else 404s here. That +# strictness is deliberate: RTL is built with (angular.json) +# and mounts every route under baseHref '/rtl' (server/utils/common.ts), so a +# request that escapes the prefix is a bug the harness should surface rather +# than quietly serve. +# +# The prefix is passed through unmodified -- there is no strip-prefix step to +# get wrong, because RTL expects to see it. proxy_pass without a URI part +# preserves the original request URI. + +map $http_upgrade $connection_upgrade { + default upgrade; + '' close; +} + +server { + listen 80; + server_name _; + + location ~ ^/rtl(/|$) { + proxy_pass http://rtl-sso:3000; + + # RTL runs with Express 'trust proxy' enabled, so these are what it sees + # as the client address in its logs and rate limiting. + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + # RTL's websocket lives at /rtl/api/ws and stays open for the life of the + # session. Without the upgrade headers it fails the handshake and the UI + # silently stops receiving live updates; without the long read timeout + # nginx drops it after 60s. + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + proxy_read_timeout 3600s; + } +} diff --git a/docker/rtl/RTL-Config.sso.json b/docker/rtl/RTL-Config.sso.json new file mode 100644 index 00000000..59b7b1b4 --- /dev/null +++ b/docker/rtl/RTL-Config.sso.json @@ -0,0 +1,30 @@ +{ + "port": "3000", + "defaultNodeIndex": 1, + "dbDirectoryPath": "/RTL/database", + "SSO": { + "rtlSSO": 0, + "rtlCookiePath": "", + "logoutRedirectLink": "" + }, + "nodes": [ + { + "index": 1, + "lnNode": "alice", + "lnImplementation": "LND", + "authentication": { + "macaroonPath": "/lnd/alice/data/chain/bitcoin/regtest" + }, + "settings": { + "userPersona": "OPERATOR", + "themeMode": "DAY", + "themeColor": "PURPLE", + "logLevel": "ERROR", + "lnServerUrl": "https://alice:8080", + "fiatConversion": false, + "unannouncedChannels": false, + "blockExplorerUrl": "https://mempool.space" + } + } + ] +} diff --git a/docker/scripts/verify-sso.sh b/docker/scripts/verify-sso.sh new file mode 100755 index 00000000..c9fe0e1f --- /dev/null +++ b/docker/scripts/verify-sso.sh @@ -0,0 +1,110 @@ +#!/usr/bin/env bash +# +# Check the BTCPay SSO harness end to end. +# +# Walks the exact path a browser takes when an operator clicks the RTL link on +# BTCPay Server's Services page, and asserts each step. Run it after any change +# to authentication, CSRF or static serving -- this is the entry path BTCPay +# uses, and none of it is covered by logging into the standalone fixture RTL. +# +# docker compose --profile sso up -d +# ./scripts/verify-sso.sh +# +# Usage: ./scripts/verify-sso.sh (from the docker/ directory) +# +# Exits non-zero if any check fails, so it can gate a PR. + +# Deliberately no -e: a failing assertion must record itself and let the rest of +# the checks run, rather than aborting on the first one. That means anything +# that would normally rely on -e needs its own guard. +set -uo pipefail + +cd "$(dirname "$0")/.." || exit 1 + +if [ -f .env ]; then + set -a + # shellcheck disable=SC1091 + source .env + set +a +fi + +BASE="http://localhost:${RTL_SSO_PORT:-3001}" +JAR="$(mktemp)" +JAR2="$(mktemp)" +trap 'rm -f "$JAR" "$JAR2"' EXIT + +pass=0 +fail=0 +# Both return 0 explicitly: the checks below are written as `test && ok || bad`, +# which would also run `bad` if `ok` itself ever returned non-zero. +ok() { echo " PASS: $1"; pass=$((pass + 1)); return 0; } +bad() { echo " FAIL: $1"; fail=$((fail + 1)); return 0; } + +if ! docker compose --profile sso ps --status running --services 2>/dev/null | grep -qx rtl-sso; then + echo "rtl-sso is not running. Start it with: docker compose --profile sso up -d" >&2 + exit 1 +fi + +cookie="$(docker compose --profile sso exec -T rtl-sso cat /RTL/cookie/.cookie | tr -d '\r\n')" +echo "cookie: ${cookie:0:16}... (${#cookie} chars)" + +echo +echo "1. the proxy routes only /rtl, mirroring BTCPay's traefik rule" +code=$(curl -s -o /dev/null -w '%{http_code}' "$BASE/") +[ "$code" = "404" ] && ok "GET / -> 404" || bad "GET / -> $code (want 404)" +code=$(curl -s -o /dev/null -w '%{http_code}' "$BASE/api/authenticate") +[ "$code" = "404" ] && ok "GET /api/authenticate -> 404" || bad "GET /api/authenticate -> $code (want 404)" +code=$(curl -s -o /dev/null -w '%{http_code}' "$BASE/rtl/") +[ "$code" = "200" ] && ok "GET /rtl/ -> 200" || bad "GET /rtl/ -> $code (want 200)" + +echo +echo "2. the entry URL falls through to the catch-all, which mints the CSRF token" +body=$(curl -s -c "$JAR" "$BASE/rtl/api/authenticate/cookie?access-key=$cookie") +echo "$body" | grep -q '' \ + && ok "entry URL serves the SPA shell with base href /rtl/" \ + || bad "entry URL did not serve index.html" +xsrf=$(awk '/XSRF-TOKEN/ {print $7}' "$JAR") +[ -n "$xsrf" ] && ok "XSRF-TOKEN cookie minted" || bad "no XSRF-TOKEN cookie" +grep -q '_csrf' "$JAR" && ok "_csrf cookie set" || bad "no _csrf cookie" + +echo +echo "3. the SPA posts sha256(access-key) as a password login" +hash=$(printf '%s' "$cookie" | shasum -a 256 | cut -d' ' -f1) +resp=$(curl -s -b "$JAR" -c "$JAR" -X POST "$BASE/rtl/api/authenticate" \ + -H 'Content-Type: application/json' -H "X-XSRF-TOKEN: $xsrf" \ + -d "{\"authenticateWith\":\"PASSWORD\",\"authenticationValue\":\"$hash\"}") +token=$(echo "$resp" | python3 -c 'import sys,json;print(json.load(sys.stdin).get("token",""))' 2>/dev/null) +[ -n "$token" ] && ok "authenticated, JWT issued" || bad "auth failed: $resp" + +echo +echo "4. the JWT reaches the node behind it" +info=$(curl -s -b "$JAR" "$BASE/rtl/api/lnd/getinfo" -H "Authorization: Bearer $token") +node_alias=$(echo "$info" | python3 -c 'import sys,json;print(json.load(sys.stdin).get("alias",""))' 2>/dev/null) +[ "$node_alias" = "alice" ] && ok "GET /rtl/api/lnd/getinfo -> alias '$node_alias'" || bad "getinfo returned: ${info:0:200}" + +echo +echo "5. the cookie rotates on login, so each BTCPay page render hands out a fresh one" +after=$(docker compose --profile sso exec -T rtl-sso cat /RTL/cookie/.cookie | tr -d '\r\n') +[ "$after" != "$cookie" ] && ok "cookie rotated after authentication" || bad "cookie did NOT rotate" + +echo +echo "6. a wrong access-key is refused" +# The token has to come from the catch-all: GET /rtl/ is served by express.static, +# which mints no XSRF-TOKEN, and the POST would then fail CSRF (403) before it +# ever reached the access-key comparison this step is checking. +curl -s -c "$JAR2" "$BASE/rtl/api/authenticate/cookie?access-key=x" > /dev/null +x2=$(awk '/XSRF-TOKEN/ {print $7}' "$JAR2") +badhash=$(printf '%s' "not-the-cookie-value-but-long-enough-to-pass-the-length-check" | shasum -a 256 | cut -d' ' -f1) +code=$(curl -s -o /dev/null -w '%{http_code}' -b "$JAR2" -X POST "$BASE/rtl/api/authenticate" \ + -H 'Content-Type: application/json' -H "X-XSRF-TOKEN: $x2" \ + -d "{\"authenticateWith\":\"PASSWORD\",\"authenticationValue\":\"$badhash\"}") +[ "$code" = "406" ] && ok "wrong access-key -> 406" || bad "wrong access-key -> $code (want 406)" + +echo +echo "7. the standalone fixture RTL is unaffected" +code=$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:${RTL_PORT:-3000}/rtl/") +[ "$code" = "200" ] && ok "standalone RTL still serving on ${RTL_PORT:-3000}" || bad "standalone RTL -> $code" + +echo +echo "=== $pass passed, $fail failed ===" +[ "$fail" -eq 0 ]